Error during compilation
Hi guys, during the pdf compilation i get this error message: LaTeX Error: \begin{thenomenclature} on input line 1 ended by \end{document}. Any idea? Best regard Stan
Re: Error during compilation
Am 10.05.2011 um 09:16 schrieb Stan: Hi guys, during the pdf compilation i get this error message: LaTeX Error: \begin{thenomenclature} on input line 1 ended by \end{document}. Any idea? Perhaps to provide more informations? Stephan
Error
Hi guys, i got the this error: LaTeX Error: \begin{thenomenclature} on input line 1 ended by \end{document}. It's a bug report at the same time. If the mailing list is wrong please forward. When % is placed in the nomenclature as unity e.g. like this Duty Cucle [%] the error occurs. Thanks a lot Stan
Re: Error
Stan wrote: When % is placed in the nomenclature as unity e.g. like this Duty Cucle [%] the error occurs. Does it work if you insert \% instead? (The nomenclature dialog takes literal LaTeX, and the percent sign is a special character that needs to be escaped by the backslash) Jürgen
Fixme (package/module)
Hi. I recently discovered the fixme package and fixme.module. I have installed the package via MikTex and I have placed the fixme.module in the layouts folder: C:\Documents and Settings\Ken\Application Data\lyx16\layouts Now Insert Custom Insets FxNote allows me to insert a note which is displayed in the margin when the document is compiled to pdf. My questions are: (1) how can I change the document from draft to final so that the notes are not printed in the pdf document? (2) is it possible/easy to add an icon to the toolbar so that I can quickly insert an FxNote (just as easily as a normal note) with a single click? Or is it possible to add a keyboard shortcut? Thanks, Ken P.S. This is my first attempt at using a module. So far it has been easy to install but learning the subtleties is a bit trickier. If there is documentation which would easily answer my questions please point me in that direction. Thanks!
Re: Portable LyX
Le 10/05/11 06:20, Ganesh Sundaram a écrit : LyX uses the user directory by default and doesn't use the Windows register. AFAIK the directory is defined in the compilation process and there's no way to achieve this without changing the code. I am not able to fully understand the part the directory is defined in the compilation process and there's no way to achieve this without changing the code. LyX is able to find its system files relative to where the binary is. User files are in a fixed place, though, but we query windows to know where is user setting should be, so I guess there are some possible tricks. JMarc
Re: Math macros inside child documents
On 2011-05-09, Diego Queiroz wrote: But what if you really want to compile it as a standalone document? People do this. Richard But if it was really a standalone document, I would have to unset master document property, right? ... I am just looking for a more user oriented behavior. I mean, if I can see everything right on the screen, what's the problem? This is how I feel about the current behavior. LyX is handling everything on the editor, since all math macros are interpreted correctly when I open any document, but I can't generate the file because of its internal structure. We should try to avoid consistency errors in LyX. If people decide to use ERT, we should expect unwanted behavior, but in a document using only LyX resources, it must never generate errors (or they should be rare, at least), doesn't matter what the user decides to do. For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Günter
Re: Math macros inside child documents
Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_ inherit anything from the master then. Jürgen
Re: Help! A Hebrew document does not compile...
Solved by reinstalling the fonts and reconfiguring LyX.
Problems with biblatex-dw and idembib/idembibformat
Hello, I have the following problem with biblatex-dw and idembib/ idembibformat: Although I have entered idembib=true and idembibformat=dash, I do not get dashes, but ders., which is the male entry in german. How could I solve this? Thanks for your help. LyX 1.6.9. In the document-settings I have entered the following: \usepackage[natbib=true,style=footnote- dw ,urldate =long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash] {biblatex}
Re: how to separate pdf file?
On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh huget_te...@ymail.com wrote: i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so on). but i dont know how to do it. Any body help me please. Teguh, Produce a single pdf file, and use pdftk to separate the pdf file by chapters. Hope this helps you, Paul
Anybody helps about img path
Hello, When I updated my Lyx1.6 to Lyx2.0, there seems something wrong with epstopdf $$i conventer, and that works well under Lyx1.6. I am using Windows XP. My picture is located in directioy E:\works\relation\fig\dynamic.eps. But Lyx2.0 changes it to 3E__works_relation_fig_dynamic.eps. Do anyone know the reasons please? Many thanks! 2011-05-10 Catch0.jpg
Re: Fixme (package/module)
On 05/10/2011 04:31 AM, Ken wrote: Hi. I recently discovered the fixme package and fixme.module. I have installed the package via MikTex and I have placed the fixme.module in the layouts folder: C:\Documents and Settings\Ken\Application Data\lyx16\layouts Now Insert Custom Insets FxNote allows me to insert a note which is displayed in the margin when the document is compiled to pdf. My questions are: (1) how can I change the document from draft to final so that the notes are not printed in the pdf document? DocumentSettingsDocument ClassOptions: Enter final (though that should be the default). (2) is it possible/easy to add an icon to the toolbar so that I can quickly insert an FxNote (just as easily as a normal note) with a single click? Or is it possible to add a keyboard shortcut? Both of these can be done. You just need to know the LFUN for doing this operation. It should be displayed in the status bar when you insert an FxNote. (It will be something like: flex-insert fxnote.) Now go to ToolsPreferencesEditingShortcuts. Click New. Enter the LFUN and select a shortcut. Getting a toolbar button is slightly more complicated. You would need to copy the stdtoolbars.ui file into your local directory and modify it. There's some info at the beginning of the file about how to do this. Richard
Re: Fixme (package/module)
On Tue, May 10, 2011 at 8:40 AM, Ken kmai...@gmail.com wrote: In case this is of any use to others it may be best/easiest to change the status in the fixme.module file (and to close the document and re-open it in order for the change to occur next time the pdf is generated). An alternative would be to create two modules: fixme.module and fixme-draft.module, only the latter of which has the status=draft option in the preamble. Then you could simply switch from one module to the other using Document Settings. This is a bit clunky, but far easier than manually editing the fixme.module each time, and it would only affect the current document rather than all documents that use that module. BH
Re: Portable LyX
Is there a way to use LyX in Portable Mode without installing MiKTeX? Yes [1]. I want to be able to edit TeX files While LyX uses (La)TeX to produce PDF, it does not use native (La)TeX internally. And importing (La)TeX into LyX is not exactly seamless. Sincerely, Wolfgang [1] I'm using LyX 2.0 with TeXLive 2010 and SumatraPDF, all portable.
Re: Fixme (package/module)
From: Ken kmai...@gmail.com Thanks for the info. As for draft/final setting I see that fixme.module contains the lines: AddToPreamble \usepackage[status=draft]{fixme} EndPreamble Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Re: Math macros inside child documents
On 2011-05-10, Jürgen Spitzmüller wrote: Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_ inherit anything from the master then. Because the OP complained that it is incosistent to show math-macro expansions in the child doc but not make them available in stand-alone compilation. The same argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. The above was just stating the pure solution to the OPs report. However, I vote to keep things as-is, because: practicality beats purity. Just make it very clear in the documentation that parent-document features are non-available in the child if compiled stand-alone (without include feature) even if rendered in the LyX window - this is a feature. (After switching to LyX 2 I will try with the include feature.) Günter
Re: Math macros inside child documents
On 05/10/2011 09:09 AM, Guenter Milde wrote: On 2011-05-10, Jürgen Spitzmüller wrote: Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_ inherit anything from the master then. Because the OP complained that it is incosistent to show math-macro expansions in the child doc but not make them available in stand-alone compilation. The same argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. The above was just stating the pure solution to the OPs report. However, I vote to keep things as-is, because: practicality beats purity. Just make it very clear in the documentation that parent-document features are non-available in the child if compiled stand-alone (without include feature) even if rendered in the LyX window - this is a feature. We did establish that this is a change from 1.6.x, where parent macros are written to the child. That was not intentional, and the behavior depends upon the setting of EXPORT_IN_THREAD. We can keep it as it is, but then we should make it consistent (and could remove useless code). Richard
Re: Fixme (package/module)
Hi Jim, Yes, status=draft (rather than just draft) did the trick perfectly. Thanks both for your help! On 10 May 2011 14:04, Jim Oldfield jim_...@yahoo.co.uk wrote: Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Using non-computer modern numbers in lyx 2.0
First, thanks for the integration of XeTeX and LuaTeX and LyX. LyX is now a brilliant tool. One problem remains- I'm sure there's a very simple fix for this, so I apologize in advance if I've missed something obvious. I use ERT to bring statistical tables from R, an open source statistics language. This works great, except that the numbers in these tables remain Latin Modern, rather than whatever font I've used with XeTeX. I've attached the compiled pdf and the lyx file. Is there an easy way to ensure that the numbers in the table match the font used in the text and the table? Thanks Tom bembo with computer modern numerals.pdf Description: Adobe PDF document bembo text, computer modern numerals.lyx Description: Binary data
Re: Portable LyX
I am not able to fully understand the part the directory is defined in the compilation process and there's no way to achieve this without changing the code. Open LyX and select Help About. There you can see what directory LyX is using to store user files. On Windows, this folder is defined based on the %APPDATA% environment variable. Currently, there's no way to change this without changing the code. This is what I meant. Cheers, --- Diego Queiroz
Re: Using non-computer modern numbers in lyx 2.0
On Tue, May 10, 2011 at 6:28 PM, Tom Wood tomw...@uchicago.edu wrote: First, thanks for the integration of XeTeX and LuaTeX and LyX. LyX is now a brilliant tool. One problem remains- I'm sure there's a very simple fix for this, so I apologize in advance if I've missed something obvious. I use ERT to bring statistical tables from R, an open source statistics language. This works great, except that the numbers in these tables remain Latin Modern, rather than whatever font I've used with XeTeX. I've attached the compiled pdf and the lyx file. Is there an easy way to ensure that the numbers in the table match the font used in the text and the table? Your tables are in pure ERT, so I'm wondering if the packages \usepackage{dcolumn} \usepackage{booktabs} don't automatically force some specific font? Maybe you should check their documentation. For example, to get non-default fonts it's a good idea to call Sweave with the 'noae' option. Liviu
Re: Math macros inside child documents
For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). This is a strong restriction. With this, in a document with thousand of pages I will obligated to generate all pages? I do not agree. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. This is another subject, but let's understand the question marks are a problem to be solved too. I think it would be good if LyX doesn't generate so much errors, but I vote against the generation of documents with wrong content (i.e. the question marks). Otherwise, LyX could not stop on the first error, as it already do today. That is, currently, if a error is found, LyX just stops and warns the user. Even if the document can still be generated by LaTeX. We didn't define LyX to just continue and see what you get because we don't want this, right? In the worst case, I'm in favor of a warning to the user about these wrong things. One reason is because I already submited a work with those ??. My fault indeed, but LyX could warn me anyway. ;-) Just make it very clear in the documentation that parent-document features are non-available in the child if compiled stand-alone (without include feature) even if rendered in the LyX window - this is a feature. We did establish that this is a change from 1.6.x, where parent macros are written to the child. That was not intentional, and the behavior depends upon the setting of EXPORT_IN_THREAD. We can keep it as it is, but then we should make it consistent (and could remove useless code). There are two things to note here: 1st: LyX interprets macros very well. It doesn't matter where they are (child/master/etc). If the documents are linked, LyX handles it in the screen. Fact. IMO, if it handles the content to the screen it should handle to the output. 2nd: AFAIK this feature was supported in later versions (I did not tested by myself, but people in this thread said it work). I won't be surprised if someone decide to stay with LyX 1.6 just because this feature was removed. Or just because I am not able to compile my old doc anymore or any other complaints. Cheers, --- Diego Queiroz
Re: Subfigures: \subref support?
On Mon, May 9, 2011 at 1:24 AM, Diego Queiroz queiroz.di...@gmail.comwrote: LyX 2.0 supports \subref command without ERT? (I want to cross-reference a subfigure inside the figure environment) If so, how do I insert it? Thanks, --- Diego Queiroz No answers? :-( Currently I am using ERT and it solved my problem. But can someone confirm if lyX really doesn't support this feature at all? Regards, --- Diego Queiroz
selecting fonts in xetex
I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. How are math fonts selected?
Re: how to separate pdf file?
On 10/05/2011 6:07 AM, Paul Smith wrote: On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh huget_te...@ymail.com wrote: i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so on). but i dont know how to do it. Any body help me please. Teguh, Produce a single pdf file, and use pdftk to separate the pdf file by chapters. Hope this helps you, Paul Just curious, will pdftk preserve links between chapters? This seems rather nontrivial. -- Julien
Re: Subfigures: \subref support?
On Tue, May 10, 2011 at 2:06 PM, Diego Queiroz queiroz.di...@gmail.com wrote: On Mon, May 9, 2011 at 1:24 AM, Diego Queiroz queiroz.di...@gmail.com wrote: LyX 2.0 supports \subref command without ERT? (I want to cross-reference a subfigure inside the figure environment) If so, how do I insert it? Thanks, --- Diego Queiroz No answers? :-( Currently I am using ERT and it solved my problem. But can someone confirm if lyX really doesn't support this feature at all? It's not hard. See attached example (for which you won't, of course, have access to my images, but that doesn't matter). BH subfigure.lyx Description: Binary data
Re: Subfigures: \subref support?
On 10/05/2011 2:06 PM, Diego Queiroz wrote: On Mon, May 9, 2011 at 1:24 AM, Diego Queirozqueiroz.di...@gmail.comwrote: LyX 2.0 supports \subref command without ERT? (I want to cross-reference a subfigure inside the figure environment) If so, how do I insert it? Thanks, --- Diego Queiroz No answers? :-( Currently I am using ERT and it solved my problem. But can someone confirm if lyX really doesn't support this feature at all? Regards, --- Diego Queiroz Maybe because it's not really clear what does not work? I can put labels in the subfigures and reference them elsewhere and they appear as 1a, 1b, etc. -- Julien
Re: Anybody helps about img path
On 10/05/2011 8:11 AM, junzhouzhao wrote: Hello, When I updated my Lyx1.6 to Lyx2.0, there seems something wrong with epstopdf $$i conventer, and that works well under Lyx1.6. Hi, Could you please provide the actual error message you get, if any? I am using Windows XP. My picture is located in directioy E:\works\relation\fig\dynamic.eps. But Lyx2.0 changes it to 3E__works_relation_fig_dynamic.eps. Do anyone know the reasons please? LyX 1.6 also does this, when moving and compiling files in the temporary folder. Many thanks! 2011-05-10 -- Julien
Re: selecting fonts in xetex
On 05/10/2011 02:22 PM, Neal Becker wrote: I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. You can use almost any font you have installed. The Liberation fonts seem quite good. You can use Deja Vu fonts, whatever. How are math fonts selected? This is one I do not know Richard
Re: selecting fonts in xetex
On Tuesday 10 May 2011, Richard Heck wrote: On 05/10/2011 02:22 PM, Neal Becker wrote: I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. You can use almost any font you have installed. The Liberation fonts seem quite good. You can use Deja Vu fonts, whatever. I'm wondering if there any 'good' suggestions. Perhaps from someone more knowlegable in the subject than I am (that'd be just about anyone). How are math fonts selected? This is one I do not know Richard
Re: selecting fonts in xetex
On 05/10/2011 02:51 PM, Neal Becker wrote: On Tuesday 10 May 2011, Richard Heck wrote: On 05/10/2011 02:22 PM, Neal Becker wrote: I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. You can use almost any font you have installed. The Liberation fonts seem quite good. You can use Deja Vu fonts, whatever. I'm wondering if there any 'good' suggestions. Perhaps from someone more knowlegable in the subject than I am (that'd be just about anyone). I tried several for my forthcoming book, though I eventually settled on New Century Schoolbook, mostly because switching to XeTeX threatened to change too much else. But I liked the Liberation and Linux Libertine fonts a lot, and also the Stix ones. Richard
Re: Subfigures: \subref support?
Thanks for the answers. But I think I wasn't clear. I want to use the \subref command not the \ref one (supported by default on LyX). The difference between them is that \ref produces 1a while \subref produces only a. I need to cite subfigures in the caption of the main float. Example.: Fig(a) --- Fig(b) Figure 1: Here you see some figure (a) and another figure (b). Got it? But now I'm almost sure LyX really doesn't really support it. If so, this is another good (and simple) improvement for LyX 2.1. :-) Cheers, --- Diego Queiroz
Re: selecting fonts in xetex
2011/5/10 Richard Heck rgh...@comcast.net: I tried several for my forthcoming book, though I eventually settled on New Century Schoolbook, mostly because switching to XeTeX threatened to change too much else. But I liked the Liberation and Linux Libertine fonts a lot, and also the Stix ones. I also like Libertine Biolinum. Other fonts that were suggested elsewhere on this list are Fontin Fontin Sans, and Minion Pro (the latter not freely available, but please correct me). Otherwise, you can stick with good old Palatino Optima (available as URW Classico) even when compiling with XeTeX. Regards Liviu
Re: Subfigures: \subref support?
On Tue, May 10, 2011 at 3:09 PM, Diego Queiroz queiroz.di...@gmail.com wrote: Thanks for the answers. But I think I wasn't clear. I want to use the \subref command not the \ref one (supported by default on LyX). The difference between them is that \ref produces 1a while \subref produces only a. I need to cite subfigures in the caption of the main float. Example.: Fig(a) --- Fig(b) Figure 1: Here you see some figure (a) and another figure (b). Got it? But now I'm almost sure LyX really doesn't really support it. If so, this is another good (and simple) improvement for LyX 2.1. :-) Isn't this precisely what I gave you in the sample file? (I didn't put the cross-reference in the figure caption, but that's trivial.) In short, LyX supports it and makes it easy. BH
Re: Subfigures: \subref support?
Isn't this precisely what I gave you in the sample file? (I didn't put the cross-reference in the figure caption, but that's trivial.) In short, LyX supports it and makes it easy. BH Not really. The file you gave me generate 1a, 1b... as expected for a output in the text. What I want is just a, b (without the number 1). Cheers, --- Diego Queiroz
Request for Feature
Now that time for new features has passed :-)-O I wonder if one can integrate something like the todonotes package in a manner similar to the Comment or LyX-Note features, in other words I would like to see a comment or note appear in a frame with color background in the margin. Any ideas? By the way I have tossed 1.6 already a while back, I do plain everything with LyX these days, OR reports, patient letters, articles, speeches and what not (even a little SWeave). Have even installed gnumeric for the spreadsheet table business but must confess Apple Kenynote is so much better than anything else that I don't think I'll do presentations with beamer again :-)-O Thanks everybody involved so very much for this marvelous piece of software. el -- Dr. Eberhard W. Lisse \/ Obstetrician Gynaecologist e...@lisse.na/ * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way
Re: Request for Feature
On Wed, May 11, 2011 at 12:21 AM, Dr Eberhard W Lisse e...@lisse.na wrote: Now that time for new features has passed :-)-O I wonder if one can integrate something like the todonotes package in a manner similar to the Comment or LyX-Note features, in other words I would like to see a comment or note appear in a frame with color background in the margin. Any ideas? Perhaps the todonotes module [1]? Never tried it, though. [1] http://wiki.lyx.org/Layouts/Modules#toc2 By the way I have tossed 1.6 already a while back, I do plain everything with LyX these days, OR reports, patient letters, articles, speeches and what not (even a little SWeave). Nice to hear. :) Have even installed gnumeric for the spreadsheet table business but must confess Apple Kenynote is so much better than anything else that I don't think I'll do presentations with beamer again :-)-O If you're missing the fancy transitions, you might want to try Impressive [1]. It does this, and so much more. I also hear that people like to do presentations in Scribus, perhaps something to try. [1] http://alternativeto.net/software/impressive/ Regards Liviu Thanks everybody involved so very much for this marvelous piece of software. el -- Dr. Eberhard W. Lisse \ / Obstetrician Gynaecologist e...@lisse.na / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Change margins to handle recto and verso pages in Memoir
I posted this message two days ago; but it has not appeared on the list, though it is in the archive (with no responses); So here it is again: Hi to the most helpful users-list I know, I am using memoir to print a book, with a wide margin for graphics. As I don't need this wide empty margin when printing pagenotes, I need to change margins for the page notes at the end of each chapter. I can do this with the preamble code: \newenvironment{changemargin}[2]{% \begin{list}{}{% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}}% \item[]}{\end{list}} Then in ERT in the text: \clearpage \begin{changemargin}{0cm}{-2.8cm} \printpagenotes* \end{changemargin} Since some page notes run for two pages, I need to cope with recto and verso pages, whereas the above values need to be set up for one or the other. I have tried innermargin outermargin or spinemargin edgemargin with no recognition. Do I need to use Boolean programing (ifrecto or ifverso) to handle this switching of margins, or does memoir have a simpler way? I would greatly appreciate advice on this one. Cheers, George Legge
Re: Change margins to handle recto and verso pages in Memoir
On 10/05/2011 7:10 PM, george legge wrote: I posted this message two days ago; but it has not appeared on the list, though it is in the archive (with no responses); So here it is again: Hi to the most helpful users-list I know, I am using memoir to print a book, with a wide margin for graphics. As I don't need this wide empty margin when printing pagenotes, I need to change margins for the page notes at the end of each chapter. I can do this with the preamble code: \newenvironment{changemargin}[2]{% \begin{list}{}{% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}}% \item[]}{\end{list}} Then in ERT in the text: \clearpage \begin{changemargin}{0cm}{-2.8cm} \printpagenotes* \end{changemargin} Since some page notes run for two pages, I need to cope with recto and verso pages, whereas the above values need to be set up for one or the other. I have tried innermargin outermargin or spinemargin edgemargin with no recognition. Do I need to use Boolean programing (ifrecto or ifverso) to handle this switching of margins, or does memoir have a simpler way? I would greatly appreciate advice on this one. Cheers, George Legge Hi, Your message did appear. Unfortunately no answers. What about \evensidemargin and \oddsidemargin Julien
Re: Request for Feature
Liviu On 2011-05-10 23:39 , Liviu Andronic wrote: [...] Perhaps the todonotes module [1]? Never tried it, though. [1] http://wiki.lyx.org/Layouts/Modules#toc2 Oh, very cool. But I had to download the module put it into local layouts and reconfigure. [...] If you're missing the fancy transitions, you might want to try Impressive [1]. It does this, and so much more. I also hear that people like to do presentations in Scribus, perhaps something to try. [1] http://alternativeto.net/software/impressive/ Not the transitions, but the ase with which I can hack up a presentation :-)-O el -- Dr. Eberhard W. Lisse \/ Obstetrician Gynaecologist e...@lisse.na/ * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way
Re: Request for Feature
On Wed, May 11, 2011 at 2:05 AM, Dr Eberhard W Lisse e...@lisse.na wrote: Liviu On 2011-05-10 23:39 , Liviu Andronic wrote: [...] Perhaps the todonotes module [1]? Never tried it, though. [1] http://wiki.lyx.org/Layouts/Modules#toc2 Oh, very cool. But I had to download the module put it into local layouts and reconfigure. File an enhancement request to get it shipped with LyX by default. [...] If you're missing the fancy transitions, you might want to try Impressive [1]. It does this, and so much more. I also hear that people like to do presentations in Scribus, perhaps something to try. [1] http://alternativeto.net/software/impressive/ Not the transitions, but the ase with which I can hack up a presentation :-)-O Yes, creating beamer slides even in LyX is not for the faint-hearted. Liviu el -- Dr. Eberhard W. Lisse \ / Obstetrician Gynaecologist e...@lisse.na / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Anybody helps about img path
I found anothere way to solve this problem. Hopes it works for people have this issue. Here are some more infor. When converting EPS to PDF. Platform: WinXP sp3, MicTex2.9 (I use XeTex) this is the latex article. \documentclass{article} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in} \usepackage{graphicx} \usepackage{xunicode} \begin{document} This is a drill. \includegraphics[width=0.8\textwidth]{exam1} \end{document} The lyx file and exam1.eps are all under c:/. When using Lyx to write an article, contains a EPS figure, the pdf figure always lose some information after converting by Lyx. I think this has nothing to do with Lyx. It seems this is due to epstopdf.exe in MiKTeX 2.9\miktex\bin. I tried this in cmd epstopdf.exe fig.eps, and it generates a same pdf lose some information in the eps fig, e.g. lagend, or X Y title is mising. To solve this, I write a bat named epstopdf.bat and put it in folder MiKTeX 2.9\miktex\bin(epstopdf.exe is renamed). The bat contains the following information: gswin32c -dSAFER -dNOPAUSE -dQUIET -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=%~dpn1.pdf %~dpnx1 And the conventer for EPS to PDF is set to epstopdf $$i. It works fine under Lyx1.6. When I updated my Lyx to 2.0. It is wrong this time. It seems that Lyx2.0 will copy eps to a temporal folder and conventer it to pdf in that folder, but epstopdf.bat doesn't know the whole path. (In fact Lyx1.6 did also but epstopdf.bat know the directory.) Lyx2.0 just pops up an error cannot find that temporal file. here are the error info. ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(754): insetgraphics::latex: Filename = C://exam1.eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(764): Message = ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(779): Opts = width=0.8\textwidth ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(786): Before = \includegraphics[width=0.8\textwidth] after = ..\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(461): Comparing C://exam1.eps and C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ..\..\..\lyx-2.0.0\src\support\FileName.cpp(592): Checksumming C://exam1.eps 2910557309 lasted 0 ms. ..\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ..\..\..\lyx-2.0.0\src\support\FileName.cpp(228): Copying C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ..\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(109): findTargetFormat: PDF mode ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(676):we have: from eps to pdf ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(682): the orig file is: C://exam1.eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(731): The original file is C://exam1.eps A copy has been made and convert is to be called with: file to convert = C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps from eps to pdf ..\..\lyx-2.0.0\src\Converter.cpp(372): Converting from eps to pdf ..\..\lyx-2.0.0\src\Converter.cpp(437): Calling epstopdf 0C___exam1.eps ..\..\..\lyx-2.0.0\src\support\Systemcall.cpp(217): Systemcall: 'epstopdf 0C___exam1.eps' did not start! ..\..\..\lyx-2.0.0\src\support\Systemcall.cpp(218): error The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program. Error: Cannot convert file In order to check whether bat doesn't know the whole path of the temporal eps file. I write the bat to a python version just using os.system(...) instead and log some information. (Because I don't know how to log in bat.) So that python file is named to epstopdf.py. And I put it in LyX20\Resources\scripts. The conventer is set to python -tt $$s/scripts/epstopdf.py $$i. Well, I am strange that this time it works well. But I am still confused why python works but bat doesn't work.
[announce] LyXWinInstaller for LyX 1.6.10
Hello LyXers, the alternative Windows installer for LyX 1.6.10 is now available. This installer comes again with an update installer to update existing LyX 1.6.9 installation to LyX 1.6.10. NOTE: To be able to use this update installer, LyX 1.6.9 must have been installed with the alternative Windows installer. - The installer for this version can be downloaded from: http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18526 and http://ftp.lyx.org/pub/lyx/bin/1.6.10/ (General infos about the installer can be found here: http://wiki.lyx.org/Windows/LyXWinInstaller ) Installer Changelog: - Version 4.28 - LyX 1.6.10 - updated to eLyXer 1.2.1 - updated to ImageMagick 6.6.9-7 - updated to Ghostscript 9.02 - updated to MiKTeX 2.9 (build 4106) - --- This will be the last installer version I provide under the name LyXWinInstaller. Starting with LyX 2.0.0 there will only be one LyX for Windows installer. The installer for 2.0.0 does not yet contain all features of the LyXWinInstaller but for LyX 2.0.1 the installer should have them. For this purpose I need your help for a survey when features you need of which if the existing features you don't like. See my corresponding post on the lyx-users mailing list. thanks for all the years and happy LyXing Uwe
Re: Anybody helps about img path
On 10/05/2011 9:23 PM, junzhouzhao wrote: I found anothere way to solve this problem. Hopes it works for people have this issue. Here are some more infor. When converting EPS to PDF. Platform: WinXP sp3, MicTex2.9 (I use XeTex) this is the latex article. \documentclass{article} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in} \usepackage{graphicx} \usepackage{xunicode} \begin{document} This is a drill. \includegraphics[width=0.8\textwidth]{exam1} \end{document} The lyx file and exam1.eps are all under c:/. When using Lyx to write an article, contains a EPS figure, the pdf figure always lose some information after converting by Lyx. I think this has nothing to do with Lyx. It seems this is due to epstopdf.exe in MiKTeX 2.9\miktex\bin. I tried this in cmd epstopdf.exe fig.eps, and it generates a same pdf lose some information in the eps fig, e.g. lagend, or X Y title is mising. To solve this, I write a bat named epstopdf.bat and put it in folder MiKTeX 2.9\miktex\bin(epstopdf.exe is renamed). The bat contains the following information: gswin32c -dSAFER -dNOPAUSE -dQUIET -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=%~dpn1.pdf %~dpnx1 And the conventer for EPS to PDF is set to epstopdf $$i. It works fine under Lyx1.6. When I updated my Lyx to 2.0. It is wrong this time. It seems that Lyx2.0 will copy eps to a temporal folder and conventer it to pdf in that folder, but epstopdf.bat doesn't know the whole path. (In fact Lyx1.6 did also but epstopdf.bat know the directory.) Lyx2.0 just pops up an error cannot find that temporal file. here are the error info. ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(754): insetgraphics::latex: Filename = C://exam1.eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(764): Message = ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(779): Opts = width=0.8\textwidth ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(786): Before = \includegraphics[width=0.8\textwidth] after = ...\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(461): Comparing C://exam1.eps and C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ...\..\..\lyx-2.0.0\src\support\FileName.cpp(592): Checksumming C://exam1.eps 2910557309 lasted 0 ms. ...\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ...\..\..\lyx-2.0.0\src\support\FileName.cpp(228): Copying C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ...\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(109): findTargetFormat: PDF mode ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(676): we have: from eps to pdf ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(682): the orig file is: C://exam1.eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(731): The original file is C://exam1.eps A copy has been made and convert is to be called with: file to convert = C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps from eps to pdf ...\..\lyx-2.0.0\src\Converter.cpp(372): Converting from eps to pdf ...\..\lyx-2.0.0\src\Converter.cpp(437): Calling epstopdf 0C___exam1.eps ...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(217): Systemcall: 'epstopdf 0C___exam1.eps' did not start! ...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(218): error The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program. Error: Cannot convert file In order to check whether bat doesn't know the whole path of the temporal eps file. I write the bat to a python version just using os.system(...) instead and log some information. (Because I don't know how to log in bat.) So that python file is named to epstopdf.py. And I put it in LyX20\Resources\scripts. The conventer is set to python -tt $$s/scripts/epstopdf.py $$i. Well, I am strange that this time it works well. But I am still confused why python works but bat doesn't work. It's possible that there have been some changes in the 2.0 development that broke a call to a .bat script, I'll let someone more knowledgeable answer. -- Julien
Re: Patch for the CJK InputMethod
On 09/05/2011 9:57 AM, Atsushi Shimmura wrote: Hi, I use LyX 2.0.0 very useful.By the way, I have a patch for the CJK InputMethod.In a long Japanese(probably CJK) sentence, it would be color-coding the sentence.(spot and all) See the attached picture please. It is made by Kameda,Iwami and me. Please manage this patch as you think fit. Thanks, This looks interesting. So it delimits the words in a long sentence, is that right? I am not sure I understand. Also, I am curious: do you use platex? Is instant-preview of math insets working for you? Thanks, Regards, Julien
Need help getting APA citing working
Hello! I am commencing my B.InfoTech (Hons) and want to use Lyx for reports, thesis etc. I have installed the new Lyx 2.0 on my Macbook Pro and am using up to date Mactex live from the mirror.aarnet.edu.au mirror) and am experimenting using the article (KOMA-Script) document class. Into my document, I have inserted a Bibtex generated Bibliography, selected Natbib Author-year, using apacite and pointed it at my marklivingstone.bib file. I typed some text and inserted some trial citations selecting (author, year) type citation as appropriate for varying numbers of authors. When I do an update, and view, I get a beautiful result, but the citations use and instead of , and the volume numbers are not italicised. Before bothering you guys, I went to the Wiki and found the APALyX page. I downloaded the ApaExample.lyx which I note also uses apacite and which has correctly done ampersand signs and volume number citation style. This tells me I must have all the requisite class / style / etc files. Unfortunately, I am very new to Latex / Lyx, and I don't know how to fix my citations. I considered using the ApaExample.lyx but its stylistic elements are just too far from my desired requirements. I don't want their style, just their citation format ;-) On the ApaLyX page, it says you will need an apa.layout file and says to get it (and doesn't say where from!) Thanks in advance, MarkL
Re: Patch for the CJK InputMethod
Hi, On Tue, 10 May 2011 22:59:58 -0400 Julien Rioux jri...@physics.utoronto.ca wrote: This looks interesting. So it delimits the words in a long sentence, is that right? I am not sure I understand. Yes. Almost IM system is from the first. When we input information, the first input is a sentence usually. So we convert each phrase in a Japanese(CJK) sentence. LyX too. But the underline specifications is an incorrect action, because we correct erroneous parts... Also, I am curious: do you use platex? Is instant-preview of math insets working for you? Yes I use.Is that attached file?Yes it work. regars, -- Atsushi Shimmura a.shimm...@gmail.com attachment: sample.jpg
Re: Need help getting APA citing working
On 11/05/2011 1:07 AM, Mark Livingstone wrote: Hello! I am commencing my B.InfoTech (Hons) and want to use Lyx for reports, thesis etc. I have installed the new Lyx 2.0 on my Macbook Pro and am using up to date Mactex live from the mirror.aarnet.edu.au mirror) and am experimenting using the article (KOMA-Script) document class. Into my document, I have inserted a Bibtex generated Bibliography, selected Natbib Author-year, using apacite and pointed it at my marklivingstone.bib file. I typed some text and inserted some trial citations selecting (author, year) type citation as appropriate for varying numbers of authors. When I do an update, and view, I get a beautiful result, but the citations use and instead of , and the volume numbers are not italicised. Before bothering you guys, I went to the Wiki and found the APALyX page. I downloaded the ApaExample.lyx which I note also uses apacite and which has correctly done ampersand signs and volume number citation style. This tells me I must have all the requisite class / style / etc files. Unfortunately, I am very new to Latex / Lyx, and I don't know how to fix my citations. I considered using the ApaExample.lyx but its stylistic elements are just too far from my desired requirements. I don't want their style, just their citation format ;-) On the ApaLyX page, it says you will need an apa.layout file and says to get it (and doesn't say where from!) Thanks in advance, MarkL Hi, First, apa.layout is nowadays shipped with the regular install of LyX. Second, you might try to put the following line in the LaTeX preamble (Document Settings LaTeX preamble) \usepackage{apacite} (not tested) -- Julien
Re: Patch for the CJK InputMethod
On 11/05/2011 1:19 AM, Atsushi Shimmura wrote: Hi, On Tue, 10 May 2011 22:59:58 -0400 Julien Riouxjri...@physics.utoronto.ca wrote: This looks interesting. So it delimits the words in a long sentence, is that right? I am not sure I understand. Yes. Almost IM system is from the first. When we input information, the first input is a sentence usually. So we convert each phrase in a Japanese(CJK) sentence. LyX too. But the underline specifications is an incorrect action, because we correct erroneous parts... Also, I am curious: do you use platex? Is instant-preview of math insets working for you? Yes I use.Is that attached file?Yes it work. regars, Sorry, I meant the display of math preview inside the LyX screen itself. LaTeX is used (in your case platex) to produce a small image file. Then it is displayed on the screen. This is activated in the menu: Tools Preferences Display. It is called instant preview and has three settings On, Off, and No math. When set to On it should transform your math into an image as I described. From your screenshot it looks like it does not. Regards, Julien
Error during compilation
Hi guys, during the pdf compilation i get this error message: LaTeX Error: \begin{thenomenclature} on input line 1 ended by \end{document}. Any idea? Best regard Stan
Re: Error during compilation
Am 10.05.2011 um 09:16 schrieb Stan: Hi guys, during the pdf compilation i get this error message: LaTeX Error: \begin{thenomenclature} on input line 1 ended by \end{document}. Any idea? Perhaps to provide more informations? Stephan
Error
Hi guys, i got the this error: LaTeX Error: \begin{thenomenclature} on input line 1 ended by \end{document}. It's a bug report at the same time. If the mailing list is wrong please forward. When % is placed in the nomenclature as unity e.g. like this Duty Cucle [%] the error occurs. Thanks a lot Stan
Re: Error
Stan wrote: When % is placed in the nomenclature as unity e.g. like this Duty Cucle [%] the error occurs. Does it work if you insert \% instead? (The nomenclature dialog takes literal LaTeX, and the percent sign is a special character that needs to be escaped by the backslash) Jürgen
Fixme (package/module)
Hi. I recently discovered the fixme package and fixme.module. I have installed the package via MikTex and I have placed the fixme.module in the layouts folder: C:\Documents and Settings\Ken\Application Data\lyx16\layouts Now Insert Custom Insets FxNote allows me to insert a note which is displayed in the margin when the document is compiled to pdf. My questions are: (1) how can I change the document from draft to final so that the notes are not printed in the pdf document? (2) is it possible/easy to add an icon to the toolbar so that I can quickly insert an FxNote (just as easily as a normal note) with a single click? Or is it possible to add a keyboard shortcut? Thanks, Ken P.S. This is my first attempt at using a module. So far it has been easy to install but learning the subtleties is a bit trickier. If there is documentation which would easily answer my questions please point me in that direction. Thanks!
Re: Portable LyX
Le 10/05/11 06:20, Ganesh Sundaram a écrit : LyX uses the user directory by default and doesn't use the Windows register. AFAIK the directory is defined in the compilation process and there's no way to achieve this without changing the code. I am not able to fully understand the part the directory is defined in the compilation process and there's no way to achieve this without changing the code. LyX is able to find its system files relative to where the binary is. User files are in a fixed place, though, but we query windows to know where is user setting should be, so I guess there are some possible tricks. JMarc
Re: Math macros inside child documents
On 2011-05-09, Diego Queiroz wrote: But what if you really want to compile it as a standalone document? People do this. Richard But if it was really a standalone document, I would have to unset master document property, right? ... I am just looking for a more user oriented behavior. I mean, if I can see everything right on the screen, what's the problem? This is how I feel about the current behavior. LyX is handling everything on the editor, since all math macros are interpreted correctly when I open any document, but I can't generate the file because of its internal structure. We should try to avoid consistency errors in LyX. If people decide to use ERT, we should expect unwanted behavior, but in a document using only LyX resources, it must never generate errors (or they should be rare, at least), doesn't matter what the user decides to do. For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Günter
Re: Math macros inside child documents
Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_ inherit anything from the master then. Jürgen
Re: Help! A Hebrew document does not compile...
Solved by reinstalling the fonts and reconfiguring LyX.
Problems with biblatex-dw and idembib/idembibformat
Hello, I have the following problem with biblatex-dw and idembib/ idembibformat: Although I have entered idembib=true and idembibformat=dash, I do not get dashes, but ders., which is the male entry in german. How could I solve this? Thanks for your help. LyX 1.6.9. In the document-settings I have entered the following: \usepackage[natbib=true,style=footnote- dw ,urldate =long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash] {biblatex}
Re: how to separate pdf file?
On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh huget_te...@ymail.com wrote: i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so on). but i dont know how to do it. Any body help me please. Teguh, Produce a single pdf file, and use pdftk to separate the pdf file by chapters. Hope this helps you, Paul
Anybody helps about img path
Hello, When I updated my Lyx1.6 to Lyx2.0, there seems something wrong with epstopdf $$i conventer, and that works well under Lyx1.6. I am using Windows XP. My picture is located in directioy E:\works\relation\fig\dynamic.eps. But Lyx2.0 changes it to 3E__works_relation_fig_dynamic.eps. Do anyone know the reasons please? Many thanks! 2011-05-10 Catch0.jpg
Re: Fixme (package/module)
On 05/10/2011 04:31 AM, Ken wrote: Hi. I recently discovered the fixme package and fixme.module. I have installed the package via MikTex and I have placed the fixme.module in the layouts folder: C:\Documents and Settings\Ken\Application Data\lyx16\layouts Now Insert Custom Insets FxNote allows me to insert a note which is displayed in the margin when the document is compiled to pdf. My questions are: (1) how can I change the document from draft to final so that the notes are not printed in the pdf document? DocumentSettingsDocument ClassOptions: Enter final (though that should be the default). (2) is it possible/easy to add an icon to the toolbar so that I can quickly insert an FxNote (just as easily as a normal note) with a single click? Or is it possible to add a keyboard shortcut? Both of these can be done. You just need to know the LFUN for doing this operation. It should be displayed in the status bar when you insert an FxNote. (It will be something like: flex-insert fxnote.) Now go to ToolsPreferencesEditingShortcuts. Click New. Enter the LFUN and select a shortcut. Getting a toolbar button is slightly more complicated. You would need to copy the stdtoolbars.ui file into your local directory and modify it. There's some info at the beginning of the file about how to do this. Richard
Re: Fixme (package/module)
On Tue, May 10, 2011 at 8:40 AM, Ken kmai...@gmail.com wrote: In case this is of any use to others it may be best/easiest to change the status in the fixme.module file (and to close the document and re-open it in order for the change to occur next time the pdf is generated). An alternative would be to create two modules: fixme.module and fixme-draft.module, only the latter of which has the status=draft option in the preamble. Then you could simply switch from one module to the other using Document Settings. This is a bit clunky, but far easier than manually editing the fixme.module each time, and it would only affect the current document rather than all documents that use that module. BH
Re: Portable LyX
Is there a way to use LyX in Portable Mode without installing MiKTeX? Yes [1]. I want to be able to edit TeX files While LyX uses (La)TeX to produce PDF, it does not use native (La)TeX internally. And importing (La)TeX into LyX is not exactly seamless. Sincerely, Wolfgang [1] I'm using LyX 2.0 with TeXLive 2010 and SumatraPDF, all portable.
Re: Fixme (package/module)
From: Ken kmai...@gmail.com Thanks for the info. As for draft/final setting I see that fixme.module contains the lines: AddToPreamble \usepackage[status=draft]{fixme} EndPreamble Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Re: Math macros inside child documents
On 2011-05-10, Jürgen Spitzmüller wrote: Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_ inherit anything from the master then. Because the OP complained that it is incosistent to show math-macro expansions in the child doc but not make them available in stand-alone compilation. The same argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. The above was just stating the pure solution to the OPs report. However, I vote to keep things as-is, because: practicality beats purity. Just make it very clear in the documentation that parent-document features are non-available in the child if compiled stand-alone (without include feature) even if rendered in the LyX window - this is a feature. (After switching to LyX 2 I will try with the include feature.) Günter
Re: Math macros inside child documents
On 05/10/2011 09:09 AM, Guenter Milde wrote: On 2011-05-10, Jürgen Spitzmüller wrote: Guenter Milde wrote: For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). Why this? I have many documents with a master set that get compiled stand- alone from time to time and should _not_ inherit anything from the master then. Because the OP complained that it is incosistent to show math-macro expansions in the child doc but not make them available in stand-alone compilation. The same argument would hold for references to sections, equations, tables and figures in other parts of the document. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. The above was just stating the pure solution to the OPs report. However, I vote to keep things as-is, because: practicality beats purity. Just make it very clear in the documentation that parent-document features are non-available in the child if compiled stand-alone (without include feature) even if rendered in the LyX window - this is a feature. We did establish that this is a change from 1.6.x, where parent macros are written to the child. That was not intentional, and the behavior depends upon the setting of EXPORT_IN_THREAD. We can keep it as it is, but then we should make it consistent (and could remove useless code). Richard
Re: Fixme (package/module)
Hi Jim, Yes, status=draft (rather than just draft) did the trick perfectly. Thanks both for your help! On 10 May 2011 14:04, Jim Oldfield jim_...@yahoo.co.uk wrote: Given this, perhaps putting status=draft (rather than just draft) in the \documentclass options would affect the fixme package, and not images? I haven't checked, this is just an idea. Jim
Using non-computer modern numbers in lyx 2.0
First, thanks for the integration of XeTeX and LuaTeX and LyX. LyX is now a brilliant tool. One problem remains- I'm sure there's a very simple fix for this, so I apologize in advance if I've missed something obvious. I use ERT to bring statistical tables from R, an open source statistics language. This works great, except that the numbers in these tables remain Latin Modern, rather than whatever font I've used with XeTeX. I've attached the compiled pdf and the lyx file. Is there an easy way to ensure that the numbers in the table match the font used in the text and the table? Thanks Tom bembo with computer modern numerals.pdf Description: Adobe PDF document bembo text, computer modern numerals.lyx Description: Binary data
Re: Portable LyX
I am not able to fully understand the part the directory is defined in the compilation process and there's no way to achieve this without changing the code. Open LyX and select Help About. There you can see what directory LyX is using to store user files. On Windows, this folder is defined based on the %APPDATA% environment variable. Currently, there's no way to change this without changing the code. This is what I meant. Cheers, --- Diego Queiroz
Re: Using non-computer modern numbers in lyx 2.0
On Tue, May 10, 2011 at 6:28 PM, Tom Wood tomw...@uchicago.edu wrote: First, thanks for the integration of XeTeX and LuaTeX and LyX. LyX is now a brilliant tool. One problem remains- I'm sure there's a very simple fix for this, so I apologize in advance if I've missed something obvious. I use ERT to bring statistical tables from R, an open source statistics language. This works great, except that the numbers in these tables remain Latin Modern, rather than whatever font I've used with XeTeX. I've attached the compiled pdf and the lyx file. Is there an easy way to ensure that the numbers in the table match the font used in the text and the table? Your tables are in pure ERT, so I'm wondering if the packages \usepackage{dcolumn} \usepackage{booktabs} don't automatically force some specific font? Maybe you should check their documentation. For example, to get non-default fonts it's a good idea to call Sweave with the 'noae' option. Liviu
Re: Math macros inside child documents
For truly consistent behaviour, we would have to disable stand-alone compilation of documents setting a master (except for included (vs. input) documents). This is a strong restriction. With this, in a document with thousand of pages I will obligated to generate all pages? I do not agree. Actually, I regularly compile stand-alone child docs (to save time on checking the appearance in the output). I have set up a stand-alone branch for math-macros and bibliography and I can live with the question marks in the references. This is another subject, but let's understand the question marks are a problem to be solved too. I think it would be good if LyX doesn't generate so much errors, but I vote against the generation of documents with wrong content (i.e. the question marks). Otherwise, LyX could not stop on the first error, as it already do today. That is, currently, if a error is found, LyX just stops and warns the user. Even if the document can still be generated by LaTeX. We didn't define LyX to just continue and see what you get because we don't want this, right? In the worst case, I'm in favor of a warning to the user about these wrong things. One reason is because I already submited a work with those ??. My fault indeed, but LyX could warn me anyway. ;-) Just make it very clear in the documentation that parent-document features are non-available in the child if compiled stand-alone (without include feature) even if rendered in the LyX window - this is a feature. We did establish that this is a change from 1.6.x, where parent macros are written to the child. That was not intentional, and the behavior depends upon the setting of EXPORT_IN_THREAD. We can keep it as it is, but then we should make it consistent (and could remove useless code). There are two things to note here: 1st: LyX interprets macros very well. It doesn't matter where they are (child/master/etc). If the documents are linked, LyX handles it in the screen. Fact. IMO, if it handles the content to the screen it should handle to the output. 2nd: AFAIK this feature was supported in later versions (I did not tested by myself, but people in this thread said it work). I won't be surprised if someone decide to stay with LyX 1.6 just because this feature was removed. Or just because I am not able to compile my old doc anymore or any other complaints. Cheers, --- Diego Queiroz
Re: Subfigures: \subref support?
On Mon, May 9, 2011 at 1:24 AM, Diego Queiroz queiroz.di...@gmail.comwrote: LyX 2.0 supports \subref command without ERT? (I want to cross-reference a subfigure inside the figure environment) If so, how do I insert it? Thanks, --- Diego Queiroz No answers? :-( Currently I am using ERT and it solved my problem. But can someone confirm if lyX really doesn't support this feature at all? Regards, --- Diego Queiroz
selecting fonts in xetex
I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. How are math fonts selected?
Re: how to separate pdf file?
On 10/05/2011 6:07 AM, Paul Smith wrote: On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh huget_te...@ymail.com wrote: i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so on). but i dont know how to do it. Any body help me please. Teguh, Produce a single pdf file, and use pdftk to separate the pdf file by chapters. Hope this helps you, Paul Just curious, will pdftk preserve links between chapters? This seems rather nontrivial. -- Julien
Re: Subfigures: \subref support?
On Tue, May 10, 2011 at 2:06 PM, Diego Queiroz queiroz.di...@gmail.com wrote: On Mon, May 9, 2011 at 1:24 AM, Diego Queiroz queiroz.di...@gmail.com wrote: LyX 2.0 supports \subref command without ERT? (I want to cross-reference a subfigure inside the figure environment) If so, how do I insert it? Thanks, --- Diego Queiroz No answers? :-( Currently I am using ERT and it solved my problem. But can someone confirm if lyX really doesn't support this feature at all? It's not hard. See attached example (for which you won't, of course, have access to my images, but that doesn't matter). BH subfigure.lyx Description: Binary data
Re: Subfigures: \subref support?
On 10/05/2011 2:06 PM, Diego Queiroz wrote: On Mon, May 9, 2011 at 1:24 AM, Diego Queirozqueiroz.di...@gmail.comwrote: LyX 2.0 supports \subref command without ERT? (I want to cross-reference a subfigure inside the figure environment) If so, how do I insert it? Thanks, --- Diego Queiroz No answers? :-( Currently I am using ERT and it solved my problem. But can someone confirm if lyX really doesn't support this feature at all? Regards, --- Diego Queiroz Maybe because it's not really clear what does not work? I can put labels in the subfigures and reference them elsewhere and they appear as 1a, 1b, etc. -- Julien
Re: Anybody helps about img path
On 10/05/2011 8:11 AM, junzhouzhao wrote: Hello, When I updated my Lyx1.6 to Lyx2.0, there seems something wrong with epstopdf $$i conventer, and that works well under Lyx1.6. Hi, Could you please provide the actual error message you get, if any? I am using Windows XP. My picture is located in directioy E:\works\relation\fig\dynamic.eps. But Lyx2.0 changes it to 3E__works_relation_fig_dynamic.eps. Do anyone know the reasons please? LyX 1.6 also does this, when moving and compiling files in the temporary folder. Many thanks! 2011-05-10 -- Julien
Re: selecting fonts in xetex
On 05/10/2011 02:22 PM, Neal Becker wrote: I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. You can use almost any font you have installed. The Liberation fonts seem quite good. You can use Deja Vu fonts, whatever. How are math fonts selected? This is one I do not know Richard
Re: selecting fonts in xetex
On Tuesday 10 May 2011, Richard Heck wrote: On 05/10/2011 02:22 PM, Neal Becker wrote: I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. You can use almost any font you have installed. The Liberation fonts seem quite good. You can use Deja Vu fonts, whatever. I'm wondering if there any 'good' suggestions. Perhaps from someone more knowlegable in the subject than I am (that'd be just about anyone). How are math fonts selected? This is one I do not know Richard
Re: selecting fonts in xetex
On 05/10/2011 02:51 PM, Neal Becker wrote: On Tuesday 10 May 2011, Richard Heck wrote: On 05/10/2011 02:22 PM, Neal Becker wrote: I'm interested in trying out xetex. Any suggestions for font settings to try (free, widely available)? This is fedora 14, have stix fonts. You can use almost any font you have installed. The Liberation fonts seem quite good. You can use Deja Vu fonts, whatever. I'm wondering if there any 'good' suggestions. Perhaps from someone more knowlegable in the subject than I am (that'd be just about anyone). I tried several for my forthcoming book, though I eventually settled on New Century Schoolbook, mostly because switching to XeTeX threatened to change too much else. But I liked the Liberation and Linux Libertine fonts a lot, and also the Stix ones. Richard
Re: Subfigures: \subref support?
Thanks for the answers. But I think I wasn't clear. I want to use the \subref command not the \ref one (supported by default on LyX). The difference between them is that \ref produces 1a while \subref produces only a. I need to cite subfigures in the caption of the main float. Example.: Fig(a) --- Fig(b) Figure 1: Here you see some figure (a) and another figure (b). Got it? But now I'm almost sure LyX really doesn't really support it. If so, this is another good (and simple) improvement for LyX 2.1. :-) Cheers, --- Diego Queiroz
Re: selecting fonts in xetex
2011/5/10 Richard Heck rgh...@comcast.net: I tried several for my forthcoming book, though I eventually settled on New Century Schoolbook, mostly because switching to XeTeX threatened to change too much else. But I liked the Liberation and Linux Libertine fonts a lot, and also the Stix ones. I also like Libertine Biolinum. Other fonts that were suggested elsewhere on this list are Fontin Fontin Sans, and Minion Pro (the latter not freely available, but please correct me). Otherwise, you can stick with good old Palatino Optima (available as URW Classico) even when compiling with XeTeX. Regards Liviu
Re: Subfigures: \subref support?
On Tue, May 10, 2011 at 3:09 PM, Diego Queiroz queiroz.di...@gmail.com wrote: Thanks for the answers. But I think I wasn't clear. I want to use the \subref command not the \ref one (supported by default on LyX). The difference between them is that \ref produces 1a while \subref produces only a. I need to cite subfigures in the caption of the main float. Example.: Fig(a) --- Fig(b) Figure 1: Here you see some figure (a) and another figure (b). Got it? But now I'm almost sure LyX really doesn't really support it. If so, this is another good (and simple) improvement for LyX 2.1. :-) Isn't this precisely what I gave you in the sample file? (I didn't put the cross-reference in the figure caption, but that's trivial.) In short, LyX supports it and makes it easy. BH
Re: Subfigures: \subref support?
Isn't this precisely what I gave you in the sample file? (I didn't put the cross-reference in the figure caption, but that's trivial.) In short, LyX supports it and makes it easy. BH Not really. The file you gave me generate 1a, 1b... as expected for a output in the text. What I want is just a, b (without the number 1). Cheers, --- Diego Queiroz
Request for Feature
Now that time for new features has passed :-)-O I wonder if one can integrate something like the todonotes package in a manner similar to the Comment or LyX-Note features, in other words I would like to see a comment or note appear in a frame with color background in the margin. Any ideas? By the way I have tossed 1.6 already a while back, I do plain everything with LyX these days, OR reports, patient letters, articles, speeches and what not (even a little SWeave). Have even installed gnumeric for the spreadsheet table business but must confess Apple Kenynote is so much better than anything else that I don't think I'll do presentations with beamer again :-)-O Thanks everybody involved so very much for this marvelous piece of software. el -- Dr. Eberhard W. Lisse \/ Obstetrician Gynaecologist e...@lisse.na/ * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way
Re: Request for Feature
On Wed, May 11, 2011 at 12:21 AM, Dr Eberhard W Lisse e...@lisse.na wrote: Now that time for new features has passed :-)-O I wonder if one can integrate something like the todonotes package in a manner similar to the Comment or LyX-Note features, in other words I would like to see a comment or note appear in a frame with color background in the margin. Any ideas? Perhaps the todonotes module [1]? Never tried it, though. [1] http://wiki.lyx.org/Layouts/Modules#toc2 By the way I have tossed 1.6 already a while back, I do plain everything with LyX these days, OR reports, patient letters, articles, speeches and what not (even a little SWeave). Nice to hear. :) Have even installed gnumeric for the spreadsheet table business but must confess Apple Kenynote is so much better than anything else that I don't think I'll do presentations with beamer again :-)-O If you're missing the fancy transitions, you might want to try Impressive [1]. It does this, and so much more. I also hear that people like to do presentations in Scribus, perhaps something to try. [1] http://alternativeto.net/software/impressive/ Regards Liviu Thanks everybody involved so very much for this marvelous piece of software. el -- Dr. Eberhard W. Lisse \ / Obstetrician Gynaecologist e...@lisse.na / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Change margins to handle recto and verso pages in Memoir
I posted this message two days ago; but it has not appeared on the list, though it is in the archive (with no responses); So here it is again: Hi to the most helpful users-list I know, I am using memoir to print a book, with a wide margin for graphics. As I don't need this wide empty margin when printing pagenotes, I need to change margins for the page notes at the end of each chapter. I can do this with the preamble code: \newenvironment{changemargin}[2]{% \begin{list}{}{% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}}% \item[]}{\end{list}} Then in ERT in the text: \clearpage \begin{changemargin}{0cm}{-2.8cm} \printpagenotes* \end{changemargin} Since some page notes run for two pages, I need to cope with recto and verso pages, whereas the above values need to be set up for one or the other. I have tried innermargin outermargin or spinemargin edgemargin with no recognition. Do I need to use Boolean programing (ifrecto or ifverso) to handle this switching of margins, or does memoir have a simpler way? I would greatly appreciate advice on this one. Cheers, George Legge
Re: Change margins to handle recto and verso pages in Memoir
On 10/05/2011 7:10 PM, george legge wrote: I posted this message two days ago; but it has not appeared on the list, though it is in the archive (with no responses); So here it is again: Hi to the most helpful users-list I know, I am using memoir to print a book, with a wide margin for graphics. As I don't need this wide empty margin when printing pagenotes, I need to change margins for the page notes at the end of each chapter. I can do this with the preamble code: \newenvironment{changemargin}[2]{% \begin{list}{}{% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}}% \item[]}{\end{list}} Then in ERT in the text: \clearpage \begin{changemargin}{0cm}{-2.8cm} \printpagenotes* \end{changemargin} Since some page notes run for two pages, I need to cope with recto and verso pages, whereas the above values need to be set up for one or the other. I have tried innermargin outermargin or spinemargin edgemargin with no recognition. Do I need to use Boolean programing (ifrecto or ifverso) to handle this switching of margins, or does memoir have a simpler way? I would greatly appreciate advice on this one. Cheers, George Legge Hi, Your message did appear. Unfortunately no answers. What about \evensidemargin and \oddsidemargin Julien
Re: Request for Feature
Liviu On 2011-05-10 23:39 , Liviu Andronic wrote: [...] Perhaps the todonotes module [1]? Never tried it, though. [1] http://wiki.lyx.org/Layouts/Modules#toc2 Oh, very cool. But I had to download the module put it into local layouts and reconfigure. [...] If you're missing the fancy transitions, you might want to try Impressive [1]. It does this, and so much more. I also hear that people like to do presentations in Scribus, perhaps something to try. [1] http://alternativeto.net/software/impressive/ Not the transitions, but the ase with which I can hack up a presentation :-)-O el -- Dr. Eberhard W. Lisse \/ Obstetrician Gynaecologist e...@lisse.na/ * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way
Re: Request for Feature
On Wed, May 11, 2011 at 2:05 AM, Dr Eberhard W Lisse e...@lisse.na wrote: Liviu On 2011-05-10 23:39 , Liviu Andronic wrote: [...] Perhaps the todonotes module [1]? Never tried it, though. [1] http://wiki.lyx.org/Layouts/Modules#toc2 Oh, very cool. But I had to download the module put it into local layouts and reconfigure. File an enhancement request to get it shipped with LyX by default. [...] If you're missing the fancy transitions, you might want to try Impressive [1]. It does this, and so much more. I also hear that people like to do presentations in Scribus, perhaps something to try. [1] http://alternativeto.net/software/impressive/ Not the transitions, but the ase with which I can hack up a presentation :-)-O Yes, creating beamer slides even in LyX is not for the faint-hearted. Liviu el -- Dr. Eberhard W. Lisse \ / Obstetrician Gynaecologist e...@lisse.na / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;/ if it is DNS related in ANY way -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Anybody helps about img path
I found anothere way to solve this problem. Hopes it works for people have this issue. Here are some more infor. When converting EPS to PDF. Platform: WinXP sp3, MicTex2.9 (I use XeTex) this is the latex article. \documentclass{article} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in} \usepackage{graphicx} \usepackage{xunicode} \begin{document} This is a drill. \includegraphics[width=0.8\textwidth]{exam1} \end{document} The lyx file and exam1.eps are all under c:/. When using Lyx to write an article, contains a EPS figure, the pdf figure always lose some information after converting by Lyx. I think this has nothing to do with Lyx. It seems this is due to epstopdf.exe in MiKTeX 2.9\miktex\bin. I tried this in cmd epstopdf.exe fig.eps, and it generates a same pdf lose some information in the eps fig, e.g. lagend, or X Y title is mising. To solve this, I write a bat named epstopdf.bat and put it in folder MiKTeX 2.9\miktex\bin(epstopdf.exe is renamed). The bat contains the following information: gswin32c -dSAFER -dNOPAUSE -dQUIET -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=%~dpn1.pdf %~dpnx1 And the conventer for EPS to PDF is set to epstopdf $$i. It works fine under Lyx1.6. When I updated my Lyx to 2.0. It is wrong this time. It seems that Lyx2.0 will copy eps to a temporal folder and conventer it to pdf in that folder, but epstopdf.bat doesn't know the whole path. (In fact Lyx1.6 did also but epstopdf.bat know the directory.) Lyx2.0 just pops up an error cannot find that temporal file. here are the error info. ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(754): insetgraphics::latex: Filename = C://exam1.eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(764): Message = ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(779): Opts = width=0.8\textwidth ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(786): Before = \includegraphics[width=0.8\textwidth] after = ..\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(461): Comparing C://exam1.eps and C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ..\..\..\lyx-2.0.0\src\support\FileName.cpp(592): Checksumming C://exam1.eps 2910557309 lasted 0 ms. ..\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ..\..\..\lyx-2.0.0\src\support\FileName.cpp(228): Copying C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ..\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(109): findTargetFormat: PDF mode ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(676):we have: from eps to pdf ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(682): the orig file is: C://exam1.eps ..\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(731): The original file is C://exam1.eps A copy has been made and convert is to be called with: file to convert = C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps from eps to pdf ..\..\lyx-2.0.0\src\Converter.cpp(372): Converting from eps to pdf ..\..\lyx-2.0.0\src\Converter.cpp(437): Calling epstopdf 0C___exam1.eps ..\..\..\lyx-2.0.0\src\support\Systemcall.cpp(217): Systemcall: 'epstopdf 0C___exam1.eps' did not start! ..\..\..\lyx-2.0.0\src\support\Systemcall.cpp(218): error The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program. Error: Cannot convert file In order to check whether bat doesn't know the whole path of the temporal eps file. I write the bat to a python version just using os.system(...) instead and log some information. (Because I don't know how to log in bat.) So that python file is named to epstopdf.py. And I put it in LyX20\Resources\scripts. The conventer is set to python -tt $$s/scripts/epstopdf.py $$i. Well, I am strange that this time it works well. But I am still confused why python works but bat doesn't work.
[announce] LyXWinInstaller for LyX 1.6.10
Hello LyXers, the alternative Windows installer for LyX 1.6.10 is now available. This installer comes again with an update installer to update existing LyX 1.6.9 installation to LyX 1.6.10. NOTE: To be able to use this update installer, LyX 1.6.9 must have been installed with the alternative Windows installer. - The installer for this version can be downloaded from: http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18526 and http://ftp.lyx.org/pub/lyx/bin/1.6.10/ (General infos about the installer can be found here: http://wiki.lyx.org/Windows/LyXWinInstaller ) Installer Changelog: - Version 4.28 - LyX 1.6.10 - updated to eLyXer 1.2.1 - updated to ImageMagick 6.6.9-7 - updated to Ghostscript 9.02 - updated to MiKTeX 2.9 (build 4106) - --- This will be the last installer version I provide under the name LyXWinInstaller. Starting with LyX 2.0.0 there will only be one LyX for Windows installer. The installer for 2.0.0 does not yet contain all features of the LyXWinInstaller but for LyX 2.0.1 the installer should have them. For this purpose I need your help for a survey when features you need of which if the existing features you don't like. See my corresponding post on the lyx-users mailing list. thanks for all the years and happy LyXing Uwe
Re: Anybody helps about img path
On 10/05/2011 9:23 PM, junzhouzhao wrote: I found anothere way to solve this problem. Hopes it works for people have this issue. Here are some more infor. When converting EPS to PDF. Platform: WinXP sp3, MicTex2.9 (I use XeTex) this is the latex article. \documentclass{article} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{verbose,tmargin=0.75in,bmargin=0.75in,lmargin=0.75in,rmargin=0.75in} \usepackage{graphicx} \usepackage{xunicode} \begin{document} This is a drill. \includegraphics[width=0.8\textwidth]{exam1} \end{document} The lyx file and exam1.eps are all under c:/. When using Lyx to write an article, contains a EPS figure, the pdf figure always lose some information after converting by Lyx. I think this has nothing to do with Lyx. It seems this is due to epstopdf.exe in MiKTeX 2.9\miktex\bin. I tried this in cmd epstopdf.exe fig.eps, and it generates a same pdf lose some information in the eps fig, e.g. lagend, or X Y title is mising. To solve this, I write a bat named epstopdf.bat and put it in folder MiKTeX 2.9\miktex\bin(epstopdf.exe is renamed). The bat contains the following information: gswin32c -dSAFER -dNOPAUSE -dQUIET -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=%~dpn1.pdf %~dpnx1 And the conventer for EPS to PDF is set to epstopdf $$i. It works fine under Lyx1.6. When I updated my Lyx to 2.0. It is wrong this time. It seems that Lyx2.0 will copy eps to a temporal folder and conventer it to pdf in that folder, but epstopdf.bat doesn't know the whole path. (In fact Lyx1.6 did also but epstopdf.bat know the directory.) Lyx2.0 just pops up an error cannot find that temporal file. here are the error info. ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(754): insetgraphics::latex: Filename = C://exam1.eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(764): Message = ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(779): Opts = width=0.8\textwidth ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(786): Before = \includegraphics[width=0.8\textwidth] after = ...\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(461): Comparing C://exam1.eps and C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ...\..\..\lyx-2.0.0\src\support\FileName.cpp(592): Checksumming C://exam1.eps 2910557309 lasted 0 ms. ...\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ...\..\..\lyx-2.0.0\src\support\FileName.cpp(228): Copying C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps ...\..\..\lyx-2.0.0\src\support\FileName.cpp(941): Recognised Fileformat: eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(109): findTargetFormat: PDF mode ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(676): we have: from eps to pdf ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(682): the orig file is: C://exam1.eps ...\..\..\lyx-2.0.0\src\insets\InsetGraphics.cpp(731): The original file is C://exam1.eps A copy has been made and convert is to be called with: file to convert = C:/Documents and Settings/Administrator/Local Settings/Temp/lyx_tmpdir.Hp2276/lyx_tmpbuf2/0C___exam1.eps from eps to pdf ...\..\lyx-2.0.0\src\Converter.cpp(372): Converting from eps to pdf ...\..\lyx-2.0.0\src\Converter.cpp(437): Calling epstopdf 0C___exam1.eps ...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(217): Systemcall: 'epstopdf 0C___exam1.eps' did not start! ...\..\..\lyx-2.0.0\src\support\Systemcall.cpp(218): error The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program. Error: Cannot convert file In order to check whether bat doesn't know the whole path of the temporal eps file. I write the bat to a python version just using os.system(...) instead and log some information. (Because I don't know how to log in bat.) So that python file is named to epstopdf.py. And I put it in LyX20\Resources\scripts. The conventer is set to python -tt $$s/scripts/epstopdf.py $$i. Well, I am strange that this time it works well. But I am still confused why python works but bat doesn't work. It's possible that there have been some changes in the 2.0 development that broke a call to a .bat script, I'll let someone more knowledgeable answer. -- Julien
Re: Patch for the CJK InputMethod
On 09/05/2011 9:57 AM, Atsushi Shimmura wrote: Hi, I use LyX 2.0.0 very useful.By the way, I have a patch for the CJK InputMethod.In a long Japanese(probably CJK) sentence, it would be color-coding the sentence.(spot and all) See the attached picture please. It is made by Kameda,Iwami and me. Please manage this patch as you think fit. Thanks, This looks interesting. So it delimits the words in a long sentence, is that right? I am not sure I understand. Also, I am curious: do you use platex? Is instant-preview of math insets working for you? Thanks, Regards, Julien
Need help getting APA citing working
Hello! I am commencing my B.InfoTech (Hons) and want to use Lyx for reports, thesis etc. I have installed the new Lyx 2.0 on my Macbook Pro and am using up to date Mactex live from the mirror.aarnet.edu.au mirror) and am experimenting using the article (KOMA-Script) document class. Into my document, I have inserted a Bibtex generated Bibliography, selected Natbib Author-year, using apacite and pointed it at my marklivingstone.bib file. I typed some text and inserted some trial citations selecting (author, year) type citation as appropriate for varying numbers of authors. When I do an update, and view, I get a beautiful result, but the citations use and instead of , and the volume numbers are not italicised. Before bothering you guys, I went to the Wiki and found the APALyX page. I downloaded the ApaExample.lyx which I note also uses apacite and which has correctly done ampersand signs and volume number citation style. This tells me I must have all the requisite class / style / etc files. Unfortunately, I am very new to Latex / Lyx, and I don't know how to fix my citations. I considered using the ApaExample.lyx but its stylistic elements are just too far from my desired requirements. I don't want their style, just their citation format ;-) On the ApaLyX page, it says you will need an apa.layout file and says to get it (and doesn't say where from!) Thanks in advance, MarkL
Re: Patch for the CJK InputMethod
Hi, On Tue, 10 May 2011 22:59:58 -0400 Julien Rioux jri...@physics.utoronto.ca wrote: This looks interesting. So it delimits the words in a long sentence, is that right? I am not sure I understand. Yes. Almost IM system is from the first. When we input information, the first input is a sentence usually. So we convert each phrase in a Japanese(CJK) sentence. LyX too. But the underline specifications is an incorrect action, because we correct erroneous parts... Also, I am curious: do you use platex? Is instant-preview of math insets working for you? Yes I use.Is that attached file?Yes it work. regars, -- Atsushi Shimmura a.shimm...@gmail.com attachment: sample.jpg
Re: Need help getting APA citing working
On 11/05/2011 1:07 AM, Mark Livingstone wrote: Hello! I am commencing my B.InfoTech (Hons) and want to use Lyx for reports, thesis etc. I have installed the new Lyx 2.0 on my Macbook Pro and am using up to date Mactex live from the mirror.aarnet.edu.au mirror) and am experimenting using the article (KOMA-Script) document class. Into my document, I have inserted a Bibtex generated Bibliography, selected Natbib Author-year, using apacite and pointed it at my marklivingstone.bib file. I typed some text and inserted some trial citations selecting (author, year) type citation as appropriate for varying numbers of authors. When I do an update, and view, I get a beautiful result, but the citations use and instead of , and the volume numbers are not italicised. Before bothering you guys, I went to the Wiki and found the APALyX page. I downloaded the ApaExample.lyx which I note also uses apacite and which has correctly done ampersand signs and volume number citation style. This tells me I must have all the requisite class / style / etc files. Unfortunately, I am very new to Latex / Lyx, and I don't know how to fix my citations. I considered using the ApaExample.lyx but its stylistic elements are just too far from my desired requirements. I don't want their style, just their citation format ;-) On the ApaLyX page, it says you will need an apa.layout file and says to get it (and doesn't say where from!) Thanks in advance, MarkL Hi, First, apa.layout is nowadays shipped with the regular install of LyX. Second, you might try to put the following line in the LaTeX preamble (Document Settings LaTeX preamble) \usepackage{apacite} (not tested) -- Julien
Re: Patch for the CJK InputMethod
On 11/05/2011 1:19 AM, Atsushi Shimmura wrote: Hi, On Tue, 10 May 2011 22:59:58 -0400 Julien Riouxjri...@physics.utoronto.ca wrote: This looks interesting. So it delimits the words in a long sentence, is that right? I am not sure I understand. Yes. Almost IM system is from the first. When we input information, the first input is a sentence usually. So we convert each phrase in a Japanese(CJK) sentence. LyX too. But the underline specifications is an incorrect action, because we correct erroneous parts... Also, I am curious: do you use platex? Is instant-preview of math insets working for you? Yes I use.Is that attached file?Yes it work. regars, Sorry, I meant the display of math preview inside the LyX screen itself. LaTeX is used (in your case platex) to produce a small image file. Then it is displayed on the screen. This is activated in the menu: Tools Preferences Display. It is called instant preview and has three settings On, Off, and No math. When set to On it should transform your math into an image as I described. From your screenshot it looks like it does not. Regards, Julien