Problem with quotes signs in Pandoc conversion

V K sovhist at yahoo.com
Wed Feb 5 18:57:51 UTC 2020


 

    On Wednesday, February 5, 2020, 5:23:23 PM GMT+2, 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?

Hello,

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:
https://git.lyx.org/?p=lyx.git;a=blob;f=src/insets/InsetQuotes.cpp;h=d34efa48cd4ed07d920c8c4d969f41e9b286da04;hb=HEAD#l337

JMarc
I tink such macros are from the two sources.\glq\glqq\flqq\frqq\flq\frq are from ngerman (babel): glq

| 
| 
|  | 
glq


 |

 |

 |


\quotesinglbase\quotedblbase\textquoteright\textquoteleft\textquotedblright\textquotedblleft\textquotesingle\guilsinglleft\guilsinglright\guillemotleft\guillemotrightare from textcomp  package, adopted to LaTeX Text symbols (LaTeX2e unofficial reference manual (July 2018))

| 
| 
|  | 
Text symbols (LaTeX2e unofficial reference manual (July 2018))

Text symbols (LaTeX2e unofficial reference manual (July 2018))
 |

 |

 |


\textquotedbl isn't listed in that page.

I found some solution there: LaTeX Error: Command \textquotedbl unavailable in encoding HE8 
put \let\glqq=„ (not ,, – it should be one symbol, not two) in the preamble and quote opening signs are in converted docx.

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
LaTeX Error: Command \textquotedbl unavailable in encoding HE8

I was testing today the SVN version of LyX 1.6.0 and 1.5.7. Due to a change in the way the double quotation mark...
 |

 |

 |



But I'll ask Pandoc for support for some symbols from ex-textcomp package (I need \textbar that isn't converted to | too) and ngerman. 

Valdemaras
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200205/cda26ad3/attachment.html>


More information about the lyx-users mailing list