From: "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Debugging usage of pandoc-sf-sc.py
Date: Fri, 22 Sep 2017 00:46:38 +0530 [thread overview]
Message-ID: <beae02fb-d258-a6ad-ced5-93e7f521c627@gmail.com> (raw)
I am trying out pandoc-sf-sc.py available at
https://gist.github.com/bpj/dc09a4943bc51ca64327c65623a121e9
to produce sans serif output in both PDF from XeLaTeX and in HTML5 from
the same two-line source file:
[this is sans text](-sf)
[this is small-caps text](-sc)
called sans-test.md
The PDF from XeLaTeX seems fine but the HTML output is not as expected:
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
user-scalable=yes">
<title></title>
<style type="text/css">code{white-space: pre;}</style>
<!--[if lt IE 9]>
<script
src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<p><a href="-sf">this is sans text</a> <a href="-sc">this is small-caps
text</a></p>
</body>
</html>
---
The command being used is:
andoc --standalone --filter "$HOME/.pandoc/pandoc-sf-sc.py" --to html5
sans-test.md --output sans-test.html
Can someone please point out what I am doing wrong?
Am I invoking the filter in the correct sequence of options?
Thanks.
Chandra
reply other threads:[~2017-09-21 19:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=beae02fb-d258-a6ad-ced5-93e7f521c627@gmail.com \
--to=chyavana-re5jqeeqqe8avxtiumwx3w@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).