Re: footnotes in glosses
2015-05-19 6:19 GMT+02:00 Michael Berger id...@online.de: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger
Re: footnotes in glosses
On 05/19/2015 09:27 AM, Jürgen Spitzmüller wrote: 2015-05-19 6:19 GMT+02:00 Michael Berger id...@online.de mailto:id...@online.de: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger Great Jürgen, it works. I found that same method in another forum before but the explanation was just too impractical to be followed. Yet another (last?) question: How to write the hash # in a gloss? :-D Thanks and regards, Michael Jürgen, very sorry for my stupid question re the hash - I just found it out: \# Michael
Re: changing default margin settings shows no effect
On 2015-05-18, Jürgen Spitzmüller wrote: [-- Type: text/plain, Encoding: quoted-printable --] Am Montag, 18. Mai 2015 schrieb Michael Berger : thank you for your input. With time constraints in the neck and almost no LaTeX knowledge I switched to Document Class KOMA-Script Article. I can now set the page margins as needed. :-) This seems to be contradicting with your above explanation - KOMA-Script Article does not load typearea automatically, as opposed to classicthesis. So you can use geometry with the former. Well, in scrartcl.cls, I find \RequirePackage{typearea}[\KOMAScriptVersion] after a lot of \PassOptionsToPackage{...}{typearea}% However, the geometry package seems to override the typearea settings. Günter
Re: footnotes in glosses
On 05/19/2015 09:27 AM, Jürgen Spitzmüller wrote: 2015-05-19 6:19 GMT+02:00 Michael Berger id...@online.de mailto:id...@online.de: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger Great Jürgen, it works. I found that same method in another forum before but the explanation was just too impractical to be followed. Yet another (last?) question: How to write the hash # in a gloss? :-D Thanks and regards, Michael
Re: Problem environment
On 05/19/2015 11:58 PM, Scott Kostyshak wrote: It is used to separate environments. You can do it using Edit Start New Environment, but you don't need using the menu. You start a Problem environment and write something. If you want to start a new Problem environment, hit the Enter key and go to a standard environment, hit again the Enter key and LyX automatically inserts a parbreak separator. Now you can start any other environment. The parbreak separator will insert a blank line in the latex output. If you don't want that, use the context menu to change it to a plain separator. This kind of separators are automatically inserted when needed in a hopefully intuitive way. If you hit Enter in a standard environment after a non-standard one, you get a separator and you are ready to insert again the same non-standard environment. The small arrow you see, plays the same role of the old --Separator-- and behaves in the same way, because it leaves a blank line in the latex output. However, now you can also avoid that blank line by turning the parbreak into a plain separator. Thanks a lot for this detailed explanation, Enrico. This makes things perfectly clear to me. Has someone put this in the docs? It's an improvement, for sure, but it will take some getting used to for us old-timers, I think. Richard
Re: Creating a new description environment
Dear Victor, Here's a solution that can be adapted to many other contexts. In Document Setting Local Layout, you can define your custom environment with the following code: Style Description2 CopyStyle Description LatexName description2 End For more information about the layout syntax see the customization guide. On 05/19/15 20:52, Victor Porton wrote: I need to create a new environment which could work exactly as Description with one change: It should use another LaTeX environment (not description), when exporting. Can it be done?
Re: Creating a new description environment
On 05/19/2015 08:02 PM, ga...@free.fr wrote: Dear Victor, Here's a solution that can be adapted to many other contexts. In Document Setting Local Layout, you can define your custom environment with the following code: Style Description2 CopyStyle Description LatexName description2 End Very good! But do remember to include the appropriate format tag, e.g. Format 49 for 2.1.x. Richard
Re: Problem environment
On Wed, May 13, 2015 at 9:07 PM, Enrico Forestieri for...@lyx.org wrote: Scott Kostyshak writes: For master branch, we have: To split an existing list into two lists, set the cursor at the end of a list item, press Return and select –Separator– in the pull-down box for environments in LyX's main toolbar. But I don't think we have --Separator-- in the pull-down box anymore. Can this be done with Edit Start New Environment? Yes. Note that there is still the LFUN separator-insert but I don't think we have a graphical way to insert it. Is that expected? Yes. Actually, what is the use case for needing separator-insert? I'm sure there is one since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it. It is used to separate environments. You can do it using Edit Start New Environment, but you don't need using the menu. You start a Problem environment and write something. If you want to start a new Problem environment, hit the Enter key and go to a standard environment, hit again the Enter key and LyX automatically inserts a parbreak separator. Now you can start any other environment. The parbreak separator will insert a blank line in the latex output. If you don't want that, use the context menu to change it to a plain separator. This kind of separators are automatically inserted when needed in a hopefully intuitive way. If you hit Enter in a standard environment after a non-standard one, you get a separator and you are ready to insert again the same non-standard environment. The small arrow you see, plays the same role of the old --Separator-- and behaves in the same way, because it leaves a blank line in the latex output. However, now you can also avoid that blank line by turning the parbreak into a plain separator. Thanks a lot for this detailed explanation, Enrico. This makes things perfectly clear to me. Also, in aqua.bind, we have a binding for menu-separator-insert. This LFUN does not seem to exist. Can I remove it or should it be corrected to something else? I corrected this to specialchar-insert menu-separator at 27b8b068, as suggested by Jürgen. Scott
Re: note/commentary/greyed out note
On Mon, May 18, 2015 at 3:16 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Am 16.05.2015 um 23:54 schrieb Scott Kostyshak: On Sat, May 16, 2015 at 5:10 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: I have again a (probably) trivial problem: I used to be able to select by right clicking on a note whether it should be note/commentary/greyed out note but the commentary/greyed out note are -well- greyed out. I tried to find an answer in the various help manuals but without success. What am I missing? Wolfgang Hi Wolfgang, Is this always the case? Same with a new document? Which version of LyX are you using? What happens if you place the cursor before the note and you run the following command? inset-modify note Note Comment Scott Hi, Scott, I am not sure what you meant. I include a minimal example (no preamble content anymore) which shows that in the front matter a Note can not be changed to a Commentary or Grayed out Note. How should your example be placed? In the preamble??? I guess the problem is a matter of the Koma script book style, since changing it to standard book style shows an error -indicating that a note in the front matter is not accepted. However, I would say that in both book styles notes/commentaries/grayed out should be allowed. Thanks for your attention Hi Wolfgang, I see your point. If you can insert them with LaTeX and it works, then you might want to create a feature request. I would frame it more about *inserting* a greyed out note, as it is the same issue and more directly describes the problem than converting a note to a greyed out note. Scott
Re: changing default margin settings shows no effect
2015-05-19 10:33 GMT+02:00 Guenter Milde: Well, in scrartcl.cls, I find \RequirePackage{typearea}[\KOMAScriptVersion] after a lot of \PassOptionsToPackage{...}{typearea}% Right. I stand corrected. However, the geometry package seems to override the typearea settings. The crucial difference is probably that while using KOMA, typearea is loaded first (by the class), then geometry (by LyX) which does the final settings and overrides whatever KOMA sets via typearea. With ClassicThesis, the classicthesis package is loaded after LyX loads geometry and then overrides the page settings and everything done by geometry. Günter
Creating a new description environment
I need to create a new environment which could work exactly as Description with one change: It should use another LaTeX environment (not description), when exporting. Can it be done? -- Victor Porton - http://portonvictor.org
Re: footnotes in glosses
2015-05-19 6:19 GMT+02:00 Michael Berger id...@online.de: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger
Re: changing default margin settings shows no effect
On 2015-05-18, Jürgen Spitzmüller wrote: [-- Type: text/plain, Encoding: quoted-printable --] Am Montag, 18. Mai 2015 schrieb Michael Berger : thank you for your input. With time constraints in the neck and almost no LaTeX knowledge I switched to Document Class KOMA-Script Article. I can now set the page margins as needed. :-) This seems to be contradicting with your above explanation - KOMA-Script Article does not load typearea automatically, as opposed to classicthesis. So you can use geometry with the former. Well, in scrartcl.cls, I find \RequirePackage{typearea}[\KOMAScriptVersion] after a lot of \PassOptionsToPackage{...}{typearea}% However, the geometry package seems to override the typearea settings. Günter
Re: footnotes in glosses
On 05/19/2015 09:27 AM, Jürgen Spitzmüller wrote: 2015-05-19 6:19 GMT+02:00 Michael Berger id...@online.de mailto:id...@online.de: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger Great Jürgen, it works. I found that same method in another forum before but the explanation was just too impractical to be followed. Yet another (last?) question: How to write the hash # in a gloss? :-D Thanks and regards, Michael
Re: footnotes in glosses
On 05/19/2015 09:27 AM, Jürgen Spitzmüller wrote: 2015-05-19 6:19 GMT+02:00 Michael Berger id...@online.de mailto:id...@online.de: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger Great Jürgen, it works. I found that same method in another forum before but the explanation was just too impractical to be followed. Yet another (last?) question: How to write the hash # in a gloss? :-D Thanks and regards, Michael Jürgen, very sorry for my stupid question re the hash - I just found it out: \# Michael
Re: changing default margin settings shows no effect
2015-05-19 10:33 GMT+02:00 Guenter Milde: Well, in scrartcl.cls, I find \RequirePackage{typearea}[\KOMAScriptVersion] after a lot of \PassOptionsToPackage{...}{typearea}% Right. I stand corrected. However, the geometry package seems to override the typearea settings. The crucial difference is probably that while using KOMA, typearea is loaded first (by the class), then geometry (by LyX) which does the final settings and overrides whatever KOMA sets via typearea. With ClassicThesis, the classicthesis package is loaded after LyX loads geometry and then overrides the page settings and everything done by geometry. Günter
Creating a new description environment
I need to create a new environment which could work exactly as Description with one change: It should use another LaTeX environment (not description), when exporting. Can it be done? -- Victor Porton - http://portonvictor.org
Re: Creating a new description environment
Dear Victor, Here's a solution that can be adapted to many other contexts. In Document Setting Local Layout, you can define your custom environment with the following code: Style Description2 CopyStyle Description LatexName description2 End For more information about the layout syntax see the customization guide. On 05/19/15 20:52, Victor Porton wrote: I need to create a new environment which could work exactly as Description with one change: It should use another LaTeX environment (not description), when exporting. Can it be done?
Re: note/commentary/greyed out note
On Mon, May 18, 2015 at 3:16 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Am 16.05.2015 um 23:54 schrieb Scott Kostyshak: On Sat, May 16, 2015 at 5:10 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: I have again a (probably) trivial problem: I used to be able to select by right clicking on a note whether it should be note/commentary/greyed out note but the commentary/greyed out note are -well- greyed out. I tried to find an answer in the various help manuals but without success. What am I missing? Wolfgang Hi Wolfgang, Is this always the case? Same with a new document? Which version of LyX are you using? What happens if you place the cursor before the note and you run the following command? inset-modify note Note Comment Scott Hi, Scott, I am not sure what you meant. I include a minimal example (no preamble content anymore) which shows that in the front matter a Note can not be changed to a Commentary or Grayed out Note. How should your example be placed? In the preamble??? I guess the problem is a matter of the Koma script book style, since changing it to standard book style shows an error -indicating that a note in the front matter is not accepted. However, I would say that in both book styles notes/commentaries/grayed out should be allowed. Thanks for your attention Hi Wolfgang, I see your point. If you can insert them with LaTeX and it works, then you might want to create a feature request. I would frame it more about *inserting* a greyed out note, as it is the same issue and more directly describes the problem than converting a note to a greyed out note. Scott
Re: Creating a new description environment
On 05/19/2015 08:02 PM, ga...@free.fr wrote: Dear Victor, Here's a solution that can be adapted to many other contexts. In Document Setting Local Layout, you can define your custom environment with the following code: Style Description2 CopyStyle Description LatexName description2 End Very good! But do remember to include the appropriate format tag, e.g. Format 49 for 2.1.x. Richard
Re: Problem environment
On Wed, May 13, 2015 at 9:07 PM, Enrico Forestieri for...@lyx.org wrote: Scott Kostyshak writes: For master branch, we have: To split an existing list into two lists, set the cursor at the end of a list item, press Return and select –Separator– in the pull-down box for environments in LyX's main toolbar. But I don't think we have --Separator-- in the pull-down box anymore. Can this be done with Edit Start New Environment? Yes. Note that there is still the LFUN separator-insert but I don't think we have a graphical way to insert it. Is that expected? Yes. Actually, what is the use case for needing separator-insert? I'm sure there is one since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it. It is used to separate environments. You can do it using Edit Start New Environment, but you don't need using the menu. You start a Problem environment and write something. If you want to start a new Problem environment, hit the Enter key and go to a standard environment, hit again the Enter key and LyX automatically inserts a parbreak separator. Now you can start any other environment. The parbreak separator will insert a blank line in the latex output. If you don't want that, use the context menu to change it to a plain separator. This kind of separators are automatically inserted when needed in a hopefully intuitive way. If you hit Enter in a standard environment after a non-standard one, you get a separator and you are ready to insert again the same non-standard environment. The small arrow you see, plays the same role of the old --Separator-- and behaves in the same way, because it leaves a blank line in the latex output. However, now you can also avoid that blank line by turning the parbreak into a plain separator. Thanks a lot for this detailed explanation, Enrico. This makes things perfectly clear to me. Also, in aqua.bind, we have a binding for menu-separator-insert. This LFUN does not seem to exist. Can I remove it or should it be corrected to something else? I corrected this to specialchar-insert menu-separator at 27b8b068, as suggested by Jürgen. Scott
Re: Problem environment
On 05/19/2015 11:58 PM, Scott Kostyshak wrote: It is used to separate environments. You can do it using Edit Start New Environment, but you don't need using the menu. You start a Problem environment and write something. If you want to start a new Problem environment, hit the Enter key and go to a standard environment, hit again the Enter key and LyX automatically inserts a parbreak separator. Now you can start any other environment. The parbreak separator will insert a blank line in the latex output. If you don't want that, use the context menu to change it to a plain separator. This kind of separators are automatically inserted when needed in a hopefully intuitive way. If you hit Enter in a standard environment after a non-standard one, you get a separator and you are ready to insert again the same non-standard environment. The small arrow you see, plays the same role of the old --Separator-- and behaves in the same way, because it leaves a blank line in the latex output. However, now you can also avoid that blank line by turning the parbreak into a plain separator. Thanks a lot for this detailed explanation, Enrico. This makes things perfectly clear to me. Has someone put this in the docs? It's an improvement, for sure, but it will take some getting used to for us old-timers, I think. Richard
Re: footnotes in glosses
2015-05-19 6:19 GMT+02:00 Michael Berger: > Is there a way to use footnotes in glosses? > \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen > > Michael Berger > >
Re: changing default margin settings shows no effect
On 2015-05-18, Jürgen Spitzmüller wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Montag, 18. Mai 2015 schrieb Michael Berger : >> thank you for your input. With time constraints in the neck and almost no > LaTeX knowledge I switched to Document Class KOMA-Script Article. >> I can now set the page margins as needed. :-) >> This seems to be contradicting with your above explanation - > KOMA-Script Article does not load typearea automatically, as opposed to > classicthesis. So you can use geometry with the former. Well, in scrartcl.cls, I find \RequirePackage{typearea}[\KOMAScriptVersion] after a lot of \PassOptionsToPackage{...}{typearea}% However, the geometry package seems to override the typearea settings. Günter
Re: footnotes in glosses
On 05/19/2015 09:27 AM, Jürgen Spitzmüller wrote: 2015-05-19 6:19 GMT+02:00 Michael Berger>: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger Great Jürgen, it works. I found that same method in another forum before but the explanation was just too impractical to be followed. Yet another (last?) question: How to write the hash # in a gloss? :-D Thanks and regards, Michael
Re: footnotes in glosses
On 05/19/2015 09:27 AM, Jürgen Spitzmüller wrote: 2015-05-19 6:19 GMT+02:00 Michael Berger>: Is there a way to use footnotes in glosses? \footnote itself does not seem to work, but you can put \footnotemark in the glosse, and then, below the glosse \footnotetext{Actual footnote text}. Jürgen Michael Berger Great Jürgen, it works. I found that same method in another forum before but the explanation was just too impractical to be followed. Yet another (last?) question: How to write the hash # in a gloss? :-D Thanks and regards, Michael Jürgen, very sorry for my stupid question re the hash - I just found it out: \# Michael
Re: changing default margin settings shows no effect
2015-05-19 10:33 GMT+02:00 Guenter Milde: > > Well, in scrartcl.cls, I find > > \RequirePackage{typearea}[\KOMAScriptVersion] > > after a lot of > > \PassOptionsToPackage{...}{typearea}% > Right. I stand corrected. > > However, the geometry package seems to override the typearea settings. > The crucial difference is probably that while using KOMA, typearea is loaded first (by the class), then geometry (by LyX) which does the final settings and overrides whatever KOMA sets via typearea. With ClassicThesis, the classicthesis package is loaded after LyX loads geometry and then overrides the page settings and everything done by geometry. > > Günter > >
Creating a new description environment
I need to create a new environment which could work exactly as Description with one change: It should use another LaTeX environment (not "description"), when exporting. Can it be done? -- Victor Porton - http://portonvictor.org
Re: Creating a new description environment
Dear Victor, Here's a solution that can be adapted to many other contexts. In Document Setting > Local Layout, you can define your custom environment with the following code: Style Description2 CopyStyle Description LatexName "description2" End For more information about the layout syntax see the customization guide. On 05/19/15 20:52, Victor Porton wrote: I need to create a new environment which could work exactly as Description with one change: It should use another LaTeX environment (not "description"), when exporting. Can it be done?
Re: note/commentary/greyed out note
On Mon, May 18, 2015 at 3:16 AM, Wolfgang Engelmannwrote: > > > Am 16.05.2015 um 23:54 schrieb Scott Kostyshak: >> >> On Sat, May 16, 2015 at 5:10 AM, Wolfgang Engelmann >> wrote: >>> >>> I have again a (probably) trivial problem: >>> I used to be able to select by right clicking on a note whether it should >>> be >>> note/commentary/greyed out note but the commentary/greyed out note are >>> -well- greyed out. I tried to find an answer in the various help manuals >>> but >>> without success. What am I missing? >>> Wolfgang >> >> Hi Wolfgang, >> >> Is this always the case? Same with a new document? Which version of >> LyX are you using? What happens if you place the cursor before the >> note and you run the following command? >> inset-modify note Note Comment >> >> Scott > > Hi, Scott, > I am not sure what you meant. I include a minimal example (no preamble > content anymore) which shows that in the front matter a Note can not be > changed to a Commentary or Grayed out Note. How should your example be > placed? In the preamble??? > I guess the problem is a matter of the Koma script book style, since > changing it to standard book style shows an error -indicating that a note in > the front matter is not accepted. However, I would say that in both book > styles notes/commentaries/grayed out should be allowed. > Thanks for your attention Hi Wolfgang, I see your point. If you can insert them with LaTeX and it works, then you might want to create a feature request. I would frame it more about *inserting* a greyed out note, as it is the same issue and more directly describes the problem than converting a note to a greyed out note. Scott
Re: Creating a new description environment
On 05/19/2015 08:02 PM, ga...@free.fr wrote: Dear Victor, Here's a solution that can be adapted to many other contexts. In Document Setting > Local Layout, you can define your custom environment with the following code: Style Description2 CopyStyle Description LatexName "description2" End Very good! But do remember to include the appropriate format tag, e.g. Format 49 for 2.1.x. Richard
Re: "Problem" environment
On Wed, May 13, 2015 at 9:07 PM, Enrico Forestieriwrote: > Scott Kostyshak writes: >> >> For master branch, we have: >> "To split an existing list into two lists, set the cursor at the end >> of a list item, press Return and select –Separator– in the pull-down >> box for environments in LyX's main toolbar." >> >> But I don't think we have --Separator-- in the pull-down box anymore. >> Can this be done with Edit > Start New Environment? > > Yes. > >> Note that there is still the LFUN separator-insert but I don't think >> we have a graphical way to insert it. Is that expected? > > Yes. > >> Actually, what >> is the use case for needing separator-insert? I'm sure there is one >> since it is called in LFUN_PARAGRAPH_BREAK, but I do not know it. > > It is used to separate environments. You can do it using > Edit > Start New Environment, but you don't need using the menu. > You start a "Problem" environment and write something. If you want > to start a new "Problem" environment, hit the "Enter" key and go to a > standard environment, hit again the "Enter" key and LyX automatically > inserts a parbreak separator. Now you can start any other environment. > > The parbreak separator will insert a blank line in the latex output. > If you don't want that, use the context menu to change it to a plain > separator. This kind of separators are automatically inserted when > needed in a hopefully intuitive way. If you hit "Enter" in a standard > environment after a non-standard one, you get a separator and you > are ready to insert again the same non-standard environment. > > The small arrow you see, plays the same role of the old --Separator-- > and behaves in the same way, because it leaves a blank line in the latex > output. However, now you can also avoid that blank line by turning the > parbreak into a plain separator. Thanks a lot for this detailed explanation, Enrico. This makes things perfectly clear to me. >> Also, in aqua.bind, we have a binding for "menu-separator-insert". >> This LFUN does not seem to exist. Can I remove it or should it be >> corrected to something else? I corrected this to specialchar-insert menu-separator at 27b8b068, as suggested by Jürgen. Scott
Re: "Problem" environment
On 05/19/2015 11:58 PM, Scott Kostyshak wrote: It is used to separate environments. You can do it using Edit > Start New Environment, but you don't need using the menu. You start a "Problem" environment and write something. If you want to start a new "Problem" environment, hit the "Enter" key and go to a standard environment, hit again the "Enter" key and LyX automatically inserts a parbreak separator. Now you can start any other environment. The parbreak separator will insert a blank line in the latex output. If you don't want that, use the context menu to change it to a plain separator. This kind of separators are automatically inserted when needed in a hopefully intuitive way. If you hit "Enter" in a standard environment after a non-standard one, you get a separator and you are ready to insert again the same non-standard environment. The small arrow you see, plays the same role of the old --Separator-- and behaves in the same way, because it leaves a blank line in the latex output. However, now you can also avoid that blank line by turning the parbreak into a plain separator. Thanks a lot for this detailed explanation, Enrico. This makes things perfectly clear to me. Has someone put this in the docs? It's an improvement, for sure, but it will take some getting used to for us old-timers, I think. Richard