Re: Filename in document
Susanne Gütter <[EMAIL PROTECTED]> writes: > > Am Freitag, 8. September 2006 14:40 schrieben Sie: > > The latex command is \jobname > > > > I use the following in ERT to put it in the lower right corner (with > > fancy pagestyle) > > \rfoot{\textrm{\tiny \jobname}} > > Thank you very much Stephen, > > thats exactly, what I need. You can also get the full path to the .lyx file using \rfoot{\textrm{\tiny [EMAIL PROTECTED] as [EMAIL PROTECTED] is set up by LyX in the latex file. -- Enrico
Re: Navigating in a big document
Elver Loho wrote: > There are no sections and chapters in this document. Just the title > page and scenes. I would say, that it is a bug in the LaTeX document structure then -- just a wild idea, cannot you contact developer of the LaTeX class to fix it? Matěj -- http://matej.ceplovi.cz/blog/ GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC There are lies, damned lies, and quotes from literary icons.
Re: Problem with including a gnuplot picture
On Saturday 09 September 2006 15:03, Georg Baum wrote: > Or write an external template for gnuplot. I am actually surprised > that nobody did that yet. Angus tried this but found that it is not secure, you can pass any argument to gnuplot, you can not use it in a sand box. This is the only reason why gnuplot is not defined as a template and included in lyx. > Georg -- José Abílio
Re: spellcheck problems when pasting from a document with different language
2006/9/8, Helge Hafting <[EMAIL PROTECTED]>: Ares wrote: > Hello everyone, > I have a problem with the spellchecker language when pasting some text > from a document written in a different language. > To be more specific, I have a paper written in English and a PhD > thesis in Italian. I want to copy and paste some stuff (like formulae, > acronyms etc) from one to the other, but what I get in the document is > test underlined, that is LyX keeps the language information with text > so that when I do spellcheck the spellchecker deals with new text as > if it was in the old language. This would not be annoying, except that > LyX keeps the old language if keep writing on the same line of the > pasted text, so that now I have plenty of pages in Italian that are > treated as English (so no spellchecking!). > > I hope I was clear...please tell me if there's some way to tell LyX > that those lines are actually in Italian, or if I made any mistake. Yes, there is an easy way. Mark the Italian text that LyX mistakes for english. Then use the menu edit->text style (for lyx 1.4.x) or layout->tex (for lyx 1.3.x and earlier) You get a dialog box where one of the things you may change is language. Set it to "Italian" and you'll be fine. Next time, use this dialog as soon as the language goes wrong, thereby avoiding lots of text marked with the wrong language. Helge Hafting thanks, it worked...my problem was I didn't think I could find aome language setting in the text layout... Regards, Diego
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Florian Kamm wrote: Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? You said that if you use File->Export->LaTeX and then run pdflatex manually, the document compiles correctly (nothing hangs), right? If so, then it shouldn't be the class file, because the same class file is being used in the manual run. If I'm wrong about exporting to LaTeX working, then that suggests either the class file or the document itself has something funny in it. If pdflatex is hanging while scanning the auxiliary file, it could be that the file is terminated incorrectly (so that pdflatex is waiting for more input), or it could be that something has a lock on the file (and pdflatex is waiting to begin reading it). Do you have labels and cross-references in the document? IIRC, the .aux file is also used for cross-references, not just citations. I'm not sure what one could do with a cross-reference that would cause pdflatex to hang -- missing labels would not cause that -- but perhaps if a label contains a non-latin character it might cause a problem. (I'm groping in a very dark place here.) /Paul
Re: [WinXP, LyX 1.4.2] Export to pdf with pdflatex
Paul A. Rubin schrieb: Florian Kamm wrote: the View->PDF (pdflatex) causes the same bahavior I described above. Then I looked into the temporary folder LyX was using during the run. Surprisingly I found a fine pdf-file, correctly put together (the toc, normal text and bibliography). But LyX still hangs and needs to killed via process manager. The log-file doesn't report any problems. Further launching from the command line works well. Does the document contain graphics and, if so, are they intact in the pdf output file? Someone had a problem similar to this generating LaTeX output -- turned out to be something pplatex was doing in post-processing -- but I have not seen this with pdflatex. You might try the following: Open a DOS prompt in the LyX bin directory, and start LyX with 'lyx -dbg latex'. Then open the document and either export or view using pdflatex. The DOS window will get a lot of debugging output, but only the chunk just before the hang will be of interest. When the hang occurs, take a look in the task list and see if you can see pdflatex still running. The most likely explanation for LyX hanging would be that pdflatex never exits. (If it exited with an error code, I assume LyX would register that, although I can't swear that it would.) /Paul Well, I followed your suggestions and it seems that LyX hangs while pdflatex is scanning the .aux file (which contains the correct information if I open it manually). For debugging reasons I deleted the bibliography stuff, but the problem still exists. If I stop the scanning by pressing Ctrl-C the pdf generation will succeed. Is it possible that the problems are caused by my - possibly buggy - cls style file? Florian
Re: disable removing empty lines when cursor is navigated away
On Thu, Sep 07, 2006 at 04:06:01PM -0400, Andrew Corrigan wrote: > Thank you for the suggestion Sue. Although, unless I misunderstand, > that solution isn't really sufficient for me. The specific problem I > have with this behavior is that I'll often make a new line, choose its > type (Lemma, Proof, Theorem, etc...) and then realize I want to copy and > paste something from some other line and navigate away from the line > which immediately causes it to be deleted, slowing me down a lot since I > need to make the line again and choose its type. > > I was hoping to reconfigure the present behavior of Lyx rather than to > work around it. There's no way to configure this without recompiling LyX. Another workaround would be to type a dumyy char, say 'x', go to fetch your data, come back, delete the x and insert the data. Andre'
Re: Problem with including a gnuplot picture
On 9/9/06, Georg Baum <[EMAIL PROTECTED]> wrote: > Yes, Georg, you are right: mypicture.pdf was missing. If I previously > create the pdf file with > > epstopdf mypicture.eps > > then the problem is removed. Should I report that in bugzilla? No. For anything you do in ERT you are responsible yourself. LyX can't know that it should create a file, since it knows nothing about the contents of ERT boxes. As I wrote: Use the graphics inset if you want automatic image conversion. I understand your point, Georg, however I do not see any way to insert epslatex pictures generated by Gnuplot but using ERT. If ERT is the only way left, then it seems that LyX should add a simpler and automatic way, likewise it already does with xfig figures. Paul
Re: Problem with including a gnuplot picture
Am Samstag, 9. September 2006 17:28 schrieb Paul Smith: > > Yes, Georg, you are right: mypicture.pdf was missing. If I previously > create the pdf file with > > epstopdf mypicture.eps > > then the problem is removed. Should I report that in bugzilla? No. For anything you do in ERT you are responsible yourself. LyX can't know that it should create a file, since it knows nothing about the contents of ERT boxes. As I wrote: Use the graphics inset if you want automatic image conversion. Georg
Re: Problem with including a gnuplot picture
On 9/9/06, Georg Baum <[EMAIL PROTECTED]> wrote: > As ERT, I have the following line in a LyX document: > > \include{mypicture} > > in order to include an epslatex picture drawn with Gnuplot. When > compiling the LyX document with pdflatex, I get the error message that > follows: > > loading : Context Support Macros / PDF (2004.03.26) > ) (./grafico.tex > > ! LaTeX Error: File `/home/psmith/Desktop/mypicture' not found. > > There is no problem with 'View -> DVI'. > > Any ideas? Probably mypicture.eps exists, but mypicture.pdf is missing. If you include mypicture.eps with the graphics inset LyX will create the pdf version for you. Or write an external template for gnuplot. I am actually surprised that nobody did that yet. Yes, Georg, you are right: mypicture.pdf was missing. If I previously create the pdf file with epstopdf mypicture.eps then the problem is removed. Should I report that in bugzilla? Paul
Re: Problem with including a gnuplot picture
Am Samstag, 9. September 2006 14:14 schrieb Paul Smith: > Dear All > > As ERT, I have the following line in a LyX document: > > \include{mypicture} > > in order to include an epslatex picture drawn with Gnuplot. When > compiling the LyX document with pdflatex, I get the error message that > follows: > > loading : Context Support Macros / PDF (2004.03.26) > ) (./grafico.tex > > ! LaTeX Error: File `/home/psmith/Desktop/mypicture' not found. > > There is no problem with 'View -> DVI'. > > Any ideas? Probably mypicture.eps exists, but mypicture.pdf is missing. If you include mypicture.eps with the graphics inset LyX will create the pdf version for you. Or write an external template for gnuplot. I am actually surprised that nobody did that yet. Georg
Re: Navigating in a big document
Elver Loho wrote: I was wondering... How do you guys navigate around in large files? I avoid large files ... because I avoid doing the amount of work needed to generate one. :-) I've got a 40-some page screenplay and working with it is a bit of a pain. It would be great if I could collapse scenes into just the scene header (int/ext) when not working directly with them. Sort of like most code editors allow. This may be clunky, but (assuming you have LyX 1.4.x) you could put each scene in a separate branch. Go to Document->Settings->Branches, type "Scene_1" (or whatever label you wish, but no spaces allowed) into the field labeled "New:", and click Add. Repeat ad nauseum. Then highlight each scene and click (De)activate. (I'm assuming that you want all scenes printed when you display/print/export the document.) You can optionally assign background colors to their boxes. Click OK when done. Now position the cursor where you want to enter a scene and click Insert->Branch->Scene_1 (or whichever scene label applies). Type the scene in the branch box. If you already have it typed, highlight it and then click Insert->Branch->Scene_1, and the highlighted text will be moved into the branch box. Branch boxes can be collapsed and expanded by clicking on them. When collapsed, the first few characters are displayed, so it might be helpful if your scenes started with meaningful labels. /Paul
Re: Navigating in a big document
On 9/9/06, Matej Cepl <[EMAIL PROTECTED]> wrote: Elver Loho wrote: > I was wondering... How do you guys navigate around in large files? I am not sure about screenplays and their structure, but about conveniently named menu Navigate? Does it work? Unfortunately the Navigation system does not recognise screenplay structure. Says that there is no table of contents. (And generating a table of contents doesn't work either.) There are no sections and chapters in this document. Just the title page and scenes. Elver
Problem with including a gnuplot picture
Dear All As ERT, I have the following line in a LyX document: \include{mypicture} in order to include an epslatex picture drawn with Gnuplot. When compiling the LyX document with pdflatex, I get the error message that follows: loading : Context Support Macros / PDF (2004.03.26) ) (./grafico.tex ! LaTeX Error: File `/home/psmith/Desktop/mypicture' not found. There is no problem with 'View -> DVI'. Any ideas? Thanks in advance, Paul
Re: standard Lyx template/example does not work (?)
Also sprach sk: > sorry for not answering earlier-had been on a two week hollieday. > > your proposed solution worked for me. but still I think that g-brief > should work out of the box for any lyx user. what can be done about it? > could the "Telefon" variable in g-brief be changed into something unique? Not easily. g-brief is not our package, we cannot simply change it (the LPPL, the license of the package, allows changes only if the file is distributed under a different name, e.g. g-brief-lyx.cls). However, in the documentation of g-brief, the developer states that even if he will not add any new features to the old g-brief class (in favour of g-brief2), he is still willing to fix bugs. So your best bet is to write a bug report to m [DOT] lenzen [AT] t-online [DOT] de Jürgen
Re: Filename in document
Am Freitag, 8. September 2006 14:40 schrieben Sie: > The latex command is \jobname > > I use the following in ERT to put it in the lower right corner (with > fancy pagestyle) > \rfoot{\textrm{\tiny \jobname}} Thank you very much Stephen, thats exactly, what I need.
Re: How to make the TOC appear in the TOC
Am Freitag, 8. September 2006 21:36 schrieb Bob Lounsbury: > I think this is a little inconsiderate and close-minded to tell everyone > that your way is the right way and that there is no need for inclusive > of the TOC in the TOC. Please read again what Helge wrote. He said that it _usually_ is considered unnecessary, and explained the reasons. He also said that you should go ahead if you are really sure that you want this, so I can't see any close-mindedness here. Georg