Re: Change between latex distributions
> You have to add that path to Tools->Preferences->Paths->PATH prefix... > pay attention to use posix paths... Thank you very much :-) Meanwhile I succeeded. My path from the default Texlive Cygwin Install was /usr/local/texlive/2010/bin/i386-cygwin Then I made Tools->Reconfigure and rebooted Lyx. Now I made Tools->TeX Information and checked "Show Path" Now there was still shown the old path: /usr/share... Now I had to press button "Rescan". Then I really get the new path /usr/local/texlive... (That was my Problem: I always omitted this step because I thought intuitively that Tools->Reconfigure would do everything)
Change between latex distributions
Hallo, I installed the new lyx 1.6.9 and texlive 2010 in cygwin. However, lyx uses always the old tetex-distribution.contained in cygwin. Is there a possibility to change between distributions? AFAIK, there must be a setting "path to latex.exe" or similar... But I absolutely didn't find it. Regards
Re: lyx freezes during \"HTML (MS WORD)\" export
Hallo, I had similar problems of the export (Word HTML), with Lyx 1.6.8, as described here. First, I wanted to tell, that it is not bad to have both configurations: - HTML (with elyxer) is more stable and works out of the box - HTML, Word (with htlatex) recognises more packages (if it works.) Apparently, Htlatex recognises more packages. For example, in my tests I found: If I have author - year - citation with package "natbib", then elyxer exports only numbers [1], [2],. but htlatex exports the correct citations (author, 2011). So, I undertook the effort to configure htlatex. For my Windows system, I found that the missing points of the configuration of htlatex are as follows: - in the converter I need htlatex $$i "html,word" "symbol/!" "-cvalidate" (with double quotes instead of single quotes for windows) - you must assure, that the program ImageMagick is installed and in the system path (or in the PATH prefix of LyX). With the Lyx for Windows AltInstaller this is done automatically. - In the LaTeX distribution the packages containing "tex4ht" must be installed. If MikTeX is used (not texlive), then the file htlatex.bat has to be corrected: In the last two lines, there are wrong paths. For a standard installation, I corrected to tex4ht %1 -i/tex4ht/ht-fonts/%3 -ewin32/tex4ht.env t4ht %1 %4 -e"C:\Program Files\MiKTeX 2.9\tex4ht\base\win32\tex4ht.env" After these corrections, everything worked fine on my system. In case of trouble, start LyX from a dos window, then the error messages can be seen. If there is an error with "convert.exe", then ImageMagick is not properly installed. If there is an error "tex4ht.env not found", the paths in htlatex.bat are incorrect. Finally two other remarks: - To open the document from elyxer in Word: Open in Firefox, then make a copy with "save as", document type "website complete". This copy can directly be opened in Word. Also, the graphics and the .css file are copied in a suitable subdirectory. - As a very easy to use converter, I found that tth ( tex to html ) is very good. Export your document from lyx into latex, then execute "tth -e2 document.tex". Gives a very good html Document (similar to elyxer). Regards
RE: lyx freezes during \"HTML (MS WORD)\" export
Hallo, I had similar problems of the export (Word HTML), with Lyx 1.6.8, as described here. First, I wanted to tell, that it is not bad to have both configurations: - HTML (with elyxer) is more stable and works out of the box - HTML, Word (with htlatex) recognises more packages (if it works.) Apparently, Htlatex recognises more packages. For example, in my tests I found: If I have author - year - citation with package "natbib", then elyxer exports only numbers [1], [2],. but htlatex exports the correct citations (author, 2011). So, I undertook the effort to configure htlatex. For my Windows system, I found that the missing points of the configuration of htlatex are as follows: - in the LyX converter options I need htlatex $$i "html,word" "symbol/!" "-cvalidate" (with double quotes instead of single quotes for windows) - you must assure, that the program ImageMagick is installed and in the system path (or in the PATH prefix of LyX). With the Lyx for Windows AltInstaller this is done automatically. - In the LaTeX distribution the packages with tex4ht and htlatex must be installed. If MikTeX is used (not texlive), then the file htlatex.bat has to be corrected: In the last two lines, there are wrong paths. For a standard installation, I corrected to tex4ht %1 -i/tex4ht/ht-fonts/%3 -ewin32/tex4ht.env t4ht %1 %4 -e"C:\Program Files\MiKTeX 2.9\tex4ht\base\win32\tex4ht.env" After these corrections, everything worked fine on my system. In case of trouble, start LyX from a dos window, then the error messages can be seen. If there is an error with "convert.exe", then ImageMagick is not properly installed. If there is an error "tex4ht.env not found", the paths in htlatex.bat are incorrect. Finally two other remarks: - To open the document from elyxer in Word: Open in Firefox, then make a copy with "save as", document type "website complete". This copy can directly be opened in Word. Also, the graphics and the .css file are copied in a suitable subdirectory. - As a very easy to use converter, I found that tth.exe ( tex to html ) is very good. Export your document from lyx into latex, then execute "tth -e2 document.tex". Gives a very good html Document (similar to elyxer). Regards, Max Funk
Missing files In TEMP dir
Hallo, As LaTeX user I tested the LyX program, converting a document It is a nice program, thank you. I had one major problem: Some files of the document directory (the .bib file with its original name, modified .sty files, and so on) were not copied into the temp dir. Therefore, I had to install the modified style file into localtexmf, copy the .bib file after each start of lyx into the temp dir. (I need it e.g. because of packages multibib, pdfx.) My request: It would be great, if there would be just two checkboxes in the document settings x copy all files from document directory to tempdir x include subdirectories Maybe a security question showing the number of files) Then the compilation of the document would really be equivalent to Latex. Regards