public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Jeff Mcneill <jeffmcneill-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: supporting dinkus in markdown to epub and pdf
Date: Wed, 23 Oct 2019 20:10:00 -0700 (PDT)	[thread overview]
Message-ID: <b23a3ec0-229d-43c5-be5e-235eacf5bbd9@googlegroups.com> (raw)
In-Reply-To: <1850e0db-100f-7d36-f338-6ad3379e8c00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1834 bytes --]

I get an error when running md to pdf as follows (using Pandoc 2.8 a 
nightly build from 12-Oct-2019):

Error producing PDF.
! Package inputenc Error: Unicode character ∗ (U+2217)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.481 ∗

Try running pandoc with --pdf-engine=xelatex.


When I runt the test code you provide above, I get:

0000000 e2 88 97 20 e2 88 97 20 e2 88 97 0a
0000014


I can't do the suggested using xelatex because then my images don't show up 
in pdf (but they do without xelatex).

Note, when using xelatex, I do see the &lowast;, but it is not centered, 
hence the need for latex markup for centering (unless there is a different 
way to do this).

Sincerely,
Jeff Mcneill

On Wednesday, October 23, 2019 at 1:30:10 PM UTC+7, Václav Haisman wrote:
>
> On 23. 10. 19 6:30, Jeff Mcneill wrote:
>
> In markdown, I markup a dinkus as such: 
>
> <p class="dinkus">&lowast; &lowast; &lowast;</p>
>
> What version of Pandoc are you using? If I test with echo '<p 
> class="dinkus">&lowast; &lowast; &lowast;</p>' | pandoc -f html -t latex | 
> od -t x1 I can see the UTF-8 characters U+2217 make it through into the 
> LaTeX output. 
> ​
>

-- 
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/b23a3ec0-229d-43c5-be5e-235eacf5bbd9%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 4198 bytes --]

  parent reply	other threads:[~2019-10-24  3:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  4:30 Jeff Mcneill
     [not found] ` <c65ec88e-4c98-4fb1-8c9e-46a3553293ff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-23  6:30   ` Václav Haisman
     [not found]     ` <1850e0db-100f-7d36-f338-6ad3379e8c00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-10-24  3:10       ` Jeff Mcneill [this message]
     [not found]         ` <b23a3ec0-229d-43c5-be5e-235eacf5bbd9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-25 22:55           ` Václav Haisman
     [not found]             ` <8f36859b-536b-51b4-1c3c-e3e339becea3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-10-26  7:09               ` Jeff Mcneill
     [not found]                 ` <9818aeda-5d0a-456d-9129-0fb746f39008-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-26  7:24                   ` Václav Haisman
     [not found]                     ` <6ca8408c-b797-3007-647f-9ea939666067-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-10-26  8:06                       ` Jeff Mcneill
     [not found]                         ` <e119c11f-a1a0-4005-aec4-beaf76381aa1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-10-26  8:22                           ` Jeff Mcneill
2019-10-26  9:37                           ` Václav Haisman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b23a3ec0-229d-43c5-be5e-235eacf5bbd9@googlegroups.com \
    --to=jeffmcneill-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).