Re: Bad Citation Bug in 2.3dev

2017-06-03 Thread Richard Heck
On 06/01/2017 05:57 PM, Jürgen Spitzmüller wrote: > 2017-05-31 17:47 GMT+02:00 Richard Heck >: > > > PS It's probably too late for this, but is there really a good use > case > for mixing 'literal' and 'non-literal' citations in a single document? > I.e., mig

Re: Bad Citation Bug in 2.3dev

2017-06-01 Thread Jürgen Spitzmüller
2017-05-31 17:47 GMT+02:00 Richard Heck : > I see what's worrying you. > > The way I did the code, what we record are only *manual* changes to the > 'literal' value. Simply opening a dialog that has literal checked does > not change the recorded setting. If you *manually* set or unset it, then > w

Re: Bad Citation Bug in 2.3dev

2017-05-31 Thread Richard Heck
On 05/31/2017 12:55 AM, Jürgen Spitzmüller wrote: > Am Dienstag, den 30.05.2017, 15:11 -0400 schrieb Richard Heck: >>> OK. Thanks. Since this is used as a session setting, we might have the >>> unwanted side-effect that it is now off by default for everybody starting >>> LyX 2.3 with an old docum

Re: Bad Citation Bug in 2.3dev

2017-05-30 Thread Jürgen Spitzmüller
Am Dienstag, den 30.05.2017, 15:11 -0400 schrieb Richard Heck: > > OK. Thanks. Since this is used as a session setting, we might have > > the unwanted side-effect that it is now off by default for > > everybody starting LyX 2.3 with an old document. > > But it was off by default, anyway, I believ

Re: Bad Citation Bug in 2.3dev

2017-05-30 Thread Richard Heck
On 05/30/2017 07:04 AM, Jürgen Spitzmüller wrote: > 2017-05-30 4:54 GMT+02:00 Richard Heck >: > > >> Another question: Should the "literal" flag default to true or > false? > >> Having it default to true would be consistent with pre-2.3 > behavior. > >> P

Re: Bad Citation Bug in 2.3dev

2017-05-30 Thread Jürgen Spitzmüller
2017-05-30 4:54 GMT+02:00 Richard Heck : > BibTeX bst files do not control the output of citations, only of > bibliography references. Right? > Right. You'd need to set it on package level (natbib's \setcitestyle or \bibpunct, for instance or cite.sty's \citemid). > >> Another question: Should

Re: Bad Citation Bug in 2.3dev

2017-05-29 Thread Richard Heck
On 05/28/2017 12:38 PM, Jürgen Spitzmüller wrote: > Am Sonntag, den 28.05.2017, 12:32 -0400 schrieb Richard Heck: >> Some do, not all. > But if a given style requests a pagination prefix, the bst (or biblatex > cbx) can and should be configured to output that. This is a > prerequisite for portabil

Re: Bad Citation Bug in 2.3dev

2017-05-28 Thread Jürgen Spitzmüller
Am Sonntag, den 28.05.2017, 12:32 -0400 schrieb Richard Heck: > Some do, not all. But if a given style requests a pagination prefix, the bst (or biblatex cbx) can and should be configured to output that. This is a prerequisite for portability between different styles (and languages). > And of co

Re: Bad Citation Bug in 2.3dev

2017-05-28 Thread Richard Heck
On 05/27/2017 03:47 AM, Jürgen Spitzmüller wrote: > Am Freitag, den 26.05.2017, 18:22 -0400 schrieb Richard Heck: >> So, question: Shouldn't there be some way to set "literal true" as default? >> Or shouldn't this setting be remembered? It's annoying to have to set it >> every time. > We could re

Re: Bad Citation Bug in 2.3dev

2017-05-27 Thread Jürgen Spitzmüller
Am Freitag, den 26.05.2017, 18:22 -0400 schrieb Richard Heck: > So, question: Shouldn't there be some way to set "literal true" as > default? Or shouldn't this setting be remembered? It's annoying to > have > to set it every time. We could remember the setting via session. OTOH, writing things su

Re: Bad Citation Bug in 2.3dev

2017-05-26 Thread Richard Heck
On 05/26/2017 12:40 PM, Richard Heck wrote: > I am seeing the following bug: If I put, e.g., "pp.\ 22" into the text after > field in the citation dialog, I sometimes get as output: pp.\textbackslash{} > 22. This does not seem to happen with every > citation, and I cannot figure out what is causi

Bad Citation Bug in 2.3dev

2017-05-26 Thread Richard Heck
I am seeing the following bug: If I put, e.g., "pp.\ 22" into the text after field in the citation dialog, I sometimes get as output: pp.\textbackslash{} 22". This does not seem to happen with every citation, and I cannot figure out what is causing it to happen with the ones it does. This does not

Re: citation bug?

2012-03-13 Thread Georg Baum
Julien Rioux wrote: > Down the road, it would be nice to detect the citation engine by using > whatever trick is used right now to detect that a specific \usepackage > line should add a specific module, instead of hardcoding a list of > modules. I don't know enough about this to do it just yet, bu

Re: citation bug?

2012-03-13 Thread Georg Baum
Julien Rioux wrote: > On 10/03/2012 8:20 AM, Georg Baum wrote: >> The roundtrip output of one of the tex2lyx tests has changed recently: >> >> tex2lyx -roundtrip src/tex2lyx/test/test-insets.tex >> >> will produce src/tex2lyx/test/test-insets.lyx.lyx and >> src/tex2lyx/test/test- insets.lyx.tex. I

Re: citation bug?

2012-03-12 Thread Julien Rioux
On 10/03/2012 10:47 AM, Richard Heck wrote: On 03/10/2012 08:20 AM, Georg Baum wrote: Maybe special treatment of the citatiuon modules is needed in tex2lyx? Probably so. This seems kind of familiar from our experience with the theorem modules. Richard Down the road, it would be nice to de

Re: citation bug?

2012-03-12 Thread Julien Rioux
On 10/03/2012 8:20 AM, Georg Baum wrote: The roundtrip output of one of the tex2lyx tests has changed recently: tex2lyx -roundtrip src/tex2lyx/test/test-insets.tex will produce src/tex2lyx/test/test-insets.lyx.lyx and src/tex2lyx/test/test- insets.lyx.tex. If you compare these files with the on

Re: citation bug?

2012-03-10 Thread Richard Heck
On 03/10/2012 08:20 AM, Georg Baum wrote: The roundtrip output of one of the tex2lyx tests has changed recently: tex2lyx -roundtrip src/tex2lyx/test/test-insets.tex will produce src/tex2lyx/test/test-insets.lyx.lyx and src/tex2lyx/test/test- insets.lyx.tex. If you compare these files with the o

citation bug?

2012-03-10 Thread Georg Baum
The roundtrip output of one of the tex2lyx tests has changed recently: tex2lyx -roundtrip src/tex2lyx/test/test-insets.tex will produce src/tex2lyx/test/test-insets.lyx.lyx and src/tex2lyx/test/test- insets.lyx.tex. If you compare these files with the ones created about 3 weeks ago, you'll get i

Re: citation bug

2008-06-06 Thread Abdelrazak Younes
rgheck wrote: Abdelrazak Younes wrote: rgheck wrote: Stefan Schimanski wrote: I've noticed something similar, though I haven't seen it reliably (and so haven't yet filed a bug report). Sometimes when I try to add one citation, what happens is that a previously inserted citation in the same p

Re: citation bug

2008-06-06 Thread rgheck
Abdelrazak Younes wrote: rgheck wrote: Stefan Schimanski wrote: I've noticed something similar, though I haven't seen it reliably (and so haven't yet filed a bug report). Sometimes when I try to add one citation, what happens is that a previously inserted citation in the same paragraph is *m

Re: citation bug

2008-06-06 Thread Abdelrazak Younes
rgheck wrote: Stefan Schimanski wrote: I've noticed something similar, though I haven't seen it reliably (and so haven't yet filed a bug report). Sometimes when I try to add one citation, what happens is that a previously inserted citation in the same paragraph is *modified*, even though the

Re: citation bug

2008-06-05 Thread Abdelrazak Younes
rgheck wrote: Stefan Schimanski wrote: I've noticed something similar, though I haven't seen it reliably (and so haven't yet filed a bug report). Sometimes when I try to add one citation, what happens is that a previously inserted citation in the same paragraph is *modified*, even though the

Re: citation bug

2008-06-05 Thread rgheck
Stefan Schimanski wrote: I've noticed something similar, though I haven't seen it reliably (and so haven't yet filed a bug report). Sometimes when I try to add one citation, what happens is that a previously inserted citation in the same paragraph is *modified*, even though the cursor wasn't n

Re: citation bug

2008-06-05 Thread Stefan Schimanski
Am 05.06.2008 um 01:41 schrieb Bennett Helm: On Wed, Jun 4, 2008 at 6:26 PM, rgheck <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: Please confirm this bug for 1.6.0 Beta 3: In any tested document. After selecting a citation within the Citation Dialog the selection will not be place

Re: citation bug

2008-06-05 Thread PeerLynt
> Can you say in more details exactly what you're doing? You choose a > selection from the left box, hit "Add", and then hit "OK"? And then what? > > rh exactly, I chose from the left box an item, hit "add", clicked on "ok" and then the dialog closed, but no reference mark was placed in the text.

Re: citation bug

2008-06-05 Thread rgheck
[EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: "rgheck" <[EMAIL PROTECTED]> Gesendet: 05.06.08 00:26:18 An: [EMAIL PROTECTED] CC: lyx-devel@lists.lyx.org Betreff: Re: citation bug [EMAIL PROTECTED] wrote: Please confirm this bug for 1.6.0 Beta

Re: citation bug

2008-06-05 Thread PeerLynt
> -Ursprüngliche Nachricht- > Von: "rgheck" <[EMAIL PROTECTED]> > Gesendet: 05.06.08 00:26:18 > An: [EMAIL PROTECTED] > CC: lyx-devel@lists.lyx.org > Betreff: Re: citation bug > [EMAIL PROTECTED] wrote: > > Please confirm this bug for

Re: citation bug

2008-06-04 Thread Bennett Helm
On Wed, Jun 4, 2008 at 8:01 PM, rgheck <[EMAIL PROTECTED]> wrote: > Bennett Helm wrote: > >> On Wed, Jun 4, 2008 at 6:26 PM, rgheck <[EMAIL PROTECTED] > [EMAIL PROTECTED]>> wrote: >> >>[EMAIL PROTECTED] wrote: >> >>Please confirm this bug for 1.6.0 Beta 3: In

Re: citation bug

2008-06-04 Thread rgheck
Bennett Helm wrote: On Wed, Jun 4, 2008 at 6:26 PM, rgheck <[EMAIL PROTECTED] > wrote: [EMAIL PROTECTED] wrote: Please confirm this bug for 1.6.0 Beta 3: In any tested document. After selecting a citation within the Citat

Re: citation bug

2008-06-04 Thread Bennett Helm
On Wed, Jun 4, 2008 at 6:26 PM, rgheck <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> Please confirm this bug for 1.6.0 Beta 3: In any tested document. After >> selecting a citation within the Citation Dialog the selection will not be >> placed in the text, nor will it be added to the

Re: citation bug

2008-06-04 Thread rgheck
[EMAIL PROTECTED] wrote: Please confirm this bug for 1.6.0 Beta 3: In any tested document. After selecting a citation within the Citation Dialog the selection will not be placed in the text, nor will it be added to the bibliography. I don't see this. What platform, etc? rh

citation bug

2008-06-04 Thread PeerLynt
Please confirm this bug for 1.6.0 Beta 3: In any tested document. After selecting a citation within the Citation Dialog the selection will not be placed in the text, nor will it be added to the bibliography. best regards and thanks a lot for doing Lyx, peerlynt _

Re: [PATCH-updated] Bug 3676--Citation Bug

2007-08-01 Thread Andre Poenitz
On Wed, Aug 01, 2007 at 03:12:20PM -0400, Richard Heck wrote: > > >>>Passing a std::map by value seems wrong. > >>> > >>Yes. Made it const &. This required a const_cast, but that seems ok. > >> > >Not really. > > > It's necessary because I want to use operator[] on the ma

Re: [PATCH-updated] Bug 3676--Citation Bug

2007-08-01 Thread Richard Heck
Andre Poenitz wrote: On Wed, Aug 01, 2007 at 12:19:33AM -0400, Richard Heck wrote: Yes, I agree. This is needed, IIRC (I did this a while ago), for certain constants, e.g.: static const docstring TheBibliographyRef(from_ascii("TheBibliographyRef")); which was in frontends/controllers/fron

Re: [PATCH-updated] Bug 3676--Citation Bug

2007-07-31 Thread Andre Poenitz
On Wed, Aug 01, 2007 at 12:19:33AM -0400, Richard Heck wrote: > Andre Poenitz wrote: > >On Tue, Jul 31, 2007 at 03:00:34PM -0400, Richard Heck wrote: > > > >>Index: src/Buffer.h > >>=== > >>--- src/Buffer.h(revision 19264) > >>++

[PATCH-updated] Bug 3676--Citation Bug

2007-07-31 Thread Richard Heck
Andre Poenitz wrote: On Tue, Jul 31, 2007 at 03:00:34PM -0400, Richard Heck wrote: Index: src/Buffer.h === --- src/Buffer.h(revision 19264) +++ src/Buffer.h(working copy) @@ -13,7 +13,11 @@ #define BUFFER_H #i

Re: [Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
Use this one rather. - Martin On Mon, Mar 05, 2007 at 03:50:11PM +0200, Martin Vermeer wrote: > > Attached the reworked patch. Works for me. > > - Martin > > > On Fri, Mar 02, 2007 at 01:38:59PM +0200, Martin Vermeer wrote: > > On Fri, Mar 02, 2007 at 11:34:06AM +0100, Jean-Marc Lasgouttes wr

[Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
Attached the reworked patch. Works for me. - Martin On Fri, Mar 02, 2007 at 01:38:59PM +0200, Martin Vermeer wrote: > On Fri, Mar 02, 2007 at 11:34:06AM +0100, Jean-Marc Lasgouttes wrote: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > > > Martin> On Fri, Mar 02, 2007 at 0

Re: Citation bug [w/ PATCH]

2002-04-23 Thread Angus Leeming
On Tuesday 23 April 2002 11:08 am, Juergen Spitzmueller wrote: > When I chose several databases with the bibtex dialog (Browse option), they > will be inserted as a comma-separated list without extension (correct), but > the separating comma is followed by a blank: mybib1, mybib2, etc. > However,

Citation bug [w/ PATCH]

2002-04-23 Thread Juergen Spitzmueller
When I chose several databases with the bibtex dialog (Browse option), they will be inserted as a comma-separated list without extension (correct), but the separating comma is followed by a blank: mybib1, mybib2, etc. However, it seems that the citation dialog only reads the first of this datab

Re: Michael's citation bug report

2001-08-20 Thread John Levon
On Mon, Aug 20, 2001 at 05:42:34PM +0100, Angus Leeming wrote: > Well, No! > > That's exactly the point I was making, in effect, the citation dialog is NOT > modeless (your terminology). um, it's not MY terminology ;) but something weird is going on. I was sure I couldn't type into the workar

Re: Michael's citation bug report

2001-08-20 Thread Angus Leeming
Well, No! That's exactly the point I was making, in effect, the citation dialog is NOT modeless (your terminology). By press the Apply button and so setting that pointer to zero, you can move the cursor wherever you wish and any subsequent Apply will occur there. Similarly if the dialog is ope

Re: Michael's citation bug report

2001-08-20 Thread John Levon
On Mon, Aug 20, 2001 at 03:33:08PM +0100, Angus Leeming wrote: > Don't follow. current the citation dialog is modal. This means I cannot keep it open whilst editing my document; consequently I cannot change cursor position. As a result, the only use for the "Apply" button to create new insets w

Re: Michael's citation bug report

2001-08-20 Thread Angus Leeming
On Monday 20 August 2001 15:26, John Levon wrote: > On Mon, Aug 20, 2001 at 03:06:06PM +0100, Angus Leeming wrote: > > > Unless, of course you can convince me not to! > > but how often does someone introduce two citation insets next to each other rather > than one inset with two citations ? >

Re: Michael's citation bug report

2001-08-20 Thread John Levon
On Mon, Aug 20, 2001 at 03:06:06PM +0100, Angus Leeming wrote: > Unless, of course you can convince me not to! but how often does someone introduce two citation insets next to each other rather than one inset with two citations ? it would be different matter is citation dialog wasn't modal ! j

Michael's citation bug report

2001-08-20 Thread Angus Leeming
Michael, I've worked out what's happening in your reported bug 1. Add a citation to your document; 2. Click at the citation; the dialog pops up 3. Click at the box where you can choose between Author Year, Year, Author, etc. 4. Click OK -> A _new_ citation is added (this shouldn't hap