lyx

Installazione, configurazione e uso di programmi e strumenti.
Avatar utente
zuffff
Prode Principiante
Messaggi: 27
Iscrizione: mercoledì 19 dicembre 2007, 0:04

lyx

Messaggio da zuffff »

salve, ho un problema con lyx.
una volta creato un documento, voglio creare il pdf relativo, per cui vado nel menù: Vista->PDF(pdflatex) e mi compare questa finestra:
E' stato generato un output vuoto.
come mai?
grazie.
Avatar utente
mcz
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1406
Iscrizione: venerdì 18 agosto 2006, 11:29
Contatti:

Re: lyx

Messaggio da mcz »

Significa che si è riscontrato un errore.
Innanzitutto controlla di aver installato i pacchetti:
ps2pdf
dvipdfm
Pdflatex
Se ti dà ancora l'errore apri /Documenti/Registro di Latex e guarda che errore/i riporta.

Può tornarti utile questo link:
Lyx pdf :)
Avatar utente
zuffff
Prode Principiante
Messaggi: 27
Iscrizione: mercoledì 19 dicembre 2007, 0:04

Re: lyx

Messaggio da zuffff »

sudo apt-get install ps2pdf
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso     
Reading state information... Fatto
E: Impossibile trovare ps2pdf


sudo apt-get install dvipdfm
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso     
Reading state information... Fatto             
Il pacchetto dvipdfm non ha versioni disponibili, ma è nominato da un altro
pacchetto. Questo significa che il pacchetto manca, è diventato obsoleto
o è disponibile solo all'interno di un'altra sorgente
E: Il pacchetto dvipdfm non ha candidati da installare

sudo apt-get install Pdflatex
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso     
Reading state information... Fatto             
E: Impossibile trovare Pdflatex

se puo essere utile se apro lyx da terminale compare questo:

Locale it_IT could not be set
Menu warning: menu entry "Apri..." does not contain shortcut `O'.
Menu warning: menu entries "Esci|i" and "Importa|I" share the same shortcut.
Menu warning: menu entry "Linea superiore" does not contain shortcut `P'.
Menu warning: menu entry "Linea inferiore" does not contain shortcut `I'.
Menu warning: menu entry "Linea destra" does not contain shortcut `#d'.
Menu warning: menu entry "Formula in linea" does not contain shortcut `f'.
Menu warning: menu entries "Contesto flalign AMS|f" and "Formula in linea|f" share the same shortcut.
Menu warning: menu entries "Contesto multiline AMS|m" and "Formula mostrata|m" share the same shortcut.
Menu warning: menu entries "Aggiungi linea a sinistra|s" and "Usa Computer Algebra System|S" share the same shortcut.
Menu warning: menu entries "Aggiungi linea a destra|d" and "Delete Line Above|D" share the same shortcut.
Menu warning: menu entries "Superiore|S" and "Sinistra|S" share the same shortcut.
Menu warning: menu entries "Swap Rows|S" and "Sinistra|S" share the same shortcut.
Menu warning: menu entries "Swap Rows|S" and "Superiore|S" share the same shortcut.
Menu warning: menu entries "Elimina colonna|c" and "Centrato|C" share the same shortcut.
Menu warning: menu entries "Text Style|S" and "Trova e sostituisci...|s" share the same shortcut.
Menu warning: menu entry "Impostazione paragrafo..." does not contain shortcut `P'.
Menu warning: menu entry "Formula in linea" does not contain shortcut `f'.
Menu warning: menu entries "Contesto flalign AMS|f" and "Formula in linea|f" share the same shortcut.
Menu warning: menu entries "Contesto multiline AMS|m" and "Formula centrata|m" share the same shortcut.
Menu warning: menu entry "Contesto vettore" does not contain shortcut `y'.
Menu warning: menu entry "Dividi contesto" does not contain shortcut `a'.
Menu warning: menu entries "Dividi contesto|a" and "Contesto align AMS|A" share the same shortcut.
Menu warning: menu entry "Virgolette semplici" does not contain shortcut `S'.
Menu warning: menu entries "Simboli fonetici|i" and "Ellissi|i" share the same shortcut.
Menu warning: menu entries "Spaziatura tra parole|p" and "Protected Space|P" share the same shortcut.
Menu warning: menu entry "In grigio" does not contain shortcut `G'.
Menu warning: menu entry "Documento figlio..." does not contain shortcut `d'.
Menu warning: menu entry "Elenco / Indice generale" does not contain shortcut `O'.
Menu warning: menu entries "Elenco / Indice generale|O" and "Formatting|o" share the same shortcut.
Menu warning: menu entries "Oggetti mobili|o" and "Formatting|o" share the same shortcut.
Menu warning: menu entries "Oggetti mobili|o" and "Elenco / Indice generale|O" share the same shortcut.
Menu warning: menu entries "Cross-Reference...|R" and "Ramo|R" share the same shortcut.
Menu warning: menu entries "Nota a piè di pagina|p" and "Special Character|p" share the same shortcut.
Menu warning: menu entry "Prossima nota" does not contain shortcut `N'.
Menu warning: menu entry "Vai all'etichetta" does not contain shortcut `L'.
Menu warning: menu entry "Traccia Modifiche" does not contain shortcut `m'.
Menu warning: menu entries "Unisci modifiche...|m" and "Traccia Modifiche|m" share the same shortcut.
Menu warning: menu entries "Accetta tutte le modifiche|A" and "Accetta modifica|A" share the same shortcut.
Menu warning: menu entries "Rigetta tutte le modifiche|R" and "Rifiuta modifica|R" share the same shortcut.
Menu warning: menu entry "Mostra modifiche nel risultato" does not contain shortcut `S'.
Menu warning: menu entry "Impostazioni..." does not contain shortcut `S'.
Menu warning: menu entries "Indice generale|g" and "Guida utente|G" share the same shortcut.
Menu warning: menu entry "Apri..." does not contain shortcut `O'.

e cosi vai...
Ultima modifica di zuffff il mercoledì 19 dicembre 2007, 11:00, modificato 1 volta in totale.
Avatar utente
mcz
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1406
Iscrizione: venerdì 18 agosto 2006, 11:29
Contatti:

Re: lyx

Messaggio da mcz »

Io li ho in usr/bin.
Dovrebbero esserci (almeno alcuni) in texlive-base-bin e in texlive-extra-utils (io uso texlive). Ps2pdf è nel pacchetto Ghostscript.
Comunque da terminale prova a vedere se ci sono già col comando:

whereis ps2pdf
whereis pdflatex
whereis dvipdfm

e guarda cosa dice /Documenti/Registro di Latex (dovrebbe aprire una piccola finestra) dopo aver dato il comando Vista->PDF(pdflatex).
Prova anche gli altri due comandi per la vista pdf (ps2pdf e dvipdfm).

La mancata visualizzazione potrebbe anche dipendere da un errore del testo.  :)
Avatar utente
zuffff
Prode Principiante
Messaggi: 27
Iscrizione: mercoledì 19 dicembre 2007, 0:04

!

Messaggio da zuffff »

effettimamente ci sono tutti  e tre.

Dopo aver lanciato il comando: Vista->pdflatex comapare solo la finestra in cui mi dice "E' stato generato un output vuoto"

Ho provato effettivamente a lanciare il comando Vista->pdflatex con un piccolo file di prova e compare il pdf;
quindi penso ci sia un errore nel file di mio interesse.

Il problema è che non mi dice che c'è un errore. (tra l'altro il sorgente lo crea lyx!)
Avatar utente
mcz
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1406
Iscrizione: venerdì 18 agosto 2006, 11:29
Contatti:

Re: lyx

Messaggio da mcz »

Ma hai guardato il file di log (quello che si apre con il menu /Documenti/Registro di Latex).
Gli eventuali errori sono lì. :)
Avatar utente
jepessen
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3569
Iscrizione: lunedì 26 dicembre 2005, 11:49
Desktop: KDevelop
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Somma Lombardo

Re: lyx

Messaggio da jepessen »

Beh, non avendo installato Lyx non conosco le sue dipendenze ma, LaTeX è installato sul tuo computer?

daniele
Compiz l'ha creato Chuck Norris quando ha colpito un computer con un calcio rotante.
http://www.renderosity.com/mod/gallery/ ... e=Jepessen
http://jepessen.wordpress.com/
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti