Re: #8173: broken/changed label handling in corss-references window
Sergio R. Caprile wrote: On 27/05/12 09:07, LyX Ticket Tracker wrote: Comment (by spitz): Replying to [ticket:8173 scaprile]: First, sometimes there is the need to track references in the other direction, that is, find the places in many documents where there is a reference to a label. Did you try Document Outline? My friend, I think we are not understanding each other. My outline window is always open. What I try to mean is I have this: \subsubsection{System Control Space\label{sub:System-Control-Space}} and I need to find all the please go to \vref{sub:System-Control-Space} in 10 or 12 documents encompassing my whole project. Let's say: M3:page 7 M4:page 12 micros:page 122 so I can click and go there. I understand. At least for documents that are connected (via master-child) you can do exactly this via Document Outline. You need to select Labels and references from the combo box in the outliner (instead of Table of Contents). If a section changes to a paragraph and the text says see section xref, one might need to change it (the word section automagically included could be good also) Use formatted reference (prettyref or nameref) for this task. See the user guide for details. OK, this is tricky, I have to mess with the Latex preamble to get this working. Maybe the preferences window could be the job in a more Lyx-ful way ? What are you missing exactly? I think nameref should work out of the box, prettyref though only for English. Second, sometimes a label is removed, maybe to put it somewhere else with a different name. Then there is the need to find BROKEN links in all the documents referring to that label. Besides the BROKEN word, perhaps their color could change maybe to red, and an automatic search and display on a window with a goto feature would be great. Again, Document Outline will help you find those references easily. No, if you re-read the example I've given, the outline window will help me find the sections and paragraphs, not all the places in the document where there is a reference to those. Let alone the BROKEN references Of course it will (and many more) if you select the respective category. Jürgen
Re: #8173: broken/changed label handling in corss-references window
On 28/05/2012 04:50 a.m., Jürgen Spitzmüller wrote: I understand. At least for documents that are connected (via master-child) you can do exactly this via Document Outline. You need to select Labels and references from the combo box in the outliner (instead of Table of Contents). mmm... not exactly what I had in mind, but it works. Thanks. It's too much information (all the stuff in one window) but solves my problem, thanks again. If a section changes to a paragraph and the text says see section xref, one might need to change it (the word section automagically included could be good also) Use formatted reference (prettyref or nameref) for this task. See the user guide for details. OK, this is tricky, I have to mess with the Latex preamble to get this working. Maybe the preferences window could be the job in a more Lyx-ful way ? What are you missing exactly? I think nameref should work out of the box, prettyref though only for English. I happen to write in spanish... Nevermind, this is not common and I can solve it with the above stuff. Thanks
Re: annoying behavior of Lyx 2.02+ -- Language toggle
On 05/27/2012 03:04 PM, Ronen Abravanel wrote: BTW, can I get privileges to open track-tickets? You should have such permission once you're logged in. rh (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel ron...@gmail.com mailto:ron...@gmail.com wrote: Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes lasgout...@lyx.org mailto:lasgout...@lyx.org wrote: Le 25/05/2012 13:21, Ronen Abravanel a écrit : I added an optional set argument to LFUN_LANGUAGE and fixed the menu entery. Anythhing else? Should I fix the LFUN documentation? Good. I would handle the case where no language is given to reset to default language (this is what is done with the layout lfun). This allows to to have a keybinding for resetting the langage. Yes, in LyXAction.cpp JMarc
Re: #8173: broken/changed label handling in corss-references window
On 05/28/2012 03:50 AM, Jürgen Spitzmüller wrote: Sergio R. Caprile wrote: If a section changes to a paragraph and the text says see section xref, one might need to change it (the word section automagically included could be good also) Use formatted reference (prettyref or nameref) for this task. See the user guide for details. OK, this is tricky, I have to mess with the Latex preamble to get this working. Maybe the preferences window could be the job in a more Lyx-ful way ? What are you missing exactly? I think nameref should work out of the box, prettyref though only for English. Refstyle should also work for Spanish. Richard
Re: #8173: broken/changed label handling in corss-references window
On 28/05/2012 09:58 a.m., LyX Ticket Tracker wrote: So can we close this ticket? Sure!
Babel Problem
Because we load babel after the user preamble, it is essentially impossible to do this: \renewcommand\contentsname{Table of Contents} if you're using babel and not using jurabib, etc. Is there some obvious solution? Richard
Re: Babel Problem
On Tue, May 29, 2012 at 2:51 AM, Richard Heck rgh...@comcast.net wrote: Because we load babel after the user preamble, it is essentially impossible to do this: \renewcommand\contentsname{Table of Contents} if you're using babel and not using jurabib, etc. Is there some obvious solution? Would the following construct help: AtBeginDocument{ \renewcommand\contentsname{Table of Contents} } See [1]. This construct has also been discussed on some occasions on the list. Liviu [1] http://tex.loria.fr/general/new/clsguide.html
Re: #7273: beamer/sweave issue: need [containsverbatim]
Hello In #7273 I proposed that we include the beamer fragile module (and associated template) into 2.0.4. Uwe, you suggested that we should release the module at the same time as #8041, which is due for 2.1. Are there serious reasons to delay the release of the module for so long? Regards Liviu On Tue, May 29, 2012 at 12:28 AM, LyX Ticket Tracker t...@lyx.org wrote: #7273: beamer/sweave issue: need [containsverbatim] +- Reporter: pauljohn32 | Owner: lasgouttes Type: defect | Status: new Priority: normal | Milestone: 2.0.4 Component: general | Version: 2.0.0svn Severity: normal | Resolution: Keywords: patch | +- Comment (by rgheck): Could you post a note to devel about this? I'm not an expert with Sweave or Beamer, so discussion might be useful. We haven't yet frozen strings, it could still be possible. But I want to do that soon.
Re: #8173: broken/changed label handling in corss-references window
Sergio R. Caprile wrote: > On 27/05/12 09:07, LyX Ticket Tracker wrote: > > Comment (by spitz): > > Replying to [ticket:8173 scaprile]: > > > First, sometimes there is the need to track references in the other > > > > direction, that is, find the places in many documents where there is a > > reference to a label. > > > > Did you try Document > Outline? > > My friend, I think we are not understanding each other. My outline > window is always open. What I try to mean is > I have this: > \subsubsection{System Control Space\label{sub:System-Control-Space}} > and I need to find all the > please go to \vref{sub:System-Control-Space} > in 10 or 12 documents encompassing my whole project. Let's say: > > M3:page 7 > M4:page 12 > micros:page 122 > > so I can click and go there. I understand. At least for documents that are connected (via master-child) you can do exactly this via Document > Outline. You need to select "Labels and references" from the combo box in the outliner (instead of "Table of Contents"). > > > If a section changes to a paragraph and the text says "see section > > > > ", one might need to change it (the word "section" automagically > > included could be good also) > > > > Use "formatted reference" (prettyref or nameref) for this task. See the > > user guide for details. > > OK, this is tricky, I have to mess with the Latex preamble to get this > working. Maybe the preferences window could be the job in a more > "Lyx-ful" way ? What are you missing exactly? I think nameref should work out of the box, prettyref though only for English. > > > Second, sometimes a label is removed, maybe to put it somewhere else > > > > with a different name. Then there is the need to find BROKEN links in all > > the documents referring to that label. Besides the "BROKEN" word, perhaps > > their color could change maybe to red, and an automatic search and > > display > > on a window with a goto feature would be great. > > > > Again, Document > Outline will help you find those references easily. > > No, if you re-read the example I've given, the outline window will help > me find the sections and paragraphs, not all the places in the document > where there is a reference to those. Let alone the BROKEN references Of course it will (and many more) if you select the respective category. Jürgen
Re: #8173: broken/changed label handling in corss-references window
On 28/05/2012 04:50 a.m., Jürgen Spitzmüller wrote: > I understand. At least for documents that are connected (via master-child) > you > can do exactly this via Document > Outline. You need to select "Labels and > references" from the combo box in the outliner (instead of "Table of > Contents"). mmm... not exactly what I had in mind, but it works. Thanks. It's too much information (all the stuff in one window) but solves my problem, thanks again. > >>> > If a section changes to a paragraph and the text says "see section >>> >>> ", one might need to change it (the word "section" automagically >>> included could be good also) >>> >>> Use "formatted reference" (prettyref or nameref) for this task. See the >>> user guide for details. >> >> OK, this is tricky, I have to mess with the Latex preamble to get this >> working. Maybe the preferences window could be the job in a more >> "Lyx-ful" way ? > > What are you missing exactly? I think nameref should work out of the box, > prettyref though only for English. > I happen to write in spanish... Nevermind, this is not common and I can solve it with the above stuff. Thanks
Re: annoying behavior of Lyx 2.02+ -- Language toggle
On 05/27/2012 03:04 PM, Ronen Abravanel wrote: BTW, can I get privileges to open track-tickets? You should have such permission once you're logged in. rh (username: ronen) On Sat, May 26, 2012 at 5:24 PM, Ronen Abravanel> wrote: Patch for LyXAction.cpp attached. (i also added example for inserting graphics using inset-inset On Fri, May 25, 2012 at 3:42 PM, Jean-Marc Lasgouttes > wrote: Le 25/05/2012 13:21, Ronen Abravanel a écrit : I added an optional "set" argument to LFUN_LANGUAGE and fixed the menu entery. Anythhing else? Should I fix the LFUN documentation? Good. I would handle the case where no language is given to reset to default language (this is what is done with the "layout" lfun). This allows to to have a keybinding for resetting the langage. Yes, in LyXAction.cpp JMarc
Re: #8173: broken/changed label handling in corss-references window
On 05/28/2012 03:50 AM, Jürgen Spitzmüller wrote: Sergio R. Caprile wrote: > If a section changes to a paragraph and the text says "see section ", one might need to change it (the word "section" automagically included could be good also) Use "formatted reference" (prettyref or nameref) for this task. See the user guide for details. OK, this is tricky, I have to mess with the Latex preamble to get this working. Maybe the preferences window could be the job in a more "Lyx-ful" way ? What are you missing exactly? I think nameref should work out of the box, prettyref though only for English. Refstyle should also work for Spanish. Richard
Re: #8173: broken/changed label handling in corss-references window
On 28/05/2012 09:58 a.m., LyX Ticket Tracker wrote: > So can we close this ticket? Sure!
Babel Problem
Because we load babel after the user preamble, it is essentially impossible to do this: \renewcommand\contentsname{Table of Contents} if you're using babel and not using jurabib, etc. Is there some obvious solution? Richard
Re: Babel Problem
On Tue, May 29, 2012 at 2:51 AM, Richard Heckwrote: > > Because we load babel after the user preamble, it is essentially impossible > to do this: > \renewcommand\contentsname{Table of Contents} > if you're using babel and not using jurabib, etc. Is there some obvious > solution? > Would the following construct help: AtBeginDocument{ \renewcommand\contentsname{Table of Contents} } See [1]. This construct has also been discussed on some occasions on the list. Liviu [1] http://tex.loria.fr/general/new/clsguide.html
Re: #7273: beamer/sweave issue: need [containsverbatim]
Hello In #7273 I proposed that we include the beamer fragile module (and associated template) into 2.0.4. Uwe, you suggested that we should release the module at the same time as #8041, which is due for 2.1. Are there serious reasons to delay the release of the module for so long? Regards Liviu On Tue, May 29, 2012 at 12:28 AM, LyX Ticket Trackerwrote: > #7273: beamer/sweave issue: need [containsverbatim] > +- > Reporter: pauljohn32 | Owner: lasgouttes > Type: defect | Status: new > Priority: normal | Milestone: 2.0.4 > Component: general | Version: 2.0.0svn > Severity: normal | Resolution: > Keywords: patch | > +- > > Comment (by rgheck): > > Could you post a note to devel about this? I'm not an expert with Sweave > or Beamer, so discussion might be useful. We haven't yet frozen strings, > it could still be possible. But I want to do that soon. >