Re: AGU and EGS layouts

2018-02-18 Thread José Abílio Matos
On Saturday, 17 February 2018 17.55.22 WET Jean-Pierre Chrétien wrote:
> These:
> 
> agu-dtd.layout
> agu_stdclass.inc
> agu_stdcounters.inc
> agu_stdlists.inc
> agu_stdsections.inc
> agu_stdtitle.inc

OK, now I remember. At some point AGU was considering an xml based format. 
Since lyx 
supports (more or less) docbook-xml Martin used that has a basis for that 
format (the xml based 
AGU).

In a sense that is similar to the xhtml mode that lyx supports.

That is the reason why those layout files have my name on them. Martin used the 
docbook 
support as a basis for that, so he copied the files from docbook* to agu_*, 
retaining the 
copyright note. I was not directly involved in that project.

Now back to the original question, since I did not heard further about the 
development of the 
project (AGU xml) I think that we can obsolete those styles.

I hope this is clear now. :-) Regards,
-- 
José Abílio


Re: AGU and EGS layouts

2018-02-17 Thread Jean-Pierre Chrétien

Le 17/02/2018 à 15:01, José Abílio Matos a écrit :

On Friday, 16 February 2018 10.11.32 WET Jean-Pierre Chrétien wrote:
 > You are right, there is no hurry to remove unusable layouts. Maybe the best
 > would be to remove these when a layout for agujournal and one for copernicus
 > (for EGU) are available. It seems to me that agutex.layout can be reused
 > for agujournal, I will give a try later.

I have recently looked into copernicus

https://publications.copernicus.org/for_authors/latex_instructions.html

and they have this warning:

"Authors are kindly requested to make use of the template.tex file embedded in 
the LaTeX Package since most of the definitions for the structure of manuscript 
elements are described there. Since we convert all typeset TeX files into XML, 
the expressions and markups have to be highly standardized."


Does that mean that we should provide a Docbook layout ? I guess rather that we 
should be strict about the set of interfaced commands in the layout file.



 > José, I see that you developed with Martin a layout file and a set of .inc
 > files for use with DocBook. I guess this is obsolete as well?

Which ones?


These:

agu-dtd.layout
agu_stdclass.inc
agu_stdcounters.inc
agu_stdlists.inc
agu_stdsections.inc
agu_stdtitle.inc



The idea, if I remember correctly, about the docbook layout files is to have the 
same structure as the latex layout files.


Here I must confess that I am not quite familiar with docbook.

--
Jean-Pierre



Re: AGU and EGS layouts

2018-02-17 Thread José Abílio Matos
On Friday, 16 February 2018 10.11.32 WET Jean-Pierre Chrétien wrote:
> You are right, there is no hurry to remove unusable layouts. Maybe the best
> would be to remove these when a layout for agujournal and one for copernicus
> (for EGU) are available. It seems to me that agutex.layout can be reused
> for agujournal, I will give a try later.

I have recently looked into copernicus
https://publications.copernicus.org/for_authors/latex_instructions.html

and they have this warning:
"Authors are kindly requested to make use of the template.tex file embedded in 
the LaTeX 
Package since most of the definitions for the structure of manuscript elements 
are described 
there. Since we convert all typeset TeX files into XML, the expressions and 
markups have to be 
highly standardized."

> As these are new layouts (and hopefully, templates), this can be done with
> the 2.3 maintenance releases, it is not necessary to wait for master
> release.
> 
> José, I see that you developed with Martin a layout file and a set of .inc
> files for use with DocBook. I guess this is obsolete as well?

Which ones?
The idea, if I remember correctly, about the docbook layout files is to have 
the same structure 
as the latex layout files.

-- 
José Abílio


Re: AGU and EGS layouts

2018-02-16 Thread Jean-Pierre Chrétien

Le 15/02/2018 à 21:14, Scott Kostyshak a écrit :

On Wed, Feb 14, 2018 at 04:56:24PM +, Jean-Pierre Chrétien wrote:

Le 14/02/2018 à 00:12, Scott Kostyshak a écrit :


I think the sections in Additional.lyx about obsolete document classes
should be removed. I propose the create a new LyX file in Git's attic folder
which will contain the deleted sections.
When you delete the sections, please do t for all language versions of
Additional.lyx in branch an master.


Jean-Pierre, did you finish the work that you planned on 2.3.x regarding
this?


I'm almost done with the documentation part, I have edited all
Additional.lyx files and moved AGUTeX.lyx in templates/obsolete. I see that
I should have put an original version of Additional.lyx in the attic, I will
do it with appropriate LyX notes.

I'm going to delete jgrga.layout and agums.layout, which were used by
pre-2008 agutex.cls and reused by aguplus.cls (which is still in TeXLive,
but obsolete in CTAN, so I think it will not be part anymore of
TeXLive2018).
aguplus (1999) was in turn obsoleted by post-2008 agutex.cls, which included
jgrga and agums (and others) as class options coded in the class file
instead of  external .sty files.

Currently, here I can compile successfully AGUTeX.lyx which used
agutex.layout and post-2008 agutex.cls, that I have installed in my
texmf-local tree in 2013 when it was available.

As it is now impossible to find the agutex.cls class (agujournal.cls is the
current AGU class), the template/obsolete/AGUTeX.lyx can only be compiled if
one has kept the class file in one's texmf-local tree, and this only for the
sake of recreation of the pdf of an old paper, any new paper needing
agujournal.

So should I remove also template/obsolete/AGUTeX.lyx? What is the
compilation status of other obsoleted templates?

As for EGS, I'm going to remove egs.layout as well, the class is obsolete
since 2001, and there is no template.

I do not think that it is feasible to build a layout and template for the
new agujournal.cls and copernicus.cls classes for 2.3.0, it will involve
strings changes.

The AGUTeX wiki page

http://wiki.lyx.org/Examples/AGUTeX

is completely out of date for Linux, I will edit that also.


Thanks for this detailed update, Jean-Pierre.

I agree with your changes for AGUTeX since I was familiar with that
particular situation and since we had not decided on the final release
date. As for the other obsolete layout files and classes, now that we
have decided the final release could be in a week or so, I would prefer
to not make those changes at this point. These removals should ideally
be done at the beginning of the release cycle.  Further, I'm worried
that we could miss something (e.g. forgetting to change the Make files
or making a typo in the Make files). I'm sorry if it seemed like I gave
the green light to go through all the obsolete layout files. If both you
and Uwe disagree with me and express your disagreement by Monday and you
can complete all of the work by Monday, I could be convinced with these
extra removals. Otherwise, I would suggest going forward with the work
on master.


You are right, there is no hurry to remove unusable layouts. Maybe the best 
would be to remove these when a layout for agujournal and one for copernicus 
(for EGU) are available. It seems to me that agutex.layout can be reused for 
agujournal, I will give a try later.


As these are new layouts (and hopefully, templates), this can be done with the 
2.3 maintenance releases, it is not necessary to wait for master release.


José, I see that you developed with Martin a layout file and a set of .inc files 
for use with DocBook. I guess this is obsolete as well?


--
Jean-Pierre



Re: AGU and EGS layouts

2018-02-15 Thread Scott Kostyshak
On Wed, Feb 14, 2018 at 04:56:24PM +, Jean-Pierre Chrétien wrote:
> Le 14/02/2018 à 00:12, Scott Kostyshak a écrit :
> 
> > > I think the sections in Additional.lyx about obsolete document classes
> > > should be removed. I propose the create a new LyX file in Git's attic 
> > > folder
> > > which will contain the deleted sections.
> > > When you delete the sections, please do t for all language versions of
> > > Additional.lyx in branch an master.
> > 
> > Jean-Pierre, did you finish the work that you planned on 2.3.x regarding
> > this?
> 
> I'm almost done with the documentation part, I have edited all
> Additional.lyx files and moved AGUTeX.lyx in templates/obsolete. I see that
> I should have put an original version of Additional.lyx in the attic, I will
> do it with appropriate LyX notes.
> 
> I'm going to delete jgrga.layout and agums.layout, which were used by
> pre-2008 agutex.cls and reused by aguplus.cls (which is still in TeXLive,
> but obsolete in CTAN, so I think it will not be part anymore of
> TeXLive2018).
> aguplus (1999) was in turn obsoleted by post-2008 agutex.cls, which included
> jgrga and agums (and others) as class options coded in the class file
> instead of  external .sty files.
> 
> Currently, here I can compile successfully AGUTeX.lyx which used
> agutex.layout and post-2008 agutex.cls, that I have installed in my
> texmf-local tree in 2013 when it was available.
> 
> As it is now impossible to find the agutex.cls class (agujournal.cls is the
> current AGU class), the template/obsolete/AGUTeX.lyx can only be compiled if
> one has kept the class file in one's texmf-local tree, and this only for the
> sake of recreation of the pdf of an old paper, any new paper needing
> agujournal.
> 
> So should I remove also template/obsolete/AGUTeX.lyx? What is the
> compilation status of other obsoleted templates?
> 
> As for EGS, I'm going to remove egs.layout as well, the class is obsolete
> since 2001, and there is no template.
> 
> I do not think that it is feasible to build a layout and template for the
> new agujournal.cls and copernicus.cls classes for 2.3.0, it will involve
> strings changes.
> 
> The AGUTeX wiki page
> 
> http://wiki.lyx.org/Examples/AGUTeX
> 
> is completely out of date for Linux, I will edit that also.

Thanks for this detailed update, Jean-Pierre.

I agree with your changes for AGUTeX since I was familiar with that
particular situation and since we had not decided on the final release
date. As for the other obsolete layout files and classes, now that we
have decided the final release could be in a week or so, I would prefer
to not make those changes at this point. These removals should ideally
be done at the beginning of the release cycle.  Further, I'm worried
that we could miss something (e.g. forgetting to change the Make files
or making a typo in the Make files). I'm sorry if it seemed like I gave
the green light to go through all the obsolete layout files. If both you
and Uwe disagree with me and express your disagreement by Monday and you
can complete all of the work by Monday, I could be convinced with these
extra removals. Otherwise, I would suggest going forward with the work
on master.

Thanks for your work on this,

Scott


signature.asc
Description: PGP signature


Re: AGU and EGS layouts

2018-02-14 Thread Jean-Pierre Chrétien

Le 14/02/2018 à 00:12, Scott Kostyshak a écrit :


I think the sections in Additional.lyx about obsolete document classes
should be removed. I propose the create a new LyX file in Git's attic folder
which will contain the deleted sections.
When you delete the sections, please do t for all language versions of
Additional.lyx in branch an master.


Jean-Pierre, did you finish the work that you planned on 2.3.x regarding
this?


I'm almost done with the documentation part, I have edited all Additional.lyx 
files and moved AGUTeX.lyx in templates/obsolete. I see that I should have put 
an original version of Additional.lyx in the attic, I will do it with 
appropriate LyX notes.


I'm going to delete jgrga.layout and agums.layout, which were used by pre-2008 
agutex.cls and reused by aguplus.cls (which is still in TeXLive, but obsolete in 
CTAN, so I think it will not be part anymore of TeXLive2018).
aguplus (1999) was in turn obsoleted by post-2008 agutex.cls, which included 
jgrga and agums (and others) as class options coded in the class file instead of 
 external .sty files.


Currently, here I can compile successfully AGUTeX.lyx which used agutex.layout 
and post-2008 agutex.cls, that I have installed in my texmf-local tree in 2013 
when it was available.


As it is now impossible to find the agutex.cls class (agujournal.cls is the 
current AGU class), the template/obsolete/AGUTeX.lyx can only be compiled if one 
has kept the class file in one's texmf-local tree, and this only for the sake of 
recreation of the pdf of an old paper, any new paper needing agujournal.


So should I remove also template/obsolete/AGUTeX.lyx? What is the compilation 
status of other obsoleted templates?


As for EGS, I'm going to remove egs.layout as well, the class is obsolete since 
2001, and there is no template.


I do not think that it is feasible to build a layout and template for the new 
agujournal.cls and copernicus.cls classes for 2.3.0, it will involve strings 
changes.


The AGUTeX wiki page

http://wiki.lyx.org/Examples/AGUTeX

is completely out of date for Linux, I will edit that also.

--
Jean-Pierre



Re: AGU and EGS layouts

2018-02-13 Thread Scott Kostyshak
On Sat, Feb 10, 2018 at 07:02:27PM +, Uwe Stöhr wrote:
> Am 08.02.2018 um 17:14 schrieb Jean-Pierre Chrétien:
> 
> > > > But editing sections 6.4 and 6.7 of Additional and moving AGUTeX.lyx to
> > > > templates/obsolete is not a big deal, and this has waited 2
> > > > years for AGU
> > > > and 15 years for EGS, so it's time to do something IMHO.
> > > 
> > > I'm fine with it if Uwe supports it. Uwe, what do you think?
> > 
> > Uwe, can you have a look at this thread? May I edit Additional.lyx to
> > cope for obsoleted classes?
> 
> I think the sections in Additional.lyx about obsolete document classes
> should be removed. I propose the create a new LyX file in Git's attic folder
> which will contain the deleted sections.
> When you delete the sections, please do t for all language versions of
> Additional.lyx in branch an master.

Jean-Pierre, did you finish the work that you planned on 2.3.x regarding
this?

Thanks,

Scott


signature.asc
Description: PGP signature


Re: AGU and EGS layouts

2018-02-10 Thread Uwe Stöhr

Am 08.02.2018 um 17:14 schrieb Jean-Pierre Chrétien:


But editing sections 6.4 and 6.7 of Additional and moving AGUTeX.lyx to
templates/obsolete is not a big deal, and this has waited 2 years for 
AGU

and 15 years for EGS, so it's time to do something IMHO.


I'm fine with it if Uwe supports it. Uwe, what do you think?


Uwe, can you have a look at this thread? May I edit Additional.lyx to 
cope for obsoleted classes?


I think the sections in Additional.lyx about obsolete document classes 
should be removed. I propose the create a new LyX file in Git's attic 
folder which will contain the deleted sections.
When you delete the sections, please do t for all language versions of 
Additional.lyx in branch an master.


many thanks and regards
Uwe


Re: AGU and EGS layouts

2018-02-08 Thread Jean-Pierre Chrétien

Le 31/01/2018 à 21:15, Scott Kostyshak a écrit :

On Wed, Jan 31, 2018 at 09:41:51AM +, Jean-Pierre Chrétien wrote:



I don't think that agujournal.layout and copernicus.layout (not to speak of
the corresponding templates) can be ready for 2.3.0, unless someone has done
the job already.


OK.


But editing sections 6.4 and 6.7 of Additional and moving AGUTeX.lyx to
templates/obsolete is not a big deal, and this has waited 2 years for AGU
and 15 years for EGS, so it's time to do something IMHO.


I'm fine with it if Uwe supports it. Uwe, what do you think?


Uwe, can you have a look at this thread? May I edit Additional.lyx to cope for 
obsoleted classes?


--
Jean-Pierre



Re: AGU and EGS layouts

2018-01-31 Thread Scott Kostyshak
On Wed, Jan 31, 2018 at 09:41:51AM +, Jean-Pierre Chrétien wrote:
> Le 30/01/2018 à 19:09, Scott Kostyshak a écrit :
> > On Tue, Jan 30, 2018 at 04:59:53PM +, Jean-Pierre Chrétien wrote:
> > 
> > > What do you think?
> > 
> > I am fine with whatever you suggest. Thank you for that detailed
> > explanation, Jean-Pierre!
> > 
> > Since these are somewhat big changes, perhaps let's just do them in
> > master, unless you have a strong preference for doing them before 2.3.0?
> 
> I don't think that agujournal.layout and copernicus.layout (not to speak of
> the corresponding templates) can be ready for 2.3.0, unless someone has done
> the job already.

OK.

> But editing sections 6.4 and 6.7 of Additional and moving AGUTeX.lyx to
> templates/obsolete is not a big deal, and this has waited 2 years for AGU
> and 15 years for EGS, so it's time to do something IMHO.

I'm fine with it if Uwe supports it. Uwe, what do you think?

> BTW, I can copy AGUTeX.lyx to templates/obsolete with git, but how can one
> remove a file in the repository?

Instead of copying, you chould do "git mv". Alternatively, you can copy
and then do "git rm".

Scott


signature.asc
Description: PGP signature


Re: AGU and EGS layouts

2018-01-31 Thread Jean-Pierre Chrétien

Le 30/01/2018 à 19:09, Scott Kostyshak a écrit :

On Tue, Jan 30, 2018 at 04:59:53PM +, Jean-Pierre Chrétien wrote:


What do you think?


I am fine with whatever you suggest. Thank you for that detailed
explanation, Jean-Pierre!

Since these are somewhat big changes, perhaps let's just do them in
master, unless you have a strong preference for doing them before 2.3.0?


I don't think that agujournal.layout and copernicus.layout (not to speak of the 
corresponding templates) can be ready for 2.3.0, unless someone has done the job 
already.


But editing sections 6.4 and 6.7 of Additional and moving AGUTeX.lyx to 
templates/obsolete is not a big deal, and this has waited 2 years for AGU and 15 
years for EGS, so it's time to do something IMHO.


BTW, I can copy AGUTeX.lyx to templates/obsolete with git, but how can one 
remove a file in the repository?


--
Jean-Pierre


Re: AGU and EGS layouts

2018-01-30 Thread Scott Kostyshak
On Tue, Jan 30, 2018 at 04:59:53PM +, Jean-Pierre Chrétien wrote:

> What do you think?

I am fine with whatever you suggest. Thank you for that detailed
explanation, Jean-Pierre!

Since these are somewhat big changes, perhaps let's just do them in
master, unless you have a strong preference for doing them before 2.3.0?

Scott