From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17931 Path: news.gmane.org!.POSTED!not-for-mail From: Sean Winslow Newsgroups: gmane.text.pandoc Subject: Pandoc selectively transfers glyphs from LuaLaTeX to DOCX Date: Sat, 22 Jul 2017 09:37:26 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2288_1361500907.1500741446064" X-Trace: blaine.gmane.org 1500741446 25028 195.159.176.226 (22 Jul 2017 16:37:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2017 16:37:26 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD2NPS5FZMBBBRX6ZXFQKGQEYQLEYPY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 22 18:37:22 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw0-f183.google.com ([209.85.161.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYxP7-0006Hz-QT for gtp-pandoc-discuss@m.gmane.org; Sat, 22 Jul 2017 18:37:21 +0200 Original-Received: by mail-yw0-f183.google.com with SMTP id y8sf1253950ywi.0 for ; Sat, 22 Jul 2017 09:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=gujN9yFRuzoH4WFeU5bv1koVIyxqb43D+wqiHDykqq4=; b=lvczGPP/NVSSd7Efaq8J4BaYjw0Na+qMcJh0wOnQqxdI9sxNg6GndKWxmgCgctn6XJ 3voSd48jH2Db9uRoB3CKbc/ViotAQyHR3T9D7/Zn9SjvQHkLZEV/8jm39Cs4LOyR4S6i 2VQCZ3WDjUMxOFGqG79GzTxOrNFaI0eRkzpoVDoquhgS9XZgSq43tpzb6Mta8QlCzohG YM34Dw/nECoy2oove7d1ENsLSKK71ySxxHk6+yPmoUd/Y+oV5HmimWZPkaCU+x0/S5P7 DjKRYUDKvHbZvgeReR2H98NXShqssDkpU+BLKVLt9wsMNaA8H1DudVf57Qr40VCSJNd3 OCVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=gujN9yFRuzoH4WFeU5bv1koVIyxqb43D+wqiHDykqq4=; b=sWhKvE90SVX8SqLz4ZzYywl8MTlzXKE5bf7E076R5Pek3tUMHuk9auTK5zBLPEUJQG xQfsAWjoxKJYVqKG/BkOuDA+UB3upcQ9IsY6QPoBVPZX43vjASY2fJc3MZBKiLzyFFRt dNvQKRKnHXgGD0Mv1+fW+CndQs+PtBa5LWSiEtN81d/BKad62C3QFEAf6YQBitYQgch+ JNV6JbpsQ37Hz08IhC6pXN39y9buQc/yhleu5Z9RuGP+gOq4i2kaVOAFSMlbojZrzxqN f60z5cBBKLYyssyRNO+q7XO5EU5kKHiyvv+Gv77R2q5c69Ap5Mk/V2I1w4G7TYWqmoLs 1xmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=gujN9yFRuzoH4WFeU5bv1koVIyxqb43D+wqiHDykqq4=; b=t96yALh22501do/f5mAx3ZIWhLiWCgOADmUZaJuGTlcA8I2ZCGlMf03PSAAeWmMozK mEjl/7WVWbxBZ+ZCbmfyjpjy4OUkbrJTd2h3ttJPKR+BEQ3eAfefbEDoEGR9Mul3/Up9 mCx9VWKkrYxianH5ERTK5ijN1eu8uJXLnYPgQGGUlUel+VV2Qo8jPUG8ysGV56wV0rcS 3vGYox78cqNNxTIMG4zL7KEQQIN7lg0u2mzQTwnBE2/4QTVPWRfr87flZW7zG4IYyr2v YlACyp9XppVmlq5Jr5nmPfUjS57p6hrS/0fGmkcwGSp6G25In166QdlTVJGFanxZuvpU WiGQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw111vIAf5ulkgwdHilX2hPv0JFzE059NiQybxQS+bjRARYKL8xHpm 8ZEkgFZAdZXKvw== X-Received: by 10.36.34.209 with SMTP id o200mr98380ito.0.1500741447356; Sat, 22 Jul 2017 09:37:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.138.200 with SMTP id c69ls9412403ioj.23.gmail; Sat, 22 Jul 2017 09:37:26 -0700 (PDT) X-Received: by 10.36.125.65 with SMTP id b62mr94901itc.5.1500741446510; Sat, 22 Jul 2017 09:37:26 -0700 (PDT) X-Original-Sender: mrspot-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17931 Archived-At: ------=_Part_2288_1361500907.1500741446064 Content-Type: multipart/alternative; boundary="----=_Part_2289_1876227882.1500741446064" ------=_Part_2289_1876227882.1500741446064 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am trying to convert a dissertation from LaTex to Word, in order to=20 comply with publisher requirements. Part of why I used LaTeX is my need for= =20 complicated diacritics in transcriptions, which XeLaTeX/LuaLaTeX and the=20 dblaccent package made easy. Now, when I use pandoc to output to docx,=20 certain glyphs are missing. See, for example, \b{q} in Maqala and \v{\d{C}}= =20 in Chelaqwot: LuaLaTeX (or XeLaTeX) produces this: But this is what I see in Word: Here is my MWE:=20 %!TEX TS-program =3D lualatex %!TEX encoding =3D UTF-8 Unicode \documentclass[a4]{memoir} %packages \usepackage{fontspec} \usepackage{dblaccnt} \usepackage{savesym} \savesymbol{U} \savesymbol{T} \usepackage{semtrans} %newcommands \newcommand{\schwa}{=C7=9D} \newcommand{\mekele}{M\"{a}\b{q}\"{a}l\"{a}} \newcommand{\chelekot}{\d{\v{C}}el\=3D{a}qwot S\schwa{}lasse} \defaultfontfeatures{Mapping=3Dtex-text} \setromanfont[Mapping=3Dtex-text]{Brill} \begin{document} The two research locations visited were \mekele{} and \chelekot{}.\par \end{document} and the pandoc command I am using to convert it: pandoc test.tex \ --from=3Dlatex \ --to=3Ddocx \ --output=3Dtest.docx \ --latex-engine=3Dlualatex \ --reference-docx=3Dtest_ref.docx \ -S \ -R The reference-docx is just the output, but changed to use Brill as the font= . Is there any way to have pandoc pass along the special diacritics I need?= =20 Re-doing all of them by hand will be a nightmare, and is a lot of the=20 reason I am learning pandoc. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/b4abf81b-74e7-490a-8cb9-f6a313c651e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2289_1876227882.1500741446064 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I am trying to convert a dissertation from LaTex to Word, in order to= comply with publisher requirements. Part of why I used LaTeX is my need fo= r complicated diacritics in transcriptions, which XeLaTeX/LuaLaTeX and the = dblaccent package made easy. Now, when I use pandoc to output to docx, cert= ain glyphs are missing. See, for example, \b{q} in Maqala and \v{\d{C}} in = Chelaqwot:


= LuaLaTeX (or XeLaTeX) produces this:

But t= his is what I see in Word:


Here is m= y MWE:=C2=A0

%!TEX TS-program =3D lualatex
%!TEX encoding =3D UTF-8 Unicode
<= br>
\documentclass[a4]{memoir}

%packages=
\usepackage{fontspec}
\usepackage{dblaccnt}

\usepackage{savesym}
\savesymbol{U}
\s= avesymbol{T}
\usepackage{semtrans}
=

%newc= ommands
\newcommand{\schwa}{=C7=9D}
\newcommand{\mekele}{M\"{a}\b{q}\"= {a}l\"{a}}
\newcommand{\chelekot}{\= d{\v{C}}el\=3D{a}qwot S\schwa{}lasse}
\defaultfontfeatures{Mapping=3Dtex-te= xt}
\setromanfont[Mapping=3Dtex-text]{Br= ill}

\begin{document}

The two research locations visited were \mekele{} and= \chelekot{}.\par

\end{document}

and t= he pandoc command I am using to convert it:

pandoc test.tex \

=C2=A0 =C2=A0 = --from=3Dlatex \

=C2=A0 =C2=A0 = --to=3Ddocx \

=C2=A0 =C2=A0 = --output=3Dtest.docx \

=C2=A0 =C2=A0 = --latex-engine=3Dlualatex \

=C2=A0 =C2=A0 = --reference-docx=3Dtest_ref.docx \

=C2=A0 =C2=A0 = -S \

=C2=A0 =C2=A0 = -R


The reference-docx is just the output, but cha= nged to use Brill as the font.

Is there any way to= have pandoc pass along the special diacritics I need? Re-doing all of them= by hand will be a nightmare, and is a lot of the reason I am learning pand= oc.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/b4abf81b-74e7-490a-8cb9-f6a313c651e0%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2289_1876227882.1500741446064-- ------=_Part_2288_1361500907.1500741446064--