Re: [LyX/master] Add a "noprefix" option to the "labelonly" version of the reference inset.
On Wed, Jan 11, 2017 at 02:16:13PM -0500, Richard Heck wrote: > On 01/11/2017 11:32 AM, Scott Kostyshak wrote: > > On Sat, Jan 07, 2017 at 10:02:40PM +0100, Richard Heck wrote: > >> commit ff3690a5fdec36dd24740525696a846be4696ebf > >> Author: Richard Heck> >> Date: Sat Jan 7 14:39:03 2017 -0500 > >> > >> Add a "noprefix" option to the "labelonly" version of the reference > >> inset. > >> > >> If the reference is "sec:mysec", then this will output just "mysec". > >> This is what is needed, e.g., to use refstyle's range commands, e.g., > >> \secrangeref{mysec1}{mysec2} > >> You *cannot* use: > >> \secrangeref{sec:mysec1}{sec:mysec2} > >> even if those are the actual labels. > >> > >> Eventually, I'd like to add native support for this, but I'm a bit > >> frightened of trying to make the reference dialog support multiple > >> selections. > > Richard, I think this caused the tex2lyx tests to fail. Can you take a > > look? I think you just need to update the reference test files. All of > > the information is in the Development.lyx files. > > Sorry, forgot to do that. Thanks for the quick fix. Scott signature.asc Description: PGP signature
Re: [LyX/master] Add a "noprefix" option to the "labelonly" version of the reference inset.
On 01/11/2017 11:32 AM, Scott Kostyshak wrote: > On Sat, Jan 07, 2017 at 10:02:40PM +0100, Richard Heck wrote: >> commit ff3690a5fdec36dd24740525696a846be4696ebf >> Author: Richard Heck>> Date: Sat Jan 7 14:39:03 2017 -0500 >> >> Add a "noprefix" option to the "labelonly" version of the reference >> inset. >> >> If the reference is "sec:mysec", then this will output just "mysec". >> This is what is needed, e.g., to use refstyle's range commands, e.g., >> \secrangeref{mysec1}{mysec2} >> You *cannot* use: >> \secrangeref{sec:mysec1}{sec:mysec2} >> even if those are the actual labels. >> >> Eventually, I'd like to add native support for this, but I'm a bit >> frightened of trying to make the reference dialog support multiple >> selections. > Richard, I think this caused the tex2lyx tests to fail. Can you take a > look? I think you just need to update the reference test files. All of > the information is in the Development.lyx files. Sorry, forgot to do that. rh
Re: [LyX/master] Add a "noprefix" option to the "labelonly" version of the reference inset.
On Sat, Jan 07, 2017 at 10:02:40PM +0100, Richard Heck wrote: > commit ff3690a5fdec36dd24740525696a846be4696ebf > Author: Richard Heck> Date: Sat Jan 7 14:39:03 2017 -0500 > > Add a "noprefix" option to the "labelonly" version of the reference > inset. > > If the reference is "sec:mysec", then this will output just "mysec". > This is what is needed, e.g., to use refstyle's range commands, e.g., > \secrangeref{mysec1}{mysec2} > You *cannot* use: > \secrangeref{sec:mysec1}{sec:mysec2} > even if those are the actual labels. > > Eventually, I'd like to add native support for this, but I'm a bit > frightened of trying to make the reference dialog support multiple > selections. Richard, I think this caused the tex2lyx tests to fail. Can you take a look? I think you just need to update the reference test files. All of the information is in the Development.lyx files. Scott signature.asc Description: PGP signature