RE: Hyperref, memoir, chappg= pdf page numbering oddity when including
met vriendelijke groet / kind regards, Maarten Sanders Hi all, I got a bit further, I found a workaround. If I export the file twice in a row the page numbering gets right. For some reason my document is too complex and needs one more go before the index files are right. Should I report this as a bug? Maarten -Original Message- From: Sanders, Maarten (M.J.L.) [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 13:59 To: lyx-users@lists.lyx.org Subject: Hyperref, memoir, chappg= pdf page numbering oddity when including Hi, I am wondering if anyone has seen this before and can help me to overcome. I have a master document containing many Child documents and branches and in ERT frontmatter and mainmatter. If I generate a pdf from this document I get a nice document with roman numbers for the frontmatter, plainpages for the part pages and chappg numbering on the chapter pages. This numbering is also visible in acroread as it is printed on the pages, except for the part pages where ordinary page numbering is used. The funny thing which happens is that when I include this master document in another document with the sole purpose of activating branches the roman numbering breaks in the middle of the multipage index to normal numbers and the chappg numbering in the acroread bottom bar becomes one chapter ahead. Does anyone have a clue on why this is happening? Below my .layout file which might be interesting for other people as well. Regards, Maarten #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[memoir]{memoir in van Oord stijl} # Memoir textclass definition file # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Improvements by: Bennett Helm [EMAIL PROTECTED] # feel free to contribute missing features! Input memoir.layout # # Eigen styles # # Style Warning: Style Warning MarginFirst_Dynamic LatexType Command LatexName warning ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Warning: Font Color Red EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Tip: Style Tip MarginFirst_Dynamic LatexType Command LatexName tip ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Tip: Font Color Blue EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Leesvoer: Style Leesvoer MarginFirst_Dynamic LatexType Command LatexName info ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Info: Font Color Magenta EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # Preamble % /usr/share/texmf/web2c/texmf.cnf shell_escape = t zetten % genereren md5sum t.b.v versienummer \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time.tex} \immediate\write18{echo `md5sum \jobname.dvi | sed 's/ .*$//'` \tmpfile} %% onder windows niet... % % Opmaak kop- en voetteksten \makeheadrule{plain}{120mm}{.5pt} \makefootrule{plain}{120mm}{.5pt}{1mm} \makeevenhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{plain}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{plain}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} \makepagestyle{part} \makeheadrule{part}{120mm}{.5pt} \makefootrule{part}{120mm}{.5pt}{1mm} \makeevenhead{part}{}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{part}{}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{part}{}{}{} \makeoddfoot{part}{}{}{} \makeheadrule{headings}{120mm}{.5pt} \makefootrule{headings}{120mm}{.5pt}{1mm} \makeevenhead{headings}{\textsf{\fontsize{8}{9.6
RE: Hyperref, memoir, chappg= pdf page numbering oddity when including
met vriendelijke groet / kind regards, Maarten Sanders Hi all, I got a bit further, I found a workaround. If I export the file twice in a row the page numbering gets right. For some reason my document is too complex and needs one more go before the index files are right. Should I report this as a bug? Maarten -Original Message- From: Sanders, Maarten (M.J.L.) [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 13:59 To: lyx-users@lists.lyx.org Subject: Hyperref, memoir, chappg= pdf page numbering oddity when including Hi, I am wondering if anyone has seen this before and can help me to overcome. I have a master document containing many Child documents and branches and in ERT frontmatter and mainmatter. If I generate a pdf from this document I get a nice document with roman numbers for the frontmatter, plainpages for the part pages and chappg numbering on the chapter pages. This numbering is also visible in acroread as it is printed on the pages, except for the part pages where ordinary page numbering is used. The funny thing which happens is that when I include this master document in another document with the sole purpose of activating branches the roman numbering breaks in the middle of the multipage index to normal numbers and the chappg numbering in the acroread bottom bar becomes one chapter ahead. Does anyone have a clue on why this is happening? Below my .layout file which might be interesting for other people as well. Regards, Maarten #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[memoir]{memoir in van Oord stijl} # Memoir textclass definition file # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Improvements by: Bennett Helm [EMAIL PROTECTED] # feel free to contribute missing features! Input memoir.layout # # Eigen styles # # Style Warning: Style Warning MarginFirst_Dynamic LatexType Command LatexName warning ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Warning: Font Color Red EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Tip: Style Tip MarginFirst_Dynamic LatexType Command LatexName tip ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Tip: Font Color Blue EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Leesvoer: Style Leesvoer MarginFirst_Dynamic LatexType Command LatexName info ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Info: Font Color Magenta EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # Preamble % /usr/share/texmf/web2c/texmf.cnf shell_escape = t zetten % genereren md5sum t.b.v versienummer \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time.tex} \immediate\write18{echo `md5sum \jobname.dvi | sed 's/ .*$//'` \tmpfile} %% onder windows niet... % % Opmaak kop- en voetteksten \makeheadrule{plain}{120mm}{.5pt} \makefootrule{plain}{120mm}{.5pt}{1mm} \makeevenhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{plain}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{plain}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} \makepagestyle{part} \makeheadrule{part}{120mm}{.5pt} \makefootrule{part}{120mm}{.5pt}{1mm} \makeevenhead{part}{}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{part}{}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{part}{}{}{} \makeoddfoot{part}{}{}{} \makeheadrule{headings}{120mm}{.5pt} \makefootrule{headings}{120mm}{.5pt}{1mm} \makeevenhead{headings}{\textsf{\fontsize{8}{9.6
RE: Hyperref, memoir, chappg=> pdf page numbering oddity when including
met vriendelijke groet / kind regards, Maarten Sanders Hi all, I got a bit further, I found a workaround. If I export the file twice in a row the page numbering gets right. For some reason my document is too complex and needs one more go before the index files are right. Should I report this as a bug? Maarten -Original Message- From: Sanders, Maarten (M.J.L.) [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 13:59 To: lyx-users@lists.lyx.org Subject: Hyperref, memoir, chappg=> pdf page numbering oddity when including Hi, I am wondering if anyone has seen this before and can help me to overcome. I have a master document containing many Child documents and branches and in ERT frontmatter and mainmatter. If I generate a pdf from this document I get a nice document with roman numbers for the frontmatter, plainpages for the part pages and chappg numbering on the chapter pages. This numbering is also visible in acroread as it is printed on the pages, except for the part pages where ordinary page numbering is used. The funny thing which happens is that when I include this master document in another document with the sole purpose of activating branches the roman numbering breaks in the middle of the multipage index to normal numbers and the chappg numbering in the acroread bottom bar becomes one chapter ahead. Does anyone have a clue on why this is happening? Below my .layout file which might be interesting for other people as well. Regards, Maarten #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[memoir]{memoir in van Oord stijl} # Memoir textclass definition file # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> # Improvements by: Bennett Helm <[EMAIL PROTECTED]> # feel free to contribute missing features! Input memoir.layout # # Eigen styles # # Style Warning: Style Warning MarginFirst_Dynamic LatexType Command LatexName warning ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString "Warning:" Font Color Red EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Tip: Style Tip MarginFirst_Dynamic LatexType Command LatexName tip ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString "Tip:" Font Color Blue EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Leesvoer: Style Leesvoer MarginFirst_Dynamic LatexType Command LatexName info ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString "Info:" Font Color Magenta EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # Preamble % /usr/share/texmf/web2c/texmf.cnf shell_escape = t zetten % genereren md5sum t.b.v versienummer \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time.tex} \immediate\write18{echo `md5sum \jobname.dvi | sed 's/ .*$//'` > \tmpfile} %% onder windows niet... % % Opmaak kop- en voetteksten \makeheadrule{plain}{120mm}{.5pt} \makefootrule{plain}{120mm}{.5pt}{1mm} \makeevenhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{plain}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{plain}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} \makepagestyle{part} \makeheadrule{part}{120mm}{.5pt} \makefootrule{part}{120mm}{.5pt}{1mm} \makeevenhead{part}{}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{part}{}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{part}{}{}{} \makeoddfoot{part}{}{}{} \makeheadrule{headings}{120mm}{.5pt} \makefootrule{headings}{120mm}{.5pt}{
Hyperref, memoir, chappg= pdf page numbering oddity when including
Hi, I am wondering if anyone has seen this before and can help me to overcome. I have a master document containing many Child documents and branches and in ERT frontmatter and mainmatter. If I generate a pdf from this document I get a nice document with roman numbers for the frontmatter, plainpages for the part pages and chappg numbering on the chapter pages. This numbering is also visible in acroread as it is printed on the pages, except for the part pages where ordinary page numbering is used. The funny thing which happens is that when I include this master document in another document with the sole purpose of activating branches the roman numbering breaks in the middle of the multipage index to normal numbers and the chappg numbering in the acroread bottom bar becomes one chapter ahead. Does anyone have a clue on why this is happening? Below my .layout file which might be interesting for other people as well. Regards, Maarten #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[memoir]{memoir in van Oord stijl} # Memoir textclass definition file # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Improvements by: Bennett Helm [EMAIL PROTECTED] # feel free to contribute missing features! Input memoir.layout # # Eigen styles # # Style Warning: Style Warning MarginFirst_Dynamic LatexType Command LatexName warning ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Warning: Font Color Red EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Tip: Style Tip MarginFirst_Dynamic LatexType Command LatexName tip ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Tip: Font Color Blue EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Leesvoer: Style Leesvoer MarginFirst_Dynamic LatexType Command LatexName info ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Info: Font Color Magenta EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # Preamble % /usr/share/texmf/web2c/texmf.cnf shell_escape = t zetten % genereren md5sum t.b.v versienummer \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time.tex} \immediate\write18{echo `md5sum \jobname.dvi | sed 's/ .*$//'` \tmpfile} %% onder windows niet... % % Opmaak kop- en voetteksten \makeheadrule{plain}{120mm}{.5pt} \makefootrule{plain}{120mm}{.5pt}{1mm} \makeevenhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{plain}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{plain}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} \makepagestyle{part} \makeheadrule{part}{120mm}{.5pt} \makefootrule{part}{120mm}{.5pt}{1mm} \makeevenhead{part}{}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{part}{}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{part}{}{}{} \makeoddfoot{part}{}{}{} \makeheadrule{headings}{120mm}{.5pt} \makefootrule{headings}{120mm}{.5pt}{1mm} \makeevenhead{headings}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}}{}{} \makeoddhead{headings}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{headings}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{headings}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} % % Opmaak TOC \renewcommand{\printtoctitle}[1]{\huge\bfseries\sffamily #1} \cftpagenumbersoff{part} \renewcommand{\cftpartfont}{\bfseries\huge\sffamily}
Hyperref, memoir, chappg= pdf page numbering oddity when including
Hi, I am wondering if anyone has seen this before and can help me to overcome. I have a master document containing many Child documents and branches and in ERT frontmatter and mainmatter. If I generate a pdf from this document I get a nice document with roman numbers for the frontmatter, plainpages for the part pages and chappg numbering on the chapter pages. This numbering is also visible in acroread as it is printed on the pages, except for the part pages where ordinary page numbering is used. The funny thing which happens is that when I include this master document in another document with the sole purpose of activating branches the roman numbering breaks in the middle of the multipage index to normal numbers and the chappg numbering in the acroread bottom bar becomes one chapter ahead. Does anyone have a clue on why this is happening? Below my .layout file which might be interesting for other people as well. Regards, Maarten #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[memoir]{memoir in van Oord stijl} # Memoir textclass definition file # Author: Jürgen Spitzmüller [EMAIL PROTECTED] # Improvements by: Bennett Helm [EMAIL PROTECTED] # feel free to contribute missing features! Input memoir.layout # # Eigen styles # # Style Warning: Style Warning MarginFirst_Dynamic LatexType Command LatexName warning ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Warning: Font Color Red EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Tip: Style Tip MarginFirst_Dynamic LatexType Command LatexName tip ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Tip: Font Color Blue EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Leesvoer: Style Leesvoer MarginFirst_Dynamic LatexType Command LatexName info ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString Info: Font Color Magenta EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # Preamble % /usr/share/texmf/web2c/texmf.cnf shell_escape = t zetten % genereren md5sum t.b.v versienummer \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time.tex} \immediate\write18{echo `md5sum \jobname.dvi | sed 's/ .*$//'` \tmpfile} %% onder windows niet... % % Opmaak kop- en voetteksten \makeheadrule{plain}{120mm}{.5pt} \makefootrule{plain}{120mm}{.5pt}{1mm} \makeevenhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{plain}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{plain}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} \makepagestyle{part} \makeheadrule{part}{120mm}{.5pt} \makefootrule{part}{120mm}{.5pt}{1mm} \makeevenhead{part}{}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{part}{}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{part}{}{}{} \makeoddfoot{part}{}{}{} \makeheadrule{headings}{120mm}{.5pt} \makefootrule{headings}{120mm}{.5pt}{1mm} \makeevenhead{headings}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}}{}{} \makeoddhead{headings}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{headings}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{headings}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} % % Opmaak TOC \renewcommand{\printtoctitle}[1]{\huge\bfseries\sffamily #1} \cftpagenumbersoff{part} \renewcommand{\cftpartfont}{\bfseries\huge\sffamily}
Hyperref, memoir, chappg=> pdf page numbering oddity when including
Hi, I am wondering if anyone has seen this before and can help me to overcome. I have a master document containing many Child documents and branches and in ERT frontmatter and mainmatter. If I generate a pdf from this document I get a nice document with roman numbers for the frontmatter, plainpages for the part pages and chappg numbering on the chapter pages. This numbering is also visible in acroread as it is printed on the pages, except for the part pages where ordinary page numbering is used. The funny thing which happens is that when I include this master document in another document with the sole purpose of activating branches the roman numbering breaks in the middle of the multipage index to normal numbers and the chappg numbering in the acroread bottom bar becomes one chapter ahead. Does anyone have a clue on why this is happening? Below my .layout file which might be interesting for other people as well. Regards, Maarten #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[memoir]{memoir in van Oord stijl} # Memoir textclass definition file # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> # Improvements by: Bennett Helm <[EMAIL PROTECTED]> # feel free to contribute missing features! Input memoir.layout # # Eigen styles # # Style Warning: Style Warning MarginFirst_Dynamic LatexType Command LatexName warning ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString "Warning:" Font Color Red EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Tip: Style Tip MarginFirst_Dynamic LatexType Command LatexName tip ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString "Tip:" Font Color Blue EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # # Style Leesvoer: Style Leesvoer MarginFirst_Dynamic LatexType Command LatexName info ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left BottomSep 0.4 Labelsep xx LabelType Static LabelString "Info:" Font Color Magenta EndFont LabelFont SizeLarge Color Black Shape Italic EndFont End # Preamble % /usr/share/texmf/web2c/texmf.cnf shell_escape = t zetten % genereren md5sum t.b.v versienummer \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time.tex} \immediate\write18{echo `md5sum \jobname.dvi | sed 's/ .*$//'` > \tmpfile} %% onder windows niet... % % Opmaak kop- en voetteksten \makeheadrule{plain}{120mm}{.5pt} \makefootrule{plain}{120mm}{.5pt}{1mm} \makeevenhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{plain}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{plain}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{plain}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} \makepagestyle{part} \makeheadrule{part}{120mm}{.5pt} \makefootrule{part}{120mm}{.5pt}{1mm} \makeevenhead{part}{}{}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}} \makeoddhead{part}{}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{part}{}{}{} \makeoddfoot{part}{}{}{} \makeheadrule{headings}{120mm}{.5pt} \makefootrule{headings}{120mm}{.5pt}{1mm} \makeevenhead{headings}{\textsf{\fontsize{8}{9.6}\selectfont\leftmark}}{}{} \makeoddhead{headings}{\textsf{\fontsize{8}{9.6}\selectfont\rightmark}}{}{\includegraphics[width=15mm]{images/doc-logo.eps}} \makeevenfoot{headings}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}}{}{} \makeoddfoot{headings}{}{}{\textsf{\fontsize{8}{9.6}\selectfont{\thepage}}} % % Opmaak TOC \renewcommand{\printtoctitle}[1]{\huge\bfseries\sffamily #1} \cftpagenumbersoff{part} \renewcommand{\cftpartfont}{\bfseries\huge\sffamily}
RE: LyX/Mac 1.4.1 Not Loading Figures
I have run in to image conversion trouble many times due to this bug in ESPGS-8.15 http://www.cups.org/espgs/str.php?L1338+P0+S1+C0+I10+E0+Q . I have seen many distro's including a broken version of espgs, possibly it is also of influence in your case. Did you run any upgrades on other parts of your system? kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
RE: LyX/Mac 1.4.1 Not Loading Figures
I have run in to image conversion trouble many times due to this bug in ESPGS-8.15 http://www.cups.org/espgs/str.php?L1338+P0+S1+C0+I10+E0+Q . I have seen many distro's including a broken version of espgs, possibly it is also of influence in your case. Did you run any upgrades on other parts of your system? kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
RE: LyX/Mac 1.4.1 Not Loading Figures
I have run in to image conversion trouble many times due to this bug in ESPGS-8.15 http://www.cups.org/espgs/str.php?L1338+P0+S1+C0+I10+E0+Q . I have seen many distro's including a broken version of espgs, possibly it is also of influence in your case. Did you run any upgrades on other parts of your system? kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
Another memoir question
Hi, I am currently creating my own layout based on memoir.layout. When I use this layout I see the following messages in a teminal window from which I fired LyX: New counter already exists: part New counter already exists: chapter New counter already exists: section . . . New counter already exists: equation Since this even happens when my layout file is a simple as: # comment # \DeclareLaTeXClass[memoir]{memoir in my style} # comment # comment Input memoir.layout I wonder if it is a bug. In any case it does not (yet) break anything for me. met vriendelijke groet / kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
Another memoir question
Hi, I am currently creating my own layout based on memoir.layout. When I use this layout I see the following messages in a teminal window from which I fired LyX: New counter already exists: part New counter already exists: chapter New counter already exists: section . . . New counter already exists: equation Since this even happens when my layout file is a simple as: # comment # \DeclareLaTeXClass[memoir]{memoir in my style} # comment # comment Input memoir.layout I wonder if it is a bug. In any case it does not (yet) break anything for me. met vriendelijke groet / kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
Another memoir question
Hi, I am currently creating my own layout based on memoir.layout. When I use this layout I see the following messages in a teminal window from which I fired LyX: New counter already exists: part New counter already exists: chapter New counter already exists: section . . . New counter already exists: equation Since this even happens when my layout file is a simple as: # comment # \DeclareLaTeXClass[memoir]{memoir in my style} # comment # comment Input memoir.layout I wonder if it is a bug. In any case it does not (yet) break anything for me. met vriendelijke groet / kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
memoir class with index works on Miktex, not in tetex. Why?
Hi, I am trying to find why things work in Miktex (windows) but refuse to work in tetex (Linux, Slackware 10.2). I get an error in Linux: LaTeX Error: Command \see already defined. LaTeX Error: Command \printindex already defined. I have noticed that when I export to a latex file and comment \usepackage{makeidx} and run a normal latex sequence (latex, makeindex, latex, latex) things work fine. See the source of a sample lyx file below. It looks like (my??) memoir class on linux already has some definitions. On windows LyX work fine out of the box. Can anyone tell me what I need to do get things working from lyx directly? met vriendelijke groet / kind regards, Maarten Lyx sample file below #LyX 1.4.1 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass memoir \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Section \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none Deel 1 \end_layout \begin_layout Standard Enige index \begin_inset LatexCommand \index{index} \end_inset entries \begin_inset LatexCommand \index{entries} \end_inset . \end_layout \begin_layout Standard \begin_inset LatexCommand \printindex{} \end_inset \end_layout \end_body \end_document LaTeX sample file below %% LyX 1.4.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[oneside,english]{memoir} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \usepackage{makeidx} \makeindex \makeatletter \usepackage{babel} \makeatother \begin{document} \section{\textmd{\normalsize Deel 1}} Enige index\index{index} entries\index{entries}. \printindex{} \end{document} __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
RE: memoir class with index works on Miktex, not in tetex. Why?
I just found out on miktex the normal sequence (latex, makeindex, latex, latex) also works when \usepackage{makeidx} is removed. Thus; does lyx add a package too much when using the memoir class? The memoir class menual also states NOT to use {makeidx}. met vriendelijke groet / kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
memoir class with index works on Miktex, not in tetex. Why?
Hi, I am trying to find why things work in Miktex (windows) but refuse to work in tetex (Linux, Slackware 10.2). I get an error in Linux: LaTeX Error: Command \see already defined. LaTeX Error: Command \printindex already defined. I have noticed that when I export to a latex file and comment \usepackage{makeidx} and run a normal latex sequence (latex, makeindex, latex, latex) things work fine. See the source of a sample lyx file below. It looks like (my??) memoir class on linux already has some definitions. On windows LyX work fine out of the box. Can anyone tell me what I need to do get things working from lyx directly? met vriendelijke groet / kind regards, Maarten Lyx sample file below #LyX 1.4.1 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass memoir \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Section \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none Deel 1 \end_layout \begin_layout Standard Enige index \begin_inset LatexCommand \index{index} \end_inset entries \begin_inset LatexCommand \index{entries} \end_inset . \end_layout \begin_layout Standard \begin_inset LatexCommand \printindex{} \end_inset \end_layout \end_body \end_document LaTeX sample file below %% LyX 1.4.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[oneside,english]{memoir} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \usepackage{makeidx} \makeindex \makeatletter \usepackage{babel} \makeatother \begin{document} \section{\textmd{\normalsize Deel 1}} Enige index\index{index} entries\index{entries}. \printindex{} \end{document} __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
RE: memoir class with index works on Miktex, not in tetex. Why?
I just found out on miktex the normal sequence (latex, makeindex, latex, latex) also works when \usepackage{makeidx} is removed. Thus; does lyx add a package too much when using the memoir class? The memoir class menual also states NOT to use {makeidx}. met vriendelijke groet / kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
memoir class with index works on Miktex, not in tetex. Why?
Hi, I am trying to find why things work in Miktex (windows) but refuse to work in tetex (Linux, Slackware 10.2). I get an error in Linux: LaTeX Error: Command \see already defined. LaTeX Error: Command \printindex already defined. I have noticed that when I export to a latex file and comment \usepackage{makeidx} and run a normal latex sequence (latex, makeindex, latex, latex) things work fine. See the source of a sample lyx file below. It looks like (my??) memoir class on linux already has some definitions. On windows LyX work fine out of the box. Can anyone tell me what I need to do get things working from lyx directly? met vriendelijke groet / kind regards, Maarten Lyx sample file below #LyX 1.4.1 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass memoir \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Section \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none Deel 1 \end_layout \begin_layout Standard Enige index \begin_inset LatexCommand \index{index} \end_inset entries \begin_inset LatexCommand \index{entries} \end_inset . \end_layout \begin_layout Standard \begin_inset LatexCommand \printindex{} \end_inset \end_layout \end_body \end_document LaTeX sample file below %% LyX 1.4.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[oneside,english]{memoir} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \usepackage{makeidx} \makeindex \makeatletter \usepackage{babel} \makeatother \begin{document} \section{\textmd{\normalsize Deel 1}} Enige index\index{index} entries\index{entries}. \printindex{} \end{document} __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
RE: memoir class with index works on Miktex, not in tetex. Why?
I just found out on miktex the normal sequence (latex, makeindex, latex, latex) also works when \usepackage{makeidx} is removed. Thus; does lyx add a package too much when using the memoir class? The memoir class menual also states NOT to use {makeidx}. met vriendelijke groet / kind regards, Maarten __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
Trouble with index in 1.4.1 and memoir classs
Hi, Has anyone noticed that when using memoir class in 1.4.1 (I understood from a colleague it was allright in 1.4.0) inserting an index gives latex errors (see part of the log below)? I am running 1.4.1 on a stock slackware 10.2 system with tetex 3.0. Reproducing the error is simple: create a small memoir class do. insert a few index entries and put an index in the document and the error is there. I can reproduce the error on two different computers. Can someone confirm this error is bug? After confirmation I will file a bug report. Kind regards, Maarten = Package: fontenc 2004/02/22 v1.99f Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2004/02/05 v1.0d Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2004/02/05 v1.0d Input encoding file )) (/usr/share/texmf/tex/latex/base/makeidx.sty Package: makeidx 2000/03/29 v1.0m Standard LaTeX package ! LaTeX Error: Command \see already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.41 \newcommand*\see[2]{\emph{\seename} #1} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. ! LaTeX Error: Command \printindex already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.43 [EMAIL PROTECTED]@{\jobname.ind}} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
Trouble with index in 1.4.1 and memoir classs
Hi, Has anyone noticed that when using memoir class in 1.4.1 (I understood from a colleague it was allright in 1.4.0) inserting an index gives latex errors (see part of the log below)? I am running 1.4.1 on a stock slackware 10.2 system with tetex 3.0. Reproducing the error is simple: create a small memoir class do. insert a few index entries and put an index in the document and the error is there. I can reproduce the error on two different computers. Can someone confirm this error is bug? After confirmation I will file a bug report. Kind regards, Maarten = Package: fontenc 2004/02/22 v1.99f Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2004/02/05 v1.0d Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2004/02/05 v1.0d Input encoding file )) (/usr/share/texmf/tex/latex/base/makeidx.sty Package: makeidx 2000/03/29 v1.0m Standard LaTeX package ! LaTeX Error: Command \see already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.41 \newcommand*\see[2]{\emph{\seename} #1} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. ! LaTeX Error: Command \printindex already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.43 [EMAIL PROTECTED]@{\jobname.ind}} Your command was ignored. Type I command return to replace it with another command, or return to continue without it. __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
Trouble with index in 1.4.1 and memoir classs
Hi, Has anyone noticed that when using memoir class in 1.4.1 (I understood from a colleague it was allright in 1.4.0) inserting an index gives latex errors (see part of the log below)? I am running 1.4.1 on a stock slackware 10.2 system with tetex 3.0. Reproducing the error is simple: create a small memoir class do. insert a few index entries and put an index in the document and the error is there. I can reproduce the error on two different computers. Can someone confirm this error is bug? After confirmation I will file a bug report. Kind regards, Maarten = Package: fontenc 2004/02/22 v1.99f Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2004/02/22 v1.99f Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2004/02/05 v1.0d Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2004/02/05 v1.0d Input encoding file )) (/usr/share/texmf/tex/latex/base/makeidx.sty Package: makeidx 2000/03/29 v1.0m Standard LaTeX package ! LaTeX Error: Command \see already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.41 \newcommand*\see[2]{\emph{\seename} #1} Your command was ignored. Type Ito replace it with another command, orto continue without it. ! LaTeX Error: Command \printindex already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.43 [EMAIL PROTECTED]@{\jobname.ind}} Your command was ignored. Type Ito replace it with another command, orto continue without it. __ Disclaimer: This mail transmission and any attached files are confidential and are intended for the addressee only. If you are not the person or organization to whom it is addressed, you must not copy, disclose, distribute or take any action in reliance upon it. If you have received this message in error, please contact the sender by email and delete all copies of this message and all copies of any attached files.
branch feature
Hi, We use a lot of branches in modular end user manuals for our equipment. Does anyone have an approach on dealing with not branches? E.g., the piece of text applies to every piece of equipment, except for no. 32. As you can imagine it is a bit tedious to repeat the same text in the other 31 branches. If there is no approach, are there any development ideas in this direction? Thinking of that, a single chunk of text that can be used for 'n' branches would be nice as well. Any comments? Maarten
branch feature
Hi, We use a lot of branches in modular end user manuals for our equipment. Does anyone have an approach on dealing with not branches? E.g., the piece of text applies to every piece of equipment, except for no. 32. As you can imagine it is a bit tedious to repeat the same text in the other 31 branches. If there is no approach, are there any development ideas in this direction? Thinking of that, a single chunk of text that can be used for 'n' branches would be nice as well. Any comments? Maarten
branch feature
Hi, We use a lot of branches in modular end user manuals for our equipment. Does anyone have an approach on dealing with "not branches"? E.g., the piece of text applies to every piece of equipment, except for no. 32. As you can imagine it is a bit tedious to repeat the same text in the other 31 branches. If there is no approach, are there any development ideas in this direction? Thinking of that, a single chunk of text that can be used for 'n' branches would be nice as well. Any comments? Maarten
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, It works. Still I do wonder what the messages about the fonts mean. The fonts are installed in my texmf directory. Should the commandline options work as well? Maarten : No such file or directorym/cmr10.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorym/cmsy10.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorym/cmsy7.tfm : No such file or directoryurier/pcrr8t.tfm -Original Message- From: Enrico Forestieri [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 17:06 To: Sanders, Maarten (M.J.L.) Cc: lyx-users@lists.lyx.org Subject: RE: Path of images in .layout and lyx1.4 on cygwin On Tue, 21 Mar 2006 16:06:53 +0100, Sanders, Maarten M.J.L. wrote: {{\string /cygdrive/d/Documents and Settings/MSA/My Documents/LyX Files/... Ah! In my first cursory glance I was missing this. Now it is clear what is happening. When a path contains spaces, LyX quotes it by \string and the script wasn't expecting that :( Please, find attached the updated latex and pdflatex scripts to be placed in /usr/local/bin. Actually, I am not going to break the thread because you cc'ed me and I am replying to your email. Tell me if it works for you. -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, It works. Still I do wonder what the messages about the fonts mean. The fonts are installed in my texmf directory. Should the commandline options work as well? Maarten : No such file or directorym/cmr10.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorym/cmsy10.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorym/cmsy7.tfm : No such file or directoryurier/pcrr8t.tfm -Original Message- From: Enrico Forestieri [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 17:06 To: Sanders, Maarten (M.J.L.) Cc: lyx-users@lists.lyx.org Subject: RE: Path of images in .layout and lyx1.4 on cygwin On Tue, 21 Mar 2006 16:06:53 +0100, Sanders, Maarten M.J.L. wrote: {{\string /cygdrive/d/Documents and Settings/MSA/My Documents/LyX Files/... Ah! In my first cursory glance I was missing this. Now it is clear what is happening. When a path contains spaces, LyX quotes it by \string and the script wasn't expecting that :( Please, find attached the updated latex and pdflatex scripts to be placed in /usr/local/bin. Actually, I am not going to break the thread because you cc'ed me and I am replying to your email. Tell me if it works for you. -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, It works. Still I do wonder what the messages about the fonts mean. The fonts are installed in my texmf directory. Should the commandline options work as well? Maarten : No such file or directorym/cmr10.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorym/cmsy10.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorym/cmsy7.tfm : No such file or directoryurier/pcrr8t.tfm -Original Message- From: Enrico Forestieri [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 17:06 To: Sanders, Maarten (M.J.L.) Cc: lyx-users@lists.lyx.org Subject: RE: Path of images in .layout and lyx1.4 on cygwin On Tue, 21 Mar 2006 16:06:53 +0100, Sanders, Maarten M.J.L. wrote: > > {{\string" > /cygdrive/d/Documents and Settings/MSA/My Documents/LyX > Files/... Ah! In my first cursory glance I was missing this. Now it is clear what is happening. When a path contains spaces, LyX quotes it by \string" and the script wasn't expecting that :( Please, find attached the updated latex and pdflatex scripts to be placed in /usr/local/bin. Actually, I am not going to break the thread because you cc'ed me and I am replying to your email. Tell me if it works for you. -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, It still does not work. My path: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/texmf/miktex/bin :/cygdrive/c/PROGRA~1/FILENET/IDM:/cygdrive/c/PROGRA~1/FILENET/SHARED:/c ygdrive/c/ORACLE/ORA817/BIN:/cygdrive/c/PROGRA~1/ORACLE/JRE/112EBD~1.7/B IN:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/SYSTEM 32/WBEM:/cygdrive/c/PROGRA~1/COMMON~1/ADAPTE~1/SYSTEM:/cygdrive/c/PROGRA ~1/COMMON~1/AUTODE~1:/cygdrive/c/PROGRA~1/COMMON~1/CYCOSH~1:/cygdrive/c/ ORANT/jdk/bin:/cygdrive/c/orant/bin I have /usr/local/bin latex as you suggested. I get a pop-up box from lyx saying: An error occurred whilst running python '/usr/local/share/lyx/scripts/clean_dvi.py' And in the cygwin console I get: $ lyx-winbin.exe Locale nl_NL could not be set OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL LColor::getFromLyXName: Unknown color default cygpath: can't convert empty path /usr/local/bin/latex: line 31: exec: schippershandleiding.tex: not found schippershandleiding.dvi: schippershandleiding.dvi: No such file or directory Unable to read schippershandleiding.dvi Any ideas? It looks to me like there still is some path issue. Kind regards, Maarten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Georg Baum Georg.Baum at ... writes: Enrico No, Georg, this is an oversight on my part :( Enrico LyX inserts an \input at path line, but that path is in Enrico posix format and MikTeX doesn't understand it. Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin, oops
Enrico, please wait, Wordpad did some nasty word wrapping... Let me sort out the script first before you waist your time. Maarten -Original Message- From: Sanders, Maarten (M.J.L.) [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 15:52 To: Enrico Forestieri; lyx-users@lists.lyx.org Subject: RE: Path of images in .layout and lyx1.4 on cygwin Enrico, It still does not work. My path: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/texmf/miktex/bin :/cygdrive/c/PROGRA~1/FILENET/IDM:/cygdrive/c/PROGRA~1/FILENET/SHARED:/c ygdrive/c/ORACLE/ORA817/BIN:/cygdrive/c/PROGRA~1/ORACLE/JRE/112EBD~1.7/B IN:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/SYSTEM 32/WBEM:/cygdrive/c/PROGRA~1/COMMON~1/ADAPTE~1/SYSTEM:/cygdrive/c/PROGRA ~1/COMMON~1/AUTODE~1:/cygdrive/c/PROGRA~1/COMMON~1/CYCOSH~1:/cygdrive/c/ ORANT/jdk/bin:/cygdrive/c/orant/bin I have /usr/local/bin latex as you suggested. I get a pop-up box from lyx saying: An error occurred whilst running python '/usr/local/share/lyx/scripts/clean_dvi.py' And in the cygwin console I get: $ lyx-winbin.exe Locale nl_NL could not be set OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL LColor::getFromLyXName: Unknown color default cygpath: can't convert empty path /usr/local/bin/latex: line 31: exec: schippershandleiding.tex: not found schippershandleiding.dvi: schippershandleiding.dvi: No such file or directory Unable to read schippershandleiding.dvi Any ideas? It looks to me like there still is some path issue. Kind regards, Maarten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Georg Baum Georg.Baum at ... writes: Enrico No, Georg, this is an oversight on my part :( Enrico LyX inserts an \input at path line, but that path is in Enrico posix format and MikTeX doesn't understand it. Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, Sorry about the previous message. Below is the script as I copy-pasted it. The prog=latex.exe part was on the previous line (thus commented) and at first not recognized by me to be part of the script. I tried the corrected script but still it doesn't work. I get an error box in lyx with in the upper part: LaTeX error: Missing \begin{document}.[] LateX error: File `images/logo.eps' not found.[] Etc. And in the lower part: {{\string /cygdrive/d/Documents and Settings/MSA/My Documents/LyX Files/... You're in trouble here. Try typing return to proceed. If that doesn't work, type X return to quit. As well as in the cygwin window: $ lyx-winbin.exe Locale nl_NL could not be set LColor::getFromLyXName: Unknown color default cygpath: can't convert empty path pplatex: Process input file schippershandleiding.dvi : No such file or directorym/cmr10.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorym/cmsy10.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorym/cmsy7.tfm : No such file or directoryurier/pcrr8t.tfm pplatex: Copy data to schippershandleiding.dvi Any suggestions? Maarten /usr/local/bin/latex #!/bin/sh # This is a wrapper script for the MikTeX's latex # # Simply change all Cygwin pathnames into mixed-style pathnames # both on the command line and in [EMAIL PROTECTED] statements. # # 2006-03-20 Enrico Forestieri # === # The program to call (This should be in the PATH) prog=latex.exe while [ $# -gt 0 ] ; do case $1 in -*=*) opt=`echo $1 | cut -d= -f1` arg=`echo $1 | cut -d= -f2-` arg=`cygpath -m -- $arg` prog=$prog $opt='\$arg\' ;; -*) prog=$prog $1 ;; *) prog=$prog '`cygpath -m -- $1`' ipath=`head $1 | grep [EMAIL PROTECTED] if [ ! -z $ipath ]; then posixpath=`expr $ipath : '[EMAIL PROTECTED](.*\)//}}.*'` winpath=`cygpath -m -- $posixpath` sed -i -e /[EMAIL PROTECTED]/s?$posixpath?$winpath? $1 fi ;; esac shift done eval exec $prog -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Georg Baum Georg.Baum at ... writes: Enrico No, Georg, this is an oversight on my part :( Enrico LyX inserts an \input at path line, but that path is in Enrico posix format and MikTeX doesn't understand it. Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, It still does not work. My path: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/texmf/miktex/bin :/cygdrive/c/PROGRA~1/FILENET/IDM:/cygdrive/c/PROGRA~1/FILENET/SHARED:/c ygdrive/c/ORACLE/ORA817/BIN:/cygdrive/c/PROGRA~1/ORACLE/JRE/112EBD~1.7/B IN:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/SYSTEM 32/WBEM:/cygdrive/c/PROGRA~1/COMMON~1/ADAPTE~1/SYSTEM:/cygdrive/c/PROGRA ~1/COMMON~1/AUTODE~1:/cygdrive/c/PROGRA~1/COMMON~1/CYCOSH~1:/cygdrive/c/ ORANT/jdk/bin:/cygdrive/c/orant/bin I have /usr/local/bin latex as you suggested. I get a pop-up box from lyx saying: An error occurred whilst running python '/usr/local/share/lyx/scripts/clean_dvi.py' And in the cygwin console I get: $ lyx-winbin.exe Locale nl_NL could not be set OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL LColor::getFromLyXName: Unknown color default cygpath: can't convert empty path /usr/local/bin/latex: line 31: exec: schippershandleiding.tex: not found schippershandleiding.dvi: schippershandleiding.dvi: No such file or directory Unable to read schippershandleiding.dvi Any ideas? It looks to me like there still is some path issue. Kind regards, Maarten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Georg Baum Georg.Baum at ... writes: Enrico No, Georg, this is an oversight on my part :( Enrico LyX inserts an \input at path line, but that path is in Enrico posix format and MikTeX doesn't understand it. Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin, oops
Enrico, please wait, Wordpad did some nasty word wrapping... Let me sort out the script first before you waist your time. Maarten -Original Message- From: Sanders, Maarten (M.J.L.) [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 15:52 To: Enrico Forestieri; lyx-users@lists.lyx.org Subject: RE: Path of images in .layout and lyx1.4 on cygwin Enrico, It still does not work. My path: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/texmf/miktex/bin :/cygdrive/c/PROGRA~1/FILENET/IDM:/cygdrive/c/PROGRA~1/FILENET/SHARED:/c ygdrive/c/ORACLE/ORA817/BIN:/cygdrive/c/PROGRA~1/ORACLE/JRE/112EBD~1.7/B IN:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/SYSTEM 32/WBEM:/cygdrive/c/PROGRA~1/COMMON~1/ADAPTE~1/SYSTEM:/cygdrive/c/PROGRA ~1/COMMON~1/AUTODE~1:/cygdrive/c/PROGRA~1/COMMON~1/CYCOSH~1:/cygdrive/c/ ORANT/jdk/bin:/cygdrive/c/orant/bin I have /usr/local/bin latex as you suggested. I get a pop-up box from lyx saying: An error occurred whilst running python '/usr/local/share/lyx/scripts/clean_dvi.py' And in the cygwin console I get: $ lyx-winbin.exe Locale nl_NL could not be set OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL LColor::getFromLyXName: Unknown color default cygpath: can't convert empty path /usr/local/bin/latex: line 31: exec: schippershandleiding.tex: not found schippershandleiding.dvi: schippershandleiding.dvi: No such file or directory Unable to read schippershandleiding.dvi Any ideas? It looks to me like there still is some path issue. Kind regards, Maarten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Georg Baum Georg.Baum at ... writes: Enrico No, Georg, this is an oversight on my part :( Enrico LyX inserts an \input at path line, but that path is in Enrico posix format and MikTeX doesn't understand it. Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, Sorry about the previous message. Below is the script as I copy-pasted it. The prog=latex.exe part was on the previous line (thus commented) and at first not recognized by me to be part of the script. I tried the corrected script but still it doesn't work. I get an error box in lyx with in the upper part: LaTeX error: Missing \begin{document}.[] LateX error: File `images/logo.eps' not found.[] Etc. And in the lower part: {{\string /cygdrive/d/Documents and Settings/MSA/My Documents/LyX Files/... You're in trouble here. Try typing return to proceed. If that doesn't work, type X return to quit. As well as in the cygwin window: $ lyx-winbin.exe Locale nl_NL could not be set LColor::getFromLyXName: Unknown color default cygpath: can't convert empty path pplatex: Process input file schippershandleiding.dvi : No such file or directorym/cmr10.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorym/cmsy10.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorym/cmsy7.tfm : No such file or directoryurier/pcrr8t.tfm pplatex: Copy data to schippershandleiding.dvi Any suggestions? Maarten /usr/local/bin/latex #!/bin/sh # This is a wrapper script for the MikTeX's latex # # Simply change all Cygwin pathnames into mixed-style pathnames # both on the command line and in [EMAIL PROTECTED] statements. # # 2006-03-20 Enrico Forestieri # === # The program to call (This should be in the PATH) prog=latex.exe while [ $# -gt 0 ] ; do case $1 in -*=*) opt=`echo $1 | cut -d= -f1` arg=`echo $1 | cut -d= -f2-` arg=`cygpath -m -- $arg` prog=$prog $opt='\$arg\' ;; -*) prog=$prog $1 ;; *) prog=$prog '`cygpath -m -- $1`' ipath=`head $1 | grep [EMAIL PROTECTED] if [ ! -z $ipath ]; then posixpath=`expr $ipath : '[EMAIL PROTECTED](.*\)//}}.*'` winpath=`cygpath -m -- $posixpath` sed -i -e /[EMAIL PROTECTED]/s?$posixpath?$winpath? $1 fi ;; esac shift done eval exec $prog -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Georg Baum Georg.Baum at ... writes: Enrico No, Georg, this is an oversight on my part :( Enrico LyX inserts an \input at path line, but that path is in Enrico posix format and MikTeX doesn't understand it. Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, It still does not work. My path: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/texmf/miktex/bin :/cygdrive/c/PROGRA~1/FILENET/IDM:/cygdrive/c/PROGRA~1/FILENET/SHARED:/c ygdrive/c/ORACLE/ORA817/BIN:/cygdrive/c/PROGRA~1/ORACLE/JRE/112EBD~1.7/B IN:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/SYSTEM 32/WBEM:/cygdrive/c/PROGRA~1/COMMON~1/ADAPTE~1/SYSTEM:/cygdrive/c/PROGRA ~1/COMMON~1/AUTODE~1:/cygdrive/c/PROGRA~1/COMMON~1/CYCOSH~1:/cygdrive/c/ ORANT/jdk/bin:/cygdrive/c/orant/bin I have /usr/local/bin latex as you suggested. I get a pop-up box from lyx saying: An error occurred whilst running python '/usr/local/share/lyx/scripts/clean_dvi.py' And in the cygwin console I get: $ lyx-winbin.exe Locale nl_NL could not be set OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL LColor::getFromLyXName: Unknown color "default" cygpath: can't convert empty path /usr/local/bin/latex: line 31: exec: schippershandleiding.tex: not found schippershandleiding.dvi: schippershandleiding.dvi: No such file or directory Unable to read "schippershandleiding.dvi" Any ideas? It looks to me like there still is some path issue. Kind regards, Maarten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Georg Baum ...> writes: > Enrico> No, Georg, this is an oversight on my part :( > > Enrico> LyX inserts an \input path line, but that path is in > Enrico> posix format and MikTeX doesn't understand it. > > Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin, oops
Enrico, please wait, Wordpad did some nasty word wrapping... Let me sort out the script first before you waist your time. Maarten -Original Message- From: Sanders, Maarten (M.J.L.) [mailto:[EMAIL PROTECTED] Sent: 21 March 2006 15:52 To: Enrico Forestieri; lyx-users@lists.lyx.org Subject: RE: Path of images in .layout and lyx1.4 on cygwin Enrico, It still does not work. My path: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/texmf/miktex/bin :/cygdrive/c/PROGRA~1/FILENET/IDM:/cygdrive/c/PROGRA~1/FILENET/SHARED:/c ygdrive/c/ORACLE/ORA817/BIN:/cygdrive/c/PROGRA~1/ORACLE/JRE/112EBD~1.7/B IN:/cygdrive/c/WINNT/SYSTEM32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/SYSTEM 32/WBEM:/cygdrive/c/PROGRA~1/COMMON~1/ADAPTE~1/SYSTEM:/cygdrive/c/PROGRA ~1/COMMON~1/AUTODE~1:/cygdrive/c/PROGRA~1/COMMON~1/CYCOSH~1:/cygdrive/c/ ORANT/jdk/bin:/cygdrive/c/orant/bin I have /usr/local/bin latex as you suggested. I get a pop-up box from lyx saying: An error occurred whilst running python '/usr/local/share/lyx/scripts/clean_dvi.py' And in the cygwin console I get: $ lyx-winbin.exe Locale nl_NL could not be set OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL OkApplyCancelReadOnlyPolicy: No transition for input SMI_OKAY from state INITIAL LColor::getFromLyXName: Unknown color "default" cygpath: can't convert empty path /usr/local/bin/latex: line 31: exec: schippershandleiding.tex: not found schippershandleiding.dvi: schippershandleiding.dvi: No such file or directory Unable to read "schippershandleiding.dvi" Any ideas? It looks to me like there still is some path issue. Kind regards, Maarten -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Georg Baum ...> writes: > Enrico> No, Georg, this is an oversight on my part :( > > Enrico> LyX inserts an \input path line, but that path is in > Enrico> posix format and MikTeX doesn't understand it. > > Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
RE: Path of images in .layout and lyx1.4 on cygwin
Enrico, Sorry about the previous message. Below is the script as I copy-pasted it. The prog=latex.exe part was on the previous line (thus commented) and at first not recognized by me to be part of the script. I tried the corrected script but still it doesn't work. I get an error box in lyx with in the upper part: LaTeX error: Missing \begin{document}.[] LateX error: File `images/logo.eps' not found.[] Etc. And in the lower part: {{\string" /cygdrive/d/Documents and Settings/MSA/My Documents/LyX Files/... You're in trouble here. Try typingto proceed. If that doesn't work, type X to quit. As well as in the cygwin window: $ lyx-winbin.exe Locale nl_NL could not be set LColor::getFromLyXName: Unknown color "default" cygpath: can't convert empty path pplatex: Process input file schippershandleiding.dvi : No such file or directorym/cmr10.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorylvetic/phvr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorym/cmsy10.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorymes/ptmr8t.tfm : No such file or directorylvetic/phvb8t.tfm : No such file or directorymes/ptmri8t.tfm : No such file or directorymes/ptmb8t.tfm : No such file or directorym/cmsy7.tfm : No such file or directoryurier/pcrr8t.tfm pplatex: Copy data to schippershandleiding.dvi Any suggestions? Maarten /usr/local/bin/latex #!/bin/sh # This is a wrapper script for the MikTeX's latex # # Simply change all Cygwin pathnames into mixed-style pathnames # both on the command line and in [EMAIL PROTECTED] statements. # # 2006-03-20 Enrico Forestieri # === # The program to call (This should be in the PATH) prog=latex.exe while [ $# -gt 0 ] ; do case "$1" in -*=*) opt=`echo "$1" | cut -d= -f1` arg=`echo "$1" | cut -d= -f2-` arg=`cygpath -m -- "$arg"` prog="$prog $opt='\"$arg\"'" ;; -*) prog="$prog $1" ;; *) prog="$prog '`cygpath -m -- "$1"`'" ipath=`head "$1" | grep [EMAIL PROTECTED] if [ ! -z "$ipath" ]; then posixpath=`expr "$ipath" : '[EMAIL PROTECTED](.*\)//}}.*'` winpath=`cygpath -m -- "$posixpath"` sed -i -e "/[EMAIL PROTECTED]/s?$posixpath?$winpath?" "$1" fi ;; esac shift done eval "exec $prog" -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Enrico Forestieri Sent: 21 March 2006 14:21 To: lyx-users@lists.lyx.org Subject: Re: Path of images in .layout and lyx1.4 on cygwin Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Georg Baum ...> writes: > Enrico> No, Georg, this is an oversight on my part :( > > Enrico> LyX inserts an \input path line, but that path is in > Enrico> posix format and MikTeX doesn't understand it. > > Wasn't this the whole point of the cygwin-path checkbox? Indeed. But, as I already said, it needs to be reviewed. I was missing this case and then there is the PATH prefix handling one. As it is now, the PATH prefix is to be entered in posix format, irrespectively of the checkbox status (whose name needs to be changed, too). My plan is to do that, but my spare time is a limited resource... -- Enrico
Path of images in .layout and lyx1.4 on cygwin
Hi, My cygwin lyx 1.4, with miktex works like a charm. Only one feature I have working in Lyx on linux isn't working and I cannot get it to work properly: In my company.layout file I have: = \pagestyle{fancy} \newsavebox{\oordlogo} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\headrulewidth}{0.5pt} \lhead{} \chead{} \rhead{\includegraphics[width=15mm]{images/logo.eps}} This returns: LaTex Error: File `images/logo.eps' not found.[] When I ask for a dvi or ps2pdf view. I have tried hardcoding the path in the layout file but for some reason the file cannot be found. If I run 'by hand': lyx -e mydoc.lyx latex mydoc.tex I get a DVI file that holds the image. Anyone a suggestion? met vriendelijke groet / kind regards, Maarten Sanders
Path of images in .layout and lyx1.4 on cygwin
Hi, My cygwin lyx 1.4, with miktex works like a charm. Only one feature I have working in Lyx on linux isn't working and I cannot get it to work properly: In my company.layout file I have: = \pagestyle{fancy} \newsavebox{\oordlogo} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\headrulewidth}{0.5pt} \lhead{} \chead{} \rhead{\includegraphics[width=15mm]{images/logo.eps}} This returns: LaTex Error: File `images/logo.eps' not found.[] When I ask for a dvi or ps2pdf view. I have tried hardcoding the path in the layout file but for some reason the file cannot be found. If I run 'by hand': lyx -e mydoc.lyx latex mydoc.tex I get a DVI file that holds the image. Anyone a suggestion? met vriendelijke groet / kind regards, Maarten Sanders
Path of images in .layout and lyx1.4 on cygwin
Hi, My cygwin lyx 1.4, with miktex works like a charm. Only one feature I have working in Lyx on linux isn't working and I cannot get it to work properly: In my company.layout file I have: = \pagestyle{fancy} \newsavebox{\oordlogo} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\headrulewidth}{0.5pt} \lhead{} \chead{} \rhead{\includegraphics[width=15mm]{images/logo.eps}} This returns: LaTex Error: File `images/logo.eps' not found.[] When I ask for a dvi or ps2pdf view. I have tried hardcoding the path in the layout file but for some reason the file cannot be found. If I run 'by hand': lyx -e mydoc.lyx latex mydoc.tex I get a DVI file that holds the image. Anyone a suggestion? met vriendelijke groet / kind regards, Maarten Sanders
Default behaviour of float
Hi, Is there some way (e.g. in a .layout) to tell LyX to automatically center the contents of a float environment (image and caption)? Maarten
Default behaviour of float
Hi, Is there some way (e.g. in a .layout) to tell LyX to automatically center the contents of a float environment (image and caption)? Maarten
Default behaviour of float
Hi, Is there some way (e.g. in a .layout) to tell LyX to automatically center the contents of a float environment (image and caption)? Maarten
Branch definition in .layout file
Hi, Short question, is it possible to put a branch definition in a .layout file? met vriendelijke groet / kind regards, Maarten Sanders
RE: Branch definition in .layout file
That was 'send' too fast: Let me make it more clear: is it possible to put (not use) a branch definition in a .layout file. Or, otherwise, can I create I file which I import in a document so that the branches are visible in the master document AND in all child documents? Thanks, Maarten -Original Message- From: Sanders, Maarten (M.J.L.) Sent: Thursday, December 22, 2005 1:46 PM To: lyx-users@lists.lyx.org Subject: Branch definition in .layout file Hi, Short question, is it possible to put a branch definition in a .layout file? met vriendelijke groet / kind regards, Maarten Sanders
RE: Beamer/pdflatex mystery
Paul, I have had a similar error on a mandrake 2005 system, though with ps2pdf. It turned out to be a problem with graphics and the ghostscript version. After I installed mandrake rpm ghostscript-8.15-16mdk.i586.rpm instead of 8.15-22 the problem was gone. Hope this gives you some pointers, Maarten -Original Message- From: Paul A. Rubin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 12:30 AM To: lyx-users@lists.lyx.org Subject: Beamer/pdflatex mystery This one is for the LaTeX gurus in the group: I have 18 Beamer presentations generated the usual way (created in LyX, output using pdflatex). To service a student request sigh, I loaded each one into Acrobat Pro 7 and used the menu option to enable commenting by Acrobat Reader. This leads Acrobat Pro to do arcane things (measured by a progress bar) and then write out a modified copy of the file. On 14 files, this worked fine; on four, it aborted midway with an error message that Acrobat could not read the file. The message is probably a bit misleading, as both Acrobat Pro and Acrobat Reader displayed all pages of each file correctly on screen. Poking around with Pro's preflight tool (which I think is more or less analogous to chklatex), I got a message on the four recalcitrant files that the document structure was corrupt. So I returned to LyX and generated those four presentations using the straight PDF output option, rather than pdflatex. All four files passed visual muster, and Acrobat Pro was perfectly happy to enable commenting on all four. Other than considerable time wasted hunting the bug and work-around, the only (minor) problem is that the non-pdflatex versions are *much* bigger than their pdflatex cousins. I can't find anything that differentiates the winners from the losers here. It's not the presence of graphics (at least one of the four had none), it's not the presence of math insets (several of the 14 that worked had math insets), ... Does anyone have any idea what pdflatex might be doing to offend the Gods of Document Structure (particularly in a way that does not stop Acrobat or Acrobat Reader from displaying the document correctly)? TIA, Paul
RE: Branch definition in .layout file
That is true, But we have 'organic' documentation so in time -thus after the document is in use- the number of branches may grow. Then I still would like to keep the available branches in sync over a range of documents. Maarten -Original Message- From: Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 3:29 PM To: Sanders, Maarten (M.J.L.) Cc: lyx-users@lists.lyx.org Subject: Re: Branch definition in .layout file Maarten == Sanders, Maarten (M J L ) [EMAIL PROTECTED] writes: Maarten That was 'send' too fast: Let me make it more clear: is it Maarten possible to put (not use) a branch definition in a .layout Maarten file. Or, otherwise, can I create I file which I import in a Maarten document so that the branches are visible in the master Maarten document AND in all child documents? You can do that with a template, or by using 'Save as Document defaults in DocumentSettings... JMarc
Redefine chapter/section and subsection appearance
Hi, This is more latex, but probably someone has an answer quickly. I want chapter, section and subsections to appear like this (view with a monospace font): 1.Chapter Her starts the text More text. . . . 1.1 Section Some section text etc. So I want the numbering to appear in the margin. Are there any packacges that deal with this or do I need to redefine the section, subsection, chapter etc. commands? met vriendelijke groet / kind regards, Maarten Sanders
Branch definition in .layout file
Hi, Short question, is it possible to put a branch definition in a .layout file? met vriendelijke groet / kind regards, Maarten Sanders
RE: Branch definition in .layout file
That was 'send' too fast: Let me make it more clear: is it possible to put (not use) a branch definition in a .layout file. Or, otherwise, can I create I file which I import in a document so that the branches are visible in the master document AND in all child documents? Thanks, Maarten -Original Message- From: Sanders, Maarten (M.J.L.) Sent: Thursday, December 22, 2005 1:46 PM To: lyx-users@lists.lyx.org Subject: Branch definition in .layout file Hi, Short question, is it possible to put a branch definition in a .layout file? met vriendelijke groet / kind regards, Maarten Sanders
RE: Beamer/pdflatex mystery
Paul, I have had a similar error on a mandrake 2005 system, though with ps2pdf. It turned out to be a problem with graphics and the ghostscript version. After I installed mandrake rpm ghostscript-8.15-16mdk.i586.rpm instead of 8.15-22 the problem was gone. Hope this gives you some pointers, Maarten -Original Message- From: Paul A. Rubin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 12:30 AM To: lyx-users@lists.lyx.org Subject: Beamer/pdflatex mystery This one is for the LaTeX gurus in the group: I have 18 Beamer presentations generated the usual way (created in LyX, output using pdflatex). To service a student request sigh, I loaded each one into Acrobat Pro 7 and used the menu option to enable commenting by Acrobat Reader. This leads Acrobat Pro to do arcane things (measured by a progress bar) and then write out a modified copy of the file. On 14 files, this worked fine; on four, it aborted midway with an error message that Acrobat could not read the file. The message is probably a bit misleading, as both Acrobat Pro and Acrobat Reader displayed all pages of each file correctly on screen. Poking around with Pro's preflight tool (which I think is more or less analogous to chklatex), I got a message on the four recalcitrant files that the document structure was corrupt. So I returned to LyX and generated those four presentations using the straight PDF output option, rather than pdflatex. All four files passed visual muster, and Acrobat Pro was perfectly happy to enable commenting on all four. Other than considerable time wasted hunting the bug and work-around, the only (minor) problem is that the non-pdflatex versions are *much* bigger than their pdflatex cousins. I can't find anything that differentiates the winners from the losers here. It's not the presence of graphics (at least one of the four had none), it's not the presence of math insets (several of the 14 that worked had math insets), ... Does anyone have any idea what pdflatex might be doing to offend the Gods of Document Structure (particularly in a way that does not stop Acrobat or Acrobat Reader from displaying the document correctly)? TIA, Paul
RE: Branch definition in .layout file
That is true, But we have 'organic' documentation so in time -thus after the document is in use- the number of branches may grow. Then I still would like to keep the available branches in sync over a range of documents. Maarten -Original Message- From: Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 3:29 PM To: Sanders, Maarten (M.J.L.) Cc: lyx-users@lists.lyx.org Subject: Re: Branch definition in .layout file Maarten == Sanders, Maarten (M J L ) [EMAIL PROTECTED] writes: Maarten That was 'send' too fast: Let me make it more clear: is it Maarten possible to put (not use) a branch definition in a .layout Maarten file. Or, otherwise, can I create I file which I import in a Maarten document so that the branches are visible in the master Maarten document AND in all child documents? You can do that with a template, or by using 'Save as Document defaults in DocumentSettings... JMarc
Redefine chapter/section and subsection appearance
Hi, This is more latex, but probably someone has an answer quickly. I want chapter, section and subsections to appear like this (view with a monospace font): 1.Chapter Her starts the text More text. . . . 1.1 Section Some section text etc. So I want the numbering to appear in the margin. Are there any packacges that deal with this or do I need to redefine the section, subsection, chapter etc. commands? met vriendelijke groet / kind regards, Maarten Sanders
Branch definition in .layout file
Hi, Short question, is it possible to put a branch definition in a .layout file? met vriendelijke groet / kind regards, Maarten Sanders
RE: Branch definition in .layout file
That was 'send' too fast: Let me make it more clear: is it possible to put (not use) a branch definition in a .layout file. Or, otherwise, can I create I file which I import in a document so that the branches are visible in the master document AND in all child documents? Thanks, Maarten > -Original Message- > From: Sanders, Maarten (M.J.L.) > Sent: Thursday, December 22, 2005 1:46 PM > To: lyx-users@lists.lyx.org > Subject: Branch definition in .layout file > > > Hi, > > Short question, is it possible to put a branch definition in > a .layout file? > > met vriendelijke groet / kind regards, > > Maarten Sanders > >
RE: Beamer/pdflatex mystery
Paul, I have had a similar error on a mandrake 2005 system, though with ps2pdf. It turned out to be a problem with graphics and the ghostscript version. After I installed mandrake rpm ghostscript-8.15-16mdk.i586.rpm instead of 8.15-22 the problem was gone. Hope this gives you some pointers, Maarten > -Original Message- > From: Paul A. Rubin [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 12:30 AM > To: lyx-users@lists.lyx.org > Subject: Beamer/pdflatex mystery > > > This one is for the LaTeX gurus in the group: > > I have 18 Beamer presentations generated the usual way > (created in LyX, > output using pdflatex). To service a student request , > I loaded > each one into Acrobat Pro 7 and used the menu option to enable > commenting by Acrobat Reader. This leads Acrobat Pro to do arcane > things (measured by a progress bar) and then write out a > modified copy > of the file. > > On 14 files, this worked fine; on four, it aborted midway > with an error > message that Acrobat could not read the file. The message is > probably a > bit misleading, as both Acrobat Pro and Acrobat Reader displayed all > pages of each file correctly on screen. Poking around with Pro's > "preflight" tool (which I think is more or less analogous to > chklatex), > I got a message on the four recalcitrant files that the document > structure was corrupt. > > So I returned to LyX and generated those four presentations using the > straight PDF output option, rather than pdflatex. All four > files passed > visual muster, and Acrobat Pro was perfectly happy to enable > commenting > on all four. Other than considerable time wasted hunting the bug and > work-around, the only (minor) problem is that the > non-pdflatex versions > are *much* bigger than their pdflatex cousins. > > I can't find anything that differentiates the winners from the losers > here. It's not the presence of graphics (at least one of the > four had > none), it's not the presence of math insets (several of the 14 that > worked had math insets), ... > > Does anyone have any idea what pdflatex might be doing to offend the > Gods of Document Structure (particularly in a way that does not stop > Acrobat or Acrobat Reader from displaying the document correctly)? > > TIA, > Paul > >
RE: Branch definition in .layout file
That is true, But we have 'organic' documentation so in time -thus after the document is in use- the number of branches may grow. Then I still would like to keep the available branches in sync over a range of documents. Maarten > -Original Message- > From: Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 3:29 PM > To: Sanders, Maarten (M.J.L.) > Cc: lyx-users@lists.lyx.org > Subject: Re: Branch definition in .layout file > > > >>>>> "Maarten" == Sanders, Maarten (M J L ) <[EMAIL PROTECTED]> writes: > > Maarten> That was 'send' too fast: Let me make it more clear: is it > Maarten> possible to put (not use) a branch definition in a .layout > Maarten> file. Or, otherwise, can I create I file which I import in a > Maarten> document so that the branches are visible in the master > Maarten> document AND in all child documents? > > You can do that with a template, or by using 'Save as > Document defaults" in Document>Settings... > > JMarc >
Redefine chapter/section and subsection appearance
Hi, This is more latex, but probably someone has an answer quickly. I want chapter, section and subsections to appear like this (view with a monospace font): 1.Chapter Her starts the text More text. . . . 1.1 Section Some section text etc. So I want the numbering to appear in the margin. Are there any packacges that deal with this or do I need to redefine the section, subsection, chapter etc. commands? met vriendelijke groet / kind regards, Maarten Sanders
multiple arguments for Lyx Style
Hi, Is it possible to create a Lyx Style which accepts multiple arguments? E.g. for, \newcommand{\onetwo}[2]{This #1 and this is #2} I can not find any examples. met vriendelijke groet / kind regards, Maarten Sanders
RE: Create my own Layout
Nicolas, My question earlier today is somewhat similar, so for the two arguments I have no answer yet. You can find layout examples in /usr/share/lyx/layouts (or somewhere close). Other examples are at: www.troubleshooters.com/linux/lyx/index.htm www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.hmtl If you want I can send you an example which I use for 1.4.0cvs but this can only serve as an example, it will not work since it requires other files which I can not distribute (I did post another example a while ago). Maarten -Original Message- From: Nicolás [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 12:29 PM To: lyx-users@lists.lyx.org Subject: Create my own Layout Hello! I am trying to create my own Lyx layout for the ACM SIG proceedings style. The problem is that in that class file there exist commands that take two arguments (e.g. \conferenceinfo{bla, bla}{more bla,bla}) and other commands that contain embedded commands, such as \author{ \alignauthor Ben Trovato\titlenote{Dr.~Trovato insisted his name be first, as he has an inordinately and inexplicably high opinion of himself.}\\ \affaddr{Institute for Clarity in Documentation}\\ \affaddr{1932 Wallamaloo Lane}\\ \affaddr{Wallamaloo, New Zealand}\\ [EMAIL PROTECTED] } I have tried to find some documentation on creating layouts, but did not find too much. Could anyone tell me if such documentation exists? Or could anyone tell me how can I declare such commands in my layout (if that is possible)? Thank you! Regrads, Nicolas
multiple arguments for Lyx Style
Hi, Is it possible to create a Lyx Style which accepts multiple arguments? E.g. for, \newcommand{\onetwo}[2]{This #1 and this is #2} I can not find any examples. met vriendelijke groet / kind regards, Maarten Sanders
RE: Create my own Layout
Nicolas, My question earlier today is somewhat similar, so for the two arguments I have no answer yet. You can find layout examples in /usr/share/lyx/layouts (or somewhere close). Other examples are at: www.troubleshooters.com/linux/lyx/index.htm www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.hmtl If you want I can send you an example which I use for 1.4.0cvs but this can only serve as an example, it will not work since it requires other files which I can not distribute (I did post another example a while ago). Maarten -Original Message- From: Nicolás [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 12:29 PM To: lyx-users@lists.lyx.org Subject: Create my own Layout Hello! I am trying to create my own Lyx layout for the ACM SIG proceedings style. The problem is that in that class file there exist commands that take two arguments (e.g. \conferenceinfo{bla, bla}{more bla,bla}) and other commands that contain embedded commands, such as \author{ \alignauthor Ben Trovato\titlenote{Dr.~Trovato insisted his name be first, as he has an inordinately and inexplicably high opinion of himself.}\\ \affaddr{Institute for Clarity in Documentation}\\ \affaddr{1932 Wallamaloo Lane}\\ \affaddr{Wallamaloo, New Zealand}\\ [EMAIL PROTECTED] } I have tried to find some documentation on creating layouts, but did not find too much. Could anyone tell me if such documentation exists? Or could anyone tell me how can I declare such commands in my layout (if that is possible)? Thank you! Regrads, Nicolas
multiple arguments for Lyx Style
Hi, Is it possible to create a Lyx Style which accepts multiple arguments? E.g. for, \newcommand{\onetwo}[2]{This #1 and this is #2} I can not find any examples. met vriendelijke groet / kind regards, Maarten Sanders
RE: Create my own Layout
Nicolas, My question earlier today is somewhat similar, so for the two arguments I have no answer yet. You can find layout examples in /usr/share/lyx/layouts (or somewhere close). Other examples are at: www.troubleshooters.com/linux/lyx/index.htm www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.hmtl If you want I can send you an example which I use for 1.4.0cvs but this can only serve as an example, it will not work since it requires other files which I can not distribute (I did post another example a while ago). Maarten > -Original Message- > From: Nicolás [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 14, 2005 12:29 PM > To: lyx-users@lists.lyx.org > Subject: Create my own Layout > > > Hello! > > I am trying to create my own Lyx layout for the ACM SIG proceedings > style. The problem is that in that class file there exist > commands that > take two arguments (e.g. \conferenceinfo{bla, bla}{more bla,bla}) and > other commands that contain embedded commands, such as > > \author{ > \alignauthor Ben Trovato\titlenote{Dr.~Trovato insisted his name be > first, as he has an inordinately and inexplicably high opinion of > himself.}\\ > \affaddr{Institute for Clarity in Documentation}\\ > \affaddr{1932 Wallamaloo Lane}\\ \affaddr{Wallamaloo, New > Zealand}\\ [EMAIL PROTECTED] } > > > I have tried to find some documentation on creating layouts, > but did not > find too much. Could anyone tell me if such documentation exists? Or > could anyone tell me how can I declare such commands in my layout (if > that is possible)? Thank you! > > Regrads, > Nicolas >
use lyxserver to set branch active
Hi, I am trying to get an idea on how to work with lyxserver. My idea is to have one master document with many child docs where the master doc sets all branches. Ideally we would also have one master file and a config utility that sets the branches in the state we want them. I have a .lyxpipe.in and .lyxpipe.out but how can I now set a branch to active from the unix command prompt? Are there any examples on how to do this? If not, is it possible to use an external file to use to set the status of the branches in an opened lyxdocument. met vriendelijke groet / kind regards, Maarten Sanders
use lyxserver to set branch active
Hi, I am trying to get an idea on how to work with lyxserver. My idea is to have one master document with many child docs where the master doc sets all branches. Ideally we would also have one master file and a config utility that sets the branches in the state we want them. I have a .lyxpipe.in and .lyxpipe.out but how can I now set a branch to active from the unix command prompt? Are there any examples on how to do this? If not, is it possible to use an external file to use to set the status of the branches in an opened lyxdocument. met vriendelijke groet / kind regards, Maarten Sanders
use lyxserver to set branch active
Hi, I am trying to get an idea on how to work with lyxserver. My idea is to have one master document with many child docs where the master doc sets all branches. Ideally we would also have one master file and a "config utility" that sets the branches in the state we want them. I have a .lyxpipe.in and .lyxpipe.out but how can I now set a branch to active from the unix command prompt? Are there any examples on how to do this? If not, is it possible to use an external file to "use" to set the status of the branches in an opened lyxdocument. met vriendelijke groet / kind regards, Maarten Sanders
RE: Where can I see what lyx is doing in the background whengenerating a preview?
I found a solution but it remains very strange. DVI output was generated but DVI failed to convert to PS. It seems dvips gest confused when in the master document preamble there is something like: \newcommand{\something}{something} and when a child document is using the same preamble. I really don't understand why this is happening but since I don't need the newcommand any more for me the problem is solved. I think it is more a dvips error because I can view the dvi. Maarten -Original Message- From: Georg Baum [mailto:[EMAIL PROTECTED] Sent: Sunday, October 30, 2005 7:06 PM To: lyx-users@lists.lyx.org Subject: Re: Where can I see what lyx is doing in the background whengenerating a preview? Am Sonntag, 30. Oktober 2005 00:05 schrieb Paul A. Rubin: Sanders, Maarten (M.J.L.) wrote: I already found out things work again when I remove the image from the child document OR when I adjust the page margins in the preamble instead of with the menu options. Very strange. I am running 1.4.0pre2. Since I don't want to bug the developers with this vague error and I have done so many not normal things to my documents I rather try to find out myself first where things go wrong. So my question is: Where can I see what lyx is doing in the background when generating a preview? Thanks, Maarten I would try starting LyX in debug mode (lyx -dbg all) from a command shell and see what messages turn up during the interlude. This should read lyx -dbg any but gives very much info. I guess that in this case lyx -dbg graphics would be better. To get a list of all possible debug switches, type lyx -dbg Georg
Custom titlepage
Hi, Is anyone aware of any samples of lyx and a customized titlepage? E.g. a full page image with text printed over it. met vriendelijke groet / kind regards, Maarten Sanders
RE: Where can I see what lyx is doing in the background whengenerating a preview?
I found a solution but it remains very strange. DVI output was generated but DVI failed to convert to PS. It seems dvips gest confused when in the master document preamble there is something like: \newcommand{\something}{something} and when a child document is using the same preamble. I really don't understand why this is happening but since I don't need the newcommand any more for me the problem is solved. I think it is more a dvips error because I can view the dvi. Maarten -Original Message- From: Georg Baum [mailto:[EMAIL PROTECTED] Sent: Sunday, October 30, 2005 7:06 PM To: lyx-users@lists.lyx.org Subject: Re: Where can I see what lyx is doing in the background whengenerating a preview? Am Sonntag, 30. Oktober 2005 00:05 schrieb Paul A. Rubin: Sanders, Maarten (M.J.L.) wrote: I already found out things work again when I remove the image from the child document OR when I adjust the page margins in the preamble instead of with the menu options. Very strange. I am running 1.4.0pre2. Since I don't want to bug the developers with this vague error and I have done so many not normal things to my documents I rather try to find out myself first where things go wrong. So my question is: Where can I see what lyx is doing in the background when generating a preview? Thanks, Maarten I would try starting LyX in debug mode (lyx -dbg all) from a command shell and see what messages turn up during the interlude. This should read lyx -dbg any but gives very much info. I guess that in this case lyx -dbg graphics would be better. To get a list of all possible debug switches, type lyx -dbg Georg
Custom titlepage
Hi, Is anyone aware of any samples of lyx and a customized titlepage? E.g. a full page image with text printed over it. met vriendelijke groet / kind regards, Maarten Sanders
RE: Where can I see what lyx is doing in the background whengenerating a preview?
I found a solution but it remains very strange. DVI output was generated but DVI failed to convert to PS. It seems dvips gest confused when in the master document preamble there is something like: \newcommand{\something}{something} and when a child document is using the same preamble. I really don't understand why this is happening but since I don't need the newcommand any more for me the problem is solved. I think it is more a dvips error because I can view the dvi. Maarten > -Original Message- > From: Georg Baum [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 30, 2005 7:06 PM > To: lyx-users@lists.lyx.org > Subject: Re: Where can I see what lyx is doing in the > background whengenerating a preview? > > > Am Sonntag, 30. Oktober 2005 00:05 schrieb Paul A. Rubin: > > Sanders, Maarten (M.J.L.) wrote: > > > > I already found out things work again when I remove the > image from > > > the > child document OR when I adjust the page margins in the > preamble instead > of with the menu options. > > Very strange. > > > > I am running 1.4.0pre2. Since I don't want to bug the developers > > > with > this vague error and I have done so many not normal things to my > documents I rather try to find out myself first where things > go wrong. So > my question is: > > > > > > Where can I see what lyx is doing in the background when > generating > > > a > preview? > > > > > > Thanks, > > > > > > Maarten > > > > > > > I would try starting LyX in debug mode (lyx -dbg all) from a command > > shell and see what messages turn up during the interlude. > > This should read > > lyx -dbg any > > but gives very much info. I guess that in this case > > lyx -dbg graphics > > would be better. To get a list of all possible debug switches, type > > lyx -dbg > > > Georg > >
Custom titlepage
Hi, Is anyone aware of any samples of lyx and a customized titlepage? E.g. a full page image with text printed over it. met vriendelijke groet / kind regards, Maarten Sanders
Where can I see what lyx is doing in the background when generating a preview?
Hi, I am struggling again with a possible bug. I have a chapter (created from c-code with a custom perl script) which is included in a master document. When I open the chapter I can generate a ps2pdf preview without any trouble. I edited the document and inserted an image and everything is still fine. When I now open the master file I can still access the child document. But when I try to generate a preview Lyx dies after it has taken several minutes of cpu time. It does not show anything like waiting gor latex run ... In this case also commandline exports last eternaly. I already found out things work again when I remove the image from the child document OR when I adjust the page margins in the preamble instead of with the menu options. I am running 1.4.0pre2. Since I don't want to bug the developers with this vague error and I have done so many not normal things to my documents I rather try to find out myself first where things go wrong. So my question is: Where can I see what lyx is doing in the background when generating a preview? Thanks, Maarten
Where can I see what lyx is doing in the background when generating a preview?
Hi, I am struggling again with a possible bug. I have a chapter (created from c-code with a custom perl script) which is included in a master document. When I open the chapter I can generate a ps2pdf preview without any trouble. I edited the document and inserted an image and everything is still fine. When I now open the master file I can still access the child document. But when I try to generate a preview Lyx dies after it has taken several minutes of cpu time. It does not show anything like waiting gor latex run ... In this case also commandline exports last eternaly. I already found out things work again when I remove the image from the child document OR when I adjust the page margins in the preamble instead of with the menu options. I am running 1.4.0pre2. Since I don't want to bug the developers with this vague error and I have done so many not normal things to my documents I rather try to find out myself first where things go wrong. So my question is: Where can I see what lyx is doing in the background when generating a preview? Thanks, Maarten
Where can I see what lyx is doing in the background when generating a preview?
Hi, I am struggling again with a possible bug. I have a chapter (created from c-code with a custom perl script) which is included in a master document. When I open the chapter I can generate a ps2pdf preview without any trouble. I edited the document and inserted an image and everything is still fine. When I now open the master file I can still access the child document. But when I try to generate a preview Lyx dies after it has taken several minutes of cpu time. It does not show anything like "waiting gor latex run ..". In this case also commandline exports last eternaly. I already found out things work again when I remove the image from the child document OR when I adjust the page margins in the preamble instead of with the menu options. I am running 1.4.0pre2. Since I don't want to bug the developers with this vague error and I have done so many not normal things to my documents I rather try to find out myself first where things go wrong. So my question is: Where can I see what lyx is doing in the background when generating a preview? Thanks, Maarten
`Un`branch command?
Hi, Does anyone know the keyboard shortcuts to `Un`branch a block of text in 1.4pre2? Select content, Cut, Paste, Delete empty branch is a bit much. met vriendelijke groet / kind regards, Maarten Sanders
`Un`branch command?
Hi, Does anyone know the keyboard shortcuts to `Un`branch a block of text in 1.4pre2? Select content, Cut, Paste, Delete empty branch is a bit much. met vriendelijke groet / kind regards, Maarten Sanders
`Un`branch command?
Hi, Does anyone know the keyboard shortcuts to `Un`branch a block of text in 1.4pre2? Select content, Cut, Paste, Delete empty branch is a bit much. met vriendelijke groet / kind regards, Maarten Sanders
RE: Lyx command line question: summarized
Thank you for all the contribution, Summarized: The latex export command line option works fine for regular latex, latex myfile.tex generates a valid dvi file. If you want to use pdflatex you should either: 1) edit the resulting .tex file and replace \usepackage{graphicx} with \usepackage[dvips]{graphicx} 2) run, before you run pdflatex, something like for FILE in `find . -name '*\.gif'`; do convert $FILE `echo $FILE | sed 's/\(.*\.\)gif/\1png/'`; done 3) Do not use gif's but png's instead Maarten -Original Message- From: Georg Baum [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 8:56 AM To: lyx-users@lists.lyx.org Subject: Re: Lyx command line question Geoffrey Lloyd wrote: Yes it should but you must note that Export-Pdflatex is different to Export-latex followed by running pdflatex on the file. In the second case the only Export that Lyx is performing is Lyx-tex. This will not convert any graphics file formats. This is true for 1.3.x, but 1.4 converts included graphics files if needed, and references the converted file in the .tex file. So the procedure lyx --export latex mylyxfile.lyx pdflatex mylyxfile.tex should produce identical results to export-pdflatex from GUI, with one exception: lyx --export latex can not know if the produced .tex file will be run through pdflatex or latex. It assumes latex, and this is the problem here: The gif file is converted to eps, and the .tex file contains '\includegraphics{foo}'. latex would find foo.eps (which was created), but pdflatex would find foo.pdf, foo.png or foo.jpg. So I recommend you use png or jpg files in the original dicument. This is indeed a workaround until we have a 'pdflatex' export format. Georg
RE: Lyx command line question: summarized
Thank you for all the contribution, Summarized: The latex export command line option works fine for regular latex, latex myfile.tex generates a valid dvi file. If you want to use pdflatex you should either: 1) edit the resulting .tex file and replace \usepackage{graphicx} with \usepackage[dvips]{graphicx} 2) run, before you run pdflatex, something like for FILE in `find . -name '*\.gif'`; do convert $FILE `echo $FILE | sed 's/\(.*\.\)gif/\1png/'`; done 3) Do not use gif's but png's instead Maarten -Original Message- From: Georg Baum [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 8:56 AM To: lyx-users@lists.lyx.org Subject: Re: Lyx command line question Geoffrey Lloyd wrote: Yes it should but you must note that Export-Pdflatex is different to Export-latex followed by running pdflatex on the file. In the second case the only Export that Lyx is performing is Lyx-tex. This will not convert any graphics file formats. This is true for 1.3.x, but 1.4 converts included graphics files if needed, and references the converted file in the .tex file. So the procedure lyx --export latex mylyxfile.lyx pdflatex mylyxfile.tex should produce identical results to export-pdflatex from GUI, with one exception: lyx --export latex can not know if the produced .tex file will be run through pdflatex or latex. It assumes latex, and this is the problem here: The gif file is converted to eps, and the .tex file contains '\includegraphics{foo}'. latex would find foo.eps (which was created), but pdflatex would find foo.pdf, foo.png or foo.jpg. So I recommend you use png or jpg files in the original dicument. This is indeed a workaround until we have a 'pdflatex' export format. Georg
RE: Lyx command line question: summarized
Thank you for all the contribution, Summarized: The latex export command line option works fine for regular latex, latex myfile.tex generates a valid dvi file. If you want to use pdflatex you should either: 1) edit the resulting .tex file and replace \usepackage{graphicx} with \usepackage[dvips]{graphicx} 2) run, before you run pdflatex, something like for FILE in `find . -name '*\.gif'`; do convert $FILE `echo $FILE | sed 's/\(.*\.\)gif/\1png/'`; done 3) Do not use gif's but png's instead Maarten > -Original Message- > From: Georg Baum [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 8:56 AM > To: lyx-users@lists.lyx.org > Subject: Re: Lyx command line question > > > Geoffrey Lloyd wrote: > > > Yes it should but you must note that Export->Pdflatex is > different to > > Export->latex followed by running pdflatex on the file. > > > > In the second case the only Export that Lyx is performing > is Lyx->tex. > > This will not convert any graphics file formats. > > This is true for 1.3.x, but 1.4 converts included graphics > files if needed, and references the converted file in the > .tex file. So the procedure > > lyx --export latex mylyxfile.lyx > pdflatex mylyxfile.tex > > should produce identical results to export->pdflatex from > GUI, with one > exception: > lyx --export latex can not know if the produced .tex file > will be run through pdflatex or latex. It assumes latex, and > this is the problem here: The gif file is converted to eps, > and the .tex file contains '\includegraphics{foo}'. latex > would find foo.eps (which was created), but pdflatex would > find foo.pdf, foo.png or foo.jpg. > > > So I recommend you use png or jpg files in the original dicument. > > This is indeed a workaround until we have a 'pdflatex' export format. > > > Georg > >
Lyx command line question
I try to use lyx from the command line. In lyx 1.4pre2 preview pdflatex goes fine. On the commandline I get: $ lyx --export latex myfile.lyx ... lot of messages but OK $ pdflatex myfile.tex ... goes fine except for an gif image. I can enter the latex question about an image not being found and the image is not there in the resulting pdf. Anyone an idea on what to do to get the image? Thanks, met vriendelijke groet / kind regards, Maarten Sanders
Lyx command line question
I try to use lyx from the command line. In lyx 1.4pre2 preview pdflatex goes fine. On the commandline I get: $ lyx --export latex myfile.lyx ... lot of messages but OK $ pdflatex myfile.tex ... goes fine except for an gif image. I can enter the latex question about an image not being found and the image is not there in the resulting pdf. Anyone an idea on what to do to get the image? Thanks, met vriendelijke groet / kind regards, Maarten Sanders
Lyx command line question
I try to use lyx from the command line. In lyx 1.4pre2 preview pdflatex goes fine. On the commandline I get: $ lyx --export latex myfile.lyx ... lot of messages but OK $ pdflatex myfile.tex ... goes fine except for an gif image. I can the latex question about an image not being found and the image is not there in the resulting pdf. Anyone an idea on what to do to get the image? Thanks, met vriendelijke groet / kind regards, Maarten Sanders
some observations about lyx1.4pre2
Hi, I am just playing a bit with lyx1.4pre2. some observations: 1) Compiling goes easy on Mandrake 2005 2) I did an open, modify and save from my previous docs, a master doc with several input's (this converts to the new format?). Using lyx2lyx warns: warning: malformed lyx file: missing 'collapsed' warning: malformed lyx file: missing 'wide' 3) I have segmentation faults whenever I touch the Navigate menu item with my 'original' documents. New documents seem OK. 4) I have hyperref package included in my layout preamble, but no bookmarks appear in the pdflatex'ed PDF. The latex log file however speaks about my hyperref options (set in layout preamble). Also when I create a new document the first time I invoke a pdf I see the bookmarks but they all point to page '0'. The next time all bookmarks are gone. 5) Branches, extremly useful feature. Unfortunatly the settings of a branch in a master document are not propagated to child documents having branches with the same name. Also, it is not possible - I mean I did not succeed - to put an item of a numbered list in a branch. e.g. 1. One branch 2. two 3. Three (or two) Hope this helps, Maarten
some observations about lyx1.4pre2
Hi, I am just playing a bit with lyx1.4pre2. some observations: 1) Compiling goes easy on Mandrake 2005 2) I did an open, modify and save from my previous docs, a master doc with several input's (this converts to the new format?). Using lyx2lyx warns: warning: malformed lyx file: missing 'collapsed' warning: malformed lyx file: missing 'wide' 3) I have segmentation faults whenever I touch the Navigate menu item with my 'original' documents. New documents seem OK. 4) I have hyperref package included in my layout preamble, but no bookmarks appear in the pdflatex'ed PDF. The latex log file however speaks about my hyperref options (set in layout preamble). Also when I create a new document the first time I invoke a pdf I see the bookmarks but they all point to page '0'. The next time all bookmarks are gone. 5) Branches, extremly useful feature. Unfortunatly the settings of a branch in a master document are not propagated to child documents having branches with the same name. Also, it is not possible - I mean I did not succeed - to put an item of a numbered list in a branch. e.g. 1. One branch 2. two 3. Three (or two) Hope this helps, Maarten
some observations about lyx1.4pre2
Hi, I am just playing a bit with lyx1.4pre2. some observations: 1) Compiling goes easy on Mandrake 2005 2) I did an open, modify and save from my previous docs, a master doc with several input's (this converts to the new format?). Using lyx2lyx warns: warning: malformed lyx file: missing 'collapsed' warning: malformed lyx file: missing 'wide' 3) I have segmentation faults whenever I touch the Navigate menu item with my 'original' documents. New documents seem OK. 4) I have hyperref package included in my layout preamble, but no bookmarks appear in the pdflatex'ed PDF. The latex log file however speaks about my hyperref options (set in layout preamble). Also when I create a new document the first time I invoke a pdf I see the bookmarks but they all point to page '0'. The next time all bookmarks are gone. 5) Branches, extremly useful feature. Unfortunatly the settings of a branch in a master document are not propagated to child documents having branches with the same name. Also, it is not possible - I mean I did not succeed - to put an item of a numbered list in a branch. e.g. 1. One branch 2. two 3. Three (or two) Hope this helps, Maarten
\Mynewcommand{\myoption} in Layout Style
Hi, Is it possible to catch this ERT: \Mynewcommand{\myoption} In a layout style so that in Lyx it displays as: \myoption in a normal text style (e.g. bold and slanted)? (or even better without slash) Thanks, Maarten
RE: \Mynewcommand{\myoption} in Layout Style
Helge, Basically I want to make an option for conditional text. I took Herbert Voss suggestions (www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.html In my layout Preamble I added: \newcommand{\Option}[1]{\setboolean{myOption}{#1}} In the document Preamble I have \newcommand{\unitwithoptionA}{true} this is to let the users specify which conditional text is to be included. So in the document I have: ERT \Option{\unitwithoptionA} And then the two environments with conditional text. What I would like: users can click an environment and only have to type the boolean's name. instead of ERT. Thanks, Maarten PS An even better option for me would be to define a begin_true, end_true, begin_false, end_false environment so that conditional text would also work over itemized lists, sections etc. -Original Message- From: Helge Hafting [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 1:20 PM To: Sanders, Maarten (M.J.L.); lyx-users@lists.lyx.org Subject: Re: \Mynewcommand{\myoption} in Layout Style Sanders, Maarten (M.J.L.) wrote: Hi, Is it possible to catch this ERT: \Mynewcommand{\myoption} In a layout style so that in Lyx it displays as: \myoption in a normal text style (e.g. bold and slanted)? (or even better without slash) Thanks, Maarten Not entirely sure what you want, but you can achieve a lot by creating your own layout file. A layout file lets you define your own paragraph styles, in addition to existing ones such as itemize, description, standard, subsection, . . . You can also redefine the existing ones, of course. You can decide what latex code should be generated for your paragraph style(s), so the final output will be right. You can also define what your styles should look like on screen: * what font size to use here you get your bold slanted * Any label in front of it, so you can get the label myoption if you want that. Start by looking at the help menu, and select Customization. This will help you with writing a new layout file, it is assumed that you know whatever latex you might need. Helge Hafting
\Mynewcommand{\myoption} in Layout Style
Hi, Is it possible to catch this ERT: \Mynewcommand{\myoption} In a layout style so that in Lyx it displays as: \myoption in a normal text style (e.g. bold and slanted)? (or even better without slash) Thanks, Maarten
RE: \Mynewcommand{\myoption} in Layout Style
Helge, Basically I want to make an option for conditional text. I took Herbert Voss suggestions (www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.html In my layout Preamble I added: \newcommand{\Option}[1]{\setboolean{myOption}{#1}} In the document Preamble I have \newcommand{\unitwithoptionA}{true} this is to let the users specify which conditional text is to be included. So in the document I have: ERT \Option{\unitwithoptionA} And then the two environments with conditional text. What I would like: users can click an environment and only have to type the boolean's name. instead of ERT. Thanks, Maarten PS An even better option for me would be to define a begin_true, end_true, begin_false, end_false environment so that conditional text would also work over itemized lists, sections etc. -Original Message- From: Helge Hafting [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 1:20 PM To: Sanders, Maarten (M.J.L.); lyx-users@lists.lyx.org Subject: Re: \Mynewcommand{\myoption} in Layout Style Sanders, Maarten (M.J.L.) wrote: Hi, Is it possible to catch this ERT: \Mynewcommand{\myoption} In a layout style so that in Lyx it displays as: \myoption in a normal text style (e.g. bold and slanted)? (or even better without slash) Thanks, Maarten Not entirely sure what you want, but you can achieve a lot by creating your own layout file. A layout file lets you define your own paragraph styles, in addition to existing ones such as itemize, description, standard, subsection, . . . You can also redefine the existing ones, of course. You can decide what latex code should be generated for your paragraph style(s), so the final output will be right. You can also define what your styles should look like on screen: * what font size to use here you get your bold slanted * Any label in front of it, so you can get the label myoption if you want that. Start by looking at the help menu, and select Customization. This will help you with writing a new layout file, it is assumed that you know whatever latex you might need. Helge Hafting
\Mynewcommand{\myoption} in Layout Style
Hi, Is it possible to catch this ERT: \Mynewcommand{\myoption} In a layout style so that in Lyx it displays as: \myoption in a normal text style (e.g. bold and slanted)? (or even better without slash) Thanks, Maarten
RE: \Mynewcommand{\myoption} in Layout Style
Helge, Basically I want to make an option for conditional text. I took Herbert Voss suggestions (www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.html In my layout Preamble I added: \newcommand{\Option}[1]{\setboolean{myOption}{#1}} In the document Preamble I have \newcommand{\unitwithoptionA}{true} this is to let the users specify which conditional text is to be included. So in the document I have: ERT \Option{\unitwithoptionA} And then the two environments with conditional text. What I would like: users can click an environment and only have to type the boolean's name. instead of ERT. Thanks, Maarten PS An even better option for me would be to define a begin_true, end_true, begin_false, end_false environment so that conditional text would also work over itemized lists, sections etc. > -Original Message- > From: Helge Hafting [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 04, 2005 1:20 PM > To: Sanders, Maarten (M.J.L.); lyx-users@lists.lyx.org > Subject: Re: \Mynewcommand{\myoption} in Layout Style > > > Sanders, Maarten (M.J.L.) wrote: > > >Hi, > > > >Is it possible to catch this ERT: > > > >\Mynewcommand{\myoption} > > > >In a layout style so that in Lyx it displays as: > > > >\myoption > > > >in a normal text style (e.g. bold and slanted)? (or even better > >without > >slash) > > > >Thanks, > >Maarten > > > > > Not entirely sure what you want, but you can achieve a lot by > creating your own layout file. > > A layout file lets you define your own paragraph styles, in > addition to existing ones such as itemize, description, > standard, subsection, . . . You can also redefine the > existing ones, of course. > > You can decide what latex code should be generated for your > paragraph style(s), so the final output will be right. You > can also define what your styles should look like on screen: > * what font & size to use here you get your bold & slanted > * Any label in front of it, so you can get the label "myoption" >if you want that. > > Start by looking at the help menu, and select > "Customization". This will help you with writing a new layout > file, it is assumed that you know whatever latex you might need. > > Helge Hafting > >
Lyx, pdfLatex and pdf bookmarks. Character not right.
Hi, I have following issue (I guess it is also (pdf)latex related, but give it a try here anyway). I have a document, language is selected as dutch. In the pdf I have a correct Lijst van figuren , a List of figures. However, in the PDF bookmarks it shows as y with double quotes on top which is correct but never used in print (only hand written). Anyone a suggestion? Maarten
Lyx, pdfLatex and pdf bookmarks. Character not right.
Hi, I have following issue (I guess it is also (pdf)latex related, but give it a try here anyway). I have a document, language is selected as dutch. In the pdf I have a correct Lijst van figuren , a List of figures. However, in the PDF bookmarks it shows as y with double quotes on top which is correct but never used in print (only hand written). Anyone a suggestion? Maarten
Lyx, pdfLatex and pdf bookmarks. Character not right.
Hi, I have following issue (I guess it is also (pdf)latex related, but give it a try here anyway). I have a document, language is selected as dutch. In the pdf I have a correct "Lijst van figuren" , a "List of figures". However, in the PDF bookmarks it shows as y with double quotes on top which is correct but never used in print (only hand written). Anyone a suggestion? Maarten
wrap: figure not working
Hi, I have a multipart (input) document in which I try to use a wrap: Figure. For some reason this does not show up in pdf files (pdflatex) but it shows up in html via tex2html. If I put the figure in an ordinary float it shows in both ways. The figure is a png. The funny thing is if I compile extended.lyx (the extended features doc) mobius.eps shows in the pdf file. From the latex Log I do not get a clue though it seems the figure is being processed. On the other hand, if I put a label in the caption and a reference in the file there is a complaint it is undefined but in html the ref is present and working. in my layout preamble section I have the following packages (in this order): helvet, rcs, fancyhdr, chappg, tocbibind, cmap, hyperref Anyone a suggestion on where/how to dig further? Maarten
wrap: figure not working
Hi, I have a multipart (input) document in which I try to use a wrap: Figure. For some reason this does not show up in pdf files (pdflatex) but it shows up in html via tex2html. If I put the figure in an ordinary float it shows in both ways. The figure is a png. The funny thing is if I compile extended.lyx (the extended features doc) mobius.eps shows in the pdf file. From the latex Log I do not get a clue though it seems the figure is being processed. On the other hand, if I put a label in the caption and a reference in the file there is a complaint it is undefined but in html the ref is present and working. in my layout preamble section I have the following packages (in this order): helvet, rcs, fancyhdr, chappg, tocbibind, cmap, hyperref Anyone a suggestion on where/how to dig further? Maarten
wrap: figure not working
Hi, I have a multipart (input) document in which I try to use a "wrap: Figure". For some reason this does not show up in pdf files (pdflatex) but it shows up in html via tex2html. If I put the figure in an ordinary float it shows in both ways. The figure is a png. The funny thing is if I compile extended.lyx (the extended features doc) mobius.eps shows in the pdf file. >From the latex Log I do not get a clue though it seems the figure is being processed. On the other hand, if I put a label in the caption and a reference in the file there is a complaint it is undefined but in html the ref is present and working. in my layout preamble section I have the following packages (in this order): helvet, rcs, fancyhdr, chappg, tocbibind, cmap, hyperref Anyone a suggestion on where/how to dig further? Maarten
Msg 2x
I am the only one receiving a lot, but not all, messages twice? Maarten