Problem with quotes signs in Pandoc conversion
slitt at troubleshooters.com
Thu Feb 6 09:21:36 UTC 2020
On Wed, 5 Feb 2020 16:23:14 +0100
Jean-Marc Lasgouttes <lasgouttes at lyx.org> wrote:
> Le 05/02/2020 à 16:05, V K a écrit :
> > So it is obvious that Pandoc understands only quotes signs, but
> > not, how to say, commands, it doesn't convert all the \og,
> > \guillemotleft, \quotesinglbase, \glqq and so on, but perfectly
> > convert signs `` '' << etc. Using csquotes package change
> > nothing.Maybe I should load other package?
> While there could be a case made for exporting more portable LaTYeX
> when the target is a converter, I think that in this case it makes
> sense to open a andoc issue asking for support of these extra macros.
> You can see a list of macros used for quotes here:
I know nothing about Pandoc at all, but the preceding URL, which
conveniently lands on the exact subroutine appearing to give
translations of quote type UTF-8's, seems the perfect place to just add
else if (op == "pandoc")
or some other branch that outputs the needful for pandoc. If there
isn't a variable representing a pandoc-interfacing output, why not make
one and at least have it triggered by a LyX command line argument? Once
there's such a variable, VK himself could put in the exact best quote
representations for Pandoc, I believe 21 in total, put it back in, and
bang, problem solved.
Perhaps it's pandoc's job to fix this problem. But if it's as simple as
I think it is, it's just too easy to do it on the LyX end to wait for
pandoc to do their job.
February 2020 featured book: Thriving in Tough Times
More information about the lyx-users