Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-13 Thread Richard Heck
On 12/10/2016 08:41 AM, Jürgen Spitzmüller wrote:
> Am Mittwoch, den 07.12.2016, 12:46 -0500 schrieb Richard Heck:
>> That is: Fixed in stable.
>>
>> For master, I'm trying to decide how to handle it. I could go the ERT
>> route, but I wonder if that is the best way. After all, these styles
>> will be supported in 2.2.3 and later. What it would be nice to have,
>> in
>> a way, is something like a "ForceLocal" flag that applied only on
>> export
>> to earlier versions. But I don't see how that is really possible,
>> since
>> lyx2lyx doesn't know about layouts. What I could do, though, is do
>> something similar in lyx2lyx itself, i.e., write what ForceLocal
>> would
>> write. I'd have to experiment a bit to see how that would work. But
>> what
>> do you think of the idea?
> I solved a similar problem with beamer article classes recently like
> that:
>
> http://www.lyx.org/trac/changeset/90f6eb01a4ac09d56591e0ed8a342ad6f6163
> 796/lyxgit/

Yes, that's exactly what I was thinking. Easy enough, too.

Richard



Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-10 Thread Jürgen Spitzmüller
Am Mittwoch, den 07.12.2016, 12:46 -0500 schrieb Richard Heck:
> That is: Fixed in stable.
> 
> For master, I'm trying to decide how to handle it. I could go the ERT
> route, but I wonder if that is the best way. After all, these styles
> will be supported in 2.2.3 and later. What it would be nice to have,
> in
> a way, is something like a "ForceLocal" flag that applied only on
> export
> to earlier versions. But I don't see how that is really possible,
> since
> lyx2lyx doesn't know about layouts. What I could do, though, is do
> something similar in lyx2lyx itself, i.e., write what ForceLocal
> would
> write. I'd have to experiment a bit to see how that would work. But
> what
> do you think of the idea?

I solved a similar problem with beamer article classes recently like
that:

http://www.lyx.org/trac/changeset/90f6eb01a4ac09d56591e0ed8a342ad6f6163
796/lyxgit/

Jürgen

> 
> Richard
> 
> 

signature.asc
Description: This is a digitally signed message part


Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-07 Thread Guenter Milde
On 2016-12-07, Guenter Milde wrote:
> ["Followup-To:" nach gmane.editors.lyx.devel gesetzt.]
> On 2016-12-07, Jürgen Spitzmüller wrote:
>> 2016-12-07 0:17 GMT+01:00 Richard Heck :

>>> commit 39e3fabffb52b78b08be3fa562cd6ce7c8dce2e5
>>> Author: Richard Heck 
>>> Date:   Tue Dec 6 17:54:32 2016 -0500

>>> Verbatim, etc, can be used with IOP articles.
>>> Fixes #10505.

>>> (cherry picked from commit 91f980cf314183d22d5f3211d04985e34501daa5)

>> Note that this requires a file format change.

> Please wait a moment with the file format change, I have another one in the
> pipeline (could even be merged).

My first file format update is in, so you can go ahead.

Thanks,

Günter





Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-07 Thread Richard Heck
On 12/07/2016 12:33 PM, Richard Heck wrote:
> On 12/07/2016 07:17 AM, Guenter Milde wrote:
>> ["Followup-To:" nach gmane.editors.lyx.devel gesetzt.]
>> On 2016-12-07, Jürgen Spitzmüller wrote:
>>> 2016-12-07 0:17 GMT+01:00 Richard Heck :
 commit 39e3fabffb52b78b08be3fa562cd6ce7c8dce2e5
 Author: Richard Heck 
 Date:   Tue Dec 6 17:54:32 2016 -0500
 Verbatim, etc, can be used with IOP articles.
 Fixes #10505.
 (cherry picked from commit 91f980cf314183d22d5f3211d04985e34501daa5)
>>> Note that this requires a file format change.
> Sorry, should have done this differently. Fixed.


That is: Fixed in stable.

For master, I'm trying to decide how to handle it. I could go the ERT
route, but I wonder if that is the best way. After all, these styles
will be supported in 2.2.3 and later. What it would be nice to have, in
a way, is something like a "ForceLocal" flag that applied only on export
to earlier versions. But I don't see how that is really possible, since
lyx2lyx doesn't know about layouts. What I could do, though, is do
something similar in lyx2lyx itself, i.e., write what ForceLocal would
write. I'd have to experiment a bit to see how that would work. But what
do you think of the idea?

Richard




Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-07 Thread Richard Heck
On 12/07/2016 07:17 AM, Guenter Milde wrote:
> ["Followup-To:" nach gmane.editors.lyx.devel gesetzt.]
> On 2016-12-07, Jürgen Spitzmüller wrote:
>> 2016-12-07 0:17 GMT+01:00 Richard Heck :
>>> commit 39e3fabffb52b78b08be3fa562cd6ce7c8dce2e5
>>> Author: Richard Heck 
>>> Date:   Tue Dec 6 17:54:32 2016 -0500
>>> Verbatim, etc, can be used with IOP articles.
>>> Fixes #10505.
>>> (cherry picked from commit 91f980cf314183d22d5f3211d04985e34501daa5)
>
>> Note that this requires a file format change.

Sorry, should have done this differently. Fixed.

Richard




Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-07 Thread Guenter Milde
["Followup-To:" nach gmane.editors.lyx.devel gesetzt.]
On 2016-12-07, Jürgen Spitzmüller wrote:
> 2016-12-07 0:17 GMT+01:00 Richard Heck :

>> commit 39e3fabffb52b78b08be3fa562cd6ce7c8dce2e5
>> Author: Richard Heck 
>> Date:   Tue Dec 6 17:54:32 2016 -0500

>> Verbatim, etc, can be used with IOP articles.
>> Fixes #10505.

>> (cherry picked from commit 91f980cf314183d22d5f3211d04985e34501daa5)


> Note that this requires a file format change.

Please wait a moment with the file format change, I have another one in the
pipeline (could even be merged).

Günter



Re: [LyX/2.2.x] Verbatim, etc, can be used with IOP articles. Fixes #10505.

2016-12-07 Thread Jürgen Spitzmüller
2016-12-07 0:17 GMT+01:00 Richard Heck :

> commit 39e3fabffb52b78b08be3fa562cd6ce7c8dce2e5
> Author: Richard Heck 
> Date:   Tue Dec 6 17:54:32 2016 -0500
>
> Verbatim, etc, can be used with IOP articles.
> Fixes #10505.
>
> (cherry picked from commit 91f980cf314183d22d5f3211d04985e34501daa5)
>

Note that this requires a file format change.

Jürgen