Re: test of math previews

2015-06-06 Thread Enrico Forestieri
On Fri, Jun 05, 2015 at 09:40:39AM +0200, Jean-Marc Lasgouttes wrote: Le 05/06/2015 09:14, Enrico Forestieri a écrit : A possible way out would be outputting all the macros once at the beginning of the file, such that they are seen by all snippets, and then the specific one appearing in a

Re: test of math previews

2015-06-06 Thread Enrico Forestieri
On Fri, Jun 05, 2015 at 11:03:48PM +0100, Guillaume M-M wrote: Le 05/06/2015 08:14, Enrico Forestieri a écrit : On Thu, Jun 04, 2015 at 07:32:03PM -0400, Richard Heck wrote: On 06/04/2015 07:13 PM, Guillaume M-M wrote: Bad news, it seems to forget that macros can use macros. With the

Re: test of math previews

2015-06-06 Thread Kornel Benko
Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri for...@lyx.org +void InsetMathHull::usedMacros(MathData const md, MacroNameSet macros) const +{ + for (size_t i = 0; i md.size(); ++i) { + MathMacro * mi = const_castMathMacro

Re: include bibtexall in lib/scripts ?

2015-06-06 Thread Jürgen Spitzmüller
2015-06-06 4:07 GMT+02:00 Scott Kostyshak skost...@lyx.org: Would it make sense to ship bibtexall with LyX? It is used to run bibtex on all .aux files. It is especially useful with chapterbib, which allows a separate bibliography per chapter. Hm, I would prefer proper chapterbib support,

Re: assertion on master when deleting an empty chunk from inside

2015-06-06 Thread Kornel Benko
Am Freitag, 5. Juni 2015 um 17:26:12, schrieb Scott Kostyshak skost...@lyx.org To reproduce, on master open mwe.lyx, place the cursor inside of the empty chunk, and press Backspace. Can others reproduce? Note also that when I export mwe.lyx to 2.1.x format, the separator is gone and there

Re: test of math previews

2015-06-06 Thread Enrico Forestieri
On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri for...@lyx.org +void InsetMathHull::usedMacros(MathData const md, MacroNameSet macros) const +{ + for (size_t i = 0; i md.size(); ++i) { +

Re: test of math previews

2015-06-06 Thread Guillaume M-M
Le 06/06/2015 18:12, Enrico Forestieri a écrit : On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri for...@lyx.org +void InsetMathHull::usedMacros(MathData const md, MacroNameSet macros) const +{ + for (size_t

Re: test of math previews

2015-06-06 Thread Guillaume M-M
Le 06/06/2015 18:12, Enrico Forestieri a écrit : On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri for...@lyx.org +void InsetMathHull::usedMacros(MathData const md, MacroNameSet macros) const +{ + for (size_t

Re: test of math previews

2015-06-06 Thread Kornel Benko
Am Samstag, 6. Juni 2015 um 19:12:45, schrieb Enrico Forestieri for...@lyx.org On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri for...@lyx.org +void InsetMathHull::usedMacros(MathData const md, MacroNameSet

Re: include bibtexall in lib/scripts ?

2015-06-06 Thread Jürgen Spitzmüller
2015-06-06 4:07 GMT+02:00 Scott Kostyshak : > Would it make sense to ship bibtexall with LyX? It is used to run > bibtex on all .aux files. It is especially useful with chapterbib, > which allows a separate bibliography per chapter. > Hm, I would prefer proper chapterbib

Re: test of math previews

2015-06-06 Thread Enrico Forestieri
On Fri, Jun 05, 2015 at 11:03:48PM +0100, Guillaume M-M wrote: > Le 05/06/2015 08:14, Enrico Forestieri a écrit : > >On Thu, Jun 04, 2015 at 07:32:03PM -0400, Richard Heck wrote: > >>On 06/04/2015 07:13 PM, Guillaume M-M wrote: > >>> > >>>Bad news, it seems to forget that macros can use macros.

Re: test of math previews

2015-06-06 Thread Enrico Forestieri
On Fri, Jun 05, 2015 at 09:40:39AM +0200, Jean-Marc Lasgouttes wrote: > Le 05/06/2015 09:14, Enrico Forestieri a écrit : > >A possible way out would be outputting all the macros once at the > >beginning of the file, such that they are seen by all snippets, and then > >the specific one appearing

Re: test of math previews

2015-06-06 Thread Kornel Benko
Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri > +void InsetMathHull::usedMacros(MathData const & md, MacroNameSet & macros) > const > +{ > + for (size_t i = 0; i < md.size(); ++i) { > + MathMacro * mi = const_cast

Re: assertion on master when deleting an empty chunk from inside

2015-06-06 Thread Kornel Benko
Am Freitag, 5. Juni 2015 um 17:26:12, schrieb Scott Kostyshak > To reproduce, on master open mwe.lyx, place the cursor inside of the > empty chunk, and press Backspace. > > Can others reproduce? > > Note also that when I export mwe.lyx to 2.1.x format, the separator is > gone

Re: test of math previews

2015-06-06 Thread Enrico Forestieri
On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: > Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri > > > +void InsetMathHull::usedMacros(MathData const & md, MacroNameSet & macros) > > const > > +{ > > + for (size_t i = 0; i < md.size(); ++i)

Re: test of math previews

2015-06-06 Thread Kornel Benko
Am Samstag, 6. Juni 2015 um 19:12:45, schrieb Enrico Forestieri > On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: > > > Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri > > > > > +void InsetMathHull::usedMacros(MathData const & md,

Re: test of math previews

2015-06-06 Thread Guillaume M-M
Le 06/06/2015 18:12, Enrico Forestieri a écrit : On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri +void InsetMathHull::usedMacros(MathData const & md, MacroNameSet & macros) const +{ + for

Re: test of math previews

2015-06-06 Thread Guillaume M-M
Le 06/06/2015 18:12, Enrico Forestieri a écrit : On Sat, Jun 06, 2015 at 03:23:48PM +0200, Kornel Benko wrote: Am Samstag, 6. Juni 2015 um 13:13:22, schrieb Enrico Forestieri +void InsetMathHull::usedMacros(MathData const & md, MacroNameSet & macros) const +{ + for