LyX ⇒ problem export to pdf
problem export to pdf
Hello,
i´m using lyx on a macbook. Since a few days i have problems to make a pdf from a new lyx´s document. I select export -> pdflatex, and no response. However, i open a document of example and the export go ok.
Where is the problem?
Thanks!
i´m using lyx on a macbook. Since a few days i have problems to make a pdf from a new lyx´s document. I select export -> pdflatex, and no response. However, i open a document of example and the export go ok.
Where is the problem?
Thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.
problem export to pdf
Try:
Export (usually) does work, but it doesn't open created .pdf document, only create it without any visible response (check inside the folder your .lyx file is located in).
Code: Select all
View > PDF (pdflatex)
Re: problem export to pdf
thanks, but the result is the same...
Re: problem export to pdf
So, basically, you cannot produce .pdf output at all? Did you take a look at log file (Document > LaTeX Log)? Does it contain any errors?
Re: problem export to pdf
I can actually create pdfs from lyx sample files, but is not posible to do that from my own files. The type of document and settings are the same for both, or I think ...
On the other hand, does not generate any error log.
On the other hand, does not generate any error log.
problem export to pdf
That's really strange. Try compiling the document I send you in the attachment (it's a simple .lyx file with default settings applied).
Also, check your settings for exporting in .pdf (see screenshots provided in the attachment for reference; Tools > Preferences). I'm using Ubuntu, but I believe settings should be similar.
You may also try to remove LyX user settings (just rename the folder, no need to delete it). Check here for paths, folder names and other details.
Also, check your settings for exporting in .pdf (see screenshots provided in the attachment for reference; Tools > Preferences). I'm using Ubuntu, but I believe settings should be similar.
You may also try to remove LyX user settings (just rename the folder, no need to delete it). Check here for paths, folder names and other details.
- Attachments
-
- Settings.zip
- Screenshots of settings for exporting in .pdf
- (93.41 KiB) Downloaded 176 times
-
- test.lyx.zip
- .lyx file for testing.
- (541 Bytes) Downloaded 173 times
Re: problem export to pdf
thanks for your help but I can not solve my problem.
The settings are the same, and I can make a pdf from your example. How ever is not posible to do from my files... this is my code and your code:
% Vista preliminar del código fuente
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[spanish]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\addto\shorthandsspanish{\spanishdeactivate{~<>}}
\begin{document}
my test.
\end{document}
__________________________________________
% Vista preliminar del código fuente
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}
\begin{document}
Test.
\end{document}
The settings are the same, and I can make a pdf from your example. How ever is not posible to do from my files... this is my code and your code:
% Vista preliminar del código fuente
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[spanish]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\addto\shorthandsspanish{\spanishdeactivate{~<>}}
\begin{document}
my test.
\end{document}
__________________________________________
% Vista preliminar del código fuente
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}
\begin{document}
Test.
\end{document}
problem export to pdf
Attach an example .lyx file which doesn't work on your machine in your next post so I can test it (you may have to put it in .zip archive because of this forum's limitation). This LaTeX code you provided compiled without problems, even when imported in LyX.
In the meantime, check your encoding settings (latin9, utf8?). Try commenting out the line:
since it is the only difference between two codes, apart from encoding.
So, basically, there are three possible problems:
1. input encoding,
2. language,
3. spanish shorthands + babel.
In the meantime, check your encoding settings (latin9, utf8?). Try commenting out the line:
Code: Select all
\addto\shorthandsspanish{\spanishdeactivate{~<>}}
So, basically, there are three possible problems:
1. input encoding,
2. language,
3. spanish shorthands + babel.
Re: problem export to pdf
Well, I'm not entirely sure, but for now it works.
Maybe it's a problem with pdflatex or another plugin, because I've changed nothing from lyx and now it works...
Thank you very much for your help!
Maybe it's a problem with pdflatex or another plugin, because I've changed nothing from lyx and now it works...
Thank you very much for your help!
Re: problem export to pdf
Hi! I have the same sort of a problem that inaki13 described. When I try compiling some sample files (like tutorials) everything's fine, but when I get compiled the one I've written nothing happens that is no output is produced, no error message. I checked the folder where the *.lyx file is stored to see if pdf hadn't been created without being displayed on the screen. But no: no file was produced. I restored default settings but no result again. The funny thing is exporting to all other formats bar HTML doesn't work either. How to fix it? Thanks for your help!