[ANNOUNCE] LyX 2.0.5
We are pleased to announce the release of LyX 2.0.5. This is the fifth maintenance release in the 2.0.x series. LyX 2.0.5 is the result of on-going efforts to make our stable version even more reliable and stable. We have fixed a number of bugs and made a number of improvements. These are detailed below. We encourage all LyX users to upgrade to this version. LyX is a document processor that encourages an approach to writing based on the structure of your documents and not simply their appearance. It is released under a Free and Open Source Software license. You can download LyX 2.0.5 from http://www.lyx.org/Download/. If you think you found a bug in LyX 2.0.5, either e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome. If you have trouble using LyX or have a question, consult the documentation that comes with LyX and the LyX wiki, which lives at http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org). We hope you enjoy using LyX 2.0.5. The LyX team. http://www.lyx.org What's new in LyX 2.0.5 === The ViewSource widget now allows you to select the backend to display, e.g., LaTeX or XHTML, rather than the output format. The previous choice really made no sense: You didn't see a PDF there if you chose one of the PDF output formats, but rather LaTeX. This solves some long-standing issues with ViewSource. There has been an important change in how the language lfun works. - language LANG now toggles between languages (status quo ante LyX 2.0.2) - language LANG set sets to language LANG (meaning of language LANG as of LyX 2.0.2) - language [reset] resets to the document language. - Menu functions are unchanged. What's new == ** Updates: *** * DOCUMENT INPUT/OUTPUT - Add explicit dvilualatex output format. - Add support for some IPA diacritics. - Enclose underlined \ref{} commands in \mbox{} to protect them when using the package soul in place of (or together with) ulem. * TEX2LYX IMPROVEMENTS - The polyglossia/XeTeX language commands are now supported (bug 8212). - It is now recognized if syncTeX is used (bug 8217). * USER INTERFACE - Reset only the top-level counter when starting the appendix. - Show backends, not formats, in menu View-Source (bug #7652). - Allow native LyX format to be shown in menu View-Source. - Implementation of spell check of current selection (bug #2511). - Add property list entries for high resolution display on Mac. - Semantic change of the language lfun (bug 8175): - language LANG now toggles between languages (status quo ante LyX 2.0.2) - language LANG set sets to language LANG (meaning of language LANG as of LyX 2.0.2) - language [reset] resets to the document language. - Menu functions are unchanged. * DOCUMENTATION AND LOCALIZATION - Updated French, German, Interlingua, Italian, Nynorsk, Polish, Slovak, Spanish, Swedish and Ukrainian user interface localizations. - New Spanish example files europeCV.lyx and modernCV.lyx. - Updated Spanish translation of the LyX manuals. - Updated french translation of the linguistics manual. - Updated information about literate programming (noweb). ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix assertion when start of appendix is in ERT (bug 8271). - Do not output empty language switch commands (bug 8216). - Do not let the master document interfere when a child is compiled standalone (bug 8000). - When using Turkish language, use the xkeyval package to avoid incompatibilities (bug 2005). - Do not ignore polyglossia commands in partial source preview (bug 8209). - Show enabled child-only branches content in source preview (bug 8001). - Export correct language change commands if document contains different CJK languages (bug 8215). - Fix encoding problems in hyperlink name field (bug 8357). - Fix bug that Elsevier documents became uncompilable when using refstyle for cross-references. - Fixed the layout and template file for scientific articles published by the American Psychological Association (APA) (bug 8187). - Write correct DTD for MathML (bug 8160). - Make the ~ char in Basque, Estonian and Galician non-active (bug 8265). - Embrace babel settings to \makeatletter ... \makeatother if they contain an @ glyph. - Improve the external file monitor. LyX should now also honor changes in graphics that are included via ERT or generated via knitr (bug 8336). - Fix LaTeX errors with right-to-left text when using XeTeX/Polyglossia (part of bug 8251). - Fix brackets direction in Hebrew documents when using XeTeX/Polyglossia and in Arabic documents on plain text output (part of bug 8251). - Fix bracket output with RTL languages (bug 8278). - Fix babel call with Arabic (arabi). - Fix suppression of language package. - Fix forward search with the Okular
[ANNOUNCE] LyX 2.0.5
We are pleased to announce the release of LyX 2.0.5. This is the fifth maintenance release in the 2.0.x series. LyX 2.0.5 is the result of on-going efforts to make our stable version even more reliable and stable. We have fixed a number of bugs and made a number of improvements. These are detailed below. We encourage all LyX users to upgrade to this version. LyX is a document processor that encourages an approach to writing based on the structure of your documents and not simply their appearance. It is released under a Free and Open Source Software license. You can download LyX 2.0.5 from http://www.lyx.org/Download/. If you think you found a bug in LyX 2.0.5, either e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome. If you have trouble using LyX or have a question, consult the documentation that comes with LyX and the LyX wiki, which lives at http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org). We hope you enjoy using LyX 2.0.5. The LyX team. http://www.lyx.org What's new in LyX 2.0.5 === The ViewSource widget now allows you to select the backend to display, e.g., LaTeX or XHTML, rather than the output format. The previous choice really made no sense: You didn't see a PDF there if you chose one of the PDF output formats, but rather LaTeX. This solves some long-standing issues with ViewSource. There has been an important change in how the language lfun works. - language LANG now toggles between languages (status quo ante LyX 2.0.2) - language LANG set sets to language LANG (meaning of language LANG as of LyX 2.0.2) - language [reset] resets to the document language. - Menu functions are unchanged. What's new == ** Updates: *** * DOCUMENT INPUT/OUTPUT - Add explicit dvilualatex output format. - Add support for some IPA diacritics. - Enclose underlined \ref{} commands in \mbox{} to protect them when using the package soul in place of (or together with) ulem. * TEX2LYX IMPROVEMENTS - The polyglossia/XeTeX language commands are now supported (bug 8212). - It is now recognized if syncTeX is used (bug 8217). * USER INTERFACE - Reset only the top-level counter when starting the appendix. - Show backends, not formats, in menu View-Source (bug #7652). - Allow native LyX format to be shown in menu View-Source. - Implementation of spell check of current selection (bug #2511). - Add property list entries for high resolution display on Mac. - Semantic change of the language lfun (bug 8175): - language LANG now toggles between languages (status quo ante LyX 2.0.2) - language LANG set sets to language LANG (meaning of language LANG as of LyX 2.0.2) - language [reset] resets to the document language. - Menu functions are unchanged. * DOCUMENTATION AND LOCALIZATION - Updated French, German, Interlingua, Italian, Nynorsk, Polish, Slovak, Spanish, Swedish and Ukrainian user interface localizations. - New Spanish example files europeCV.lyx and modernCV.lyx. - Updated Spanish translation of the LyX manuals. - Updated french translation of the linguistics manual. - Updated information about literate programming (noweb). ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix assertion when start of appendix is in ERT (bug 8271). - Do not output empty language switch commands (bug 8216). - Do not let the master document interfere when a child is compiled standalone (bug 8000). - When using Turkish language, use the xkeyval package to avoid incompatibilities (bug 2005). - Do not ignore polyglossia commands in partial source preview (bug 8209). - Show enabled child-only branches content in source preview (bug 8001). - Export correct language change commands if document contains different CJK languages (bug 8215). - Fix encoding problems in hyperlink name field (bug 8357). - Fix bug that Elsevier documents became uncompilable when using refstyle for cross-references. - Fixed the layout and template file for scientific articles published by the American Psychological Association (APA) (bug 8187). - Write correct DTD for MathML (bug 8160). - Make the ~ char in Basque, Estonian and Galician non-active (bug 8265). - Embrace babel settings to \makeatletter ... \makeatother if they contain an @ glyph. - Improve the external file monitor. LyX should now also honor changes in graphics that are included via ERT or generated via knitr (bug 8336). - Fix LaTeX errors with right-to-left text when using XeTeX/Polyglossia (part of bug 8251). - Fix brackets direction in Hebrew documents when using XeTeX/Polyglossia and in Arabic documents on plain text output (part of bug 8251). - Fix bracket output with RTL languages (bug 8278). - Fix babel call with Arabic (arabi). - Fix suppression of language package. - Fix forward search with the Okular
[ANNOUNCE] LyX 2.0.5
We are pleased to announce the release of LyX 2.0.5. This is the fifth maintenance release in the 2.0.x series. LyX 2.0.5 is the result of on-going efforts to make our stable version even more reliable and stable. We have fixed a number of bugs and made a number of improvements. These are detailed below. We encourage all LyX users to upgrade to this version. LyX is a document processor that encourages an approach to writing based on the structure of your documents and not simply their appearance. It is released under a Free and Open Source Software license. You can download LyX 2.0.5 from http://www.lyx.org/Download/. If you think you found a bug in LyX 2.0.5, either e-mail the LyX developers' mailing list (lyx-devel lists.lyx.org), or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome. If you have trouble using LyX or have a question, consult the documentation that comes with LyX and the LyX wiki, which lives at http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org). We hope you enjoy using LyX 2.0.5. The LyX team. http://www.lyx.org What's new in LyX 2.0.5 === The View>Source widget now allows you to select the backend to display, e.g., LaTeX or XHTML, rather than the output format. The previous choice really made no sense: You didn't see a PDF there if you chose one of the PDF output formats, but rather LaTeX. This solves some long-standing issues with View>Source. There has been an important change in how the "language" lfun works. - "language " now toggles between languages (status quo ante LyX 2.0.2) - "language set" sets to language (meaning of "language " as of LyX 2.0.2) - "language [reset]" resets to the document language. - Menu functions are unchanged. What's new == ** Updates: *** * DOCUMENT INPUT/OUTPUT - Add explicit dvilualatex output format. - Add support for some IPA diacritics. - Enclose underlined \ref{} commands in \mbox{} to protect them when using the package soul in place of (or together with) ulem. * TEX2LYX IMPROVEMENTS - The polyglossia/XeTeX language commands are now supported (bug 8212). - It is now recognized if syncTeX is used (bug 8217). * USER INTERFACE - Reset only the top-level counter when starting the appendix. - Show backends, not formats, in menu View->Source (bug #7652). - Allow native LyX format to be shown in menu View->Source. - Implementation of spell check of current selection (bug #2511). - Add property list entries for high resolution display on Mac. - Semantic change of the "language" lfun (bug 8175): - "language " now toggles between languages (status quo ante LyX 2.0.2) - "language set" sets to language (meaning of "language " as of LyX 2.0.2) - "language [reset]" resets to the document language. - Menu functions are unchanged. * DOCUMENTATION AND LOCALIZATION - Updated French, German, Interlingua, Italian, Nynorsk, Polish, Slovak, Spanish, Swedish and Ukrainian user interface localizations. - New Spanish example files europeCV.lyx and modernCV.lyx. - Updated Spanish translation of the LyX manuals. - Updated french translation of the linguistics manual. - Updated information about literate programming (noweb). ** Bug fixes: * * DOCUMENT INPUT/OUTPUT - Fix assertion when start of appendix is in ERT (bug 8271). - Do not output empty language switch commands (bug 8216). - Do not let the master document interfere when a child is compiled standalone (bug 8000). - When using Turkish language, use the xkeyval package to avoid incompatibilities (bug 2005). - Do not ignore polyglossia commands in partial source preview (bug 8209). - Show enabled child-only branches content in source preview (bug 8001). - Export correct language change commands if document contains different CJK languages (bug 8215). - Fix encoding problems in hyperlink name field (bug 8357). - Fix bug that Elsevier documents became uncompilable when using refstyle for cross-references. - Fixed the layout and template file for scientific articles published by the American Psychological Association (APA) (bug 8187). - Write correct DTD for MathML (bug 8160). - Make the ~ char in Basque, Estonian and Galician non-active (bug 8265). - Embrace babel settings to \makeatletter ... \makeatother if they contain an @ glyph. - Improve the external file monitor. LyX should now also honor changes in graphics that are included via ERT or generated via knitr (bug 8336). - Fix LaTeX errors with right-to-left text when using XeTeX/Polyglossia (part of bug 8251). - Fix brackets direction in Hebrew documents when using XeTeX/Polyglossia and in Arabic documents on plain text output (part of bug 8251). - Fix bracket output with RTL languages (bug 8278). - Fix babel call with Arabic (arabi). - Fix suppression of language package. - Fix forward search with the Okular viewer. If
Re: Layout for changing font within a paragraph?
On 05/04/2012 01:46 PM, James Sutherland wrote: FYI, I found a solution using InsetLayout InsetLayout Flex:Revision LyXType charstyle MultiPar true LatexName textcolor LatexParam {red} LatexType Command Font Color Red EndFont End This forces you to use Text Style to modify the text, but works fine. That's the difference between Layout and InsetLayout: The former is paragraph level; the latter is word level. There's a proposal to put some kind of combo box on the toolbar to allow easier access to these things. By the way, you don't need the quotes around Flex:Revision. Richard
Re: Layout for changing font within a paragraph?
On 05/04/2012 01:46 PM, James Sutherland wrote: FYI, I found a solution using InsetLayout InsetLayout Flex:Revision LyXType charstyle MultiPar true LatexName textcolor LatexParam {red} LatexType Command Font Color Red EndFont End This forces you to use Text Style to modify the text, but works fine. That's the difference between Layout and InsetLayout: The former is paragraph level; the latter is word level. There's a proposal to put some kind of combo box on the toolbar to allow easier access to these things. By the way, you don't need the quotes around Flex:Revision. Richard
Re: Layout for changing font within a paragraph?
On 05/04/2012 01:46 PM, James Sutherland wrote: FYI, I found a solution using "InsetLayout" InsetLayout "Flex:Revision" LyXType charstyle MultiPar true LatexName textcolor LatexParam {red} LatexType Command Font Color Red EndFont End This forces you to use "Text Style" to modify the text, but works fine. That's the difference between Layout and InsetLayout: The former is paragraph level; the latter is word level. There's a proposal to put some kind of combo box on the toolbar to allow easier access to these things. By the way, you don't need the quotes around "Flex:Revision". Richard
Re: Update text
On 04/20/2010 11:18 AM, Shirley Ong wrote: Hi all, Can someone show me how I can update text using Lyx or Tex code? Basically, what I want is similar to the Bookmark + cross reference features in MS Word. For example, I create a bookmark with text update me. Then I create a cross reference somewhere else in the document. The cross reference also shows update me. When I change the bookmark text to you are updated and select to update the whole document, the cross referenced text now shows you are updated. Just put a label: InsertLabel, with whatever text you want. Then put a cross reference to the label where you want. Change the label and the cross-ref will change, too, automatically, though of course all the labels have to have different names. If you don't want the label to show in output, just put it in a note (InsertNoteLyX Note). You can put the label in a note, too, if you really don't want it to be output. rh
Re: Update text
On 04/20/2010 11:18 AM, Shirley Ong wrote: Hi all, Can someone show me how I can update text using Lyx or Tex code? Basically, what I want is similar to the Bookmark + cross reference features in MS Word. For example, I create a bookmark with text update me. Then I create a cross reference somewhere else in the document. The cross reference also shows update me. When I change the bookmark text to you are updated and select to update the whole document, the cross referenced text now shows you are updated. Just put a label: InsertLabel, with whatever text you want. Then put a cross reference to the label where you want. Change the label and the cross-ref will change, too, automatically, though of course all the labels have to have different names. If you don't want the label to show in output, just put it in a note (InsertNoteLyX Note). You can put the label in a note, too, if you really don't want it to be output. rh
Re: Update text
On 04/20/2010 11:18 AM, Shirley Ong wrote: Hi all, Can someone show me how I can update text using Lyx or Tex code? Basically, what I want is similar to the Bookmark + cross reference features in MS Word. For example, I create a bookmark with text "update me". Then I create a cross reference somewhere else in the document. The cross reference also shows "update me". When I change the bookmark text to "you are updated" and select to update the whole document, the cross referenced text now shows "you are updated". Just put a label: Insert>Label, with whatever text you want. Then put a cross reference to the label where you want. Change the label and the cross-ref will change, too, automatically, though of course all the labels have to have different names. If you don't want the label to show in output, just put it in a note (Insert>Note>LyX Note). You can put the label in a note, too, if you really don't want it to be output. rh
Re: Formatting numbered equations
On 04/19/2010 02:25 PM, Marshall Feldman wrote: Hello, I have several questions regarding numbered equations: 1. How does one add punctuation to numbered equations? 2. How does one make the equations be part of a paragraph that begins before and continues after them? 3. How does one continue a numbered equation across multiple lines? That's a lot of questions. ;-) For example: _ Three of the most often quoted elementary mathematical equations are 2 + 2 = 4(1), C = 2 x pi x r (2), and A = (1/2) b x h (3). As you can see, Equation 2 is the most complex. _ In the above example, I can't figure out how to add the commas, period, and conjunction adjacent to the equation numbers. If you're using an equation array or something of the sort to format this, then you cannot add punctuation after the labels. There simply isn't any way to do this, so far as I know, not unless you define (or find) your own environments that allow it. An option is to turn on the fleqn option by putting fleqn in the Options field under DocumentSettingsDocument ClassCustom. This moves the numbers to the left, and then you can add the text in the usual way. Alternatively, change your syntax. These are three...:. Also notice that the sentence beginning with As is part of the paragraph beginning with Three. I can't get Lyx to format them right. The sentence beginning with Three is indented because it starts a paragraph. When I add anything after an equation number, LyX automatically treats it as a new paragraph. So in the above example, the line beginning with As you can is treated as the start of a new paragraph and indented. I'm not sure I fully understand this, but compare the two paragraphs in the attached document. In the second case, where the paragraph is indented, there is a return after the formula. If you put the cursor at the beginning of what and backspace, you will delete that return. Regarding my third question, I have a long equation that should span multiple lines. Instead, LyX keeps it on one line that runs off the right side of the page, when it should look like: 5 = 1 + 5 = 2 + 3 = 3 + 2 = 4 + 1 = 10/2 = 50/10 = 100/20 (4) Thanks for your help. You'll have to use something like the gather environment, or maybe an align environment, to format this correctly. Example in the file, again. rh #LyX 1.6.6svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass paper \begin_preamble \usepackage{heck} \end_preamble \use_default_options false \language english \inputencoding auto \font_roman times \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 11 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 0 \cite_engine natbib_authoryear \use_bibtopic false \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip smallskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard this. \begin_inset Formula \begin{gather} a=b\\ b=a\end{gather} \end_inset that. and now more \begin_inset Formula \begin{gather} a=b\\ b=a\end{gather} \end_inset \end_layout \begin_layout Standard what happened? Uh oh. \begin_inset Formula \[ a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z=0=1=2=3=4=5=6=7=8=9=0\] \end_inset Let's fix that. \begin_inset Formula \begin{align*} a =b=c=d=e=f=g=h=i=j=k=l\\ =m=n=o=p=q=r=s=t=u=v=w\\ =x=y=z=0=1=2=3=4=5=6=7=8=9=0\end{align*} \end_inset Much better. \end_layout \end_body \end_document
Re: Formatting numbered equations
On 04/19/2010 04:57 PM, Marshall Feldman wrote: Here's an example of what the CMS is talking about: The meal consisted of soup, salad, and macaroni and cheese. Of course, the better known case is the panda, who eats, shoots and leaves. rh
Re: Formatting numbered equations
On 04/19/2010 02:25 PM, Marshall Feldman wrote: Hello, I have several questions regarding numbered equations: 1. How does one add punctuation to numbered equations? 2. How does one make the equations be part of a paragraph that begins before and continues after them? 3. How does one continue a numbered equation across multiple lines? That's a lot of questions. ;-) For example: _ Three of the most often quoted elementary mathematical equations are 2 + 2 = 4(1), C = 2 x pi x r (2), and A = (1/2) b x h (3). As you can see, Equation 2 is the most complex. _ In the above example, I can't figure out how to add the commas, period, and conjunction adjacent to the equation numbers. If you're using an equation array or something of the sort to format this, then you cannot add punctuation after the labels. There simply isn't any way to do this, so far as I know, not unless you define (or find) your own environments that allow it. An option is to turn on the fleqn option by putting fleqn in the Options field under DocumentSettingsDocument ClassCustom. This moves the numbers to the left, and then you can add the text in the usual way. Alternatively, change your syntax. These are three...:. Also notice that the sentence beginning with As is part of the paragraph beginning with Three. I can't get Lyx to format them right. The sentence beginning with Three is indented because it starts a paragraph. When I add anything after an equation number, LyX automatically treats it as a new paragraph. So in the above example, the line beginning with As you can is treated as the start of a new paragraph and indented. I'm not sure I fully understand this, but compare the two paragraphs in the attached document. In the second case, where the paragraph is indented, there is a return after the formula. If you put the cursor at the beginning of what and backspace, you will delete that return. Regarding my third question, I have a long equation that should span multiple lines. Instead, LyX keeps it on one line that runs off the right side of the page, when it should look like: 5 = 1 + 5 = 2 + 3 = 3 + 2 = 4 + 1 = 10/2 = 50/10 = 100/20 (4) Thanks for your help. You'll have to use something like the gather environment, or maybe an align environment, to format this correctly. Example in the file, again. rh #LyX 1.6.6svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass paper \begin_preamble \usepackage{heck} \end_preamble \use_default_options false \language english \inputencoding auto \font_roman times \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 11 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 0 \cite_engine natbib_authoryear \use_bibtopic false \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip smallskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Standard this. \begin_inset Formula \begin{gather} a=b\\ b=a\end{gather} \end_inset that. and now more \begin_inset Formula \begin{gather} a=b\\ b=a\end{gather} \end_inset \end_layout \begin_layout Standard what happened? Uh oh. \begin_inset Formula \[ a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z=0=1=2=3=4=5=6=7=8=9=0\] \end_inset Let's fix that. \begin_inset Formula \begin{align*} a =b=c=d=e=f=g=h=i=j=k=l\\ =m=n=o=p=q=r=s=t=u=v=w\\ =x=y=z=0=1=2=3=4=5=6=7=8=9=0\end{align*} \end_inset Much better. \end_layout \end_body \end_document
Re: Formatting numbered equations
On 04/19/2010 04:57 PM, Marshall Feldman wrote: Here's an example of what the CMS is talking about: The meal consisted of soup, salad, and macaroni and cheese. Of course, the better known case is the panda, who eats, shoots and leaves. rh
Re: Formatting numbered equations
On 04/19/2010 02:25 PM, Marshall Feldman wrote: Hello, I have several questions regarding numbered equations: 1. How does one add punctuation to numbered equations? 2. How does one make the equations be part of a paragraph that begins before and continues after them? 3. How does one continue a numbered equation across multiple lines? That's a lot of questions. ;-) For example: _ Three of the most often quoted elementary mathematical equations are 2 + 2 = 4(1), C = 2 x pi x r (2), and A = (1/2) b x h (3). As you can see, Equation 2 is the most complex. _ In the above example, I can't figure out how to add the commas, period, and conjunction adjacent to the equation numbers. If you're using an equation array or something of the sort to format this, then you cannot add punctuation after the labels. There simply isn't any way to do this, so far as I know, not unless you define (or find) your own environments that allow it. An option is to turn on the "fleqn" option by putting "fleqn" in the Options field under Document>Settings>Document Class>Custom. This moves the numbers to the left, and then you can add the text in the usual way. Alternatively, change your syntax. "These are three...:". Also notice that the sentence beginning with "As" is part of the paragraph beginning with "Three." I can't get Lyx to format them right. The sentence beginning with "Three" is indented because it starts a paragraph. When I add anything after an equation number, LyX automatically treats it as a new paragraph. So in the above example, the line beginning with "As you can" is treated as the start of a new paragraph and indented. I'm not sure I fully understand this, but compare the two paragraphs in the attached document. In the second case, where the paragraph is indented, there is a return after the formula. If you put the cursor at the beginning of "what" and backspace, you will delete that return. Regarding my third question, I have a long equation that should span multiple lines. Instead, LyX keeps it on one line that runs off the right side of the page, when it should look like: 5 = 1 + 5 = 2 + 3 = 3 + 2 = 4 + 1 = 10/2 = 50/10 = 100/20 (4) Thanks for your help. You'll have to use something like the gather environment, or maybe an align environment, to format this correctly. Example in the file, again. rh #LyX 1.6.6svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass paper \begin_preamble \usepackage{heck} \end_preamble \use_default_options false \language english \inputencoding auto \font_roman times \font_sans helvet \font_typewriter courier \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 11 \spacing single \use_hyperref false \papersize letterpaper \use_geometry false \use_amsmath 1 \use_esint 0 \cite_engine natbib_authoryear \use_bibtopic false \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip smallskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle plain \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Standard this. \begin_inset Formula \begin{gather} a=b\\ b=a\end{gather} \end_inset that. and now more \begin_inset Formula \begin{gather} a=b\\ b=a\end{gather} \end_inset \end_layout \begin_layout Standard what happened? Uh oh. \begin_inset Formula \[ a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z=0=1=2=3=4=5=6=7=8=9=0\] \end_inset Let's fix that. \begin_inset Formula \begin{align*} a & =b=c=d=e=f=g=h=i=j=k=l\\ & =m=n=o=p=q=r=s=t=u=v=w\\ & =x=y=z=0=1=2=3=4=5=6=7=8=9=0\end{align*} \end_inset Much better. \end_layout \end_body \end_document
Re: Formatting numbered equations
On 04/19/2010 04:57 PM, Marshall Feldman wrote: Here's an example of what the CMS is talking about: "The meal consisted of soup, salad, and macaroni and cheese." Of course, the better known case is the panda, who eats, shoots and leaves. rh
Re: Access LyX version number from within a document
On 04/16/2010 07:44 AM, nore...@augrime.net wrote: Hi, I would like to stamp documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: This document was produced with LyX 1.6.4.1 Is this currently possible? I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version rh
Re: grammar check?
On 04/17/2010 11:44 AM, Marcelo Acuña wrote: It is in schedule a grammar check in future versions of lyx? No. If there is a good open source one, it could perhaps be linked into LyX, if someone wanted to do that work. Richard
Re: Theoreme Enumeration by subsection
On 04/17/2010 02:45 PM, Philiрp Rеichmuth wrote: Am Sat, 17 Apr 2010 19:54:05 +0200 schrieb iustifico: I am using book (KOMA-script) as documentclass and I want to enumerate my propositions, definitions etc. by subsection, like this: I. Section I.1 Subsection Definition I.1.1 Proposition I.1.2 You can use the chngcntr package to control which counters get reset when and where. Good suggestion. The koma-script packages may have options to control this, too, but I don't know. Check the koma-script documentation. rh
Re: Theoreme Enumeration by subsection
On 04/17/2010 04:42 PM, iustifico wrote: Am 17.04.2010 um 20:45 schrieb Philiрp Rеichmuth: Am Sat, 17 Apr 2010 19:54:05 +0200 schrieb iustifico: I am using book (KOMA-script) as documentclass and I want to enumerate my propositions, definitions etc. by subsection, like this: I. Section I.1 Subsection Definition I.1.1 Proposition I.1.2 You can use the chngcntr package to control which counters get reset when and where. For example in my preamble I use \usepackage{chngcntr} \counterwithout{footnote}{chapter} for continuous numbering of footnotes across chapter boundaries. So you could use something like \counterwithin*{defn}{subsection} etc., substituting defn for the names of all the environments whose counter you want to redefine. When I do \usepackage{chngcntr} \counterwithin{definition}{subsection} in the preamble of Lyx, it tells me definition is not a counter. I assume, that e.g. propositions or definitions have a counter variable. But how do I get their names? The counters are shared with theorem, lemma, etc. I think what you want is: \counterwithin{thm}{subsection} See the theorems-std.inc or theorems-ams.inc file for how the theorem environments are defined. By the way, I don't know why it didn't occur to me before, but the attached is a module for this. It's the obvious adaptation of the the Theorems by Section module. Put it in your LyX user directory (e.g., ~/.lyx/layouts/ on Linux), reconfigure LyX, and it will appear under DocumentSettingsModules. Select it, and your theorems will be numbered by subsection. Richard #\DeclareLyXModule{Theorems (Numbered by Subsection)} #DescriptionBegin #Numbers theorems and the like by subsection (i.e., the counter is reset at #each subsection start). #DescriptionEnd #Requires: theorems-std | theorems-ams #Excludes: theorems-chap theorems-sec # Author: Richard Heck rgh...@comcast.net # Tweaked by Paul Rubin ru...@msu.edu June '09 (added theoremstyle) Format 11 Counter theorem Within subsection End Style Theorem Preamble \theoremstyle{plain} \newtheorem{thm}{Theorem}[subsection] EndPreamble End
Re: Access LyX version number from within a document
On 04/16/2010 07:44 AM, nore...@augrime.net wrote: Hi, I would like to stamp documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: This document was produced with LyX 1.6.4.1 Is this currently possible? I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version rh
Re: grammar check?
On 04/17/2010 11:44 AM, Marcelo Acuña wrote: It is in schedule a grammar check in future versions of lyx? No. If there is a good open source one, it could perhaps be linked into LyX, if someone wanted to do that work. Richard
Re: Theoreme Enumeration by subsection
On 04/17/2010 02:45 PM, Philiрp Rеichmuth wrote: Am Sat, 17 Apr 2010 19:54:05 +0200 schrieb iustifico: I am using book (KOMA-script) as documentclass and I want to enumerate my propositions, definitions etc. by subsection, like this: I. Section I.1 Subsection Definition I.1.1 Proposition I.1.2 You can use the chngcntr package to control which counters get reset when and where. Good suggestion. The koma-script packages may have options to control this, too, but I don't know. Check the koma-script documentation. rh
Re: Theoreme Enumeration by subsection
On 04/17/2010 04:42 PM, iustifico wrote: Am 17.04.2010 um 20:45 schrieb Philiрp Rеichmuth: Am Sat, 17 Apr 2010 19:54:05 +0200 schrieb iustifico: I am using book (KOMA-script) as documentclass and I want to enumerate my propositions, definitions etc. by subsection, like this: I. Section I.1 Subsection Definition I.1.1 Proposition I.1.2 You can use the chngcntr package to control which counters get reset when and where. For example in my preamble I use \usepackage{chngcntr} \counterwithout{footnote}{chapter} for continuous numbering of footnotes across chapter boundaries. So you could use something like \counterwithin*{defn}{subsection} etc., substituting defn for the names of all the environments whose counter you want to redefine. When I do \usepackage{chngcntr} \counterwithin{definition}{subsection} in the preamble of Lyx, it tells me definition is not a counter. I assume, that e.g. propositions or definitions have a counter variable. But how do I get their names? The counters are shared with theorem, lemma, etc. I think what you want is: \counterwithin{thm}{subsection} See the theorems-std.inc or theorems-ams.inc file for how the theorem environments are defined. By the way, I don't know why it didn't occur to me before, but the attached is a module for this. It's the obvious adaptation of the the Theorems by Section module. Put it in your LyX user directory (e.g., ~/.lyx/layouts/ on Linux), reconfigure LyX, and it will appear under DocumentSettingsModules. Select it, and your theorems will be numbered by subsection. Richard #\DeclareLyXModule{Theorems (Numbered by Subsection)} #DescriptionBegin #Numbers theorems and the like by subsection (i.e., the counter is reset at #each subsection start). #DescriptionEnd #Requires: theorems-std | theorems-ams #Excludes: theorems-chap theorems-sec # Author: Richard Heck rgh...@comcast.net # Tweaked by Paul Rubin ru...@msu.edu June '09 (added theoremstyle) Format 11 Counter theorem Within subsection End Style Theorem Preamble \theoremstyle{plain} \newtheorem{thm}{Theorem}[subsection] EndPreamble End
Re: Access LyX version number from within a document
On 04/16/2010 07:44 AM, nore...@augrime.net wrote: Hi, I would like to "stamp" documents with the version number of LyX which produces them, i.e. a PDF should contain something like this: "This document was produced with LyX 1.6.4.1" Is this currently possible? I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version rh
Re: grammar check?
On 04/17/2010 11:44 AM, Marcelo Acuña wrote: It is in schedule a grammar check in future versions of lyx? No. If there is a good open source one, it could perhaps be linked into LyX, if someone wanted to do that work. Richard
Re: Theoreme Enumeration by subsection
On 04/17/2010 02:45 PM, Philiрp Rеichmuth wrote: Am Sat, 17 Apr 2010 19:54:05 +0200 schrieb iustifico: I am using "book (KOMA-script)" as documentclass and I want to enumerate my propositions, definitions etc. by subsection, like this: I. Section I.1 Subsection Definition I.1.1 Proposition I.1.2 You can use the chngcntr package to control which counters get reset when and where. Good suggestion. The koma-script packages may have options to control this, too, but I don't know. Check the koma-script documentation. rh
Re: Theoreme Enumeration by subsection
On 04/17/2010 04:42 PM, iustifico wrote: Am 17.04.2010 um 20:45 schrieb Philiрp Rеichmuth: Am Sat, 17 Apr 2010 19:54:05 +0200 schrieb iustifico: I am using "book (KOMA-script)" as documentclass and I want to enumerate my propositions, definitions etc. by subsection, like this: I. Section I.1 Subsection Definition I.1.1 Proposition I.1.2 You can use the chngcntr package to control which counters get reset when and where. For example in my preamble I use \usepackage{chngcntr} \counterwithout{footnote}{chapter} for continuous numbering of footnotes across chapter boundaries. So you could use something like \counterwithin*{defn}{subsection} etc., substituting "defn" for the names of all the environments whose counter you want to redefine. When I do \usepackage{chngcntr} \counterwithin{definition}{subsection} in the preamble of Lyx, it tells me definition is not a counter. I assume, that e.g. propositions or definitions have a "counter variable". But how do I get their names? The counters are shared with theorem, lemma, etc. I think what you want is: \counterwithin{thm}{subsection} See the theorems-std.inc or theorems-ams.inc file for how the theorem environments are defined. By the way, I don't know why it didn't occur to me before, but the attached is a module for this. It's the obvious adaptation of the the "Theorems by Section" module. Put it in your LyX user directory (e.g., ~/.lyx/layouts/ on Linux), reconfigure LyX, and it will appear under Document>Settings>Modules. Select it, and your theorems will be numbered by subsection. Richard #\DeclareLyXModule{Theorems (Numbered by Subsection)} #DescriptionBegin #Numbers theorems and the like by subsection (i.e., the counter is reset at #each subsection start). #DescriptionEnd #Requires: theorems-std | theorems-ams #Excludes: theorems-chap theorems-sec # Author: Richard Heck# Tweaked by Paul Rubin June '09 (added theoremstyle) Format 11 Counter theorem Within subsection End Style Theorem Preamble \theoremstyle{plain} \newtheorem{thm}{Theorem}[subsection] EndPreamble End
Re: windows update error in document (conversion back from PDF to LYX)
On 04/15/2010 04:06 AM, katrine wex wrote: Hey there, My computer decided to do a windows update last night, and when i oppened the computer this morning my lyx documents said format error, plus the newest file seems to be lost. However i have the newest saved as PDF any chance you can convert this back to LYX, because theres alot of formulas and stuff so it'll take forever to rewrite?? I really hope you guys can help me! There's no way to convert PDF to LyX. You can extract the plain text from the file, which will help some, but you won't get the formulas in a form LyX can use them. That said, it's a little unclear how a Windows update could cause errors in the LyX document format. Can you post one of those files here, or send it to me? Richard
Re: windows update error in document (conversion back from PDF to LYX)
On 04/15/2010 04:06 AM, katrine wex wrote: Hey there, My computer decided to do a windows update last night, and when i oppened the computer this morning my lyx documents said format error, plus the newest file seems to be lost. However i have the newest saved as PDF any chance you can convert this back to LYX, because theres alot of formulas and stuff so it'll take forever to rewrite?? I really hope you guys can help me! There's no way to convert PDF to LyX. You can extract the plain text from the file, which will help some, but you won't get the formulas in a form LyX can use them. That said, it's a little unclear how a Windows update could cause errors in the LyX document format. Can you post one of those files here, or send it to me? Richard
Re: windows update error in document (conversion back from PDF to LYX)
On 04/15/2010 04:06 AM, katrine wex wrote: Hey there, My computer decided to do a windows update last night, and when i oppened the computer this morning my lyx documents said format error, plus the newest file seems to be lost. However i have the newest saved as PDF any chance you can convert this back to LYX, because theres alot of formulas and stuff so it'll take forever to rewrite?? I really hope you guys can help me! There's no way to convert PDF to LyX. You can extract the plain text from the file, which will help some, but you won't get the formulas in a form LyX can use them. That said, it's a little unclear how a Windows update could cause errors in the LyX document format. Can you post one of those files here, or send it to me? Richard
Re: Elseartice on Lyx
On 04/13/2010 02:11 PM, Bruno Cocciaro wrote: Hello all, I am very new on Lyx (and on Latex too), I hope anyone may help me. I use Win 7, Lyx 1.6.5, MixTex 2.8. Opening the template elsearticle and trying to view the dvi (same problems if I ask for the pdf or for the ps) I always obtain this: {\Pifont{psy} } I wasn't able to read the size data for this font, so I will ignore the font specification. Apparently, you are missing the info for this font. I'm not sure why the elsearticle template wants it, but you can try installing it however MikTeX allows you to do that. rh
Re: Elseartice on Lyx
On 04/13/2010 02:11 PM, Bruno Cocciaro wrote: Hello all, I am very new on Lyx (and on Latex too), I hope anyone may help me. I use Win 7, Lyx 1.6.5, MixTex 2.8. Opening the template elsearticle and trying to view the dvi (same problems if I ask for the pdf or for the ps) I always obtain this: {\Pifont{psy} } I wasn't able to read the size data for this font, so I will ignore the font specification. Apparently, you are missing the info for this font. I'm not sure why the elsearticle template wants it, but you can try installing it however MikTeX allows you to do that. rh
Re: Elseartice on Lyx
On 04/13/2010 02:11 PM, Bruno Cocciaro wrote: Hello all, I am very new on Lyx (and on Latex too), I hope anyone may help me. I use Win 7, Lyx 1.6.5, MixTex 2.8. Opening the template elsearticle and trying to view the dvi (same problems if I ask for the pdf or for the ps) I always obtain this: {\Pifont{psy} } I wasn't able to read the size data for this font, so I will ignore the font specification. Apparently, you are missing the info for this font. I'm not sure why the elsearticle template wants it, but you can try installing it however MikTeX allows you to do that. rh
Re: insert custom layout
On 04/13/2010 06:12 AM, Guenter Milde wrote: The problem occured also in the dinbrief class. It's solved by defining two styles. From dinbrief.layout:: # dinbrief's \phone has 2 args, area and number. We define an empty # command that can be set by the Area_Code style Preamble \newcommand{\areacode}{} EndPreamble ... # dinbrief's \phone has 2 args, area and number, # define both as distinct styles Style Area code CopyStyle DinBrief LabelString Vorwahl: LatexName renewcommand{\areacode} End Style Telephone CopyStyle DinBrief LabelString Telefon: LatexName phone LatexParam {\areacode} End It should be possible to adapt this technique to liuthesis if the ERT hack is too hackish. That's impressive, but pretty hackish itself! Perhaps for 2.1 I'll try to get actual multi-argument commands working. rh
Re: new google docs interface, with wave backend. (collaboration trends)
On 04/13/2010 10:43 AM, Jürgen Spitzmüller wrote: rgheck wrote: It'd be nice to hear precisely what people would want that version control does not provide. I have a hard time myself seeing why it is any more than an isn't that cool feature for two people simultaneously to edit a single document. I.e., fun, but hardly revolutionary as far as actual productivity goes, at least for the sort of work most LyX users actually do. There's no doubt that LyXs' VC support could be improved, and it has been in some significant ways for 2.0, so we'd happily hear suggestions about that, too. I also think that VC probably provides all you need for collaboration (although a closer integration of VC, comparision and CT would be cool). For me, a main obstacle is the lack of a suitable web service. My Faculty does not provide svn or other VC repositories, and I did not find a suitable service on the web yet, where I can savely store my data in such a way that only selected people can access it. But maybe I just didn't search long enough. I looked into some of this a while ago, and there aren't great options for the sort of thing we're discussing: I.e., not programming, and not open to everyone's eyes. Brown, as it happens, does provide such a facility, though I haven't yet found the time even to move our website code over there. Have you asked the IS people if they'd think about supporting svn on their servers? Richard
Re: Subscript in a chemical symbol and lyx formula
On 04/13/2010 12:25 PM, YURENA MENDOZA wrote: I want to put a subscript in a chemical symbol using the mhchem package, for example CO2pc. On the other hand, Can I put into by the same way as I enter in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula? In formulas, you can just enter raw LaTeX if you like. E.g., you can type \hello{hi}, and that is precisely what you will see. If you had in your preamble: \newcommand\hello[1]{2^{#1}} Then you'd get the output you expect. Note that you do need to be careful about whether the brackets are escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument brackets in red, and delimiter brackets in blue. To get the former, you type \{, ironically enough, though you will get them automatically immediately after a command. Richard
Re: Subscript in a chemical symbol and lyx formula
On 04/13/2010 12:25 PM, YURENA MENDOZA wrote: I want to put a subscript in a chemical symbol using the mhchem package, for example CO2pc. On the other hand, Can I put into by the same way as I enter in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula? In formulas, you can just enter raw LaTeX if you like. E.g., you can type \hello{hi}, and that is precisely what you will see. If you had in your preamble: \newcommand\hello[1]{2^{#1}} Then you'd get the output you expect. Note that you do need to be careful about whether the brackets are escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument brackets in red, and delimiter brackets in blue. To get the former, you type \{, ironically enough, though you will get them automatically immediately after a command. Richard
Re: new google docs interface, with wave backend. (collaboration trends)
On 04/13/2010 01:34 PM, Charles de Miramon wrote: rgheck wrote: It'd be nice to hear precisely what people would want that version control does not provide. I have a hard time myself seeing why it is any more than an isn't that cool feature for two people simultaneously to edit a single document. I.e., fun, but hardly revolutionary as far as actual productivity goes, at least for the sort of work most LyX users actually do. After using LyX for a long time. What I would like is a possibility to manage the life cycle of an article. My paper starts as a working paper, and handout and maybe a beamer presentation, then a long version, a short version, a version formatted for X, proofs, printed version, my additions and corrections to the printed version, a version for an online repository, bits and pieces discarded from the article that I want to keep with it, etc. For this kind of thing, VC is precisely what you want, I think, i.e., a record of the evolution of your document, the ability to rewind to older versions, see a record of your changes, etc. Richard
Re: insert custom layout
On 04/13/2010 06:12 AM, Guenter Milde wrote: The problem occured also in the dinbrief class. It's solved by defining two styles. From dinbrief.layout:: # dinbrief's \phone has 2 args, area and number. We define an empty # command that can be set by the Area_Code style Preamble \newcommand{\areacode}{} EndPreamble ... # dinbrief's \phone has 2 args, area and number, # define both as distinct styles Style Area code CopyStyle DinBrief LabelString Vorwahl: LatexName renewcommand{\areacode} End Style Telephone CopyStyle DinBrief LabelString Telefon: LatexName phone LatexParam {\areacode} End It should be possible to adapt this technique to liuthesis if the ERT hack is too hackish. That's impressive, but pretty hackish itself! Perhaps for 2.1 I'll try to get actual multi-argument commands working. rh
Re: new google docs interface, with wave backend. (collaboration trends)
On 04/13/2010 10:43 AM, Jürgen Spitzmüller wrote: rgheck wrote: It'd be nice to hear precisely what people would want that version control does not provide. I have a hard time myself seeing why it is any more than an isn't that cool feature for two people simultaneously to edit a single document. I.e., fun, but hardly revolutionary as far as actual productivity goes, at least for the sort of work most LyX users actually do. There's no doubt that LyXs' VC support could be improved, and it has been in some significant ways for 2.0, so we'd happily hear suggestions about that, too. I also think that VC probably provides all you need for collaboration (although a closer integration of VC, comparision and CT would be cool). For me, a main obstacle is the lack of a suitable web service. My Faculty does not provide svn or other VC repositories, and I did not find a suitable service on the web yet, where I can savely store my data in such a way that only selected people can access it. But maybe I just didn't search long enough. I looked into some of this a while ago, and there aren't great options for the sort of thing we're discussing: I.e., not programming, and not open to everyone's eyes. Brown, as it happens, does provide such a facility, though I haven't yet found the time even to move our website code over there. Have you asked the IS people if they'd think about supporting svn on their servers? Richard
Re: Subscript in a chemical symbol and lyx formula
On 04/13/2010 12:25 PM, YURENA MENDOZA wrote: I want to put a subscript in a chemical symbol using the mhchem package, for example CO2pc. On the other hand, Can I put into by the same way as I enter in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula? In formulas, you can just enter raw LaTeX if you like. E.g., you can type \hello{hi}, and that is precisely what you will see. If you had in your preamble: \newcommand\hello[1]{2^{#1}} Then you'd get the output you expect. Note that you do need to be careful about whether the brackets are escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument brackets in red, and delimiter brackets in blue. To get the former, you type \{, ironically enough, though you will get them automatically immediately after a command. Richard
Re: Subscript in a chemical symbol and lyx formula
On 04/13/2010 12:25 PM, YURENA MENDOZA wrote: I want to put a subscript in a chemical symbol using the mhchem package, for example CO2pc. On the other hand, Can I put into by the same way as I enter in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula? In formulas, you can just enter raw LaTeX if you like. E.g., you can type \hello{hi}, and that is precisely what you will see. If you had in your preamble: \newcommand\hello[1]{2^{#1}} Then you'd get the output you expect. Note that you do need to be careful about whether the brackets are escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument brackets in red, and delimiter brackets in blue. To get the former, you type \{, ironically enough, though you will get them automatically immediately after a command. Richard
Re: new google docs interface, with wave backend. (collaboration trends)
On 04/13/2010 01:34 PM, Charles de Miramon wrote: rgheck wrote: It'd be nice to hear precisely what people would want that version control does not provide. I have a hard time myself seeing why it is any more than an isn't that cool feature for two people simultaneously to edit a single document. I.e., fun, but hardly revolutionary as far as actual productivity goes, at least for the sort of work most LyX users actually do. After using LyX for a long time. What I would like is a possibility to manage the life cycle of an article. My paper starts as a working paper, and handout and maybe a beamer presentation, then a long version, a short version, a version formatted for X, proofs, printed version, my additions and corrections to the printed version, a version for an online repository, bits and pieces discarded from the article that I want to keep with it, etc. For this kind of thing, VC is precisely what you want, I think, i.e., a record of the evolution of your document, the ability to rewind to older versions, see a record of your changes, etc. Richard
Re: insert custom layout
On 04/13/2010 06:12 AM, Guenter Milde wrote: The problem occured also in the dinbrief class. It's solved by defining two styles. From dinbrief.layout:: # dinbrief's \phone has 2 args, area and number. We define an empty # command that can be set by the Area_Code style Preamble \newcommand{\areacode}{} EndPreamble ... # dinbrief's \phone has 2 args, area and number, # define both as distinct styles Style "Area code" CopyStyle DinBrief LabelString "Vorwahl:" LatexName "renewcommand{\areacode}" End Style Telephone CopyStyle DinBrief LabelString "Telefon:" LatexName phone LatexParam {\areacode} End It should be possible to adapt this technique to liuthesis if the ERT hack is too hackish. That's impressive, but pretty hackish itself! Perhaps for 2.1 I'll try to get actual multi-argument commands working. rh
Re: new google docs interface, with wave backend. (collaboration trends)
On 04/13/2010 10:43 AM, Jürgen Spitzmüller wrote: rgheck wrote: It'd be nice to hear precisely what people would want that version control does not provide. I have a hard time myself seeing why it is any more than an "isn't that cool" feature for two people simultaneously to edit a single document. I.e., fun, but hardly revolutionary as far as actual productivity goes, at least for the sort of work most LyX users actually do. There's no doubt that LyXs' VC support could be improved, and it has been in some significant ways for 2.0, so we'd happily hear suggestions about that, too. I also think that VC probably provides all you need for collaboration (although a closer integration of VC, comparision and CT would be cool). For me, a main obstacle is the lack of a suitable web service. My Faculty does not provide svn or other VC repositories, and I did not find a suitable service on the web yet, where I can savely store my data in such a way that only selected people can access it. But maybe I just didn't search long enough. I looked into some of this a while ago, and there aren't great options for the sort of thing we're discussing: I.e., not programming, and not open to everyone's eyes. Brown, as it happens, does provide such a facility, though I haven't yet found the time even to move our website code over there. Have you asked the IS people if they'd think about supporting svn on their servers? Richard
Re: Subscript in a chemical symbol and lyx formula
On 04/13/2010 12:25 PM, YURENA MENDOZA wrote: I want to put a subscript in a chemical symbol using the mhchem package, for example CO2pc. On the other hand, Can I put into by the same way as I enter in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula? In formulas, you can just enter raw LaTeX if you like. E.g., you can type "\hello{hi}", and that is precisely what you will see. If you had in your preamble: \newcommand\hello[1]{2^{#1}} Then you'd get the output you expect. Note that you do need to be careful about whether the brackets are escaped, i.e., whether the LaTeX is: {, or \{. LyX displays "argument brackets" in red, and "delimiter brackets" in blue. To get the former, you type \{, ironically enough, though you will get them automatically immediately after a command. Richard
Re: Subscript in a chemical symbol and lyx formula
On 04/13/2010 12:25 PM, YURENA MENDOZA wrote: I want to put a subscript in a chemical symbol using the mhchem package, for example CO2pc. On the other hand, Can I put into by the same way as I enter in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula? In formulas, you can just enter raw LaTeX if you like. E.g., you can type "\hello{hi}", and that is precisely what you will see. If you had in your preamble: \newcommand\hello[1]{2^{#1}} Then you'd get the output you expect. Note that you do need to be careful about whether the brackets are escaped, i.e., whether the LaTeX is: {, or \{. LyX displays "argument brackets" in red, and "delimiter brackets" in blue. To get the former, you type \{, ironically enough, though you will get them automatically immediately after a command. Richard
Re: new google docs interface, with wave backend. (collaboration trends)
On 04/13/2010 01:34 PM, Charles de Miramon wrote: rgheck wrote: It'd be nice to hear precisely what people would want that version control does not provide. I have a hard time myself seeing why it is any more than an "isn't that cool" feature for two people simultaneously to edit a single document. I.e., fun, but hardly revolutionary as far as actual productivity goes, at least for the sort of work most LyX users actually do. After using LyX for a long time. What I would like is a possibility to manage the life cycle of an article. My paper starts as a working paper, and handout and maybe a beamer presentation, then a long version, a short version, a version formatted for X, proofs, printed version, my additions and corrections to the printed version, a version for an online repository, bits and pieces discarded from the article that I want to keep with it, etc. For this kind of thing, VC is precisely what you want, I think, i.e., a record of the evolution of your document, the ability to rewind to older versions, see a record of your changes, etc. Richard
Re: insert custom layout
On 04/10/2010 06:24 PM, Julien Rioux wrote: Sajjaddosto.wa...@... writes: then i choose the Title Environment and set the title of the thesis work and then i select the author and put my name there. By the way, there is a problem here because liuthesis redefines \title to take 2 arguments: You must always provide both a Swedish (first argument) and an English title (second argument), \title{Svensk titel}{English Title}. but LyX will output \title{YOUR TITLE} no matter what (i.e., only 1 argument). A workaround is to write your Swedish title like usual and then, at the end of the line, insert a TeX box and write }{English title inside it (with the braces). This is a hack, but I am not sure how you would do this elegantly in LyX. There isn't at present any good way to do this. Multi-argument commands aren't directly supported. I've been thinking about this for a while, but haven't done anything. rh
Re: como evitar espacios en blanco entre párraf os
On 04/12/2010 05:27 PM, Andrés Becerra Sandoval wrote: 2010/4/12 José Miguel Caninojmcan...@gmail.com: Hola. Estoy usando Lyx para redactar mi tesis en la que aparecen bastantes dibujos. Con cierta frecuencia el espacio entre párrafo y parrafo se expande y quedan espacios en blanco que no consigo eliminar. Aunque he estudiado un poco las distintas opciones para colocar las figuras así como las posibles maneras de saltar de página no logro incluir en una página los párrafos que en teoría deberían caber en la misma si no fuera por los espacios que deja en blanco. Alguien me podría indicar una manera de hacerlo? Gracias Jose M. Jose M, You should really try to write in english, in spanish only few people can help you! And, no offense intended, the language of this list is English. There's a French list, and of course others can always be started. The English doesn't have to be great, just readable. If I understand, and my Spanish is terrible, was the problem that the space between paragraphs varies? If so, then of course LaTeX does that on purpose, and if there are a lot of floats, you can see this kind of thing quite often. Richard
Re: insert custom layout
On 04/10/2010 06:24 PM, Julien Rioux wrote: Sajjaddosto.wa...@... writes: then i choose the Title Environment and set the title of the thesis work and then i select the author and put my name there. By the way, there is a problem here because liuthesis redefines \title to take 2 arguments: You must always provide both a Swedish (first argument) and an English title (second argument), \title{Svensk titel}{English Title}. but LyX will output \title{YOUR TITLE} no matter what (i.e., only 1 argument). A workaround is to write your Swedish title like usual and then, at the end of the line, insert a TeX box and write }{English title inside it (with the braces). This is a hack, but I am not sure how you would do this elegantly in LyX. There isn't at present any good way to do this. Multi-argument commands aren't directly supported. I've been thinking about this for a while, but haven't done anything. rh
Re: como evitar espacios en blanco entre párraf os
On 04/12/2010 05:27 PM, Andrés Becerra Sandoval wrote: 2010/4/12 José Miguel Caninojmcan...@gmail.com: Hola. Estoy usando Lyx para redactar mi tesis en la que aparecen bastantes dibujos. Con cierta frecuencia el espacio entre párrafo y parrafo se expande y quedan espacios en blanco que no consigo eliminar. Aunque he estudiado un poco las distintas opciones para colocar las figuras así como las posibles maneras de saltar de página no logro incluir en una página los párrafos que en teoría deberían caber en la misma si no fuera por los espacios que deja en blanco. Alguien me podría indicar una manera de hacerlo? Gracias Jose M. Jose M, You should really try to write in english, in spanish only few people can help you! And, no offense intended, the language of this list is English. There's a French list, and of course others can always be started. The English doesn't have to be great, just readable. If I understand, and my Spanish is terrible, was the problem that the space between paragraphs varies? If so, then of course LaTeX does that on purpose, and if there are a lot of floats, you can see this kind of thing quite often. Richard
Re: insert custom layout
On 04/10/2010 06:24 PM, Julien Rioux wrote: Sajjadwrites: then i choose the Title Environment and set the title of the thesis work and then i select the author and put my name there. By the way, there is a problem here because liuthesis redefines \title to take 2 arguments: "You must always provide both a Swedish (first argument) and an English title (second argument), \title{Svensk titel}{English Title}." but LyX will output \title{YOUR TITLE} no matter what (i.e., only 1 argument). A workaround is to write your Swedish title like usual and then, at the end of the line, insert a TeX box and write "}{English title" inside it (with the braces). This is a hack, but I am not sure how you would do this elegantly in LyX. There isn't at present any good way to do this. Multi-argument commands aren't directly supported. I've been thinking about this for a while, but haven't done anything. rh
Re: como evitar espacios en blanco entre párraf os
On 04/12/2010 05:27 PM, Andrés Becerra Sandoval wrote: 2010/4/12 José Miguel Canino: Hola. Estoy usando Lyx para redactar mi tesis en la que aparecen bastantes dibujos. Con cierta frecuencia el espacio entre párrafo y parrafo se expande y quedan espacios en blanco que no consigo eliminar. Aunque he estudiado un poco las distintas opciones para colocar las figuras así como las posibles maneras de saltar de página no logro incluir en una página los párrafos que en teoría deberían caber en la misma si no fuera por los espacios que deja en blanco. Alguien me podría indicar una manera de hacerlo? Gracias Jose M. Jose M, You should really try to write in english, in spanish only few people can help you! And, no offense intended, the language of this list is English. There's a French list, and of course others can always be started. The English doesn't have to be great, just readable. If I understand, and my Spanish is terrible, was the problem that the space between paragraphs varies? If so, then of course LaTeX does that on purpose, and if there are a lot of floats, you can see this kind of thing quite often. Richard
Re: Question: making a custom Koma report with colors
On 04/08/2010 05:52 PM, Néstor wrote: Hi all, I'm trying to make a document with some colors, and it's a report, so I took a look at the Customization Manual of Lyx (chapter 5), and based my new style in Koma report. I have created a new sty file, named myreport.sty, and a new layout, including both scrreprt (for Koma report) and my own style, myreport.sty. Everything loads correctly when generating a PDF, and if myreport.sty is empty, I get no errors (and no improvements, just a normal Koma report). The question is: now, what do I have to write in myreport.sty to change, for instance, the document's title's color to Blue? Look at the komascript documentation, which you can find here: http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/ There's a lot of it, so you may have to search. But one of the nice things about those classes is that they provide a lot of hooks for you to change things, without having to get deep into the LaTeX internals. As for changing the color of the title, I do not know, as I have never had to do anything like that. Richard
Re: interesting narrowing feature in a text editor
On 04/09/2010 03:49 AM, Abdelrazak Younes wrote: On 04/09/2010 07:31 AM, Jose Quesada wrote: What I would like to know is... is this narrowing feature interesting for people here? Yes. Or is it just me who thinks that it would improve workflow and reduce mental load? Not just you. The good thing with LyX is that you can navigate easily from paragraph to paragraph with the keyboard. But in order to make that feature really useful without being forced to use the mouse, you would also need shortcuts for navigating between sections. In case it's interesting, I'll file an enhancement request. Doesn't sound terribly difficult to implement, but I may be wrong... Should not be terribly hard indeed. All the code for scrolling settings is in BufferView class if you want to experiment. The other thing I've considered, along these lines, is the ability to collapse sections, a la the ability to collapse for loops, functions, etc, in any decent programming editor. That would in some ways serve a very similar purpose, especially if you could just hit Collapse All and then use the outliner to uncollapse what you actually wanted to edit. Little triangles at the side, like in QtCreator, would work too. rh
Re: insert custom layout
On 04/08/2010 03:29 PM, Sajjad wrote: On Thu, Apr 8, 2010 at 4:24 AM, Julien Riouxjri...@physics.utoronto.cawrote: On 07/04/2010 7:08 PM, Sajjad wrote: 6. The liuthesis.layout file contain the following: #% Do not delete this line below; configure depends on this # \DeclareLaTeXClass{liuthesis} If that's all you have in there, this is not sufficient. As suggested, a good starting point for you would be to copy the book.layout file. If it not then , i did copy the contents of book.layout and put it into the liuthesis.layout. What should i do now? Any reference ? Yes. Do this: If that is what you did, I don't know what the matter is. If you start LyX from a console you might get useful information for debugging. You probably have an error somewhere in the layout file. rh
Re: Question: making a custom Koma report with colors
On 04/08/2010 05:52 PM, Néstor wrote: Hi all, I'm trying to make a document with some colors, and it's a report, so I took a look at the Customization Manual of Lyx (chapter 5), and based my new style in Koma report. I have created a new sty file, named myreport.sty, and a new layout, including both scrreprt (for Koma report) and my own style, myreport.sty. Everything loads correctly when generating a PDF, and if myreport.sty is empty, I get no errors (and no improvements, just a normal Koma report). The question is: now, what do I have to write in myreport.sty to change, for instance, the document's title's color to Blue? Look at the komascript documentation, which you can find here: http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/ There's a lot of it, so you may have to search. But one of the nice things about those classes is that they provide a lot of hooks for you to change things, without having to get deep into the LaTeX internals. As for changing the color of the title, I do not know, as I have never had to do anything like that. Richard
Re: interesting narrowing feature in a text editor
On 04/09/2010 03:49 AM, Abdelrazak Younes wrote: On 04/09/2010 07:31 AM, Jose Quesada wrote: What I would like to know is... is this narrowing feature interesting for people here? Yes. Or is it just me who thinks that it would improve workflow and reduce mental load? Not just you. The good thing with LyX is that you can navigate easily from paragraph to paragraph with the keyboard. But in order to make that feature really useful without being forced to use the mouse, you would also need shortcuts for navigating between sections. In case it's interesting, I'll file an enhancement request. Doesn't sound terribly difficult to implement, but I may be wrong... Should not be terribly hard indeed. All the code for scrolling settings is in BufferView class if you want to experiment. The other thing I've considered, along these lines, is the ability to collapse sections, a la the ability to collapse for loops, functions, etc, in any decent programming editor. That would in some ways serve a very similar purpose, especially if you could just hit Collapse All and then use the outliner to uncollapse what you actually wanted to edit. Little triangles at the side, like in QtCreator, would work too. rh
Re: insert custom layout
On 04/08/2010 03:29 PM, Sajjad wrote: On Thu, Apr 8, 2010 at 4:24 AM, Julien Riouxjri...@physics.utoronto.cawrote: On 07/04/2010 7:08 PM, Sajjad wrote: 6. The liuthesis.layout file contain the following: #% Do not delete this line below; configure depends on this # \DeclareLaTeXClass{liuthesis} If that's all you have in there, this is not sufficient. As suggested, a good starting point for you would be to copy the book.layout file. If it not then , i did copy the contents of book.layout and put it into the liuthesis.layout. What should i do now? Any reference ? Yes. Do this: If that is what you did, I don't know what the matter is. If you start LyX from a console you might get useful information for debugging. You probably have an error somewhere in the layout file. rh
Re: Question: making a custom Koma report with colors
On 04/08/2010 05:52 PM, Néstor wrote: Hi all, I'm trying to make a document with some colors, and it's a report, so I took a look at the Customization Manual of Lyx (chapter 5), and based my new style in Koma report. I have created a new sty file, named myreport.sty, and a new layout, including both scrreprt (for Koma report) and my own style, myreport.sty. Everything loads correctly when generating a PDF, and if myreport.sty is empty, I get no errors (and no improvements, just a normal Koma report). The question is: now, what do I have to write in myreport.sty to change, for instance, the document's title's color to Blue? Look at the komascript documentation, which you can find here: http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/ There's a lot of it, so you may have to search. But one of the nice things about those classes is that they provide a lot of "hooks" for you to change things, without having to get deep into the LaTeX internals. As for changing the color of the title, I do not know, as I have never had to do anything like that. Richard
Re: interesting narrowing feature in a text editor
On 04/09/2010 03:49 AM, Abdelrazak Younes wrote: On 04/09/2010 07:31 AM, Jose Quesada wrote: What I would like to know is... is this narrowing feature interesting for people here? Yes. Or is it just me who thinks that it would improve workflow and reduce mental load? Not just you. The good thing with LyX is that you can navigate easily from paragraph to paragraph with the keyboard. But in order to make that feature really useful without being forced to use the mouse, you would also need shortcuts for navigating between sections. In case it's interesting, I'll file an enhancement request. Doesn't sound terribly difficult to implement, but I may be wrong... Should not be terribly hard indeed. All the code for scrolling settings is in BufferView class if you want to experiment. The other thing I've considered, along these lines, is the ability to collapse sections, a la the ability to collapse for loops, functions, etc, in any decent programming editor. That would in some ways serve a very similar purpose, especially if you could just hit "Collapse All" and then use the outliner to uncollapse what you actually wanted to edit. Little triangles at the side, like in QtCreator, would work too. rh
Re: insert custom layout
On 04/08/2010 03:29 PM, Sajjad wrote: On Thu, Apr 8, 2010 at 4:24 AM, Julien Riouxwrote: On 07/04/2010 7:08 PM, Sajjad wrote: 6. The liuthesis.layout file contain the following: #% Do not delete this line below; configure depends on this # \DeclareLaTeXClass{liuthesis} If that's all you have in there, this is not sufficient. As suggested, a good starting point for you would be to copy the book.layout file. If it not then , i did copy the contents of book.layout and put it into the liuthesis.layout. What should i do now? Any reference ? Yes. Do this: If that is what you did, I don't know what the matter is. If you start LyX from a console you might get useful information for debugging. You probably have an error somewhere in the layout file. rh
LaTeX Linebreaking Question
I need to refer to a book entitled The Semantics/Pragmatics Distinction. I'd like to inform LaTeX that it is OK to break after the slash, but without a hyphen. How? rh
Re: LaTeX Linebreaking Question
On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote: rgheck wrote: I need to refer to a book entitled The Semantics/Pragmatics Distinction. I'd like to inform LaTeX that it is OK to break after the slash, but without a hyphen. How? \slash, or in LyX: Insert Special Character Breakable Slash I usually use the following redefinition of the slash macro in the preamble: \def\slash{/\penalty\exhyphenpenalty\hski...@skip} Contrary to the original (which is defined in the LaTeX kernel), this one allows also hyphenations after the slash, as in Semantics/Pragma-tics Thanks to you and to the others who replied. rh
LaTeX Linebreaking Question
I need to refer to a book entitled The Semantics/Pragmatics Distinction. I'd like to inform LaTeX that it is OK to break after the slash, but without a hyphen. How? rh
Re: LaTeX Linebreaking Question
On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote: rgheck wrote: I need to refer to a book entitled The Semantics/Pragmatics Distinction. I'd like to inform LaTeX that it is OK to break after the slash, but without a hyphen. How? \slash, or in LyX: Insert Special Character Breakable Slash I usually use the following redefinition of the slash macro in the preamble: \def\slash{/\penalty\exhyphenpenalty\hski...@skip} Contrary to the original (which is defined in the LaTeX kernel), this one allows also hyphenations after the slash, as in Semantics/Pragma-tics Thanks to you and to the others who replied. rh
LaTeX Linebreaking Question
I need to refer to a book entitled "The Semantics/Pragmatics Distinction". I'd like to inform LaTeX that it is OK to break after the slash, but without a hyphen. How? rh
Re: LaTeX Linebreaking Question
On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote: rgheck wrote: I need to refer to a book entitled "The Semantics/Pragmatics Distinction". I'd like to inform LaTeX that it is OK to break after the slash, but without a hyphen. How? \slash, or in LyX: Insert> Special Character> Breakable Slash I usually use the following redefinition of the slash macro in the preamble: \def\slash{/\penalty\exhyphenpenalty\hski...@skip} Contrary to the original (which is defined in the LaTeX kernel), this one allows also hyphenations after the slash, as in Semantics/Pragma-tics Thanks to you and to the others who replied. rh
Re: insert custom layout
On 04/06/2010 04:27 PM, Sajjad wrote: Hello, In most of the report writing i used the report class. The university that i am studying in have own class and i want to import it into LyX's document class by importing custom layout. The custom layout accepts only one .layout file, where as the my university 'liuthesis' contains several .tex file. Since liuthesis is a document class, it is provided as a .cls file, liuthesis.cls. The .tex files that are provided with it are examples, documentation, and the like, and have nothing to do with layout. What you will need to be able to use liuthesis with LyX is a file liuthesis.layout. Since liuthesis is based upon book, you can get started simply by copying book.layout to liuthesis.layout and changing the second line to: \DeclareLaTeXClass{liuthesis} This will not give you access in LyX to the special constructs of liuthesis, but it will get you started. You should then be able to import the .tex files provided as examples. Richard
Re: insert custom layout
On 04/06/2010 04:27 PM, Sajjad wrote: Hello, In most of the report writing i used the report class. The university that i am studying in have own class and i want to import it into LyX's document class by importing custom layout. The custom layout accepts only one .layout file, where as the my university 'liuthesis' contains several .tex file. Since liuthesis is a document class, it is provided as a .cls file, liuthesis.cls. The .tex files that are provided with it are examples, documentation, and the like, and have nothing to do with layout. What you will need to be able to use liuthesis with LyX is a file liuthesis.layout. Since liuthesis is based upon book, you can get started simply by copying book.layout to liuthesis.layout and changing the second line to: \DeclareLaTeXClass{liuthesis} This will not give you access in LyX to the special constructs of liuthesis, but it will get you started. You should then be able to import the .tex files provided as examples. Richard
Re: insert custom layout
On 04/06/2010 04:27 PM, Sajjad wrote: Hello, In most of the report writing i used the report class. The university that i am studying in have own class and i want to import it into LyX's document class by importing custom layout. The custom layout accepts only one .layout file, where as the my university 'liuthesis' contains several .tex file. Since liuthesis is a document class, it is provided as a .cls file, liuthesis.cls. The .tex files that are provided with it are examples, documentation, and the like, and have nothing to do with layout. What you will need to be able to use liuthesis with LyX is a file liuthesis.layout. Since liuthesis is based upon book, you can get started simply by copying book.layout to liuthesis.layout and changing the second line to: \DeclareLaTeXClass{liuthesis} This will not give you access in LyX to the special constructs of liuthesis, but it will get you started. You should then be able to import the .tex files provided as examples. Richard
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 05:19 AM, Guenter Milde wrote: On 2010-04-05, rgheck wrote: If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). Which is irrelevant to the user's question. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in ToolsSettings. Perhaps you should try this yourself before giving such advice. (Perhaps you do not understand how the converter chain works.) rh
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 01:30 PM, Uwe Stöhr wrote: rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. Had he simply made that suggestion, I wouldn't have reacted at all. As I said, I made the same suggestion and conceded that, at present, LyX's output is no better off. So please explain why it was necessary for Guenter to preface the remark with WRONG in capital letters and how that was supposed to be taken? rh
Re: Track Changes with Word
On 04/06/2010 05:36 PM, Jack Desert wrote: I am helping someone edit their book that is currently in Microsoft Word format. I imported it into LyX to work on it. Plenty of people here would like to know how you managed this. What is a good way for me to give feedback? Can I track changes and at least export a pdf that highlights my changes? Yes: DocumentChange TrackingShow C Or can I put LyX notes in my copy and print out somehow and have the notes show up? Greyed out notes will show, and of course you can define custom notes or use margin pars, or whatever seems to work. rh
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 05:19 AM, Guenter Milde wrote: On 2010-04-05, rgheck wrote: If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). Which is irrelevant to the user's question. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in ToolsSettings. Perhaps you should try this yourself before giving such advice. (Perhaps you do not understand how the converter chain works.) rh
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 01:30 PM, Uwe Stöhr wrote: rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. Had he simply made that suggestion, I wouldn't have reacted at all. As I said, I made the same suggestion and conceded that, at present, LyX's output is no better off. So please explain why it was necessary for Guenter to preface the remark with WRONG in capital letters and how that was supposed to be taken? rh
Re: Track Changes with Word
On 04/06/2010 05:36 PM, Jack Desert wrote: I am helping someone edit their book that is currently in Microsoft Word format. I imported it into LyX to work on it. Plenty of people here would like to know how you managed this. What is a good way for me to give feedback? Can I track changes and at least export a pdf that highlights my changes? Yes: DocumentChange TrackingShow C Or can I put LyX notes in my copy and print out somehow and have the notes show up? Greyed out notes will show, and of course you can define custom notes or use margin pars, or whatever seems to work. rh
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 05:19 AM, Guenter Milde wrote: On 2010-04-05, rgheck wrote: If you're using elyxer, then there is not really anything you can do. WRONG: you can ask the elyxer developer whether support for these constructs, providing sample input (and preferabely expected output). Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. elyxer's math support is pretty basic; but steadily improving (and for this depends on user feedback). Which is irrelevant to the user's question. Or instead of uninstalling elyxer, define htlatex as an alternative HMTL converter in Tools>Settings. Perhaps you should try this yourself before giving such advice. (Perhaps you do not understand how the converter chain works.) rh
Re: Lyx HTML conversion problem - while using polynom package
On 04/06/2010 01:30 PM, Uwe Stöhr wrote: rgheck schrieb: Perhaps you should read to the end of the message before replying. I said this myself. And anyone reading this with any degree of charity at all would have realized that what was meant here was: do with the current version of elyxer. Richard, please don't overreact. Requesting a feature from developers _for the next version_ is not a wrong advice. I mean in an Ubuntu forum you would also get the advice to open a LyX enhancement request when LyX is not supporting a certain feature. Had he simply made that suggestion, I wouldn't have reacted at all. As I said, I made the same suggestion and conceded that, at present, LyX's output is no better off. So please explain why it was necessary for Guenter to preface the remark with "WRONG" in capital letters and how that was supposed to be taken? rh
Re: Track Changes with Word
On 04/06/2010 05:36 PM, Jack Desert wrote: I am helping someone edit their book that is currently in Microsoft Word format. I imported it into LyX to work on it. Plenty of people here would like to know how you managed this. What is a good way for me to give feedback? Can I track changes and at least export a pdf that highlights my changes? Yes: Document>Change Tracking>Show C Or can I put LyX notes in my copy and print out somehow and have the notes show up? Greyed out notes will show, and of course you can define custom notes or use margin pars, or whatever seems to work. rh
Re: Lyx HTML conversion problem - while using polynom package
On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. elyxer's math support is pretty basic; it doesn't even support all of the constructs that are available in LyX. It certainly does not support arbitrary packages, such as polynom. You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) If you are using 2.0, then you will run into the same problem right now, since XHTML support is not yet complete. Eventually, however, LyX will do precisely what you suggest: If it encounters something that it doesn't understand, then it will output an image. There's nothing stopping elyxer from doing the same, of course, so it that is what you are using then you might want to report the issue to the elyxer developer. Richard
Re: Lyx HTML conversion problem - while using polynom package
On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. elyxer's math support is pretty basic; it doesn't even support all of the constructs that are available in LyX. It certainly does not support arbitrary packages, such as polynom. You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) If you are using 2.0, then you will run into the same problem right now, since XHTML support is not yet complete. Eventually, however, LyX will do precisely what you suggest: If it encounters something that it doesn't understand, then it will output an image. There's nothing stopping elyxer from doing the same, of course, so it that is what you are using then you might want to report the issue to the elyxer developer. Richard
Re: Lyx HTML conversion problem - while using polynom package
On 04/05/2010 01:14 PM, baqijan1 wrote: When I use polynom package in lyx. The html output does not show that parts where macros from polynom package is used. For example, if I have something lik \polylongdiv{x^2-2x+1}{x-1} When I convert lyxt to pdf, there is no problem. Only html does not work. I assume, it should convert these instances to images, which it does not. Any help will be greatly appreciated. Since, I am stuck at this and can't move on. Is this LyX 1.6.x or the alpha release of 2.0? Either way, what HTML converter are you using? It sounds as if it is either elyxer or, if you're in 2.0, then LyX's native XHTML output. If you're using elyxer, then there is not really anything you can do. elyxer's math support is pretty basic; it doesn't even support all of the constructs that are available in LyX. It certainly does not support arbitrary packages, such as polynom. You might therefore want to uninstall elyxer (I'm sorry, but that is what you would have to do), reconfigure LyX, and try using htlatex, which has its own issues but handles math better, since it does it all via images. (Of course, that can lead to scaling problems, etc, but at least you get decent output.) If you are using 2.0, then you will run into the same problem right now, since XHTML support is not yet complete. Eventually, however, LyX will do precisely what you suggest: If it encounters something that it doesn't understand, then it will output an image. There's nothing stopping elyxer from doing the same, of course, so it that is what you are using then you might want to report the issue to the elyxer developer. Richard
Re: Insert word count at end of the document
On 04/04/2010 03:16 PM, Kevin Li wrote: Hi, Is there a way to make the word count automatically appear at the end of the document (perhaps like a variable)? Not really. I suppose that the Info inset could be adapted to this purpose---it's basically used to display things LyX knows about---but at present it isn't. rh
Re: Insert word count at end of the document
On 04/04/2010 03:16 PM, Kevin Li wrote: Hi, Is there a way to make the word count automatically appear at the end of the document (perhaps like a variable)? Not really. I suppose that the Info inset could be adapted to this purpose---it's basically used to display things LyX knows about---but at present it isn't. rh
Re: Insert word count at end of the document
On 04/04/2010 03:16 PM, Kevin Li wrote: Hi, Is there a way to make the word count automatically appear at the end of the document (perhaps like a variable)? Not really. I suppose that the Info inset could be adapted to this purpose---it's basically used to display things LyX knows about---but at present it isn't. rh
Re: things that I miss in lyx
On 04/03/2010 02:27 AM, Wolfgang Engelmann wrote: Just wondering: Would the following be difficult to implement in Lyx or to use it via enterfile 'external material' ? Wolfgang From http://ctan.tug.org/tex-archive/help/Catalogue/entries/texdirflatten.html Collect files related to a LaTeX job in a single directory. The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree). The author is Cengiz Gunay. This looks like something that one would call as part of the converter chain. rh
Re: Offer... for technical writing
On 04/02/2010 07:54 PM, Frederick Noronha wrote: Dear all: I am a journalist and writer, and a heavy user of Lyx. Please let me know if you need any help (volunteering, without fee) to help write or edit Lyx help files for users. I am not a techie, but understand the software ... with guidance I could do it. My English skills are near-native speaker level. FN Thanks for the offer. My first suggestion would be to describe to the LyX documentation list. It's low volume, but issues relating to the docs tend to get discussed there. Generally, though, the documentation is written by whoever has the initiative to do it. So if there's something you think isn't clear, could be better explained, or just isn't included, then try to do better and post your changes to the docs list. The maintainer of the relevant manual will then discuss them with you. For the tutorial, user's guide, and math manual, that's Uwe Stohr; for the customization and additional features manuals (I think), that's me. Others don't have a dedicated maintainer. Hint: Use change tracking when you make these sorts of changes, so it's easy for us to identify them. Richard
Re: References style
On 04/03/2010 10:54 AM, Paul A. Rubin wrote: On 4/1/2010 11:32 AM, Carlos Ramirez wrote: Does anyone know how to center and un-bold the References title using bibtext ? Insert \renewcommand{\refname}{\rmfamily\mdseries\begin{center} References\end{center}} in ERT early in the document. Or put it in the preamble, where it won't clutter the text. also how to avoid the blank page after the references is inserted ? I don't think this is a general phenomenon. It probably is a function either of the document class you are using or something specific in your file. If I write a short test file using the article class, insert a BibTeX bibliography, and add some text after the bibliography, the extra text occurs on the same page as the bibliography (with a little extra vertical space separating them. In some classes, chapters always start on an odd page, and the references are formatted in such classes as an unnumbered chapter usually. rh
Re: things that I miss in lyx
On 04/03/2010 11:27 AM, Wolfgang Engelmann wrote: Am Saturday 03 April 2010 15:13:22 schrieb rgheck: On 04/03/2010 02:27 AM, Wolfgang Engelmann wrote: Just wondering: Would the following be difficult to implement in Lyx or to use it via enterfile 'external material' ? Wolfgang From http://ctan.tug.org/tex-archive/help/Catalogue/entries/texdirflatten.html Collect files related to a LaTeX job in a single directory. The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree). The author is Cengiz Gunay. This looks like something that one would call as part of the converter chain. and how could I do it? Define a new format, ltxpak, and then declare texdirflatten as a latex--ltxpak converter. With appropriate arguments, of course. This all gets done under ToolsPreferencesFile Handling. There is a complication, namely, that everything is going to happen here in LyX's temporary directory. So what I think will happen is that texdirflatten will create its directory at e.g. /tmp/lyx_tmpdir.X0765/lyx_tmpbuf0/flat/ and now the question is: How do we export this? i.e., copy it to the original file location? Answer: We define a copier, and tell it to copy this directory to the original document directory. Have a look at the ext_copy.py copier that is used with the LaTeX--HTML converters. You may be able to use that, or at least to adapt it to your purposes. Copiers, etc, are all discussed in the Customization manual. rh
Re: References style
On 04/03/2010 11:23 AM, Paul A. Rubin wrote: On 4/3/2010 11:15 AM, rgheck wrote: On 04/03/2010 10:54 AM, Paul A. Rubin wrote: Insert \renewcommand{\refname}{\rmfamily\mdseries\begin{center} References\end{center}} in ERT early in the document. Or put it in the preamble, where it won't clutter the text. Doesn't seem to work in the preamble -- I think something (not sure what) loads or is processed after the preamble and asserts the standard heading format at that point. Hmm. Perhaps this is done at the beginning of the document. rh
Re: things that I miss in lyx
On 04/03/2010 02:27 AM, Wolfgang Engelmann wrote: Just wondering: Would the following be difficult to implement in Lyx or to use it via enterfile 'external material' ? Wolfgang From http://ctan.tug.org/tex-archive/help/Catalogue/entries/texdirflatten.html Collect files related to a LaTeX job in a single directory. The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree). The author is Cengiz Gunay. This looks like something that one would call as part of the converter chain. rh
Re: Offer... for technical writing
On 04/02/2010 07:54 PM, Frederick Noronha wrote: Dear all: I am a journalist and writer, and a heavy user of Lyx. Please let me know if you need any help (volunteering, without fee) to help write or edit Lyx help files for users. I am not a techie, but understand the software ... with guidance I could do it. My English skills are near-native speaker level. FN Thanks for the offer. My first suggestion would be to describe to the LyX documentation list. It's low volume, but issues relating to the docs tend to get discussed there. Generally, though, the documentation is written by whoever has the initiative to do it. So if there's something you think isn't clear, could be better explained, or just isn't included, then try to do better and post your changes to the docs list. The maintainer of the relevant manual will then discuss them with you. For the tutorial, user's guide, and math manual, that's Uwe Stohr; for the customization and additional features manuals (I think), that's me. Others don't have a dedicated maintainer. Hint: Use change tracking when you make these sorts of changes, so it's easy for us to identify them. Richard
Re: References style
On 04/03/2010 10:54 AM, Paul A. Rubin wrote: On 4/1/2010 11:32 AM, Carlos Ramirez wrote: Does anyone know how to center and un-bold the References title using bibtext ? Insert \renewcommand{\refname}{\rmfamily\mdseries\begin{center} References\end{center}} in ERT early in the document. Or put it in the preamble, where it won't clutter the text. also how to avoid the blank page after the references is inserted ? I don't think this is a general phenomenon. It probably is a function either of the document class you are using or something specific in your file. If I write a short test file using the article class, insert a BibTeX bibliography, and add some text after the bibliography, the extra text occurs on the same page as the bibliography (with a little extra vertical space separating them. In some classes, chapters always start on an odd page, and the references are formatted in such classes as an unnumbered chapter usually. rh
Re: things that I miss in lyx
On 04/03/2010 11:27 AM, Wolfgang Engelmann wrote: Am Saturday 03 April 2010 15:13:22 schrieb rgheck: On 04/03/2010 02:27 AM, Wolfgang Engelmann wrote: Just wondering: Would the following be difficult to implement in Lyx or to use it via enterfile 'external material' ? Wolfgang From http://ctan.tug.org/tex-archive/help/Catalogue/entries/texdirflatten.html Collect files related to a LaTeX job in a single directory. The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree). The author is Cengiz Gunay. This looks like something that one would call as part of the converter chain. and how could I do it? Define a new format, ltxpak, and then declare texdirflatten as a latex--ltxpak converter. With appropriate arguments, of course. This all gets done under ToolsPreferencesFile Handling. There is a complication, namely, that everything is going to happen here in LyX's temporary directory. So what I think will happen is that texdirflatten will create its directory at e.g. /tmp/lyx_tmpdir.X0765/lyx_tmpbuf0/flat/ and now the question is: How do we export this? i.e., copy it to the original file location? Answer: We define a copier, and tell it to copy this directory to the original document directory. Have a look at the ext_copy.py copier that is used with the LaTeX--HTML converters. You may be able to use that, or at least to adapt it to your purposes. Copiers, etc, are all discussed in the Customization manual. rh
Re: References style
On 04/03/2010 11:23 AM, Paul A. Rubin wrote: On 4/3/2010 11:15 AM, rgheck wrote: On 04/03/2010 10:54 AM, Paul A. Rubin wrote: Insert \renewcommand{\refname}{\rmfamily\mdseries\begin{center} References\end{center}} in ERT early in the document. Or put it in the preamble, where it won't clutter the text. Doesn't seem to work in the preamble -- I think something (not sure what) loads or is processed after the preamble and asserts the standard heading format at that point. Hmm. Perhaps this is done at the beginning of the document. rh
Re: things that I miss in lyx
On 04/03/2010 02:27 AM, Wolfgang Engelmann wrote: Just wondering: Would the following be difficult to implement in Lyx or to use it via enter>file> 'external material' ? Wolfgang From http://ctan.tug.org/tex-archive/help/Catalogue/entries/texdirflatten.html Collect files related to a LaTeX job in a single directory. The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree). The author is Cengiz Gunay. This looks like something that one would call as part of the converter chain. rh
Re: Offer... for technical writing
On 04/02/2010 07:54 PM, Frederick Noronha wrote: Dear all: I am a journalist and writer, and a heavy user of Lyx. Please let me know if you need any help (volunteering, without fee) to help write or edit Lyx help files for users. I am not a techie, but understand the software ... with guidance I could do it. My English skills are near-native speaker level. FN Thanks for the offer. My first suggestion would be to describe to the LyX documentation list. It's low volume, but issues relating to the docs tend to get discussed there. Generally, though, the documentation is written by whoever has the initiative to do it. So if there's something you think isn't clear, could be better explained, or just isn't included, then try to do better and post your changes to the docs list. The maintainer of the relevant manual will then discuss them with you. For the tutorial, user's guide, and math manual, that's Uwe Stohr; for the customization and additional features manuals (I think), that's me. Others don't have a dedicated maintainer. Hint: Use change tracking when you make these sorts of changes, so it's easy for us to identify them. Richard
Re: References style
On 04/03/2010 10:54 AM, Paul A. Rubin wrote: On 4/1/2010 11:32 AM, Carlos Ramirez wrote: Does anyone know how to center and un-bold the "References" title using bibtext ? Insert \renewcommand{\refname}{\rmfamily\mdseries\begin{center} References\end{center}} in ERT early in the document. Or put it in the preamble, where it won't clutter the text. also how to avoid the blank page after the references is inserted ? I don't think this is a general phenomenon. It probably is a function either of the document class you are using or something specific in your file. If I write a short test file using the article class, insert a BibTeX bibliography, and add some text after the bibliography, the extra text occurs on the same page as the bibliography (with a little extra vertical space separating them. In some classes, chapters always start on an odd page, and the references are formatted in such classes as an unnumbered chapter usually. rh