Generating PDF files with pdftex/pdftex_t type images
Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I can generate postscript documents fine. I can also generate hyperlinked pdf files from lyx files that just include eps images. However, if I want to include xfig images with latex text, I can't do that. I follow the following steps: 1. export from xfig to pdftex format 2. Include pdftex_t file in lyx document 3. export- latex(pdflatex) I get the following error LaTeX Error: Unknown graphics extension: .pdftex. \includegraphics{1DTree.pdftex} % Try typing return to proceed. If that doesn't work, type X return to quit. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Does anyone know how I can solve this problem and generate PDF files that are hyperlinked and include xfig images with latex text ? Omair
Re: whereabouts of chktex
To: Kevin Pfeiffer [EMAIL PROTECTED] Cc: lyx-users@lists.lyx.org Subject: Re: whereabouts of chktex From: Jean-Marc Lasgouttes [EMAIL PROTECTED] Date: Thu, 26 May 2005 17:01:27 +0200 Kevin == Kevin Pfeiffer [EMAIL PROTECTED] writes: Kevin But it is listed (though inactive) in the menu. I can make it disappear when unavailable if you prefer :) There is a similar utility named 'lacheck'. Is it bundled on more distributions? If it is we could think about modifying our code to understand this. TexLive has got it: -which lacheck /usr/local/TeX/bin/sparc-sun-solaris2.8/lacheck Kevin Yeah, I saw that in the SuSE distro I believe. I would be interested to know which distribs have that. It could be a good idea to use it if it is more mainstream than chktex, especially since chktex can emulate it. If lacheck comes with all current (La)TeX distros (MikTeX, teTeX, TeXLive,...) what about Check Tex calling lacheck if chktex is not available ? -- Jean-Pierre
Re: whereabouts of chktex
Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] writes: Jean-Pierre If lacheck comes with all current (La)TeX distros Jean-Pierre (MikTeX, teTeX, TeXLive,...) what about Check Tex calling Jean-Pierre lacheck if chktex is not available ? Sure, but we have to modify the error parsing code to understand the lacheck syntax. JMarc
Re: Strange behavior LyxWin qt 1.3.5 - possibly relating to Bibtex
Ekkehart Schlicht wrote: Mike Shell has identified the problem -- it is not a LyX problem, nor is it related to hyperref (as I thought) but a bug relating to the combination babel+fancyhdr+natbib. See Could you please some description of the solution here, please, so that it could be found in archives? Thanks, Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The ratio of literacy to illiteracy is a constant, but nowadays the illiterates can read. -- Alberto Moravia
Re: Generating PDF files with pdftex/pdftex_t type images
Omair-Inam Abdul-Matin wrote: Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I can generate postscript documents fine. I can also generate hyperlinked pdf files from lyx files that just include eps images. However, if I want to include xfig images with latex text, I can't do that. I follow the following steps: 1. export from xfig to pdftex format 2. Include pdftex_t file in lyx document 3. export- latex(pdflatex) I get the following error LaTeX Error: Unknown graphics extension: .pdftex. \includegraphics{1DTree.pdftex} % Try typing return to proceed. If that doesn't work, type X return to quit. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Does anyone know how I can solve this problem and generate PDF files that are hyperlinked and include xfig images with latex text ? See this script: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/scripts/fig2pdftex.sh?rev=1.5 Equivalent URL http://tinyurl.com/95qlr LyX 1.4 will be able to generate such images out of the box if you use the External inset rather than the Graphics inset. With LyX 1.3.x you can use the External inset to render XFig images in this way only if you use the dvips-ps-pdf conversion route, although you could easily write your own XFigPDF external template (see the external_templates file). Bottom line is that I suspect that you'll have convert the XFig image using the above script and then use \input (the Input inset) to include it into LyX. Angus
Re: Generating PDF files with pdftex/pdftex_t type images
To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: Generating PDF files with pdftex/pdftex_t type images Date: Mon, 30 May 2005 17:08:00 +0100 Omair-Inam Abdul-Matin wrote: Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Did tex2pdf turn the eps image into pdf (I guess you may check by increasing the verbosity) ? You should export from xfig as pstex/pstex_t (combined eps/LateX), then Input{foo.pstex} should be correct with tex2pdf, if it does work on windows (I never tried it, but I'd be glad to know it does). But then you can't run pdflatex on the file: the aim of tex2pdf is to take advantage of by the dvi idea (set up typography without actually inserting figures and fonts, which make compilation fast), and the ability of pdflatex to use bitmaps (which is slow with many graphics). In addition, the hyperref setup is done externally w.r.t the original document, using the tex2pdf commands options. BTW, I was not awarw of an option allowing to export as pdftex/pdftex_t from xfig.. What version have you got (here I run 3.2.3d). -- Jean-Pierre
Re: Generating PDF files with pdftex/pdftex_t type images
Jean-Pierre Chretien wrote: BTW, I was not aware of an option allowing to export as pdftex/pdftex_t from xfig.. What version have you got (here I run 3.2.3d). The script has a legacy mode for older versions of XFig such as yours. Here I have $ xfig -v Xfig 3.2 patchlevel 4 (Protocol 3.2) which does indeed have built-in pdftex/pdftex_t support. -- Angus
LyX on Windows
Hi. How can I install LyX on Windows XP ? What softwares do I need installed ? I have Miktex, Ghostscripd. What more do I need ? Thank you, -- Carlos Fernando Knauer
Re: problem with tex4ht / oolatex (graphics conversion to word-doc)
Sven Schreiber wrote: If this does not help, you might ask Eitan at gurari AT cse DOT ohio-state DOT edu. yep I did that and will post any further hints to this list. Ok, Eitan Gurari replied to my email and here's the promised follow-up: first some interesting news (?) about eps in oolatex: eitanThe current version of tex4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html) should load the eps pictures into the sxw files without conversions, so for such files the G-scripts in tex4ht.env are not relevant. If the conversion to DOC doesn't support EPS I would argue that the problem is with the conversion utility as OpenOffice seems to be satisfied with such files. /eitan current here refers to April/May 2005 I guess. Afai understand the non-bugfix distribution of February doesn't do that, or at least otherwise I cannot make sense of the documentation. With respect to my eps-from-latex-to-doc-via-sxw/openoffice-problem he's right, it's an openoffice bug if they don't convert the embedded eps-images correctly. Nevertheless he apparently added a user option as a workaround: eitanI modified the bugfixes distribution of tex4ht to allow the user to override the default setting through an instruction of the form \Configure{graphics*} {eps} {}. In such a case, the G-script of the tex4ht.env will be applied to the eps files. /eitan Now this apparently means a post May-29th-2005 distribution. I'm still a tex4ht-newbie, but it seems to me that in order to use this \Configure-thing you must either include it in the latex source file, or you load a config-file which however means you cannot use the oolatex-shortcut. (I'd love to be corrected on this one.) Finally he explained how to choose between the g-scripts in tex4ht.env, which may have been obvious to others, but not to me: eitan there are two options: convert.../convert and netpbm.../netpbm. The first one is chosen because the convert tag and /convert end tag are preceded by spaces. If the spaces are placed instead before netpbm and /netpbm then the second option will take over. /eitan Hope this is of value for somebody, sven
Re: LyX on Windows
Carlos Knauer wrote: Hi. How can I install LyX on Windows XP ? Grab the port of LyX 1.3.5 to Windows from http://home.versatel.nl/rareitsma/lyx/ Note that we hope to release LyX 1.3.6 soon and that this version will be the first to support the Windows platform officially. Having said that, you'll still need to grab the stuff that I describe below... What softwares do I need installed ? I have Miktex, Ghostscript. What more do I need ? Thank you, You'll need patience and perseverance :) LyX has historically been developed for use under UNIX where most of the tools that it uses just work. LyX uses a lot of external scripts written in a variety of scripting languages. (We hope to eventually use just python, but not yet...) So, you'll need: * python http://www.python.org/download/ * a UNIX shell scripting environment. I can recommend MinSYS. I believe that you'll need only msys.exe from the http://mingw.org/download.shtml page: http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download * if you plan on converting existing LaTeX files to LyX, then you'll need an automated converter. LyX 1.3.x ships with a perl script, reLyX, so, if you plan on using this, you'll need perl http://www.activestate.com/Products/ActivePerl/?_x=1 Note, however, that reLyX is no longer maintained and that a backport of the new tex2lyx converter exists for LyX 1.3.x: http://wiki.lyx.org/LaTeX/LatexToLyx I understand that Ruurd Reitsma's port of LyX to Windows comes with stripped down versions of the above three scripting languages/environments. They may, or may not, work for you. Personally, I'd throw away the stripped down versions and go grab real versions of python, perl and a UNIX shell scripting environment from the official sources. Graphics conversion: if you want to see your graphics files displayed on the LyX screen then you'll need some converter from format X to so something that LyX can load. By default, LyX uses the ImageMagick convert utility http://www.imagemagick.org/script/index.php Note, however, that Windows users such as yourself must ensure that ImageMagick's convert appears in your PATH before the system utility convert (something to do with reformatting your hard disk...) In general, the Windows pages on the wiki site contain lots of useful info http://wiki.lyx.org/Windows/ and this mailing list contains several active Windows users who will be able to help with real world experience of LyX on Windows far more than I can. I strongly recommend reading http://wiki.lyx.org/LyX/LyXWinTips which contains work-arounds for several bugs in LyX 1.3.5 on the Windows platform. -- Angus
Navigate menu: Refs mean labels?
While creating a formal bug in bugzilla for my suggestion to include all inset types in the navigate menu (1895), I stumbled over the following thing: The Navigate-Refs menu entry doesn't take me to the next ref inset, but to the next label inset. (lyx 1.3.5 on windows) Is this a bug or a feature? Thanks, Sven
Re: LyX on Windows
Carlos Knauer schrieb: How can I install LyX on Windows XP? What softwares do I need installed? I have Miktex, Ghostscripd. What more do I need? It's very easy. You find all necessary informations under http://wiki.lyx.org/LyX/WindowsSetup regards Uwe
LyXwin not finding miktex
I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The helpconfiguration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on?
Re: LyXwin not finding miktex
Steven Ning wrote: I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The helpconfiguration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on? Edit-Reconfigure runs a UNIX shell script, configure. Do you have a UNIX shell installed? If not, see the recent LyX on Windows thread. Angus
find/replace saving permanent
In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang
Re: find/replace saving permanent
Wolfgang Engelmann writes: In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang Perhaps you should do your find/replace work in a better text editor, such as vim. Or in your CAT (computer-aided translation) program? -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: find/replace saving permanent
On 5/30/05, Kevin Pfeiffer [EMAIL PROTECTED] wrote: Wolfgang Engelmann writes: In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang Perhaps you should do your find/replace work in a better text editor, such as vim. Or in your CAT (computer-aided translation) program? Kevin: could you please give me an example of a CAT program? Paul
Re: LyXwin not finding miktex
Steven Ning wrote: I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The helpconfiguration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on? If you open a command window and run 'latex --version', does it work? -- Paul
Force in-line equations to one line
Does anybody know how to stop, other than forcing a line break, a short in-line equation from being split into two parts by an automatic line break? Roger
Generating PDF files with pdftex/pdftex_t type images
Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I can generate postscript documents fine. I can also generate hyperlinked pdf files from lyx files that just include eps images. However, if I want to include xfig images with latex text, I can't do that. I follow the following steps: 1. export from xfig to pdftex format 2. Include pdftex_t file in lyx document 3. export- latex(pdflatex) I get the following error LaTeX Error: Unknown graphics extension: .pdftex. \includegraphics{1DTree.pdftex} % Try typing return to proceed. If that doesn't work, type X return to quit. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Does anyone know how I can solve this problem and generate PDF files that are hyperlinked and include xfig images with latex text ? Omair
Re: whereabouts of chktex
To: Kevin Pfeiffer [EMAIL PROTECTED] Cc: lyx-users@lists.lyx.org Subject: Re: whereabouts of chktex From: Jean-Marc Lasgouttes [EMAIL PROTECTED] Date: Thu, 26 May 2005 17:01:27 +0200 Kevin == Kevin Pfeiffer [EMAIL PROTECTED] writes: Kevin But it is listed (though inactive) in the menu. I can make it disappear when unavailable if you prefer :) There is a similar utility named 'lacheck'. Is it bundled on more distributions? If it is we could think about modifying our code to understand this. TexLive has got it: -which lacheck /usr/local/TeX/bin/sparc-sun-solaris2.8/lacheck Kevin Yeah, I saw that in the SuSE distro I believe. I would be interested to know which distribs have that. It could be a good idea to use it if it is more mainstream than chktex, especially since chktex can emulate it. If lacheck comes with all current (La)TeX distros (MikTeX, teTeX, TeXLive,...) what about Check Tex calling lacheck if chktex is not available ? -- Jean-Pierre
Re: whereabouts of chktex
Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] writes: Jean-Pierre If lacheck comes with all current (La)TeX distros Jean-Pierre (MikTeX, teTeX, TeXLive,...) what about Check Tex calling Jean-Pierre lacheck if chktex is not available ? Sure, but we have to modify the error parsing code to understand the lacheck syntax. JMarc
Re: Strange behavior LyxWin qt 1.3.5 - possibly relating to Bibtex
Ekkehart Schlicht wrote: Mike Shell has identified the problem -- it is not a LyX problem, nor is it related to hyperref (as I thought) but a bug relating to the combination babel+fancyhdr+natbib. See Could you please some description of the solution here, please, so that it could be found in archives? Thanks, Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The ratio of literacy to illiteracy is a constant, but nowadays the illiterates can read. -- Alberto Moravia
Re: Generating PDF files with pdftex/pdftex_t type images
Omair-Inam Abdul-Matin wrote: Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I can generate postscript documents fine. I can also generate hyperlinked pdf files from lyx files that just include eps images. However, if I want to include xfig images with latex text, I can't do that. I follow the following steps: 1. export from xfig to pdftex format 2. Include pdftex_t file in lyx document 3. export- latex(pdflatex) I get the following error LaTeX Error: Unknown graphics extension: .pdftex. \includegraphics{1DTree.pdftex} % Try typing return to proceed. If that doesn't work, type X return to quit. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Does anyone know how I can solve this problem and generate PDF files that are hyperlinked and include xfig images with latex text ? See this script: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/scripts/fig2pdftex.sh?rev=1.5 Equivalent URL http://tinyurl.com/95qlr LyX 1.4 will be able to generate such images out of the box if you use the External inset rather than the Graphics inset. With LyX 1.3.x you can use the External inset to render XFig images in this way only if you use the dvips-ps-pdf conversion route, although you could easily write your own XFigPDF external template (see the external_templates file). Bottom line is that I suspect that you'll have convert the XFig image using the above script and then use \input (the Input inset) to include it into LyX. Angus
Re: Generating PDF files with pdftex/pdftex_t type images
To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: Generating PDF files with pdftex/pdftex_t type images Date: Mon, 30 May 2005 17:08:00 +0100 Omair-Inam Abdul-Matin wrote: Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Did tex2pdf turn the eps image into pdf (I guess you may check by increasing the verbosity) ? You should export from xfig as pstex/pstex_t (combined eps/LateX), then Input{foo.pstex} should be correct with tex2pdf, if it does work on windows (I never tried it, but I'd be glad to know it does). But then you can't run pdflatex on the file: the aim of tex2pdf is to take advantage of by the dvi idea (set up typography without actually inserting figures and fonts, which make compilation fast), and the ability of pdflatex to use bitmaps (which is slow with many graphics). In addition, the hyperref setup is done externally w.r.t the original document, using the tex2pdf commands options. BTW, I was not awarw of an option allowing to export as pdftex/pdftex_t from xfig.. What version have you got (here I run 3.2.3d). -- Jean-Pierre
Re: Generating PDF files with pdftex/pdftex_t type images
Jean-Pierre Chretien wrote: BTW, I was not aware of an option allowing to export as pdftex/pdftex_t from xfig.. What version have you got (here I run 3.2.3d). The script has a legacy mode for older versions of XFig such as yours. Here I have $ xfig -v Xfig 3.2 patchlevel 4 (Protocol 3.2) which does indeed have built-in pdftex/pdftex_t support. -- Angus
LyX on Windows
Hi. How can I install LyX on Windows XP ? What softwares do I need installed ? I have Miktex, Ghostscripd. What more do I need ? Thank you, -- Carlos Fernando Knauer
Re: problem with tex4ht / oolatex (graphics conversion to word-doc)
Sven Schreiber wrote: If this does not help, you might ask Eitan at gurari AT cse DOT ohio-state DOT edu. yep I did that and will post any further hints to this list. Ok, Eitan Gurari replied to my email and here's the promised follow-up: first some interesting news (?) about eps in oolatex: eitanThe current version of tex4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html) should load the eps pictures into the sxw files without conversions, so for such files the G-scripts in tex4ht.env are not relevant. If the conversion to DOC doesn't support EPS I would argue that the problem is with the conversion utility as OpenOffice seems to be satisfied with such files. /eitan current here refers to April/May 2005 I guess. Afai understand the non-bugfix distribution of February doesn't do that, or at least otherwise I cannot make sense of the documentation. With respect to my eps-from-latex-to-doc-via-sxw/openoffice-problem he's right, it's an openoffice bug if they don't convert the embedded eps-images correctly. Nevertheless he apparently added a user option as a workaround: eitanI modified the bugfixes distribution of tex4ht to allow the user to override the default setting through an instruction of the form \Configure{graphics*} {eps} {}. In such a case, the G-script of the tex4ht.env will be applied to the eps files. /eitan Now this apparently means a post May-29th-2005 distribution. I'm still a tex4ht-newbie, but it seems to me that in order to use this \Configure-thing you must either include it in the latex source file, or you load a config-file which however means you cannot use the oolatex-shortcut. (I'd love to be corrected on this one.) Finally he explained how to choose between the g-scripts in tex4ht.env, which may have been obvious to others, but not to me: eitan there are two options: convert.../convert and netpbm.../netpbm. The first one is chosen because the convert tag and /convert end tag are preceded by spaces. If the spaces are placed instead before netpbm and /netpbm then the second option will take over. /eitan Hope this is of value for somebody, sven
Re: LyX on Windows
Carlos Knauer wrote: Hi. How can I install LyX on Windows XP ? Grab the port of LyX 1.3.5 to Windows from http://home.versatel.nl/rareitsma/lyx/ Note that we hope to release LyX 1.3.6 soon and that this version will be the first to support the Windows platform officially. Having said that, you'll still need to grab the stuff that I describe below... What softwares do I need installed ? I have Miktex, Ghostscript. What more do I need ? Thank you, You'll need patience and perseverance :) LyX has historically been developed for use under UNIX where most of the tools that it uses just work. LyX uses a lot of external scripts written in a variety of scripting languages. (We hope to eventually use just python, but not yet...) So, you'll need: * python http://www.python.org/download/ * a UNIX shell scripting environment. I can recommend MinSYS. I believe that you'll need only msys.exe from the http://mingw.org/download.shtml page: http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download * if you plan on converting existing LaTeX files to LyX, then you'll need an automated converter. LyX 1.3.x ships with a perl script, reLyX, so, if you plan on using this, you'll need perl http://www.activestate.com/Products/ActivePerl/?_x=1 Note, however, that reLyX is no longer maintained and that a backport of the new tex2lyx converter exists for LyX 1.3.x: http://wiki.lyx.org/LaTeX/LatexToLyx I understand that Ruurd Reitsma's port of LyX to Windows comes with stripped down versions of the above three scripting languages/environments. They may, or may not, work for you. Personally, I'd throw away the stripped down versions and go grab real versions of python, perl and a UNIX shell scripting environment from the official sources. Graphics conversion: if you want to see your graphics files displayed on the LyX screen then you'll need some converter from format X to so something that LyX can load. By default, LyX uses the ImageMagick convert utility http://www.imagemagick.org/script/index.php Note, however, that Windows users such as yourself must ensure that ImageMagick's convert appears in your PATH before the system utility convert (something to do with reformatting your hard disk...) In general, the Windows pages on the wiki site contain lots of useful info http://wiki.lyx.org/Windows/ and this mailing list contains several active Windows users who will be able to help with real world experience of LyX on Windows far more than I can. I strongly recommend reading http://wiki.lyx.org/LyX/LyXWinTips which contains work-arounds for several bugs in LyX 1.3.5 on the Windows platform. -- Angus
Navigate menu: Refs mean labels?
While creating a formal bug in bugzilla for my suggestion to include all inset types in the navigate menu (1895), I stumbled over the following thing: The Navigate-Refs menu entry doesn't take me to the next ref inset, but to the next label inset. (lyx 1.3.5 on windows) Is this a bug or a feature? Thanks, Sven
Re: LyX on Windows
Carlos Knauer schrieb: How can I install LyX on Windows XP? What softwares do I need installed? I have Miktex, Ghostscripd. What more do I need? It's very easy. You find all necessary informations under http://wiki.lyx.org/LyX/WindowsSetup regards Uwe
LyXwin not finding miktex
I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The helpconfiguration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on?
Re: LyXwin not finding miktex
Steven Ning wrote: I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The helpconfiguration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on? Edit-Reconfigure runs a UNIX shell script, configure. Do you have a UNIX shell installed? If not, see the recent LyX on Windows thread. Angus
find/replace saving permanent
In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang
Re: find/replace saving permanent
Wolfgang Engelmann writes: In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang Perhaps you should do your find/replace work in a better text editor, such as vim. Or in your CAT (computer-aided translation) program? -Kevin -- Kevin Pfeiffer [EMAIL PROTECTED] Tiros-Translations
Re: find/replace saving permanent
On 5/30/05, Kevin Pfeiffer [EMAIL PROTECTED] wrote: Wolfgang Engelmann writes: In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang Perhaps you should do your find/replace work in a better text editor, such as vim. Or in your CAT (computer-aided translation) program? Kevin: could you please give me an example of a CAT program? Paul
Re: LyXwin not finding miktex
Steven Ning wrote: I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The helpconfiguration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on? If you open a command window and run 'latex --version', does it work? -- Paul
Force in-line equations to one line
Does anybody know how to stop, other than forcing a line break, a short in-line equation from being split into two parts by an automatic line break? Roger
Generating PDF files with pdftex/pdftex_t type images
Hi, I'm using Windows and I'm having trouble generating PDF files of documents in which I have some Xfig images with Latex text in them. I can generate postscript documents fine. I can also generate hyperlinked pdf files from lyx files that just include eps images. However, if I want to include xfig images with latex text, I can't do that. I follow the following steps: 1. export from xfig to pdftex format 2. Include pdftex_t file in lyx document 3. export-> latex(pdflatex) I get the following error LaTeX Error: Unknown graphics extension: .pdftex. \includegraphics{1DTree.pdftex} % Try typingto proceed. If that doesn't work, type X to quit. I've tried using tex2pdf on windows. With tex2pdf the error message is suppressed but my final pdf file still doesn't include the image. I have no problem generating postscript files with the image. Does anyone know how I can solve this problem and generate PDF files that are hyperlinked and include xfig images with latex text ? Omair
Re: whereabouts of chktex
>>To: Kevin Pfeiffer <[EMAIL PROTECTED]> >>Cc: lyx-users@lists.lyx.org >>Subject: Re: whereabouts of chktex >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> >>Date: Thu, 26 May 2005 17:01:27 +0200 >> >>> "Kevin" == Kevin Pfeiffer <[EMAIL PROTECTED]> writes: >> >>Kevin> But it is listed (though inactive) in the menu. >> >>I can make it disappear when unavailable if you prefer :) >> There is a similar utility named 'lacheck'. Is it bundled on more distributions? If it is we could think about modifying our code to understand this. TexLive has got it: ->which lacheck /usr/local/TeX/bin/sparc-sun-solaris2.8/lacheck >> >>Kevin> Yeah, I saw that in the SuSE distro I believe. >> >>I would be interested to know which distribs have that. It could be a >>good idea to use it if it is more mainstream than chktex, especially >>since chktex can emulate it. If lacheck comes with all current (La)TeX distros (MikTeX, teTeX, TeXLive,...) what about Check Tex calling lacheck if chktex is not available ? -- Jean-Pierre
Re: whereabouts of chktex
> "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> writes: Jean-Pierre> If lacheck comes with all current (La)TeX distros Jean-Pierre> (MikTeX, teTeX, TeXLive,...) what about Check Tex calling Jean-Pierre> lacheck if chktex is not available ? Sure, but we have to modify the error parsing code to understand the lacheck syntax. JMarc
Re: Strange behavior LyxWin qt 1.3.5 - possibly relating to Bibtex
Ekkehart Schlicht wrote: > Mike Shell has identified the problem -- it is not a > LyX problem, nor is it related to hyperref (as I > thought) but a bug relating to the combination > babel+fancyhdr+natbib. See Could you please some description of the solution here, please, so that it could be found in archives? Thanks, Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The ratio of literacy to illiteracy is a constant, but nowadays the illiterates can read. -- Alberto Moravia
Re: Generating PDF files with pdftex/pdftex_t type images
Omair-Inam Abdul-Matin wrote: > Hi, > > I'm using Windows and I'm having trouble generating PDF files of > documents in which I have some Xfig images with Latex text in them. > > I can generate postscript documents fine. I can also generate > hyperlinked pdf files from lyx files that just include eps images. > However, if I want to include xfig images with latex text, I can't do > that. > > I follow the following steps: > 1. export from xfig to pdftex format > 2. Include pdftex_t file in lyx document > 3. export-> latex(pdflatex) > > I get the following error > LaTeX Error: Unknown graphics extension: .pdftex. > \includegraphics{1DTree.pdftex} > % > Try typingto proceed. > If that doesn't work, type X to quit. > > I've tried using tex2pdf on windows. With tex2pdf the error message is > suppressed but my final pdf file still doesn't include the image. I > have no problem generating postscript files with the image. > > Does anyone know how I can solve this problem and generate PDF files > that are hyperlinked and include xfig images with latex text ? See this script: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/scripts/fig2pdftex.sh?rev=1.5 Equivalent URL http://tinyurl.com/95qlr LyX 1.4 will be able to generate such images out of the box if you use the External inset rather than the Graphics inset. With LyX 1.3.x you can use the External inset to render XFig images in this way only if you use the dvips->ps->pdf conversion route, although you could easily write your own XFigPDF external template (see the external_templates file). Bottom line is that I suspect that you'll have convert the XFig image using the above script and then use \input (the Input inset) to include it into LyX. Angus
Re: Generating PDF files with pdftex/pdftex_t type images
>>To: lyx-users@lists.lyx.org >>From: Angus Leeming <[EMAIL PROTECTED]> >>Subject: Re: Generating PDF files with pdftex/pdftex_t type images >>Date: Mon, 30 May 2005 17:08:00 +0100 >> >>Omair-Inam Abdul-Matin wrote: >> >>> Hi, >>> >>> I'm using Windows and I'm having trouble generating PDF files of >>> documents in which I have some Xfig images with Latex text in them. >>> I've tried using tex2pdf on windows. With tex2pdf the error message is >>> suppressed but my final pdf file still doesn't include the image. I >>> have no problem generating postscript files with the image. Did tex2pdf turn the eps image into pdf (I guess you may check by increasing the verbosity) ? You should export from xfig as pstex/pstex_t (combined eps/LateX), then Input{foo.pstex} should be correct with tex2pdf, if it does work on windows (I never tried it, but I'd be glad to know it does). But then you can't run pdflatex on the file: the aim of tex2pdf is to take advantage of by the dvi idea (set up typography without actually inserting figures and fonts, which make compilation fast), and the ability of pdflatex to use bitmaps (which is slow with many graphics). In addition, the hyperref setup is done externally w.r.t the original document, using the tex2pdf commands options. BTW, I was not awarw of an option allowing to export as pdftex/pdftex_t from xfig.. What version have you got (here I run 3.2.3d). -- Jean-Pierre
Re: Generating PDF files with pdftex/pdftex_t type images
Jean-Pierre Chretien wrote: > BTW, I was not aware of an option allowing to export as pdftex/pdftex_t > from xfig.. What version have you got (here I run 3.2.3d). The script has a "legacy" mode for older versions of XFig such as yours. Here I have $ xfig -v Xfig 3.2 patchlevel 4 (Protocol 3.2) which does indeed have built-in pdftex/pdftex_t support. -- Angus
LyX on Windows
Hi. How can I install LyX on Windows XP ? What softwares do I need installed ? I have Miktex, Ghostscripd. What more do I need ? Thank you, -- Carlos Fernando Knauer
Re: problem with tex4ht / oolatex (graphics conversion to word-doc)
Sven Schreiber wrote: >>If this does not help, you might ask Eitan at gurari AT cse DOT ohio-state >>DOT >>edu. >> > > > yep I did that and will post any further hints to this list. > Ok, Eitan Gurari replied to my email and here's the promised follow-up: first some interesting news (?) about eps in oolatex: The current version of tex4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html) should load the eps pictures into the sxw files without conversions, so for such files the G-scripts in tex4ht.env are not relevant. If the conversion to DOC doesn't support EPS I would argue that the problem is with the conversion utility as OpenOffice seems to be satisfied with such files. "current" here refers to April/May 2005 I guess. Afai understand the non-bugfix distribution of February doesn't do that, or at least otherwise I cannot make sense of the documentation. With respect to my eps-from-latex-to-doc-via-sxw/openoffice-problem he's right, it's an openoffice bug if they don't convert the embedded eps-images correctly. Nevertheless he apparently added a user option as a workaround: I modified the bugfixes distribution of tex4ht to allow the user to override the default setting through an instruction of the form \Configure{graphics*} {eps} {}. In such a case, the G-script of the tex4ht.env will be applied to the eps files. Now this apparently means a post May-29th-2005 distribution. I'm still a tex4ht-newbie, but it seems to me that in order to use this \Configure-thing you must either include it in the latex source file, or you load a config-file which however means you cannot use the "oolatex"-shortcut. (I'd love to be corrected on this one.) Finally he explained how to choose between the g-scripts in tex4ht.env, which may have been obvious to others, but not to me: there are two options: ... and The first one is chosen because the tag and end tag are preceded by spaces. If the spaces are placed instead before and then the second option will take over. Hope this is of value for somebody, sven
Re: LyX on Windows
Carlos Knauer wrote: > Hi. > How can I install LyX on Windows XP ? Grab the port of LyX 1.3.5 to Windows from http://home.versatel.nl/rareitsma/lyx/ Note that we hope to release LyX 1.3.6 soon and that this version will be the first to support the Windows platform officially. Having said that, you'll still need to grab the stuff that I describe below... > What softwares do I need installed ? I have Miktex, Ghostscript. What > more do I need ? > Thank you, You'll need patience and perseverance :) LyX has historically been developed for use under UNIX where most of the tools that it uses "just work". LyX uses a lot of external scripts written in a variety of scripting languages. (We hope to eventually use just python, but not yet...) So, you'll need: * python http://www.python.org/download/ * a UNIX shell scripting environment. I can recommend MinSYS. I believe that you'll need only msys.exe from the http://mingw.org/download.shtml page: http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download * if you plan on converting existing LaTeX files to LyX, then you'll need an automated converter. LyX 1.3.x ships with a perl script, reLyX, so, if you plan on using this, you'll need perl http://www.activestate.com/Products/ActivePerl/?_x=1 Note, however, that reLyX is no longer maintained and that a backport of the new tex2lyx converter exists for LyX 1.3.x: http://wiki.lyx.org/LaTeX/LatexToLyx I understand that Ruurd Reitsma's port of LyX to Windows comes with stripped down versions of the above three scripting languages/environments. They may, or may not, work for you. Personally, I'd throw away the stripped down versions and go grab "real" versions of python, perl and a UNIX shell scripting environment from the official sources. Graphics conversion: if you want to see your graphics files displayed on the LyX screen then you'll need some converter from format X to so something that LyX can load. By default, LyX uses the ImageMagick "convert" utility http://www.imagemagick.org/script/index.php Note, however, that Windows users such as yourself must ensure that ImageMagick's "convert" appears in your PATH before the system utility "convert" (something to do with reformatting your hard disk...) In general, the Windows pages on the wiki site contain lots of useful info http://wiki.lyx.org/Windows/ and this mailing list contains several active Windows users who will be able to help with "real world" experience of LyX on Windows far more than I can. I strongly recommend reading http://wiki.lyx.org/LyX/LyXWinTips which contains work-arounds for several bugs in LyX 1.3.5 on the Windows platform. -- Angus
Navigate menu: "Refs" mean labels?
While creating a formal bug in bugzilla for my suggestion to include all inset types in the navigate menu (1895), I stumbled over the following thing: The Navigate-Refs menu entry doesn't take me to the next ref inset, but to the next label inset. (lyx 1.3.5 on windows) Is this a bug or a feature? Thanks, Sven
Re: LyX on Windows
Carlos Knauer schrieb: How can I install LyX on Windows XP? What softwares do I need installed? I have Miktex, Ghostscripd. What more do I need? It's very easy. You find all necessary informations under http://wiki.lyx.org/LyX/WindowsSetup regards Uwe
LyXwin not finding miktex
I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The help>configuration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on?
Re: LyXwin not finding miktex
Steven Ning wrote: I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The help>configuration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on? Edit->Reconfigure runs a UNIX shell script, "configure". Do you have a UNIX shell installed? If not, see the recent "LyX on Windows" thread. Angus
find/replace saving permanent
In translating a book from German to English it would be nice to safe the German/English entries of the find/exchange box. For a session they are safed and recoverable by selecting them after clicking on the down-arrow in the box. However, after finishing the session they are gone. Is there a workaround? Wolfgang
Re: find/replace saving permanent
Wolfgang Engelmann writes: > In translating a book from German to English it would be nice to safe > the German/English entries of the find/exchange box. For a session they > are safed and recoverable by selecting them after clicking on the > down-arrow in the box. However, after finishing the session they are > gone. Is there a workaround? > Wolfgang Perhaps you should do your find/replace work in a better text editor, such as vim. Or in your CAT (computer-aided translation) program? -Kevin -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations
Re: find/replace saving permanent
On 5/30/05, Kevin Pfeiffer <[EMAIL PROTECTED]> wrote: > Wolfgang Engelmann writes: > > In translating a book from German to English it would be nice to safe > > the German/English entries of the find/exchange box. For a session they > > are safed and recoverable by selecting them after clicking on the > > down-arrow in the box. However, after finishing the session they are > > gone. Is there a workaround? > > Wolfgang > > Perhaps you should do your find/replace work in a better text editor, such > as vim. Or in your CAT (computer-aided translation) program? Kevin: could you please give me an example of a CAT program? Paul
Re: LyXwin not finding miktex
Steven Ning wrote: I've just installed miktex 2.4 under C:\texmf, and then installed LyX 1.3.5 for Windows under C:\lyx. When I started lyx for the first time (or reconfigured), it does not seem to see miktex or any of the document classes included with miktex. The help>configuration document says that lyx has found nothing. I added C:\texmf\miktex\bin to my environment variables in an attempt to help lyx out, but it still refuses to see miktex! Whats going on? If you open a command window and run 'latex --version', does it work? -- Paul
Force in-line equations to one line
Does anybody know how to stop, other than forcing a line break, a short in-line equation from being split into two parts by an automatic line break? Roger