Re: Child document and "Undefined control sequence"
On 07/15/2011 06:10 AM, Giacomo Z wrote: > Dear all, > > I am having a problem with a child document - I attached the minimal > working files to be copied in the same directory. The "master" file > contains the child document "Child" (as include). When I try to > compile the PDF I get several "Undefined control sequence" error. If I > open only the child document "Child", I can compile the PDF with no > problem. I tried some solutions I found on the list but with no > success so far. > > Some more information: > - AMS maths package seems to be active in both files > - Preamble is empty for both files > > Any idea on how can I solve the problem? > Actually, I'll report this. I see the problem. rh
Re: Child document and "Undefined control sequence"
On 07/15/2011 06:10 AM, Giacomo Z wrote: > Dear all, > > I am having a problem with a child document - I attached the minimal > working files to be copied in the same directory. The "master" file > contains the child document "Child" (as include). When I try to > compile the PDF I get several "Undefined control sequence" error. If I > open only the child document "Child", I can compile the PDF with no > problem. I tried some solutions I found on the list but with no > success so far. > > Some more information: > - AMS maths package seems to be active in both files > - Preamble is empty for both files > > Any idea on how can I solve the problem? > I can confirm the bug. The problem is that, for some reason, certain macros the child needs are not being written to the preamble for the master, when those constructs are only present in the child. What's weirder is that they DO appear in View>Source for the master, when you check "Complete source". I'll try to fix this soon. A workaround would be (a) to export the child as LaTeX, (b) open it in a text editor, (c) find the declarations of the \textgreek and \lyxmathsym stuff in there, and (d) manually copy that stuff to the preamble of the master. Ugly, I know, but it should help. Richard PS Can you please report this bug on trac, and attach these files?
Re: Goodbye message and the search for a new LyX Debian package maintainer
Thank you for the good work over the years, Sven! Your effort will be greatly missed. Best wishes, Sam > Sven Hoexter wrote: > >> Hi all, >> I already switched my work focus away from things where LyX is involved >> (about half a year ago), but only recently settled for a new fulltime >> employment starting next week. So after about five years maintaining the >> LyX package in Debian together with Per this is kind of my goodbye message >> to all the marvelous people who helped me/us along the way.[+] > > Hi Sven, > > I am amazed that is was such a long time. Thank you very much for your > effort, it surely has helped a lot of people. For me it was a pleasure to > work together with you. I hope that we soon get a new maintaner who keeps up > the good work. > > > Georg >
Re: Goodbye message and the search for a new LyX Debian package maintainer
Sven Hoexter wrote: > Hi all, > I already switched my work focus away from things where LyX is involved > (about half a year ago), but only recently settled for a new fulltime > employment starting next week. So after about five years maintaining the > LyX package in Debian together with Per this is kind of my goodbye message > to all the marvelous people who helped me/us along the way.[+] Hi Sven, I am amazed that is was such a long time. Thank you very much for your effort, it surely has helped a lot of people. For me it was a pleasure to work together with you. I hope that we soon get a new maintaner who keeps up the good work. Georg
Re: Portable version of LyX? [solved]
>> >> Just replace the LyX folder of the LyteX folder with the new one. >> >> Phil > This is very easy and does its job fine. Why then this projekt ist > abandoned? It should be easy to do and it ist very important for the . I use LyTeX for my LyX and it seems to be just fine, although it's version 1.6.5 and i haven't wanted to chance an upgrade to 2.0 for fear of compatibility problems..or completely knocking out my LyX. So I might be willing to try this idea to make a new folder and renaming the old one. That won't break anything and I could always go back if it doesn't work as I expect... or even .. I could just copy and make two flash drives; one with 1.6.5 and one with 2.0. Could you be specific on how you make a new lyx folder?.. I mean what do you download and install to make just the folder and not install the full system with miktex, etc. Thanks, Phil
Re: Difference between 'LyX note' and 'comment'
On Fri, Jul 15, 2011 at 1:57 PM, Liviu Andronic wrote: > On Fri, Jul 15, 2011 at 2:45 PM, Paul Smith wrote: >> Could you please tell me the difference between 'LyX note' and 'comment'? >> > Help > User's Guide > Section 4.1. Thanks, Liviu. Paul
Re: Difference between 'LyX note' and 'comment'
On Fri, Jul 15, 2011 at 2:45 PM, Paul Smith wrote: > Could you please tell me the difference between 'LyX note' and 'comment'? > Help > User's Guide > Section 4.1. Liviu
Difference between 'LyX note' and 'comment'
Dear All, Could you please tell me the difference between 'LyX note' and 'comment'? Thanks in advance, Paul
Child document and "Undefined control sequence"
Dear all, I am having a problem with a child document - I attached the minimal working files to be copied in the same directory. The "master" file contains the child document "Child" (as include). When I try to compile the PDF I get several "Undefined control sequence" error. If I open only the child document "Child", I can compile the PDF with no problem. I tried some solutions I found on the list but with no success so far. Some more information: - AMS maths package seems to be active in both files - Preamble is empty for both files Any idea on how can I solve the problem? Thanks a lot for your help. Giacomo master.lyx Description: Binary data child.lyx Description: Binary data
Re: formatted cross-reference to subsection broken
Am 14.07.2011 um 19:47 schrieb Julien Rioux: > On 14/07/2011 7:08 AM, Sebastian Rockel wrote: >> >> Am 09.07.2011 um 16:49 schrieb Richard Heck: >> >>> On 07/09/2011 10:08 AM, Sebastian Rockel wrote: Hi, I am using Lyx-2.0 with KOMA-book class (pdflatex) on Mac OSX 10.6.8. I am often using the cross-reference option 'Formatted reference' as it is quite convenient to have automatic addition of 'figure', 'section' etc. Nevertheless I noticed (by accident) that in the Lyx window references appear to be fine but show up in the final pdf as '??'. This is the case for references within a 'subsection'. This is a little bit annoying as it can be overseen in a larger document easily. Is this a bug? Has anyone else this problem? Any comments? >>> The reason for this is that LyX by default uses the prefix "sub" for >>> such references, as you create them, but neither prettyref nor refstyle >>> defines a format for this. I'm not sure if that counts as a bug or not. >>> Anyway, you can deal with it two ways. >> >> Thanks for the explanation. >> IMO another solution would be that LyX by default uses 'sec' instead of >> 'sub'. >> >>> (i) Put a format declaration for "sub" references into your preamble. >>> How you do this depends upon whether you are using refstyle or >>> prettyref. (This is set under Document>Settings.) For prettyref, you can >>> do something like: >>>\newrefformat{sub}{Subsection \ref{#1}} >>> For refstyle: >>>\newref{sub}{refcmd={Subsection \ref{#1}}} >>> Of course, you can adapt these as you wish. >>> >>> (ii) Modify what LyX uses for subsections. This is a matter of layout, >>> and can be done in a module, in local layout (under Document>Settings), >>> or wherever you wish: >>>Style Subsection >>>RefPrefix sec >>>End >>> The defaults are in the file stdrefprefix.inc. If you like, you can copy >>> the system file to your local layout directory (by default, on Linux, >>> ~/.lyx/layouts/), modify it, and then LyX will use it instead of the >>> system one. >> >> I tried local layout and stdrefprefix.inc (under Mac OS) but it didn't work >> (still '??'). >> For the time being I don't use LyX 'formatted reference' and keep manually >> writing 'section'. >> >> Sebastian > > Are you by any chance also using subfloats? i.e. floats within floats? > There is a incompatibility between the package used by LyX to do this, and > the refstyle package used for formatted references. Indeed I am using subfloats. Thanks for pointing that out. Sebastian
Re: formatted cross-reference to subsection broken
Am 14.07.2011 um 16:47 schrieb Richard Heck: > On 07/14/2011 07:08 AM, Sebastian Rockel wrote: >> Am 09.07.2011 um 16:49 schrieb Richard Heck: >> >>> On 07/09/2011 10:08 AM, Sebastian Rockel wrote: Hi, I am using Lyx-2.0 with KOMA-book class (pdflatex) on Mac OSX 10.6.8. I am often using the cross-reference option 'Formatted reference' as it is quite convenient to have automatic addition of 'figure', 'section' etc. Nevertheless I noticed (by accident) that in the Lyx window references appear to be fine but show up in the final pdf as '??'. This is the case for references within a 'subsection'. This is a little bit annoying as it can be overseen in a larger document easily. Is this a bug? Has anyone else this problem? Any comments? >>> The reason for this is that LyX by default uses the prefix "sub" for >>> such references, as you create them, but neither prettyref nor refstyle >>> defines a format for this. I'm not sure if that counts as a bug or not. >>> Anyway, you can deal with it two ways. >> Thanks for the explanation. >> IMO another solution would be that LyX by default uses 'sec' instead of >> 'sub'. >> >>> (i) Put a format declaration for "sub" references into your preamble. >>> How you do this depends upon whether you are using refstyle or >>> prettyref. (This is set under Document>Settings.) For prettyref, you can >>> do something like: >>> \newrefformat{sub}{Subsection \ref{#1}} >>> For refstyle: >>> \newref{sub}{refcmd={Subsection \ref{#1}}} >>> Of course, you can adapt these as you wish. >>> >>> (ii) Modify what LyX uses for subsections. This is a matter of layout, >>> and can be done in a module, in local layout (under Document>Settings), >>> or wherever you wish: >>> Style Subsection >>> RefPrefix sec >>> End >>> The defaults are in the file stdrefprefix.inc. If you like, you can copy >>> the system file to your local layout directory (by default, on Linux, >>> ~/.lyx/layouts/), modify it, and then LyX will use it instead of the >>> system one. >> I tried local layout and stdrefprefix.inc (under Mac OS) but it didn't work >> (still '??'). >> For the time being I don't use LyX 'formatted reference' and keep manually >> writing 'section'. >> > Putting the above into local layout (make sure you put "Format 35" as > the first line, though) should change the default. It won't change > what's already there. Added this, but no change. What I recognized is that formatted references (I use refstyle) are fine within a one file document, i.e. added 'section'. But when I have child documents included they appear as '??' Sebastian