On Tue, Feb 24, 2015 at 4:11 PM, Georg Baum <b...@lyx.org> wrote:
> commit 8aa37c43a1e7bc6038322183c63aecdd2024ab59
> Author: Georg Baum <b...@lyx.org>
> Date:   Tue Feb 24 21:58:27 2015 +0100
>
>     Fix plaintext output of dashes (bug #3647)
>
>     Previously, consecutive dashes in .lyx files were combined to endash and 
> emdash
>     in some cases, and in other cases they were output as is. This made the 
> code
>     complicated, and resulted in inconsitencies ((bug #3647).
>     Now, a dash in a .lyx file is always a dash in the output, for all 
> flavours.
>     The special handling is moved to the input side, so that you still get an
>     endash if you type two hyphens. If needed, this can be changed or made
>     customizable without the need to update the file format again. Many thanks
>     for the fruitful mailing list dicsussion, which contributed significantly 
> to
>     the final version.

I think lyx2lyx converts some cases it should not. To reproduce an
error, do the following:

1. In a LyX with a previous format (any commit before this one) start
a new document and go to Insert > Label and put "a--b" and press OK.
2. Save the document.
3. Open the document in a LyX compiled with this present commit.

I get the error: "Unknown parameter name: b". If I open the saved LyX
document and just change 480 to 481 (so that lyx2lyx is not called)
and open the document, there is no problem.

By the way, the cycling thing works very smooth! Well done.

Scott

Reply via email to