From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23660 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Mcneill Newsgroups: gmane.text.pandoc Subject: supporting dinkus in markdown to epub and pdf Date: Tue, 22 Oct 2019 21:30:05 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2585_1412687831.1571805005360" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="239034"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD55PPHQS4BBBTVOX7WQKGQEZAJOIBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 23 06:30:09 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f58.google.com ([209.85.210.58]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iN8Hg-00104E-Hk for gtp-pandoc-discuss@m.gmane.org; Wed, 23 Oct 2019 06:30:08 +0200 Original-Received: by mail-ot1-f58.google.com with SMTP id o17sf1710581ote.14 for ; Tue, 22 Oct 2019 21:30:08 -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=//wHnyg5GZ1av+sLvDiYuQ3AGbHjw26QA5B3SVXEj24=; b=XgXJuNAJaCn9NDvsmQB9PRlPfNJsX8DLbJ5DBwv9BExcb0PxAL9p+gZbdDPzvZ6w5q TU0v1dfQRIx6yqC7H2kf6rDhr9DSNu8zMV6z1GJVZUMb4lDbOU14by/nKRkx+zVzRmsv mZ0EiL7/SPNa3V6uXeeEe/ZpH//KiObIxUxM10BnVZU5cK0W5oFT4l4oCbsLIJze7d9T 42yt4KfZ9U3IGD6yqdBJXEH/J2WQ9Qxi2tPLk0QK1UMwkD8UQERm04xlQNrirLJHc9pt FfTgM59fG76hUfIFZtamMvbC2VX6i+JWd4qBLlobYKnZawg/oZJhdC0y7+VaRabTcq+F gN4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; 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=//wHnyg5GZ1av+sLvDiYuQ3AGbHjw26QA5B3SVXEj24=; b=I6MVUHMg0oEKqwEGjX9entBvvo2asUlwWSs5YFtXZ+pt0kzHeL9AUErxPQeMDcPSqt 1prq/hsuw4rSYWbKhg6D/edNLBeY9S8CnGK0YLG2/Y8AbXY2wsrVDJ9ysSxwZXE4jWLV RK4ICcHgFCHE+chf2sFGT2lSnqv/ungC9fj3sIH3tiYlO6d+xWCwmbfdPPESzeLP/4To peUT3Xk+gOFk/cldOtAYQAKxK9oJWT8wfmBOehX5hW2hyUXHd5mOMDKjR/yfuq8D9/oc yGOonz27aIXPIEbYySMeTSt8ELkfcVRlDVphZL25J6+qXWy8PltA2c5BtfabeBLon/9F l3wA== 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=//wHnyg5GZ1av+sLvDiYuQ3AGbHjw26QA5B3SVXEj24=; b=crFV4fW1pShC4NsklEeeQQrx8aTXqacsVgmfqFgCM8aqcJxKMA9wix+xYjhz1tqSrJ N09NdX8+uubpYcNDppgApU+lont40P3wbiXBBYcsg6T4J1u46j3V2lNZHoKw5YFGe2bV ZfRH0C7GMdXOvsJQ94YYYsXpRqYTpQWKJ83Yjc/LFVdN5UsIZmWDBZVmV3ra0Y77J2eL NUtLR4uCJsQOIwroRuYR4ZZ5wcfvSGkSkVZvX/80TNrYH/SSwWFt2iLu6y20w080t0Fo Ff7JM7dTP/JFeEqKTiBKH7KZe45S1ST9jr4edDBOljkD/hHAgB2XvEzU0yS8acf1GuqN lZ/w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWeD0g9+1v/Z6YwuneCkbp1XyTBZaksgRDk2x7K6NV7v8CX97Rx zfc03ld8As1SwF14HMBC39I= X-Google-Smtp-Source: APXvYqzeeEC0yiK1NxK5Y44VY+QcI0QT80qZigDeDVLqfN2Cnx7ud8HXP9b8xSXfLiBfUqbCGM4Wfw== X-Received: by 2002:a05:6808:281:: with SMTP id z1mr6019974oic.56.1571805007179; Tue, 22 Oct 2019 21:30:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:5886:: with SMTP id m128ls370134oib.14.gmail; Tue, 22 Oct 2019 21:30:06 -0700 (PDT) X-Received: by 2002:a05:6808:8f6:: with SMTP id d22mr453314oic.159.1571805005958; Tue, 22 Oct 2019 21:30:05 -0700 (PDT) X-Original-Sender: jeffmcneill-TVLZxgkOlNX2fBVCVOL8/A@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:23660 Archived-At: ------=_Part_2585_1412687831.1571805005360 Content-Type: multipart/alternative; boundary="----=_Part_2586_1902135074.1571805005360" ------=_Part_2586_1902135074.1571805005360 Content-Type: text/plain; charset="UTF-8" In markdown, I markup a dinkus as such:

∗ ∗ ∗

The class simply centers the text. However, for pdf output, I have to mark up in latex as: \begin{center} * * * \end{center} This is not a true dinkus, as it uses an asterisk rather than a ∗. I've got two issues here: 1. How do I make latex (and pdflatex) suppor the dinkus html or unicode entity? 2. Does anyone know a clever way of marking up the pandoc markdown so that I can use a single source to properly generate both epub and pdf dinkus? Note that if I leave the latex text in, the dinkus is not displayed in epub, and if I leave only the markdown in, then the literal `

∗ ∗ ∗

` is displayed in pdf. Any thoughts are deeply appreciated. Note: because of some issues I am experiencing with xelatex and images in pdf (they don't display), I cannot use that to solve any of these issues. -- 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 email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c65ec88e-4c98-4fb1-8c9e-46a3553293ff%40googlegroups.com. ------=_Part_2586_1902135074.1571805005360 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In markdown, I markup a dinkus as such:

<p class=3D"dinkus">&lowast; &lowast; &lowast;= </p>

The class simply centers the text.= =C2=A0

However, for pdf output, I have to mark up = in latex as:

\begin{center}
* * *
\end{center}

This is not a true din= kus, as it uses an asterisk rather than a &lowast;.=C2=A0
I've got two issues here:

1. How d= o I make latex (and pdflatex) suppor the dinkus html or unicode entity?

2. Does anyone know a clever way of marking up the pa= ndoc markdown so that I can use a single source to properly generate both e= pub and pdf dinkus?

Note that if I leave the latex= text in, the dinkus is not displayed in epub, and if I leave only the mark= down in, then the literal `<p class=3D"dinkus">&lowast;= &lowast; &lowast;</p>` is displayed in pdf.

Any thoughts are deeply appreciated.

Note= : because of some issues I am experiencing with xelatex and images in pdf (= they don't display), I cannot use that to solve any of these issues.

--
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 view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/c65ec88e-4c98-4fb1-8c9e-46a3553293ff%40googlegroups.co= m.
------=_Part_2586_1902135074.1571805005360-- ------=_Part_2585_1412687831.1571805005360--