public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "'Greg Shuflin' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Skipping commands in LaTeX document
Date: Sat, 04 Dec 2021 00:34:32 +0000	[thread overview]
Message-ID: <KC6nxdEBAKvH0ltVrHWAJQUnIQa7_hpBYQeGXj5MKUR1g43Wtnbnbf_P33yQ_A5CS5MvFt4HT2-f0Y4hJgNVCN_SZUt2EKf0wKdvvWlfKJY=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

I have a minimal test latex file `test.tex`:

\documentclass{article}

\usepackage{fontspec}

\newfontfamily\IPAFont{Doulos SIL}
\DeclareTextFontCommand{\IPA}{\IPAFont}

\begin{document}

\section{Test}
Hello \IPA{some IPA}

\end{document}

This builds fine with xelatex and produces a pdf I expect. When i try to convert this to an html document with `pandoc --pdf-engine=xelatex --verbose test.tex -o test.html`, I see the warnings:

[INFO] Could not load include file fontspec.sty at test.tex line 3 column 22
[INFO] Skipped '\newfontfamily' at test.tex line 5 column 15
[INFO] Skipped '\IPAFont{Doulos SIL}' at test.tex line 5 column 35
[INFO] Skipped '\DeclareTextFontCommand{\IPA}{\IPAFont}' at test.tex line 6 column 40
[INFO] Skipped '\IPA{some IPA}' at test.tex line 11 column 21

And the text within the custom \IPA command is skipped. How can I make pandoc not skip these?

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

-- 
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/KC6nxdEBAKvH0ltVrHWAJQUnIQa7_hpBYQeGXj5MKUR1g43Wtnbnbf_P33yQ_A5CS5MvFt4HT2-f0Y4hJgNVCN_SZUt2EKf0wKdvvWlfKJY%3D%40protonmail.com.

[-- Attachment #2: Type: text/html, Size: 2436 bytes --]

             reply	other threads:[~2021-12-04  0:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04  0:34 'Greg Shuflin' via pandoc-discuss [this message]
2021-12-04  1:16 Greg S
     [not found] ` <0462fc42-ae24-4c52-b267-1126ed5834edn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-04 17:36   ` John MacFarlane
     [not found]     ` <m2zgpgi869.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-12-05  2:50       ` Greg S
     [not found]         ` <bac7947b-259e-4774-b993-33f69fffc05fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-05 18:56           ` John MacFarlane
     [not found]             ` <m2r1aqhod6.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-12-05 19:53               ` Greg S
     [not found]                 ` <84e207d9-eaed-4b24-8b6b-62ea07bb2b5bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-05 20:11                   ` John MacFarlane
     [not found]                     ` <m2fsr6hkvl.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-12-06  4:25                       ` Greg S
     [not found]                         ` <c648fb98-d892-4f1e-b3aa-0da071d8de4bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-06 10:34                           ` BPJ
     [not found]                             ` <CADAJKhCC9xm6HX0aF5SzJr9vG3xZR1eiQxxCpA6QNRi1BRE-7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-12-09  3:03                               ` Greg S
     [not found]                                 ` <4f3956c3-e028-473c-b622-dae2f0b72dedn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-09 16:18                                   ` John MacFarlane
2021-12-06 17:57                           ` John MacFarlane

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='KC6nxdEBAKvH0ltVrHWAJQUnIQa7_hpBYQeGXj5MKUR1g43Wtnbnbf_P33yQ_A5CS5MvFt4HT2-f0Y4hJgNVCN_SZUt2EKf0wKdvvWlfKJY=@protonmail.com' \
    --to=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).