Re: elsarticle

2018-09-06 Thread Kornel Benko
ut I don't like it. > > > > A workaround for the templates, until the class is fixed, is to put this to > the preamble: > > % Workaround for a bug in elsarticle 3.0 > > \Newlabel{t1}{1} > > \Newlabel{t2}{2} > > Jürgen > > > > > &g

Re: elsarticle

2018-09-06 Thread Jürgen Spitzmüller
this to the preamble: % Workaround for a bug in elsarticle 3.0 \Newlabel{t1}{1} \Newlabel{t2}{2} Jürgen > > Kornel > > > >

Re: elsarticle

2018-09-05 Thread Kornel Benko
Am Mittwoch, 5. September 2018 17:56:26 CEST schrieb Jean-Marc Lasgouttes : > Le 04/09/2018 à 14:03, Kornel Benko a écrit : > > Am Dienstag, 4. September 2018 12:35:52 CEST schrieb Jürgen Spitzmüller > > : > >> 2018-09-03 18:11 GMT+02:00 Kornel Benko : > >> > >>> Ah, yes, I forgot. So, since they

Re: elsarticle

2018-09-05 Thread Jürgen Spitzmüller
> > Why do you push _me_ to represent your position towards stackexchange? > Is it because I reported it? > If you don't want to do that, don't do it. In any case, I don't have time ATM to look after this problem. But it is certainly an upstream problem. Jürgen >

Re: elsarticle

2018-09-05 Thread Jean-Marc Lasgouttes
Le 04/09/2018 à 14:03, Kornel Benko a écrit : Am Dienstag, 4. September 2018 12:35:52 CEST schrieb Jürgen Spitzmüller : 2018-09-03 18:11 GMT+02:00 Kornel Benko : Ah, yes, I forgot. So, since they don't respond, we don't care? We could insist. Try to fix the problem ourselves in the cls and

Re: elsarticle

2018-09-05 Thread Kornel Benko
Am Mittwoch, 5. September 2018 08:25:57 CEST schrieb Jürgen Spitzmüller : > > Ask on stackexchange. > > Jürgen Please, don't make me crazy. The compilation needs a second run due to missing .aux file. You are convinced, that this behaviour is a class error. Why do you push _me_ to represent yo

Re: elsarticle

2018-09-04 Thread Jürgen Spitzmüller
Am Dienstag, den 04.09.2018, 14:03 +0200 schrieb Kornel Benko: > Am Dienstag, 4. September 2018 12:35:52 CEST schrieb Jürgen > Spitzmüller : > > 2018-09-03 18:11 GMT+02:00 Kornel Benko : > > > > > Ah, yes, I forgot. So, since they don't respond, we don't care? > > > > > > > We could insist. Try

Re: elsarticle

2018-09-04 Thread Kornel Benko
Am Dienstag, 4. September 2018 12:35:52 CEST schrieb Jürgen Spitzmüller : > 2018-09-03 18:11 GMT+02:00 Kornel Benko : > > > Ah, yes, I forgot. So, since they don't respond, we don't care? > > > > We could insist. Try to fix the problem ourselves in the cls and provide > them with a patch. Ask fo

Re: elsarticle

2018-09-04 Thread Jürgen Spitzmüller
2018-09-03 18:11 GMT+02:00 Kornel Benko : > Ah, yes, I forgot. So, since they don't respond, we don't care? > We could insist. Try to fix the problem ourselves in the cls and provide them with a patch. Ask for help on stackexchange ... Jürgen > > Kornel > >

Re: elsarticle

2018-09-03 Thread Kornel Benko
Am Montag, 3. September 2018 17:31:06 CEST schrieb Jürgen Spitzmüller : > 2018-09-03 17:17 GMT+02:00 Scott Kostyshak : > > > On Mon, Sep 03, 2018 at 11:46:02AM +0200, Kornel Benko wrote: > > > The templates elsarticle.lyx and elsarticle2.lyx are not compilable > > > under TL18. No errors if compi

Re: elsarticle

2018-09-03 Thread Jürgen Spitzmüller
2018-09-03 17:17 GMT+02:00 Scott Kostyshak : > On Mon, Sep 03, 2018 at 11:46:02AM +0200, Kornel Benko wrote: > > The templates elsarticle.lyx and elsarticle2.lyx are not compilable > > under TL18. No errors if compiled with TL17. > > I can reproduce both of the above (success with TL 17; error wit

Re: elsarticle

2018-09-03 Thread Scott Kostyshak
On Mon, Sep 03, 2018 at 11:46:02AM +0200, Kornel Benko wrote: > The templates elsarticle.lyx and elsarticle2.lyx are not compilable > under TL18. No errors if compiled with TL17. I can reproduce both of the above (success with TL 17; error with TL 18). Scott signature.asc Description: PGP signa

elsarticle

2018-09-03 Thread Kornel Benko
The templates elsarticle.lyx and elsarticle2.lyx are not compilable under TL18. No errors if compiled with TL17. The reason is hard to find. Kornel signature.asc Description: This is a digitally signed message part.

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-29 Thread Kornel Benko
Am Sonntag, 29. Juli 2018 19:47:35 CEST schrieb Jürgen Spitzmüller : > > The tests are OK, attached. I have not tested the case, when the > > InTitle styles are somehow spread across > > the lyx-file. > > > > elsarticle.lyx is reverted to the original from lyx2.3.x > > I don't have time for a th

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-29 Thread Jürgen Spitzmüller
> The tests are OK, attached. I have not tested the case, when the > InTitle styles are somehow spread across > the lyx-file. > > elsarticle.lyx is reverted to the original from lyx2.3.x I don't have time for a thorough review ATM, but you need to add a format change in version.h and an entry in

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-29 Thread Kornel Benko
i = find_token(document.body, '\\begin_layout ' + layout, i) +if i == -1: +break +j = find_end_of_layout(document.body, i) +if j == -1: + document.warning("Malformed LyX document: Can't find end of layout

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-29 Thread Kornel Benko
Am Sonntag, 29. Juli 2018 12:15:24 CEST schrieb Jürgen Spitzmüller : > Am Sonntag, den 29.07.2018, 10:26 +0200 schrieb Kornel Benko: > > I like it. But the existence of Begin/EndFrontmater in the lyx-file > > is a problem. > > With the new layout, we can omit it, but the conversion to old > > (2.3

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-29 Thread Jürgen Spitzmüller
Am Sonntag, den 29.07.2018, 10:26 +0200 schrieb Kornel Benko: > I like it. But the existence of Begin/EndFrontmater in the lyx-file > is a problem. > With the new layout, we can omit it, but the conversion to old > (2.3.x) format would miss these styles. > > Attached the new version. Working witho

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-29 Thread Kornel Benko
r: Kornel Benko > > > Date: Sat Jul 28 14:30:25 2018 +0200 > > > > > > Replace styles '(Begin|End)Frontmatter' with environment in > > > elsarticle > > > > > > No change in tex or pdf output. > > > This doe

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-28 Thread Jürgen Spitzmüller
t; Replace styles '(Begin|End)Frontmatter' with environment in > > elsarticle > > > > No change in tex or pdf output. > > This does not help in compiling, but still feels more natural. > > This is a file format change. Please add the necessary

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-28 Thread Kornel Benko
ot; i = 0 while True: @@ -552,14 +617,15 @@ convert = [ [551, []], [552, []], [553, []], [554, []], [555, []], - [556, []] + [557, [convert_frontmatter]] ] revert = [ + [556, [revert_fr

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-28 Thread Richard Kimberly Heck
> diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py > index c00e630..9c23dab 100644 > --- a/lib/lyx2lyx/lyx_2_4.py > +++ b/lib/lyx2lyx/lyx_2_4.py > @@ -47,11 +47,91 @@ from lyx2lyx_tools import (put_cmd_in_ert, > add_to_preamble) > ### > ### Conversion and reversion routines > ### >

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-28 Thread Kornel Benko
thor: Kornel Benko > > > Date: Sat Jul 28 14:30:25 2018 +0200 > > > > > > Replace styles '(Begin|End)Frontmatter' with environment in > > > elsarticle > > > > > > No change in tex or pdf output. > > > This does not help in c

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-28 Thread Kornel Benko
; > Replace styles '(Begin|End)Frontmatter' with environment in > > elsarticle > > > > No change in tex or pdf output. > > This does not help in compiling, but still feels more natural. > > This is a file format change. Please add the necessary change and >

Re: [LyX/master] Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

2018-07-28 Thread Jürgen Spitzmüller
Am Samstag, den 28.07.2018, 14:33 +0200 schrieb Kornel Benko: > commit 3e92efd118aa66d90cee8e1cd5b305ead0849925 > Author: Kornel Benko > Date: Sat Jul 28 14:30:25 2018 +0200 > > Replace styles '(Begin|End)Frontmatter' with environment in > elsarticle >

problems with elsarticle Template and BibTeX

2010-02-11 Thread Daniele_P
Dear LyX developers, I am trying to make a submission to a Elsevier Journal and I am using the LyX elsarticle template, which is supposed to match the Elsevier requirements. The template already includes a BibTex bibliography with the required style called "elsarticle-harv". This st