Re: Compiling Root document from child document?
[EMAIL PROTECTED] wrote: bigblop wrote: If I compile the child separately the references from my .bib file does not show (only appears as question marks). It can be done, but it's a bit more advanced and I'm not sure I remember how I did it. Here is an example how I did it: In the main document, put these two lines in the preamble: , [master.lyx preamble] . \usepackage{comment} \excludecomment{subbib} '-' In the child documents, you have to include the following in the preamble: , [child.lyx preamble] . \usepackage{comment} \includecomment{subbib} '-' In the master document, you can include the bibliography normally. In the child documents, however, you have to embed it in the 'subbib' environment (which is created by the package 'comment' and the command 'includecomment'). This has to be done in ERT, not with the bibliography-dialog: , [child.lyx document] --. \begin{subbib} \bibliographystyle{bibstyle} \bibliography{bib file} \end{subbib} '' When you now compile the master document, the 'subbib' environments are ignored. If you compile a child document, they are included. Regards, Dominik.-
Re: Compiling Root document from child document?
Ha! That was exactly what I needed! I just put: \bind M-1 master-buffer-update pdf2 in my bind file and know the master is compiled from the child when I press Alt-1. A perfect and simple solution. Thanks. Jürgen Spitzmüller-2 wrote: bigblop wrote: Is there someway to compile the main.lyx file from a child document? If you have opened the child document from the master document (or after you have once processed the master), you can compile the master from the child with the command master-buffer-update pdf2 (for pdflatex, as an example; there's also master-buffer-view and you can substitute pdf2 by any output format). You can either input this command in the minibuffer, or you can create your own toolbar or menu item or shortcuts for this. In fact, you can even replace the standard commands buffer-view and buffer-update with these, since if no master is found, the document itself gets compiled. In 1.6, things will get a bit easier. There you can allocate a master buffer to a child in the document dialog, so the first step is not needed anymore. Jürgen -- View this message in context: http://www.nabble.com/Compiling-Root-document-from-child-document--tp18411658p18417389.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: interesting behaviour
John Coppens ha scritto: LyX uses existing tools to make the final PDF (not included with the LyX package). So the size doesn't really depend on LyX, but on the tools you have installed. Eg. pdflatex is one of the popular tools, dvipdf and ps2pdf are others. Check in Preferences, in the converter section, which is configured. John Hello and thanks i found what was the problem, i went into preferences-files and unselected the vectorial graphic option in pdflatex.. then the size became 9Mb.. i hope this won't cause printing problems.. Assa
New documentclass (NCC) in LyX (LyX 1.6) — how to?
Hi! I need to use any document class, for example the NCC (http:// texcatalogue.sarovar.org/entries/ncclatex.html), which is not present in LyX (although MikTeX 2.7 has NCC). They propose to make new.layout on the basis of class.cls and class.sty files to use such classes. I tried to make the layout file, but with no success: -- # \DeclareLaTeXClass[book, ncclatex.sty]{book (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Preamble \usepackage{ncclatex} EndPreamble -- New class appears in the drop-down list in LyX dialog window, but if I try to select it, I only get error messages Could not load class. Additionally, using NCC, document class must be defined as \documentclass[book]{ncc} not as \documentclass[ncc]{book} But if I write -- # \DeclareLaTeXClass[ncc, ncclatex.sty]{ncc (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Preamble \usepackage{ncclatex} EndPreamble -- new class not even appears in LyX list of classes. Could anybody tell me: 1) How to make the layout file for LyX 1.6 correctly; must I re-edit full content of ncc.cls, ncclatex.sty etc. in layout file or no (and how to); must I make .inc-file, etc.; 2) Is there a way to don't use the LyX drop-down list of classes presented in document' preferences dialog window and, so, just to write \documentclass in the preambula? May be, it have to mare any empty layout file, choose it in drop-down list, but also write essential \documentclass in the preambula? It would be the simplest the best solution.
Re: Getting started presentation
On Sat, 2008-07-12 at 07:06 +0200, Jürgen Spitzmüller wrote: Waluyo Adi Siswanto wrote: As a new LyX user, I have no idea how to prepare presentation using LyX. How can I learn LyX for presentation, is there any documentation, Getting Started presentation document or tutorial to prepare presentation. In document class, presentation(Foiltex, beamer, powerdot, slide and seminar) are already available. You can find examples for both beamer and powerdot in the LyX examples folder, and there is also a beamer template (File-New from Template...). Jürgen Thank you .. It's a good template to get started. I'm just wondering, in the presentation, do I have to play from the pdf or there is another way to make the presentation. (My mindset is still in MS Powerpoint: Slide show start/F5) Regards../Adi
Re: Getting started presentation
Waluyo Adi Siswanto wrote: Thank you .. It's a good template to get started. I'm just wondering, in the presentation, do I have to play from the pdf or there is another way to make the presentation. (My mindset is still in MS Powerpoint: Slide show start/F5) You display the PDF. You can do this in presentation mode of Acrobat or another PDF viewer of your choice, or you can use a dedicated PDF presentation program such as keyJnote, which adds some nifty features useful especially for presentations (such as zooming in, spotlight, all-slides-preview, etc.). Jürgen
modify unsw layout to change alignment
Hi, Mark has provided a handy UNSW thesis layout based on the amsbook for lyx ( http://www.threewordslong.com/blog/entry/63/A_LyX_Thesis_Layout_for_UNSW_T) and I found it pretty nice in general for what I need, saving a lot of hassle of creating all the required pages from scratch. However, I would like to make a few changes and not very sure how I can do that without messing with the lengthy amsbook style. 1. Bigger fonts for all the chapter/section/subsection 2. Change the Chapter/Section to be Left aligned 3. A new line for subsubsection I have tried to change the class to book/memoir style and it looks obvious that the layout doesn't work because some of the preambles depend on amsbook stuff (my guess). Any idea would be much appreciated.
Re: New documentclass (NCC) in LyX (LyX 1.6) — how to?
You need (at least) the following changes and additions: neGODnick wrote: -- # \DeclareLaTeXClass[ncc,ncclatex.sty]{book (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Format 7 Preamble \usepackage{ncclatex} EndPreamble ClassOptions Other book End Input book.layout -- But if I write -- # \DeclareLaTeXClass[ncc, ncclatex.sty]{ncc (NCC-LaTeX)} [...] -- new class not even appears in LyX list of classes. Make sure ncc is found by kpsewhich (i.e. run texhash or update the MikTeX database, for that matter) and, after the layout is set up, run Edit-Reconfigure from within LyX. HTH, Jürgen
pdfscreen
There is a LyX version, in principle. Unfortunately the link http://www.math.tau.ac.il/~dekelts/lyx/pdfscreen.tar.gz given in this page http://me.in-berlin.de/~miwie/presentations/html/pdfscreen.html is outdated I'm a simple user, so don't know how it could be implemented after finding it somewhere (where?) on the net. Thanks, Sandor
Could not remove temporary directory...
When I close LyX (1.5.5 for winXP) I always get the message: Could not remove temporary directory C:/Documents and Settings/bob... twice. I just click ok each time and they disappear, but is there someway to fix this? -- View this message in context: http://www.nabble.com/%22Could-not-remove-temporary-directory...%22-tp18424265p18424265.html Sent from the LyX - Users mailing list archive at Nabble.com.
problem of lyx in sidux
Hello, I use the sidux OS (=debian sid) and I use the latest debian lyx package (1.5.5-1) and lyx version 1.5.5). When I start lyx I get the gui of lyx. When I do Help -- Tutorial, I get the tutorial in lyx. But when converting this lyx file to pdf I get a pop-up error: Lyx:Cannot convert file No information for converting xpm format files to png. Define a converter in the preferences. And the lyx app freezes. How can I remedy this problem? Jan '
Re: Compiling Root document from child document?
[EMAIL PROTECTED] wrote: bigblop wrote: If I compile the child separately the references from my .bib file does not show (only appears as question marks). It can be done, but it's a bit more advanced and I'm not sure I remember how I did it. Here is an example how I did it: In the main document, put these two lines in the preamble: , [master.lyx preamble] . \usepackage{comment} \excludecomment{subbib} '-' In the child documents, you have to include the following in the preamble: , [child.lyx preamble] . \usepackage{comment} \includecomment{subbib} '-' In the master document, you can include the bibliography normally. In the child documents, however, you have to embed it in the 'subbib' environment (which is created by the package 'comment' and the command 'includecomment'). This has to be done in ERT, not with the bibliography-dialog: , [child.lyx document] --. \begin{subbib} \bibliographystyle{bibstyle} \bibliography{bib file} \end{subbib} '' When you now compile the master document, the 'subbib' environments are ignored. If you compile a child document, they are included. Regards, Dominik.-
Re: Compiling Root document from child document?
Ha! That was exactly what I needed! I just put: \bind M-1 master-buffer-update pdf2 in my bind file and know the master is compiled from the child when I press Alt-1. A perfect and simple solution. Thanks. Jürgen Spitzmüller-2 wrote: bigblop wrote: Is there someway to compile the main.lyx file from a child document? If you have opened the child document from the master document (or after you have once processed the master), you can compile the master from the child with the command master-buffer-update pdf2 (for pdflatex, as an example; there's also master-buffer-view and you can substitute pdf2 by any output format). You can either input this command in the minibuffer, or you can create your own toolbar or menu item or shortcuts for this. In fact, you can even replace the standard commands buffer-view and buffer-update with these, since if no master is found, the document itself gets compiled. In 1.6, things will get a bit easier. There you can allocate a master buffer to a child in the document dialog, so the first step is not needed anymore. Jürgen -- View this message in context: http://www.nabble.com/Compiling-Root-document-from-child-document--tp18411658p18417389.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: interesting behaviour
John Coppens ha scritto: LyX uses existing tools to make the final PDF (not included with the LyX package). So the size doesn't really depend on LyX, but on the tools you have installed. Eg. pdflatex is one of the popular tools, dvipdf and ps2pdf are others. Check in Preferences, in the converter section, which is configured. John Hello and thanks i found what was the problem, i went into preferences-files and unselected the vectorial graphic option in pdflatex.. then the size became 9Mb.. i hope this won't cause printing problems.. Assa
New documentclass (NCC) in LyX (LyX 1.6) — how to?
Hi! I need to use any document class, for example the NCC (http:// texcatalogue.sarovar.org/entries/ncclatex.html), which is not present in LyX (although MikTeX 2.7 has NCC). They propose to make new.layout on the basis of class.cls and class.sty files to use such classes. I tried to make the layout file, but with no success: -- # \DeclareLaTeXClass[book, ncclatex.sty]{book (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Preamble \usepackage{ncclatex} EndPreamble -- New class appears in the drop-down list in LyX dialog window, but if I try to select it, I only get error messages Could not load class. Additionally, using NCC, document class must be defined as \documentclass[book]{ncc} not as \documentclass[ncc]{book} But if I write -- # \DeclareLaTeXClass[ncc, ncclatex.sty]{ncc (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Preamble \usepackage{ncclatex} EndPreamble -- new class not even appears in LyX list of classes. Could anybody tell me: 1) How to make the layout file for LyX 1.6 correctly; must I re-edit full content of ncc.cls, ncclatex.sty etc. in layout file or no (and how to); must I make .inc-file, etc.; 2) Is there a way to don't use the LyX drop-down list of classes presented in document' preferences dialog window and, so, just to write \documentclass in the preambula? May be, it have to mare any empty layout file, choose it in drop-down list, but also write essential \documentclass in the preambula? It would be the simplest the best solution.
Re: Getting started presentation
On Sat, 2008-07-12 at 07:06 +0200, Jürgen Spitzmüller wrote: Waluyo Adi Siswanto wrote: As a new LyX user, I have no idea how to prepare presentation using LyX. How can I learn LyX for presentation, is there any documentation, Getting Started presentation document or tutorial to prepare presentation. In document class, presentation(Foiltex, beamer, powerdot, slide and seminar) are already available. You can find examples for both beamer and powerdot in the LyX examples folder, and there is also a beamer template (File-New from Template...). Jürgen Thank you .. It's a good template to get started. I'm just wondering, in the presentation, do I have to play from the pdf or there is another way to make the presentation. (My mindset is still in MS Powerpoint: Slide show start/F5) Regards../Adi
Re: Getting started presentation
Waluyo Adi Siswanto wrote: Thank you .. It's a good template to get started. I'm just wondering, in the presentation, do I have to play from the pdf or there is another way to make the presentation. (My mindset is still in MS Powerpoint: Slide show start/F5) You display the PDF. You can do this in presentation mode of Acrobat or another PDF viewer of your choice, or you can use a dedicated PDF presentation program such as keyJnote, which adds some nifty features useful especially for presentations (such as zooming in, spotlight, all-slides-preview, etc.). Jürgen
modify unsw layout to change alignment
Hi, Mark has provided a handy UNSW thesis layout based on the amsbook for lyx ( http://www.threewordslong.com/blog/entry/63/A_LyX_Thesis_Layout_for_UNSW_T) and I found it pretty nice in general for what I need, saving a lot of hassle of creating all the required pages from scratch. However, I would like to make a few changes and not very sure how I can do that without messing with the lengthy amsbook style. 1. Bigger fonts for all the chapter/section/subsection 2. Change the Chapter/Section to be Left aligned 3. A new line for subsubsection I have tried to change the class to book/memoir style and it looks obvious that the layout doesn't work because some of the preambles depend on amsbook stuff (my guess). Any idea would be much appreciated.
Re: New documentclass (NCC) in LyX (LyX 1.6) — how to?
You need (at least) the following changes and additions: neGODnick wrote: -- # \DeclareLaTeXClass[ncc,ncclatex.sty]{book (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Format 7 Preamble \usepackage{ncclatex} EndPreamble ClassOptions Other book End Input book.layout -- But if I write -- # \DeclareLaTeXClass[ncc, ncclatex.sty]{ncc (NCC-LaTeX)} [...] -- new class not even appears in LyX list of classes. Make sure ncc is found by kpsewhich (i.e. run texhash or update the MikTeX database, for that matter) and, after the layout is set up, run Edit-Reconfigure from within LyX. HTH, Jürgen
pdfscreen
There is a LyX version, in principle. Unfortunately the link http://www.math.tau.ac.il/~dekelts/lyx/pdfscreen.tar.gz given in this page http://me.in-berlin.de/~miwie/presentations/html/pdfscreen.html is outdated I'm a simple user, so don't know how it could be implemented after finding it somewhere (where?) on the net. Thanks, Sandor
Could not remove temporary directory...
When I close LyX (1.5.5 for winXP) I always get the message: Could not remove temporary directory C:/Documents and Settings/bob... twice. I just click ok each time and they disappear, but is there someway to fix this? -- View this message in context: http://www.nabble.com/%22Could-not-remove-temporary-directory...%22-tp18424265p18424265.html Sent from the LyX - Users mailing list archive at Nabble.com.
problem of lyx in sidux
Hello, I use the sidux OS (=debian sid) and I use the latest debian lyx package (1.5.5-1) and lyx version 1.5.5). When I start lyx I get the gui of lyx. When I do Help -- Tutorial, I get the tutorial in lyx. But when converting this lyx file to pdf I get a pop-up error: Lyx:Cannot convert file No information for converting xpm format files to png. Define a converter in the preferences. And the lyx app freezes. How can I remedy this problem? Jan '
Re: Compiling Root document from child document?
[EMAIL PROTECTED] wrote: >> bigblop wrote: >>> If I compile the child separately the references from my .bib file does >>> not show (only appears as question marks). > It can be done, but it's a bit more advanced and I'm not sure I remember > how I did it. Here is an example how I did it: In the main document, put these two lines in the preamble: , [master.lyx preamble] . \usepackage{comment} \excludecomment{subbib} '-' In the child documents, you have to include the following in the preamble: , [child.lyx preamble] . \usepackage{comment} \includecomment{subbib} '-' In the master document, you can include the bibliography normally. In the child documents, however, you have to embed it in the 'subbib' environment (which is created by the package 'comment' and the command 'includecomment'). This has to be done in ERT, not with the bibliography-dialog: , [child.lyx document] --. \begin{subbib} \bibliographystyle{} \bibliography{} \end{subbib} '' When you now compile the master document, the 'subbib' environments are ignored. If you compile a child document, they are included. Regards, Dominik.-
Re: Compiling Root document from child document?
Ha! That was exactly what I needed! I just put: \bind "M-1" "master-buffer-update pdf2" in my bind file and know the master is compiled from the child when I press Alt-1. A perfect and simple solution. Thanks. Jürgen Spitzmüller-2 wrote: > > bigblop wrote: >> Is there someway to compile the main.lyx file from a child document? > > If you have opened the child document from the master document (or after > you > have once processed the master), you can compile the master from the child > with the command "master-buffer-update pdf2" (for pdflatex, as an example; > there's also master-buffer-view and you can substitute pdf2 by any output > format). You can either input this command in the minibuffer, or you can > create your own toolbar or menu item or shortcuts for this. In fact, you > can > even replace the standard commands "buffer-view" and "buffer-update" with > these, since if no master is found, the document itself gets compiled. > > In 1.6, things will get a bit easier. There you can allocate a master > buffer > to a child in the document dialog, so the first step is not needed > anymore. > > Jürgen > > -- View this message in context: http://www.nabble.com/Compiling-Root-document-from-child-document--tp18411658p18417389.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: interesting behaviour
John Coppens ha scritto: LyX uses existing tools to make the final PDF (not included with the LyX package). So the size doesn't really depend on LyX, but on the tools you have installed. Eg. pdflatex is one of the popular tools, dvipdf and ps2pdf are others. Check in Preferences, in the converter section, which is configured. John Hello and thanks i found what was the problem, i went into preferences->files and unselected the "vectorial graphic" option in pdflatex.. then the size became 9Mb.. i hope this won't cause printing problems.. Assa
New documentclass (NCC) in LyX (LyX 1.6) — how to?
Hi! I need to use any document class, for example the NCC (http:// texcatalogue.sarovar.org/entries/ncclatex.html), which is not present in LyX (although MikTeX 2.7 has NCC). They propose to make "new.layout" on the basis of class.cls and class.sty files to use such classes. I tried to make the layout file, but with no success: -- # \DeclareLaTeXClass[book, ncclatex.sty]{book (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Preamble \usepackage{ncclatex} EndPreamble -- New class appears in the drop-down list in LyX dialog window, but if I try to select it, I only get error messages "Could not load class". Additionally, using NCC, document class must be defined as \documentclass[book]{ncc} not as \documentclass[ncc]{book} But if I write -- # \DeclareLaTeXClass[ncc, ncclatex.sty]{ncc (NCC-LaTeX)} # DescriptionBegin # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) # DescriptionEnd Preamble \usepackage{ncclatex} EndPreamble -- new class not even appears in LyX list of classes. Could anybody tell me: 1) How to make the layout file for LyX 1.6 correctly; must I re-edit full content of ncc.cls, ncclatex.sty etc. in layout file or no (and how to); must I make .inc-file, etc.; 2) Is there a way to don't use the LyX drop-down list of classes presented in document' preferences dialog window and, so, just to write \documentclass in the preambula? May be, it have to mare any "empty" layout file, choose it in drop-down list, but also write essential \documentclass in the preambula? It would be the simplest & the best solution.
Re: Getting started presentation
On Sat, 2008-07-12 at 07:06 +0200, Jürgen Spitzmüller wrote: > Waluyo Adi Siswanto wrote: > > As a new LyX user, I have no idea how to prepare presentation using LyX. > > How can I learn LyX for presentation, is there any documentation, > > Getting Started presentation document or tutorial to prepare > > presentation. > > In document class, presentation(Foiltex, beamer, powerdot, slide and > > seminar) are already available. > > You can find examples for both beamer and powerdot in the LyX examples > folder, > and there is also a beamer template ("File->New from Template..."). > > Jürgen Thank you .. It's a good template to get started. I'm just wondering, in the presentation, do I have to play from the pdf or there is another way to make the presentation. (My mindset is still in MS Powerpoint: Slide show start/F5) Regards../Adi
Re: Getting started presentation
Waluyo Adi Siswanto wrote: > Thank you .. It's a good template to get started. > I'm just wondering, in the presentation, do I have to play from the pdf > or there is another way to make the presentation. (My mindset is still > in MS Powerpoint: Slide show start/F5) You display the PDF. You can do this in presentation mode of Acrobat or another PDF viewer of your choice, or you can use a dedicated PDF presentation program such as keyJnote, which adds some nifty features useful especially for presentations (such as zooming in, spotlight, all-slides-preview, etc.). Jürgen
modify unsw layout to change alignment
Hi, Mark has provided a handy UNSW thesis layout based on the amsbook for lyx ( http://www.threewordslong.com/blog/entry/63/A_LyX_Thesis_Layout_for_UNSW_T) and I found it pretty nice in general for what I need, saving a lot of hassle of creating all the required pages from scratch. However, I would like to make a few changes and not very sure how I can do that without messing with the lengthy amsbook style. 1. Bigger fonts for all the chapter/section/subsection 2. Change the Chapter/Section to be Left aligned 3. A new line for subsubsection I have tried to change the class to book/memoir style and it looks obvious that the layout doesn't work because some of the preambles depend on amsbook stuff (my guess). Any idea would be much appreciated.
Re: New documentclass (NCC) in LyX (LyX 1.6) — how to?
You need (at least) the following changes and additions: neGODnick wrote: > -- # \DeclareLaTeXClass[ncc,ncclatex.sty]{book (NCC-LaTeX)} > # DescriptionBegin > # 2006/01/17 v1.10 NCC-LaTeX document class (NCC) > # DescriptionEnd Format 7 > Preamble > \usepackage{ncclatex} > EndPreamble ClassOptions Other book End Input book.layout > -- > But if I write > -- > # \DeclareLaTeXClass[ncc, ncclatex.sty]{ncc (NCC-LaTeX)} [...] > -- > new class not even appears in LyX list of classes. Make sure ncc is found by kpsewhich (i.e. run "texhash" or update the MikTeX database, for that matter) and, after the layout is set up, run Edit->Reconfigure from within LyX. HTH, Jürgen
pdfscreen
There is a LyX version, in principle. Unfortunately the link http://www.math.tau.ac.il/~dekelts/lyx/pdfscreen.tar.gz given in this page http://me.in-berlin.de/~miwie/presentations/html/pdfscreen.html is outdated I'm a simple user, so don't know how it could be implemented after finding it somewhere (where?) on the net. Thanks, Sandor
"Could not remove temporary directory..."
When I close LyX (1.5.5 for winXP) I always get the message: "Could not remove temporary directory C:/Documents and Settings/bob..." twice. I just click ok each time and they disappear, but is there someway to fix this? -- View this message in context: http://www.nabble.com/%22Could-not-remove-temporary-directory...%22-tp18424265p18424265.html Sent from the LyX - Users mailing list archive at Nabble.com.
problem of lyx in sidux
Hello, I use the sidux OS (=debian sid) and I use the latest debian lyx package (1.5.5-1) and lyx version 1.5.5). When I start lyx I get the gui of lyx. When I do Help --> Tutorial, I get the tutorial in lyx. But when converting this lyx file to pdf I get a pop-up error: "Lyx:Cannot convert file No information for converting xpm format files to png. Define a converter in the preferences." And the lyx app freezes. How can I remedy this problem? Jan '