Re: Math in figures in a sans serif font?
Angus Leeming wrote: Herbert Voss wrote: use cmbright instead of lmodern and then with \usepackage{textcomp} \textmu\meter Thanks, Herbert, I'll try that. It;s certainly good enough for me, given that I'm trying to produce camera-ready images for a paper that will be submitted in Word format. (My boss is too set in his ways to change.) It's an ugly, clunky solution in general though (because I read you telling us that lmodern is the thing to use) :-( \makeatletter \def\SetFigFont#1#2#3#4#5{% [EMAIL PROTECTED] \fontfamily{cmss}\fontseries{\mddefault}\fontshape{\updefault}% \selectfont}% \makeatother this should work also with lmodern, or alternative \bgroup \renewcommand\sfdefault{cmss} your fig stuff \egroup Herbert
Re: Math in figures in a sans serif font?
Herbert Voss wrote: It's an ugly, clunky solution in general though (because I read you telling us that lmodern is the thing to use) :-( \makeatletter \def\SetFigFont#1#2#3#4#5{% [EMAIL PROTECTED] \fontfamily{cmss}\fontseries{\mddefault}\fontshape{\updefault}% \selectfont}% \makeatother purfect! -- Angus
Re: Automatic view DVI file after update DVI
Date: Mon, 18 Jul 2005 23:22:54 +0100 From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org Subject: Automatic view DVI file after update DVI Dear All Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Update-PS works alike with ghostview and gv (File-Reopen) Update-PDF works alike with gv (File-Reopen), with xpdf (typing R for Reopen in the xpdf window) but you must close/open with acroread (5.0/Solaris here). -- Jean-Pierre
Re: Automatic view DVI file after update DVI
On 7/19/05, Jean-Pierre Chretien [EMAIL PROTECTED] wrote: Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Thanks, Jean-Pierre. I did not mean that. I am also assuming that the DVI viewer is already open; the point is that LyX does not automatically go to the DVI viewer window after hitting Update--DVI; it stays on the LyX window. Paul
Re: Automatic view DVI file after update DVI
Paul Smith wrote: Thanks, Jean-Pierre. I did not mean that. I am also assuming that the DVI viewer is already open; the point is that LyX does not automatically go to the DVI viewer window after hitting Update--DVI; it stays on the LyX window. You mean that the DVI viewer window gets focus/comes to the front? No, you can't do that with LyX 1.3.6. Angus
Re: Automatic view DVI file after update DVI
On 7/19/05, Angus Leeming [EMAIL PROTECTED] wrote: Thanks, Jean-Pierre. I did not mean that. I am also assuming that the DVI viewer is already open; the point is that LyX does not automatically go to the DVI viewer window after hitting Update--DVI; it stays on the LyX window. You mean that the DVI viewer window gets focus/comes to the front? No, you can't do that with LyX 1.3.6. Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... Paul
How do I install a new layout/class?
I have been asked to write a book chapter which has to be delivered in Latex... to which I am new. I've installed version 1.3.6 under Windows XP and obtained the necessary .cls file and associated .layout file. What do I do now? I have tried copying the .cls file to C:\Program Files\LyX\Resources\lyx\tex\ and the .layout file (with associated includes) to C:\Program Files\LyX\Resources\lyx\layouts\. How do I make Lyx aware of the existence of these files? I did come across some stuff saying I had to add an entry to textclass.lst but the example didn't seem to square with the syntax of the textclass.lst file I have. Also confused about some (admittedly Linux system) instructions on installing the .cls file in the miktex directory and running texhash? Many thanks in advance, Peter Rockett
Re: Automatic view DVI file after update DVI
Paul Smith wrote: Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... If you add this as an enhancement request at http://bugzilla.lyx.org there is a chance that it will be implemented eventually. Otherwise it will be forgotten very soon. Georg
Using endfloat with subfig
I am using endfloat to move all my figures to the end of the document, adding this to my preamble: \usepackage[lists,heads]{endfloat} %% Remove captions from the figure pages [EMAIL PROTECTED] \vskip\abovecaptionskip \hbox to \hsize{\hfil #1\hfil}% \vskip\belowcaptionskip} The result is almost perfect: page List of Figures 1 A summation of Mercer et al.'s ... 2 Assemblages of polyhedra... ... 11 The distribution of generations of ... /page page Figures -- || || || -- Figure 1 /page However, I'm also using the subfig package to add captions to the sub figures within a float and at the moment these remain with the figure. Ie: page -- || || || -- (a) \degree{90} branches are allowed... -- || || || -- (b) \degree{90} branches are not allowed... Figure 11 /page Moreover, these same sub figure captions *do not* appear on the List of Figures page. Any clues on what I need to do? I attach a minimal example of what I get currently. Angus %% LyX 1.3 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[latin1]{inputenc} \usepackage{a4wide} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %% User specified LaTeX commands. \usepackage{lmodern} \usepackage[textstyle,amssymb]{SIunits} \usepackage{subfig} \usepackage[lists,heads]{endfloat} %% Remove captions from the figure pages [EMAIL PROTECTED] \vskip\abovecaptionskip \hbox to \hsize{\hfil #1\hfil}% \vskip\belowcaptionskip} \usepackage{babel} \makeatother \begin{document} \newcommand{\mydegree}[1]{#1\degree} \title{My title} \maketitle \section{Results} These results come in two parts\ldots{} \begin{figure} \begin{center}\subfloat[\label{cap:with 90}$\mydegree{90}$ branches are allowed. The fit to the numerical data has $a=92.5$, $\sigma=1.67$, $\mu=6.83$ and a reduced $\chi^{2}$ of $1.13$.]{% \framebox[12cm]{\ttfamily with90.fig \rule{0mm}{7cm}}% }\end{center} \begin{center}\subfloat[\label{cap:without 90}$\mydegree{90}$ branches are not allowed. The fit to the numerical data has $a=96.6$, $\sigma=2.10$, $\mu=6.84$ and a reduced $\chi^{2}$ of $0.67$.]{% \framebox[12cm]{\ttfamily without90.fig \rule{0mm}{7cm}}% }\end{center} \caption{The distribution of generations of branching to the terminal alveoli. A comparison of numerical predictions for $\lambda=0.5$ against the experimental data of Mercer and Crapo.\newline Numerical and experimental data are both fitted to a normal distribution $p(x)=\frac{a}{\sigma\sqrt{2\pi}}\exp\left(-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}\right)$. The fit to the Mercer and Crapo data (their table~1) has $a=100.7$, $\sigma=2.69$, $\mu=7.49$ and a reduced $\chi^{2}$ of $1.24$.} \end{figure} \end{document}
Re: Math in figures in a sans serif font?
Herbert Voss wrote: Easier than this gnuplot file which is exported to XFig by my gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-) ok, here we go Attached the pdf with your and my image ... :-) Nice! Well done! I guess that the tweaking needed to get the two to appear more similar is minimal and straightforward? Anyway, the bet was that that you could do it more easily than 20 lines of gnuplot script, so let's see your source ;-) Angus
Re: Math in figures in a sans serif font?
Angus Leeming wrote: Herbert Voss wrote: Easier than this gnuplot file which is exported to XFig by my gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-) ok, here we go Attached the pdf with your and my image ... :-) Nice! Well done! I guess that the tweaking needed to get the two to appear more similar is minimal and straightforward? Anyway, the bet was that that you could do it more easily than 20 lines of gnuplot script, so let's see your source ;-) additional all the lines of your other scripts ... addtional all the strokes in xfig additional ... :-) More serious: the advantage is, that all these font stuff when using gnuplot-xfig-latex is no more a (real) problem and that you are able to do some changes to the output always on the fly. the only new macro is \getErrorBar, but I had an existing one for two error values +/-. http://tug.org/PSTricks/main.cgi?file=examples#dotError The other plots could be done with pstricks-add. Herbert trial.tgz Description: GNU Zip compressed data
Re: Math in figures in a sans serif font?
Herbert Voss wrote: Easier than this gnuplot file which is exported to XFig by my gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-) ok, here we go Attached the pdf with your and my image ... :-) Nice! Well done! I guess that the tweaking needed to get the two to appear more similar is minimal and straightforward? Anyway, the bet was that that you could do it more easily than 20 lines of gnuplot script, so let's see your source ;-) additional all the lines of your other scripts ... addtional all the strokes in xfig additional ... :-) :-) Done once and forgotten about. Actually, I'm very impressed by your .tex file, but if you *really* want to get new users then I can't think of a better way than adding a PSTricks export option to gnuplot. Adding a gnuplot output driver is pretty easy (I've messed with the XFig one myself). Yes, I'm serious ;-) More serious: the advantage is, that all these font stuff when using gnuplot-xfig-latex is no more a (real) problem and that you are able to do some changes to the output always on the fly. I don't see that as a big issue. That's what Makefiles are for. the only new macro is \getErrorBar, but I had an existing one for two error values +/-. http://tug.org/PSTricks/main.cgi?file=examples#dotError The other plots could be done with pstricks-add. Angus
Re: How do I install a new layout/class?
Date: Tue, 19 Jul 2005 11:33:59 +0100 From: Peter Rockett [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Subject: How do I install a new layout/class? [...] I have tried copying the .cls file to C:\Program Files\LyX\Resources\lyx\tex\ and the .layout file (with associated includes) to C:\Program Files\LyX\Resources\lyx\layouts\. How do I make Lyx aware of the existence of these files? I did come across some stuff saying I had to add an entry to textclass.lst but the example didn't seem to square with the syntax of the textclass.lst file I have. This is done by running Edit-Reconfigure, after texhash. But you must download the .cls file in C:\localtexmf\tex\latex\ not in C:\Program Files\LyX\Resources\lyx\tex\ BTW, you should link C:\localtexmf\tex\latex\lyx to C:\Program Files\LyX\Resources\lyx\tex\ if you plan to use any of the .cls or .sty files lying there (or rather the corresponding .layout files, e.g hollywood). Also confused about some (admittedly Linux system) instructions on installing the .cls file in the miktex directory and running texhash? With MikTeX, you texhash by opening Programs-MikTeX-MikTeX Options and selecting Refresh now -- Jean-Pierre
Re: Automatic view DVI file after update DVI
On 7/19/05, Georg Baum [EMAIL PROTECTED] wrote: Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... If you add this as an enhancement request at http://bugzilla.lyx.org there is a chance that it will be implemented eventually. Otherwise it will be forgotten very soon. Sure, Georg, I will do that soon. I suspect this feature may be useful for many of us. Paul
Re: Using endfloat with subfig
Angus Leeming wrote: However, I'm also using the subfig package to add captions to the sub figures within a float and at the moment these remain with the figure. Ie: page -- || || || -- (a) \degree{90} branches are allowed... -- || || || -- (b) \degree{90} branches are not allowed... Figure 11 /page I got there eventually. The subfig package has two optional parameters: \subfloat[list of figures caption][subfigure caption {\includegraphics...} Moreover, these same sub figure captions *do not* appear on the List of Figures page. \setcounter{lofdepth}{2} Angus
windows install
I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Any thoughts? Bill
Re: windows install
Subject: windows install From: William O. Bray [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Tue, 19 Jul 2005 09:49:25 -0400 X-MailScanner: Found to be clean, Not scanned: please contact your Internet E-Mail Service Provider for details X-MailScanner-Information: Please contact the ISP for more information I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Might come from the change of the name of the personal lyx dir. I guess it changed to LyX instead of lyx around prerelease version 20 -- Jean-Pierre
1.3.6 for Win
Hi I am about to install Lyx 1.3.6 on WinXP box. I just wondered what, with the exception of reLyx, the Perl package was required for. I am going to use tex2lyx and so won't need to install Perl if it is not used by any other part of the Lyx package. If anyone knows the answer I would be most appreciative. Geoff
Re: most lyx-friendly bibtex-format?
i dont know much about how lyx handles bibtex underneath the hood - but recently i wrote some tools to keep track of my own reference collection. these are some of my experiences: bibtex is inherently difficult to parse - because the format is very flexible. i dont think a simple parser will do - i picked up somewhere one should use a YACC compiler (yet another compiler compiler) for making a proper parser. there do, however, exists different parsers in the public domain. google for btparse (powerfull parser written in c). also, i think dana jacobsen may have some hints: http://www.ecst.csuchico.edu/~jacobsd/bib/bp/ at least he got the availible BibTeX format description: http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html (and the references therein looks promising) perhaps a parser upgrade will be worth while? best regards martin On Tue, Jul 19, 2005 at 03:56:06PM +0200, Sven Schreiber wrote: Recently I seem to be having more problems than usual with the bibtex database access in the insert citation dialog (obvious parsing errors, the lower-left info area often shows a relatively wild combination of different entries). So it is getting annoying and I want to do something about it. afaik the weaknesses of the used simple bibtex parser are known, but not to me, so please what are recommendations for the bibtex file format so that the parser won't get confused? thanks for any hints, sven
Re: windows install
William O. Bray wrote: I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Any thoughts? Bill When you say textclass.lst is in place, do you mean that (a) it's in C:\Documents and Settings\your id\Application Data\lyx and (b) it has a nonzero byte length? (Here your id is the id under which you're logged into Windows.) -- Paul
Re: windows install
Jean-Pierre Chretien wrote: I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Might come from the change of the name of the personal lyx dir. I guess it changed to LyX instead of lyx around prerelease version 20 Shouldn't make any difference (Windows regards directory names lyx and LyX as the same thing unless two separate directories lyx and LyX exist. Nonetheless, it's probably a good thing to rename C:\Documents and Settings\William\Application Data\lyx as LyX. You'll probably have to do it in two steps, lyx - lyx2 and lyx2 -LyX If, from the command line, you run $ lyx.exe -dbg init You'll see where LyX is looking for stuff. Angus
Re: 1.3.6 for Win
To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 16:53:31 +0100 Geoffrey Lloyd wrote: I am about to install Lyx 1.3.6 on WinXP box. I just wondered what, with the exception of reLyx, the Perl package was required for. I am going to use tex2lyx and so won't need to install Perl if it is not used by any other part of the Lyx package. If anyone knows the answer I would be most appreciative. You can safely throw reLyX and Perl in the bin and set fire to it. Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 -- Jean-Pierre
Re: 1.3.6 for Win
Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? Angus (too lazy to go look at the sources)
Re: 1.3.6 for Win
To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 17:22:22 +0100 Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? Not tried, I added C:\Program Files\LyX-1.4/LyX/bin to the path and tried a very simple tex2lyx conversion (one of the doc files). You mean, just copy tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin, forget the lyx-1.4 layouts and such of the tex2lyx bundle and go ? In that case, you will able to ship it with the installer I guess, with the lyxrc.defaults tuned to use it. Great ! I will check on a real life example. (I may check on Solaris as well). -- Jean-Pierre
Toolbar in 1.3.6
Hi Yes another question, sorry. I have been using 1.3.5 for sometime and have become very use to the toolbar that I am using. It is a corruption of the 'Alternative Toolbar' provided here http://www.semverteilung.vwl.uni-muenchen.de/mitarbeiter/es/software/ToolbarES.htm However when I use it with 1.3.6 some f the icons are not recognised and become ? and another is just totally different. I have attached the .ui file. Does any one know why this is happening? Ultimately it doesn't matter for me because I know where all the buttons are and what they do so don't need icons per se but I am trying to encourage others to use Lyx and so it would be helpful if my version looked complete. Geoff es.ui Description: Binary data
Re: 1.3.6 for Win
- Original Message - From: Jean-Pierre Chretien [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, July 19, 2005 5:30 PM Subject: Re: 1.3.6 for Win To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 17:22:22 +0100 Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? Not tried, I added C:\Program Files\LyX-1.4/LyX/bin to the path and tried a very simple tex2lyx conversion (one of the doc files). You mean, just copy tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin, forget the lyx-1.4 layouts and such of the tex2lyx bundle and go ? In that case, you will able to ship it with the installer I guess, with the lyxrc.defaults tuned to use it. If that really is the case then that would be fantastic as it is clearly superior to relyx. If you find it works can you let me know how to do it to save me downloading all the extra stuff, was literally about to do the tex2lyx addition so will wait a while to hear if I need to do the full thing. Geoff
Re: most lyx-friendly bibtex-format?
Sven Schreiber wrote: afaik the weaknesses of the used simple bibtex parser are known, but not to me, so please what are recommendations for the bibtex file format so that the parser won't get confused? I never had any problems with .bib files that were sanitized by BibTool - see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can read almost every .bib file and make something usable out of it, and it is highly customizable. Georg
Re: 1.3.6 for Win
Angus Leeming wrote: Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. But the newest tex2lyx produces file format 243, and LyX 1.3.6 can only read 242. So the instructions on the wiki page should be modified: You may have to replace LyX.py and lyx_1_4.py of LyX 1.3.6 with the versions from here: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/lyx2lyx/ Jean-Pierre, it would be nice if you could do that and maaybe add some more details. All files of lyx2lyx except lyx2lyx itself can be replaced with their 1.4 counterpart without problems. I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? No. Angus (too lazy to go look at the sources) Georg (too lazy too, but fortunately knowing the answer by heart)
Re: Toolbar in 1.3.6
Geoffrey Lloyd wrote: http://www.semverteilung.vwl.uni-muenchen.de/mitarbeiter/es/software/ToolbarES.htm However when I use it with 1.3.6 some f the icons are not recognised and become ? and another is just totally different. I have attached the .ui file. Does any one know why this is happening? The show-forks lfun does not exist anymore. Delete it from the .ui file. The icons that are not recognized are not part of LyX. If you follow the instructions on the page above and install them properly they should be recognized :-) Georg
Re: 1.3.6 for Win
You mean, just copy tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin, forget the lyx-1.4 layouts and such of the tex2lyx bundle and go ? In that case, you will able to ship it with the installer I guess, with the lyxrc.defaults tuned to use it. If that really is the case then that would be fantastic as it is clearly superior to relyx. If you find it works can you let me know how to do it to save me downloading all the extra stuff, was literally about to do the tex2lyx addition so will wait a while to hear if I need to do the full thing. It seems to work, so here is the procedure - grab the tex2lyx package on the wiki - decompress the LyX\bin\tex2lyx.exe file (and only this one) in C:\Program Files\LyX\bin - replace the relyx command in Edit-Preferences-Converters-Latex - LyX with tex2lyx $$i $$o Not tested with a real life tex file, seems that I need to turn Unix EOFs into Win EOFs before tex2lyxing. However, screen resolution seems quite bad, never noticed before. Any clue ? -- Jean-Pierre
Re: 1.3.6 for Win
To: lyx-users@lists.lyx.org From: Georg Baum [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 19:12:16 +0200 Angus Leeming wrote: Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. But the newest tex2lyx produces file format 243, and LyX 1.3.6 can only read 242. So the instructions on the wiki page should be modified: You may have to replace LyX.py and lyx_1_4.py of LyX 1.3.6 with the versions from here: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/lyx2lyx/ Jean-Pierre, it would be nice if you could do that and maaybe add some more details. All files of lyx2lyx except lyx2lyx itself can be replaced with their 1.4 counterpart without problems. I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? No. Our messages crossed themselves and don't agree, as I made it work :-( I've got to go, to be followed to-morrow... -- Jean-Pierre
Removing pages from a .pdf file?
I've just generated a pdf file using pdflatex that runs from page -8 to page 11. Is there a tool that I can use to remove pages -8 to 0 (inclusive) from the pdf file? Or is there a way of getting pdflatex to output only pages 1 to 11? No, I don't want to hack my lyx file ;-) Angus
PDF with horrible letter
Hello list, I generate a document with lyx and export to PDF, it looks pretty good under linux, nevertheless when I try to see it under Windows it looks very bad the words does not look good, the letter format looks horrible etc. Any one knows how to correct this problem. I will appreciate any help or point to a good source of information. Kind Regards. -- Sergio Basurto J. If I have seen further it is by standing on the shoulders of giants. (Isaac Newton) -- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Removing pages from a .pdf file?
On 7/19/05, Angus Leeming [EMAIL PROTECTED] wrote: I've just generated a pdf file using pdflatex that runs from page -8 to page 11. Is there a tool that I can use to remove pages -8 to 0 (inclusive) from the pdf file? Or is there a way of getting pdflatex to output only pages 1 to 11? Angus, The pdf toolkit may help you: http://www.accesspdf.com/pdftk/ Another solution (a commercial one) is to use Acrobat Writer or Acrobat Reader Professional (not sure about the name). Paul
Re: Removing pages from a .pdf file?
Angus Leeming wrote: I've just generated a pdf file using pdflatex that runs from page -8 to page 11. Is there a tool that I can use to remove pages -8 to 0 (inclusive) from the pdf file? Or is there a way of getting pdflatex to output only pages 1 to 11? I print the pdf file with the selected pages into a file. With xpdf it is a ps-file and then I use ps2pdf. Herbert
Re: 1.3.6 for Win
Jean-Pierre Chretien wrote: Not tested with a real life tex file, seems that I need to turn Unix EOFs into Win EOFs before tex2lyxing. That should not be needed. What happens if you don't do that? Georg
LyX - MS Word
Hi Eugeny, I have had good experiences with the following procedure: 1.) Export LyX file to HTML (my preferred application here is tth) 2.) Load HTML file into Safari (I am a Mac user ;-) 3.) Mark all and copy 4.) Paste into Word document. (Directly opening the HTML file in Word does not work as well). Hope this helps! Andreas -- Dr. Andreas Busch[EMAIL PROTECTED] Reader in European Politics, Department of Politics and International Relations, University of Oxford Fellow and Tutor in PoliticsTel. +44-(0)1865-279 451 (direct) Hertford CollegeFax +44-(0)1865-279 437 Oxford OX1 3BW, United Kingdom Homepage: http://users.ox.ac.uk/~busch Weblog: http://politicsofprivacy.blogspot.com
Re: Removing pages from a .pdf file?
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, July 19, 2005 6:29 PM Subject: Removing pages from a .pdf file? I've just generated a pdf file using pdflatex that runs from page -8 to page 11. Is there a tool that I can use to remove pages -8 to 0 (inclusive) from the pdf file? Or is there a way of getting pdflatex to output only pages 1 to 11? No, I don't want to hack my lyx file ;-) Angus The best way to do this is to output a .ps file from Lyx and then use ghostview to convert just pages 1 to 11 to a pdf file. It works well and the quality is fine.
Re: LyX - MS Word
On Tue, Jul 19, 2005 at 06:48:58PM +0100, Andreas Busch wrote: Hi Eugeny, I have had good experiences with the following procedure: 1.) Export LyX file to HTML (my preferred application here is tth) 2.) Load HTML file into Safari (I am a Mac user ;-) 3.) Mark all and copy 4.) Paste into Word document. (Directly opening the HTML file in Word does not work as well). Actually I used the http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html That works pretty nice!
Re: Toolbar in 1.3.6
Geoffrey Lloyd wrote: I have been using 1.3.5 for sometime and have become very use to the toolbar that I am using. It is a corruption of the 'Alternative Toolbar' provided here http://www.semverteilung.vwl.uni-muenchen.de/mitarbeiter/es/software/ToolbarES.htm However when I use it with 1.3.6 some f the icons are not recognised and become ? and another is just totally different. I assume that you forgot to copy some .xpm files to LyX's images directory. Follow Ekkehart's advice: Copy the included folder “images” into the directory “…\lyx\share\lyx”. Confirm overwrite for several images. Note that the directory was changed from \lyx\share\lyx to another one (You'll find it by searching for the folder images.) regards Uwe p.s. I moved the toolbars to http://wiki.lyx.org/LyX/UserInterface
Re: Removing pages from a .pdf file?
Paul Smith wrote: The pdf toolkit may help you: http://www.accesspdf.com/pdftk/ Pufect! $ pdftk A=structure3D.pdf cat A10-end output figures.pdf Angus
Re: Automatic view DVI file after update DVI
- Original Message - From: Jean-Pierre Chretien [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, July 19, 2005 12:49 AM Subject: Re: Automatic view DVI file after update DVI Date: Mon, 18 Jul 2005 23:22:54 +0100 From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org Subject: Automatic view DVI file after update DVI Dear All Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Update-PS works alike with ghostview and gv (File-Reopen) Update-PDF works alike with gv (File-Reopen), with xpdf (typing R for Reopen in the xpdf window) but you must close/open with acroread (5.0/Solaris here). -- Jean-Pierre I saw this batfile which could become a bash script, maybe helpful? http://wiki.lyx.org/LyX/LyXWinTips View PDF in full-page mode - advanced version You may try also to following: Download pdftools and extract pdfopen.exe and pdfclose.exe into your ~\Lyx\bin directory. Create a text file PDFview.cmd containing if not exist %~dpn1-tmp%~x1 goto :go pdfclose --file %~dpn1-tmp%~x1 del %~dpn1-tmp%~x1 :go copy %1 %~dpn1-tmp%~x1 pdfopen --file %~dpn1-tmp%~x1 exit in the same directory. If you select View ? PDF (pdflatex), this will show the current document as a PDF. The error that you get if the Reader is already open will be avoided, but the file will be named slightly differently to achieve that result. Best regards, Stephen
Re: PDF with horrible letter
Sergio Basurto Juarez wrote: I generate a document with lyx and export to PDF, it looks pretty good under linux, nevertheless when I try to see it under Windows it looks very bad the words does not look good, the letter format looks horrible etc. Have a look at http://wiki.lyx.org/FAQ/PDF#badFonts regards Uwe
Instant preview in 1.3.6 win
Hi So far so good with the 1.3.6 install. Only I can't get instant preview to work. I have selected Instant Preview in Preferences and also have a full version of Python 2.4 installed. Anyone got Instant Preview to work on a Win system and know how to do it? Geoff
SOLVED -Instant preview
Ok it seems that on (my) WinXP box as well as Python you also need a set of Python extensions which can be found here. There are files to cover the latest Python releases. https://sourceforge.net/project/showfiles.php?group_id=78018package_id=79063release_id=319716 Perhaps something should be added to state this additional step for Win Machines. It may be that it only affects Instant Preview but I don't know anything about Python or how it is used by Lyx. Geoff
Re: [Solved] PDF with horrible letter
--- Uwe Stöhr [EMAIL PROTECTED] wrote: Sergio Basurto Juarez wrote: I generate a document with lyx and export to PDF, it looks pretty good under linux, nevertheless when I try to see it under Windows it looks very bad the words does not look good, the letter format looks horrible etc. Have a look at http://wiki.lyx.org/FAQ/PDF#badFonts regards Uwe Thanks a lot it works for me. Regards. -- Sergio Basurto J. If I have seen further it is by standing on the shoulders of giants. (Isaac Newton) -- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Automatic view DVI file after update DVI
On 7/19/05, Stephen P. Harris [EMAIL PROTECTED] wrote: Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Update-PS works alike with ghostview and gv (File-Reopen) Update-PDF works alike with gv (File-Reopen), with xpdf (typing R for Reopen in the xpdf window) but you must close/open with acroread (5.0/Solaris here). I saw this batfile which could become a bash script, maybe helpful? http://wiki.lyx.org/LyX/LyXWinTips View PDF in full-page mode - advanced version Thanks, Stephen, but I use Linux and not MS Windows. Paul
Strange menu behaviour on resize
Hi A strange thing happens whenever I minimise my Lyx window to the tool bar in Windows. When I bring it back up (regardless of whether it is full screen or user defined size) only the first 4 menu options are available (FIle, Edit, Insert, Layout). When I run the mouse of the vacant space the other menu items appear. Very odd, wondered whether anyone else had this problem and although minor whether it is a bug worth reporting. Geoff
How to undefine a \newtheorem ?
elsart.cls contains this definition: \newtheorem{rem}[thm]{Remark} Unfortunately, it clashes with the SIUnits package \documentclass{elsart} \usepackage{SIunits} \begin{document} \end{document} $latex trial (/usr/share/texmf/tex/latex/SIunits/SIunits.sty ! LaTeX Error: Command \rem already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.397 \addunit{\rem}{rem} Given that I'd like to use both elsart.cls and SIunits.sty and that commenting out the rem theorem definition in elsart.cls isn't really an option, how do I undefine it in my document? Angus
Re: Automatic view DVI file after update DVI
On 7/19/05, Georg Baum [EMAIL PROTECTED] wrote: Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... If you add this as an enhancement request at http://bugzilla.lyx.org there is a chance that it will be implemented eventually. Otherwise it will be forgotten very soon. Done: bug 1928. Paul
Re: How to undefine a \newtheorem ?
Angus Leeming wrote: elsart.cls contains this definition: \newtheorem{rem}[thm]{Remark} Unfortunately, it clashes with the SIUnits package \documentclass{elsart} \usepackage{SIunits} \begin{document} \end{document} $latex trial (/usr/share/texmf/tex/latex/SIunits/SIunits.sty ! LaTeX Error: Command \rem already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.397 \addunit{\rem}{rem} Given that I'd like to use both elsart.cls and SIunits.sty and that commenting out the rem theorem definition in elsart.cls isn't really an option, how do I undefine it in my document? \documentclass{elsart} \let\rem\relax \let\remend\relax \usepackage{SIunits} \begin{document} foo\rem \end{document} Herbert
Re: How to undefine a \newtheorem ?
Herbert Voss wrote: Given that I'd like to use both elsart.cls and SIunits.sty and that commenting out the rem theorem definition in elsart.cls isn't really an option, how do I undefine it in my document? \documentclass{elsart} \let\rem\relax \let\remend\relax \usepackage{SIunits} \begin{document} foo\rem \end{document} Thanks, Herbert! Angus
Re: How to undefine a \newtheorem ?
Herbert Voss wrote: Angus Leeming wrote: elsart.cls contains this definition: \newtheorem{rem}[thm]{Remark} Unfortunately, it clashes with the SIUnits package \documentclass{elsart} \usepackage{SIunits} \begin{document} \end{document} $latex trial (/usr/share/texmf/tex/latex/SIunits/SIunits.sty ! LaTeX Error: Command \rem already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.397 \addunit{\rem}{rem} Given that I'd like to use both elsart.cls and SIunits.sty and that commenting out the rem theorem definition in elsart.cls isn't really an option, how do I undefine it in my document? \documentclass{elsart} \let\rem\relax \let\remend\relax \let\endrem\relax sorry Herbert
Re: How to undefine a \newtheorem ?
Herbert Voss wrote: \documentclass{elsart} \let\rem\relax \let\remend\relax \let\endrem\relax ;-) It worked anyway. Angus
Re: How to undefine a \newtheorem ?
Angus Leeming wrote: Herbert Voss wrote: \documentclass{elsart} \let\rem\relax \let\remend\relax \let\endrem\relax ;-) It worked anyway. I know ... :-) If you want to use the rem theorem, then use the following, it copies the rem theorem to remE \documentclass{elsart} \let\remE\rem \let\endremE\endrem \let\rem\relax \let\rememd\relax \usepackage{SIunits} \begin{document} foo\rem \begin{remE}{bar} baz \end{remE} \end{document} Herbert
Re: Automatic view DVI file after update DVI
- Original Message - From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, July 19, 2005 11:37 AM Subject: Re: Automatic view DVI file after update DVI On 7/19/05, Stephen P. Harris [EMAIL PROTECTED] wrote: Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Update-PS works alike with ghostview and gv (File-Reopen) Update-PDF works alike with gv (File-Reopen), with xpdf (typing R for Reopen in the xpdf window) but you must close/open with acroread (5.0/Solaris here). I saw this batfile which could become a bash script, maybe helpful? http://wiki.lyx.org/LyX/LyXWinTips View PDF in full-page mode - advanced version Thanks, Stephen, but I use Linux and not MS Windows. Paul You are welcome, Paul. Most MS Windows functionality is availabe to Linux or Solaris so I was suggesting that an sh script could probably manage to fulfill the function of the cmd file which could serve as a basis for writing the *nix version of the script. I think automatically starting a dvi viewer is in the same comfort zone as not having to close then open a pdf file with acroread; IOW, analagous, but more on topic to the Solaris-based reply to the OP. A bit off topic: I find that when I View a file with Postscript using Lyx, that I can see the file as a ghostscript image, but I can't save it. I have to navigate all the way to c:\documents and settings\ Stephen\local settings\Temp\lyx_tempdir3864a03064\lyx_tmpbuf0 copy it, and then save it to a safe place. Whew! That is more work than moving a couch! Surely you can agree that fixing this should have a fix level of higher priority than a piffling inconvenience? Alas, Viewing with acrobat used to function and then I could save it as .ps. Regards, Stephen Laziness breeds not only material poverty but intellectual impoverishment. Hard work saves us from the threat of those who do not work do not eat.
Re: Automatic view DVI file after update DVI
On 7/19/05, Stephen P. Harris [EMAIL PROTECTED] wrote: You are welcome, Paul. Most MS Windows functionality is availabe to Linux or Solaris so I was suggesting that an sh script could probably manage to fulfill the function of the cmd file which could serve as a basis for writing the *nix version of the script. I think automatically starting a dvi viewer is in the same comfort zone as not having to close then open a pdf file with acroread; IOW, analagous, but more on topic to the Solaris-based reply to the OP. A bit off topic: I find that when I View a file with Postscript using Lyx, that I can see the file as a ghostscript image, but I can't save it. I have to navigate all the way to c:\documents and settings\ Stephen\local settings\Temp\lyx_tempdir3864a03064\lyx_tmpbuf0 copy it, and then save it to a safe place. Whew! That is more work than moving a couch! Surely you can agree that fixing this should have a fix level of higher priority than a piffling inconvenience? Alas, Viewing with acrobat used to function and then I could save it as .ps. There is now, Stephen, a pdf viewer which works on Linux that has got the watching file feature, i.e., the pdf file is reloaded as soon as it changes. The name of this viewer is kpdf. Paul
Windows Screen Fonts
Just installed Lyx 1.3.6 on two WinXP machines (one at work, one at home). The work machine, maths displays perfectly. On the home machine, the program is clearly picking up the wrong screen font - for example, \theta displays as lower case mu, etc. Although the equation displays correctly in Yap. Any ideas how I install the correct screen fonts? Odd because both machines are nominally identical. Peter
Re: Windows Screen Fonts
Peter Rockett wrote: Just installed Lyx 1.3.6 on two WinXP machines (one at work, one at home). The work machine, maths displays perfectly. On the home machine, the program is clearly picking up the wrong screen font - for example, \theta displays as lower case mu, etc. Although the equation displays correctly in Yap. Any ideas how I install the correct screen fonts? Odd because both machines are nominally identical. Peter http://wiki.lyx.org/Windows/LyX136#math_fonts ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip -- Angus
Re: 1.3.6 for Win Fix
Hello, Short version: The default Postscript viewer in the Win version install, which is gsview32.exe, failed. I fixed it by addding C:\ghostgum\gsview; to the Path in Preferences. Long version: Whilst having a stimulating chat with Paul Smith about the merits of viewing files, I decided to upgrade to the new 1.3.6 lyx-1.3.6_win32_setup_v1.exe since Angus claimed it was functioning flawlessly. :-) Everything appeared to work except my ghostcript viewer failed to open files, though externally the program worked. I noticed that it was set to gsview32.exe which enables the file to be saved whereas gswin32.exe only views images. So I tried changing the setting under LyX -- Preferences from the default, to File formats --Viewer --gswin32.exe and this enabled viewing. So I added C:\ghostgum\gsview; to the Path under Preferences so it could read that directory which contains the default install of gsview32.exe. I had to run Reconfigure to make this work besides apply and save. Maybe the script needs to check for ghostgum also, or perhaps the location of ghostgum/gsview32.exe, the default viewer as installed on my Win XP machine, can magically be inserted into the Path statement under LyX Preferences. Best regards, Stephen
LyX on SLAX Live CD
Hi - I am trying the SLAX live CD. It seems to be fine except I can not figure out how to change the file system from read only. Anybody know how to do it? Thank you. Philip Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Re: LyX - MS Word
On Tuesday 19 Jul 2005 11:18 pm, Andreas Busch wrote: Hi Eugeny, I have had good experiences with the following procedure: 1.) Export LyX file to HTML (my preferred application here is tth) 2.) Load HTML file into Safari (I am a Mac user ;-) 3.) Mark all and copy 4.) Paste into Word document. (Directly opening the HTML file in Word does not work as well). Hope this helps! Andreas -- Dr. Andreas Busch[EMAIL PROTECTED] Reader in European Politics, Department of Politics and International Relations, University of Oxford Fellow and Tutor in PoliticsTel. +44-(0)1865-279 451 (direct) Hertford CollegeFax +44-(0)1865-279 437 Oxford OX1 3BW, United Kingdom Homepage: http://users.ox.ac.uk/~busch Weblog: http://politicsofprivacy.blogspot.com I normally export .lyx file to .txt format and then open it in MSWord. AFAIK there is no perfect way to convert lyx to doc retaining all formating intact. Anand
Re: Strange menu behaviour on resize
Geoffrey Lloyd wrote: Hi A strange thing happens whenever I minimise my Lyx window to the tool bar in Windows. When I bring it back up (regardless of whether it is full screen or user defined size) only the first 4 menu options are available (FIle, Edit, Insert, Layout). When I run the mouse of the vacant space the other menu items appear. Very odd, wondered whether anyone else had this problem and although minor whether it is a bug worth reporting. Geoff Can't reproduce it here. Then again, over here windows get minimized rather than minimised; don't know if that makes a difference. :-) Sounds as if Windows is getting lazy about repainting the LyX window when you revive it. Seems unlikely to be anything in the LyX code. You might try calling up the task manager (ctrl-alt-del) while the LyX windows is minimized. Switch to the Processes tab, then revive the LyX window and see if anything hammers your CPU while the window is being repainted. (Bit of a long shot, I suppose.) -- Paul
Re: 1.3.6 on mac troubles
On Jul 19, 2005, at 4:31 PM, Georg Kö wrote: just tried the new 1.3.6 bin of lyx/mac and have some troubles I can't solve. (System is 10.4.2 and I use Gerben Wierdas i-installer 2004 TeXLive Version of tetex) Same. As recommended for users of previous versions I started with executing the LyX Installer after replacing the old App Bundle with the new one. It found my TeX installation installed the additional files in my texmf.local and I started 1.3.6 for the first time. Everything looked fine, but when I tried to open one of my LyX Documents I was told that the required class file is not present. OK did a reconfigure, quit and started again with the same error. Removed the LyX dir in Application support, started Lyx again did a reconfigure, quit, start - same error (all classes are marked unavailable in the documents property window). Found out that in textclass.lst in ~/Application Support/LyX all classes are marked false. Made a texhash and tried again - nothing changed. Btw, packages.lst, styFiles.lst, bstFiles.lst, clsFiles.lst are empty. Manually switched some class files I needed true in ~/Application Support/LyX/textclass.lst. Document opened fine, but the preview menu didn’t give me any possibility to preview as dvi or pdf. The entries are missing. That’s the Situation now for me. Has anybody an idea how to solve that Problem and make the configure process work and tell LyX what Latex packages, stales, classes etc. are installed? Same for me. using Terminal, lyx -version gives: LyX 1.3.6 of Sat, Jul 16, 2005 Built on Jul 18 2005, 00:29:38 Configuration Host type: powerpc-apple-darwin7.9.0 Special build flags:use-ispell C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.95.2) C++ Compiler flags: -Os -Wno-non-template-friend - ftemplate-depth-30 Linker flags: -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz Frontend: qt Qt version: 3.3.4 Packaging: macosx LyX binary dir: /Users/bennett/lyx-1.3.6/ development/MacOSX/LyX.app/Contents/MacOS LyX files dir:/Users/bennett/lyx-1.3.6/ development/MacOSX/LyX.app/Contents/Resources/lyx Should bennett's directories be in here? There also seems to be an attempt to may a lyxpipe(?) still ~/.lyx -- this seems wrong. Dave
Re: 1.3.6 on mac troubles
On Jul 19, 2005, at 10:13 PM, David Green wrote: There also seems to be an attempt to may a lyxpipe(?) still ~/.lyx -- this seems wrong. OK, here is a work-around that works for me. 1. go to Terminal and recreate a .lyx directory mkdir ~/.lyx 2. Start LyX and run reconfigure again. Nothing seems to stay in this directory but it appears to still be needed by something. I do get a Mutex destroy failure: Resource busy when exiting LyX (when starting it from command line so I can see the output). Dave
Textclass Error
Whenever I open LyX 1.3.6 on Mac OS X Tiger I get the error: Textclass error - The document uses a missing TeX class article LyX will not be able to produce output. Removing the LyX folder in Application Support temporarily removes the error but I still can't successfully execute any of the options i've tried from the View menu. How do I fix this? I'm not a Unix guy really so I haven't dug into solving this with Terminal. Thanks.
Re: Math in figures in a sans serif font?
Angus Leeming wrote: Herbert Voss wrote: use cmbright instead of lmodern and then with \usepackage{textcomp} \textmu\meter Thanks, Herbert, I'll try that. It;s certainly good enough for me, given that I'm trying to produce camera-ready images for a paper that will be submitted in Word format. (My boss is too set in his ways to change.) It's an ugly, clunky solution in general though (because I read you telling us that lmodern is the thing to use) :-( \makeatletter \def\SetFigFont#1#2#3#4#5{% [EMAIL PROTECTED] \fontfamily{cmss}\fontseries{\mddefault}\fontshape{\updefault}% \selectfont}% \makeatother this should work also with lmodern, or alternative \bgroup \renewcommand\sfdefault{cmss} your fig stuff \egroup Herbert
Re: Math in figures in a sans serif font?
Herbert Voss wrote: It's an ugly, clunky solution in general though (because I read you telling us that lmodern is the thing to use) :-( \makeatletter \def\SetFigFont#1#2#3#4#5{% [EMAIL PROTECTED] \fontfamily{cmss}\fontseries{\mddefault}\fontshape{\updefault}% \selectfont}% \makeatother purfect! -- Angus
Re: Automatic view DVI file after update DVI
Date: Mon, 18 Jul 2005 23:22:54 +0100 From: Paul Smith [EMAIL PROTECTED] To: lyx-users@lists.lyx.org lyx-users@lists.lyx.org Subject: Automatic view DVI file after update DVI Dear All Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Update-PS works alike with ghostview and gv (File-Reopen) Update-PDF works alike with gv (File-Reopen), with xpdf (typing R for Reopen in the xpdf window) but you must close/open with acroread (5.0/Solaris here). -- Jean-Pierre
Re: Automatic view DVI file after update DVI
On 7/19/05, Jean-Pierre Chretien [EMAIL PROTECTED] wrote: Systematically, when I update the DVI file, I want to view the DVI file. So, it would be nice to be possible to configure LyX so that clicking on Update -- DVI led automatically to the DVI viewer. Can it be done with LyX 1.3.6? Running Update-DVI assumes that a viewer is already open from a previous View-DVI, and the viewer should update automagically upon completion of the LyX compilations (xdvik). Thanks, Jean-Pierre. I did not mean that. I am also assuming that the DVI viewer is already open; the point is that LyX does not automatically go to the DVI viewer window after hitting Update--DVI; it stays on the LyX window. Paul
Re: Automatic view DVI file after update DVI
Paul Smith wrote: Thanks, Jean-Pierre. I did not mean that. I am also assuming that the DVI viewer is already open; the point is that LyX does not automatically go to the DVI viewer window after hitting Update--DVI; it stays on the LyX window. You mean that the DVI viewer window gets focus/comes to the front? No, you can't do that with LyX 1.3.6. Angus
Re: Automatic view DVI file after update DVI
On 7/19/05, Angus Leeming [EMAIL PROTECTED] wrote: Thanks, Jean-Pierre. I did not mean that. I am also assuming that the DVI viewer is already open; the point is that LyX does not automatically go to the DVI viewer window after hitting Update--DVI; it stays on the LyX window. You mean that the DVI viewer window gets focus/comes to the front? No, you can't do that with LyX 1.3.6. Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... Paul
How do I install a new layout/class?
I have been asked to write a book chapter which has to be delivered in Latex... to which I am new. I've installed version 1.3.6 under Windows XP and obtained the necessary .cls file and associated .layout file. What do I do now? I have tried copying the .cls file to C:\Program Files\LyX\Resources\lyx\tex\ and the .layout file (with associated includes) to C:\Program Files\LyX\Resources\lyx\layouts\. How do I make Lyx aware of the existence of these files? I did come across some stuff saying I had to add an entry to textclass.lst but the example didn't seem to square with the syntax of the textclass.lst file I have. Also confused about some (admittedly Linux system) instructions on installing the .cls file in the miktex directory and running texhash? Many thanks in advance, Peter Rockett
Re: Automatic view DVI file after update DVI
Paul Smith wrote: Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... If you add this as an enhancement request at http://bugzilla.lyx.org there is a chance that it will be implemented eventually. Otherwise it will be forgotten very soon. Georg
Using endfloat with subfig
I am using endfloat to move all my figures to the end of the document, adding this to my preamble: \usepackage[lists,heads]{endfloat} %% Remove captions from the figure pages [EMAIL PROTECTED] \vskip\abovecaptionskip \hbox to \hsize{\hfil #1\hfil}% \vskip\belowcaptionskip} The result is almost perfect: page List of Figures 1 A summation of Mercer et al.'s ... 2 Assemblages of polyhedra... ... 11 The distribution of generations of ... /page page Figures -- || || || -- Figure 1 /page However, I'm also using the subfig package to add captions to the sub figures within a float and at the moment these remain with the figure. Ie: page -- || || || -- (a) \degree{90} branches are allowed... -- || || || -- (b) \degree{90} branches are not allowed... Figure 11 /page Moreover, these same sub figure captions *do not* appear on the List of Figures page. Any clues on what I need to do? I attach a minimal example of what I get currently. Angus %% LyX 1.3 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[latin1]{inputenc} \usepackage{a4wide} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %% User specified LaTeX commands. \usepackage{lmodern} \usepackage[textstyle,amssymb]{SIunits} \usepackage{subfig} \usepackage[lists,heads]{endfloat} %% Remove captions from the figure pages [EMAIL PROTECTED] \vskip\abovecaptionskip \hbox to \hsize{\hfil #1\hfil}% \vskip\belowcaptionskip} \usepackage{babel} \makeatother \begin{document} \newcommand{\mydegree}[1]{#1\degree} \title{My title} \maketitle \section{Results} These results come in two parts\ldots{} \begin{figure} \begin{center}\subfloat[\label{cap:with 90}$\mydegree{90}$ branches are allowed. The fit to the numerical data has $a=92.5$, $\sigma=1.67$, $\mu=6.83$ and a reduced $\chi^{2}$ of $1.13$.]{% \framebox[12cm]{\ttfamily with90.fig \rule{0mm}{7cm}}% }\end{center} \begin{center}\subfloat[\label{cap:without 90}$\mydegree{90}$ branches are not allowed. The fit to the numerical data has $a=96.6$, $\sigma=2.10$, $\mu=6.84$ and a reduced $\chi^{2}$ of $0.67$.]{% \framebox[12cm]{\ttfamily without90.fig \rule{0mm}{7cm}}% }\end{center} \caption{The distribution of generations of branching to the terminal alveoli. A comparison of numerical predictions for $\lambda=0.5$ against the experimental data of Mercer and Crapo.\newline Numerical and experimental data are both fitted to a normal distribution $p(x)=\frac{a}{\sigma\sqrt{2\pi}}\exp\left(-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}\right)$. The fit to the Mercer and Crapo data (their table~1) has $a=100.7$, $\sigma=2.69$, $\mu=7.49$ and a reduced $\chi^{2}$ of $1.24$.} \end{figure} \end{document}
Re: Math in figures in a sans serif font?
Herbert Voss wrote: Easier than this gnuplot file which is exported to XFig by my gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-) ok, here we go Attached the pdf with your and my image ... :-) Nice! Well done! I guess that the tweaking needed to get the two to appear more similar is minimal and straightforward? Anyway, the bet was that that you could do it more easily than 20 lines of gnuplot script, so let's see your source ;-) Angus
Re: Math in figures in a sans serif font?
Angus Leeming wrote: Herbert Voss wrote: Easier than this gnuplot file which is exported to XFig by my gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-) ok, here we go Attached the pdf with your and my image ... :-) Nice! Well done! I guess that the tweaking needed to get the two to appear more similar is minimal and straightforward? Anyway, the bet was that that you could do it more easily than 20 lines of gnuplot script, so let's see your source ;-) additional all the lines of your other scripts ... addtional all the strokes in xfig additional ... :-) More serious: the advantage is, that all these font stuff when using gnuplot-xfig-latex is no more a (real) problem and that you are able to do some changes to the output always on the fly. the only new macro is \getErrorBar, but I had an existing one for two error values +/-. http://tug.org/PSTricks/main.cgi?file=examples#dotError The other plots could be done with pstricks-add. Herbert trial.tgz Description: GNU Zip compressed data
Re: Math in figures in a sans serif font?
Herbert Voss wrote: Easier than this gnuplot file which is exported to XFig by my gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-) ok, here we go Attached the pdf with your and my image ... :-) Nice! Well done! I guess that the tweaking needed to get the two to appear more similar is minimal and straightforward? Anyway, the bet was that that you could do it more easily than 20 lines of gnuplot script, so let's see your source ;-) additional all the lines of your other scripts ... addtional all the strokes in xfig additional ... :-) :-) Done once and forgotten about. Actually, I'm very impressed by your .tex file, but if you *really* want to get new users then I can't think of a better way than adding a PSTricks export option to gnuplot. Adding a gnuplot output driver is pretty easy (I've messed with the XFig one myself). Yes, I'm serious ;-) More serious: the advantage is, that all these font stuff when using gnuplot-xfig-latex is no more a (real) problem and that you are able to do some changes to the output always on the fly. I don't see that as a big issue. That's what Makefiles are for. the only new macro is \getErrorBar, but I had an existing one for two error values +/-. http://tug.org/PSTricks/main.cgi?file=examples#dotError The other plots could be done with pstricks-add. Angus
Re: How do I install a new layout/class?
Date: Tue, 19 Jul 2005 11:33:59 +0100 From: Peter Rockett [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Subject: How do I install a new layout/class? [...] I have tried copying the .cls file to C:\Program Files\LyX\Resources\lyx\tex\ and the .layout file (with associated includes) to C:\Program Files\LyX\Resources\lyx\layouts\. How do I make Lyx aware of the existence of these files? I did come across some stuff saying I had to add an entry to textclass.lst but the example didn't seem to square with the syntax of the textclass.lst file I have. This is done by running Edit-Reconfigure, after texhash. But you must download the .cls file in C:\localtexmf\tex\latex\ not in C:\Program Files\LyX\Resources\lyx\tex\ BTW, you should link C:\localtexmf\tex\latex\lyx to C:\Program Files\LyX\Resources\lyx\tex\ if you plan to use any of the .cls or .sty files lying there (or rather the corresponding .layout files, e.g hollywood). Also confused about some (admittedly Linux system) instructions on installing the .cls file in the miktex directory and running texhash? With MikTeX, you texhash by opening Programs-MikTeX-MikTeX Options and selecting Refresh now -- Jean-Pierre
Re: Automatic view DVI file after update DVI
On 7/19/05, Georg Baum [EMAIL PROTECTED] wrote: Yes, Angus, that is exactly what I mean. Maybe, this feature would be worthy of implementing in the future as an user option. But, of course, I know that there are many other features and more important to be implemented... If you add this as an enhancement request at http://bugzilla.lyx.org there is a chance that it will be implemented eventually. Otherwise it will be forgotten very soon. Sure, Georg, I will do that soon. I suspect this feature may be useful for many of us. Paul
Re: Using endfloat with subfig
Angus Leeming wrote: However, I'm also using the subfig package to add captions to the sub figures within a float and at the moment these remain with the figure. Ie: page -- || || || -- (a) \degree{90} branches are allowed... -- || || || -- (b) \degree{90} branches are not allowed... Figure 11 /page I got there eventually. The subfig package has two optional parameters: \subfloat[list of figures caption][subfigure caption {\includegraphics...} Moreover, these same sub figure captions *do not* appear on the List of Figures page. \setcounter{lofdepth}{2} Angus
windows install
I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Any thoughts? Bill
Re: windows install
Subject: windows install From: William O. Bray [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Tue, 19 Jul 2005 09:49:25 -0400 X-MailScanner: Found to be clean, Not scanned: please contact your Internet E-Mail Service Provider for details X-MailScanner-Information: Please contact the ISP for more information I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Might come from the change of the name of the personal lyx dir. I guess it changed to LyX instead of lyx around prerelease version 20 -- Jean-Pierre
1.3.6 for Win
Hi I am about to install Lyx 1.3.6 on WinXP box. I just wondered what, with the exception of reLyx, the Perl package was required for. I am going to use tex2lyx and so won't need to install Perl if it is not used by any other part of the Lyx package. If anyone knows the answer I would be most appreciative. Geoff
Re: most lyx-friendly bibtex-format?
i dont know much about how lyx handles bibtex underneath the hood - but recently i wrote some tools to keep track of my own reference collection. these are some of my experiences: bibtex is inherently difficult to parse - because the format is very flexible. i dont think a simple parser will do - i picked up somewhere one should use a YACC compiler (yet another compiler compiler) for making a proper parser. there do, however, exists different parsers in the public domain. google for btparse (powerfull parser written in c). also, i think dana jacobsen may have some hints: http://www.ecst.csuchico.edu/~jacobsd/bib/bp/ at least he got the availible BibTeX format description: http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html (and the references therein looks promising) perhaps a parser upgrade will be worth while? best regards martin On Tue, Jul 19, 2005 at 03:56:06PM +0200, Sven Schreiber wrote: Recently I seem to be having more problems than usual with the bibtex database access in the insert citation dialog (obvious parsing errors, the lower-left info area often shows a relatively wild combination of different entries). So it is getting annoying and I want to do something about it. afaik the weaknesses of the used simple bibtex parser are known, but not to me, so please what are recommendations for the bibtex file format so that the parser won't get confused? thanks for any hints, sven
Re: windows install
William O. Bray wrote: I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Any thoughts? Bill When you say textclass.lst is in place, do you mean that (a) it's in C:\Documents and Settings\your id\Application Data\lyx and (b) it has a nonzero byte length? (Here your id is the id under which you're logged into Windows.) -- Paul
Re: windows install
Jean-Pierre Chretien wrote: I had Lyxpre1.3.6 version 17 working fine under windows. I uninstalled and then installed 1.3.6. I now get an error that Lyx cannot find any layout files and hence will not start. I do note that textclass.lst is in place. Might come from the change of the name of the personal lyx dir. I guess it changed to LyX instead of lyx around prerelease version 20 Shouldn't make any difference (Windows regards directory names lyx and LyX as the same thing unless two separate directories lyx and LyX exist. Nonetheless, it's probably a good thing to rename C:\Documents and Settings\William\Application Data\lyx as LyX. You'll probably have to do it in two steps, lyx - lyx2 and lyx2 -LyX If, from the command line, you run $ lyx.exe -dbg init You'll see where LyX is looking for stuff. Angus
Re: 1.3.6 for Win
To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 16:53:31 +0100 Geoffrey Lloyd wrote: I am about to install Lyx 1.3.6 on WinXP box. I just wondered what, with the exception of reLyx, the Perl package was required for. I am going to use tex2lyx and so won't need to install Perl if it is not used by any other part of the Lyx package. If anyone knows the answer I would be most appreciative. You can safely throw reLyX and Perl in the bin and set fire to it. Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 -- Jean-Pierre
Re: 1.3.6 for Win
Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? Angus (too lazy to go look at the sources)
Re: 1.3.6 for Win
To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 17:22:22 +0100 Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? Not tried, I added C:\Program Files\LyX-1.4/LyX/bin to the path and tried a very simple tex2lyx conversion (one of the doc files). You mean, just copy tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin, forget the lyx-1.4 layouts and such of the tex2lyx bundle and go ? In that case, you will able to ship it with the installer I guess, with the lyxrc.defaults tuned to use it. Great ! I will check on a real life example. (I may check on Solaris as well). -- Jean-Pierre
Toolbar in 1.3.6
Hi Yes another question, sorry. I have been using 1.3.5 for sometime and have become very use to the toolbar that I am using. It is a corruption of the 'Alternative Toolbar' provided here http://www.semverteilung.vwl.uni-muenchen.de/mitarbeiter/es/software/ToolbarES.htm However when I use it with 1.3.6 some f the icons are not recognised and become ? and another is just totally different. I have attached the .ui file. Does any one know why this is happening? Ultimately it doesn't matter for me because I know where all the buttons are and what they do so don't need icons per se but I am trying to encourage others to use Lyx and so it would be helpful if my version looked complete. Geoff es.ui Description: Binary data
Re: 1.3.6 for Win
- Original Message - From: Jean-Pierre Chretien [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Tuesday, July 19, 2005 5:30 PM Subject: Re: 1.3.6 for Win To: lyx-users@lists.lyx.org From: Angus Leeming [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 17:22:22 +0100 Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. BTW, tex2lyx seems to works fine if decompressed in C:\Program Files\LyX-1.4 I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? Not tried, I added C:\Program Files\LyX-1.4/LyX/bin to the path and tried a very simple tex2lyx conversion (one of the doc files). You mean, just copy tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin, forget the lyx-1.4 layouts and such of the tex2lyx bundle and go ? In that case, you will able to ship it with the installer I guess, with the lyxrc.defaults tuned to use it. If that really is the case then that would be fantastic as it is clearly superior to relyx. If you find it works can you let me know how to do it to save me downloading all the extra stuff, was literally about to do the tex2lyx addition so will wait a while to hear if I need to do the full thing. Geoff
Re: most lyx-friendly bibtex-format?
Sven Schreiber wrote: afaik the weaknesses of the used simple bibtex parser are known, but not to me, so please what are recommendations for the bibtex file format so that the parser won't get confused? I never had any problems with .bib files that were sanitized by BibTool - see http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html. BibTool can read almost every .bib file and make something usable out of it, and it is highly customizable. Georg
Re: 1.3.6 for Win
Angus Leeming wrote: Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. But the newest tex2lyx produces file format 243, and LyX 1.3.6 can only read 242. So the instructions on the wiki page should be modified: You may have to replace LyX.py and lyx_1_4.py of LyX 1.3.6 with the versions from here: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/lyx2lyx/ Jean-Pierre, it would be nice if you could do that and maaybe add some more details. All files of lyx2lyx except lyx2lyx itself can be replaced with their 1.4 counterpart without problems. I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? No. Angus (too lazy to go look at the sources) Georg (too lazy too, but fortunately knowing the answer by heart)
Re: Toolbar in 1.3.6
Geoffrey Lloyd wrote: http://www.semverteilung.vwl.uni-muenchen.de/mitarbeiter/es/software/ToolbarES.htm However when I use it with 1.3.6 some f the icons are not recognised and become ? and another is just totally different. I have attached the .ui file. Does any one know why this is happening? The show-forks lfun does not exist anymore. Delete it from the .ui file. The icons that are not recognized are not part of LyX. If you follow the instructions on the page above and install them properly they should be recognized :-) Georg
Re: 1.3.6 for Win
You mean, just copy tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin, forget the lyx-1.4 layouts and such of the tex2lyx bundle and go ? In that case, you will able to ship it with the installer I guess, with the lyxrc.defaults tuned to use it. If that really is the case then that would be fantastic as it is clearly superior to relyx. If you find it works can you let me know how to do it to save me downloading all the extra stuff, was literally about to do the tex2lyx addition so will wait a while to hear if I need to do the full thing. It seems to work, so here is the procedure - grab the tex2lyx package on the wiki - decompress the LyX\bin\tex2lyx.exe file (and only this one) in C:\Program Files\LyX\bin - replace the relyx command in Edit-Preferences-Converters-Latex - LyX with tex2lyx $$i $$o Not tested with a real life tex file, seems that I need to turn Unix EOFs into Win EOFs before tex2lyxing. However, screen resolution seems quite bad, never noticed before. Any clue ? -- Jean-Pierre
Re: 1.3.6 for Win
To: lyx-users@lists.lyx.org From: Georg Baum [EMAIL PROTECTED] Subject: Re: 1.3.6 for Win Date: Tue, 19 Jul 2005 19:12:16 +0200 Angus Leeming wrote: Jean-Pierre Chretien wrote: Since lyx-1.3.6 reads tex2lyx output, the wiki page could be simplified and suggest to replace reLyX by tex2lyx $$i $$o in Edit-Preference-Conversion-Converters-LaTeX - LyX menu I guess the tex2lyx.cmd scipt is not needed any more. Indeed. And the tex2lyx package doesn't need to bundle lyx2lyx either. But the newest tex2lyx produces file format 243, and LyX 1.3.6 can only read 242. So the instructions on the wiki page should be modified: You may have to replace LyX.py and lyx_1_4.py of LyX 1.3.6 with the versions from here: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/lyx2lyx/ Jean-Pierre, it would be nice if you could do that and maaybe add some more details. All files of lyx2lyx except lyx2lyx itself can be replaced with their 1.4 counterpart without problems. I wonder... Can tex2lyx read 1.3.6's textclass files? I.e., does it work if you place tex2lyx.exe in C:\Program Files\Lyx-1.3.6\bin ? No. Our messages crossed themselves and don't agree, as I made it work :-( I've got to go, to be followed to-morrow... -- Jean-Pierre
Removing pages from a .pdf file?
I've just generated a pdf file using pdflatex that runs from page -8 to page 11. Is there a tool that I can use to remove pages -8 to 0 (inclusive) from the pdf file? Or is there a way of getting pdflatex to output only pages 1 to 11? No, I don't want to hack my lyx file ;-) Angus
PDF with horrible letter
Hello list, I generate a document with lyx and export to PDF, it looks pretty good under linux, nevertheless when I try to see it under Windows it looks very bad the words does not look good, the letter format looks horrible etc. Any one knows how to correct this problem. I will appreciate any help or point to a good source of information. Kind Regards. -- Sergio Basurto J. If I have seen further it is by standing on the shoulders of giants. (Isaac Newton) -- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Removing pages from a .pdf file?
On 7/19/05, Angus Leeming [EMAIL PROTECTED] wrote: I've just generated a pdf file using pdflatex that runs from page -8 to page 11. Is there a tool that I can use to remove pages -8 to 0 (inclusive) from the pdf file? Or is there a way of getting pdflatex to output only pages 1 to 11? Angus, The pdf toolkit may help you: http://www.accesspdf.com/pdftk/ Another solution (a commercial one) is to use Acrobat Writer or Acrobat Reader Professional (not sure about the name). Paul