Thank you for the bug report.

Actually, I'm not able to reproduce the exact behaviour you describe.
This is the test case:

$ cat test.stx
foo "..." bar
foo " ... " bar
foo "yes ... no" bar
foo "``...''" bar
foo " ``...'' " bar
foo "yes ``...'' no" bar

$ stx2any --no-template test.stx
foo <q>...</q> bar
foo " &hellip; " bar
foo <q>yes &hellip; no</q> bar
foo <q>`...'</q> bar
foo " `...' " bar
foo <q>yes `...' no</q> bar

$ stx2any -Tlatex --no-template test.stx
foo ``...'' bar
foo " \ldots{} " bar
foo ``yes \ldots{} no'' bar
foo ```...''' bar
foo " `...' " bar
foo ``yes `...' no'' bar

Because m4 quotes (` and ') are used in stx2any as a quoting construct
for abbreviations (such as ... for ellipsis), this is the correct
result: `...' is the correct way to prevent the transformation of
triple-dots into something format-specific.  There is a more minor bug
that the test case shows: quotations that end in ellipsis (such as
"hello...") leave the ellipsis untransformed.  This will be fixed in the
next release.

The phenomenon you are probably talking about is that with m4 quotes,
one may get a result where an abbreviation is not quoted but the quotes
prevent its evaluation.  This is intentional because it is sometimes
needed for macro definitions within documents.  If you want literal
backquotes in the output, you need to use w_bq.  Here is an example:

$ cat test2.stx
Now ``we are ... talking business''
Now w_bq`'w_bq`'we are ... talking business''

$ stx2any --no-template test2.stx
Now `we are `'w_ellipsis talking business'
Now ``we are &hellip; talking business''

Panu

-- 
personal contact:       [EMAIL PROTECTED], +35841 5323835
technical contact:      [EMAIL PROTECTED], http://www.iki.fi/atehwa/
Please consider membership of http://www.hospitalityclub.org/ !



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to