From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18019 Path: news.gmane.org!.POSTED!not-for-mail From: David Nebauer Newsgroups: gmane.text.pandoc Subject: Context template: definefontfeature causes error Date: Sun, 6 Aug 2017 19:55:12 -0700 (PDT) Message-ID: <60cb5b4b-6529-4eff-9403-df62472529a6@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3038_1569681180.1502074512723" X-Trace: blaine.gmane.org 1502074517 8411 195.159.176.226 (7 Aug 2017 02:55:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2017 02:55:17 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD7YRUMRLYIJDLM7ZQCRUBE62KCTY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 07 04:55:13 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f56.google.com ([209.85.213.56]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deYCB-0001da-OD for gtp-pandoc-discuss@m.gmane.org; Mon, 07 Aug 2017 04:55:07 +0200 Original-Received: by mail-vk0-f56.google.com with SMTP id s199sf4156603vke.1 for ; Sun, 06 Aug 2017 19:55:14 -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=EO7ZQabbHoAHqwjXLeDhY9bXtdFeTbhnQ30Tp15IoWs=; b=NbTq+cP7+V1y/hLDwNiDJbo56+pNcwO5pjTSZA8pj4schFZKxX9XsT3qk8fMfyLjNH DD1ilNuTGFx/PKbYLk3/ZEeMnFL3TnFXPnrEtW4jsVLK/KGaderQEclRHoxiaWCqCACY dznD8zV+u9vxuhlzoDHg12wkCEmFCpo/aUVDwBIANus9YQNewqxAvrSN7BS1uVDrHEkT 1XnggJtedjbhVk9nbVpmlb9+ExFPaYYc3iN7naKhGWpBRJZvR2j+v++Z2e9tFQbG3rQw 8hTH/wfS2fhqPNe8WEwABN3m9u1VoIXs2SI7SFNdjUx1SuTMwI+G18ApWWeKt/vJ5BgI j34Q== 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=EO7ZQabbHoAHqwjXLeDhY9bXtdFeTbhnQ30Tp15IoWs=; b=sjfxsO83FcK8hw0uQgLmtDvtLcsIcGFFFaTpzmlSlOyS0xF1pa3+i/xLIqud9UvvWh HWrykYh16HreWttwF9gO7CRsnGHq0PXT0Ud1UTZ5jAckYuxIW/dOmwp8b3SEn9zMuhk6 o4+PBeLhEcMa6DsGCNXcdu2j62hdf5a5YCfCxrGwQ+OxS8dNMkK7X8bR8KRxSgPhyXcs qY3MdoYG/e0prH5Us84jSz3x4RkwAn0N6Z4Z62onWLU5a2xigdteg0X7wC+gVkytkCDW 0xZ2z3pH6TliM7Y/g3pXQ+NBCOcMU6qnjakGyFNRZC9lsRB7+mWxtluCQnxAt3Xfoynr AElg== 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=EO7ZQabbHoAHqwjXLeDhY9bXtdFeTbhnQ30Tp15IoWs=; b=hXNEgsmCFzL+F3ofwugT+GkEOHwYsP8rbcm5Ub8rGfxNqNX2/vEJGpUjIajsD/8iRU X/LnwhmFDGktzACmwX1rwGY6Ovubsa0G1uQqeM9PvAqlamiyhP7LHVLStSyxNdB9sdX4 P8CjmWMoHcSb6zbY8fcK/bPV/uNkqQr1X1TS5paGSqODMdZ3UmEMFm+ffCU+10a4mcfc tK7rSl4AZmUgJNgow50U0f1o07RKGHVKJ4lKpF4UNcHJEIacIQQfJ6ZJkEYRnIaMF9MH O30uSw33qDbLeAq3nSpTP8Ulac01xFBhC/0Kd14ZgS8smpLfU925Y4b7ilFZGAjqAEHG vpXA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw112JT599znPcrVvejHaf74VdJwoeV+FQlgEerOgSPg/mJ3PF3oPM ndelPkhQIjQ51w== X-Received: by 10.36.82.208 with SMTP id d199mr335831itb.7.1502074513909; Sun, 06 Aug 2017 19:55:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.79.69 with SMTP id c66ls1081002itb.1.canary-gmail; Sun, 06 Aug 2017 19:55:13 -0700 (PDT) X-Received: by 10.36.39.140 with SMTP id g134mr331174ita.7.1502074513210; Sun, 06 Aug 2017 19:55:13 -0700 (PDT) X-Original-Sender: davidnebauer-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:18019 Archived-At: ------=_Part_3038_1569681180.1502074512723 Content-Type: multipart/alternative; boundary="----=_Part_3039_615717747.1502074512723" ------=_Part_3039_615717747.1502074512723 Content-Type: text/plain; charset="UTF-8" When creating pdf output using context, pandoc fails with the error message: tex error on line 15 in file /tmp/tex2pdf.2478/input.tex: ! Missing number, treated as zero On creating context output line 15 turns out to be: \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] On processing the context output directly I get the following expanded error message for line 15: Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) tex error > tex error on line 15 in file FILEPATH.tex: ! Illegal unit of measure (pt inserted) In case it helps, here is the context output up to and including line 15: % Enable hyperlinks \setupinteraction [state=start, title={Minimal Working Example}, style=, color=blue, contrastcolor=] % make chapter, section bookmarks visible when opening document \placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section] \setupinteractionscreen[option=bookmark] \setuptagging[state=start] \setuppapersize[a4] % use microtypography \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] Pandoc version is 1.17.2 on debian/testing. -- 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 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/60cb5b4b-6529-4eff-9403-df62472529a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_3039_615717747.1502074512723 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When creating pdf output = using context, pandoc fails with the error message:
tex error o= n line 15 in file /tmp/tex2pdf.2478/input.tex: ! Missing number, treated as= zero

<= div>On creating context output line 15 tur= ns out to be:
\definefontfeature[default][default][script= =3Dlatn, protrusion=3Dquality,=C2=A0expansion=3Dquality, itlc=3Dyes, textitalics=3Dyes, onum=3Dyes, pnum= =3Dyes]

On processing the con= text output directly I get the following expanded error message for line 15= :

Dimensions can be in units of em, ex= , in, pt, pc,
cm, mm, dd, cc= , nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer'= s points.
To recover gracefu= lly from this error, it's best to
delete the erroneous units; e.g., type `2' to deletetwo letters. (See Chapter 27 of The = TeXbook.)



tex error =C2=A0 =C2=A0 =C2= =A0 > tex error on line 15 in file FILEPATH.tex: ! Illegal unit of measu= re (pt inserted)
In case it helps, here= is the context output up to and including line 15:

% Enable hyperlinks
\setupinteraction
=C2=A0 [state=3Dstart,
=C2=A0 title=3D{Minimal Working Example},
=C2=A0 style=3D,
<= div>=C2=A0 color=3Dblue,
=
=C2=A0 contrastcolor=3D]<= /div>
% make chapter, section boo= kmarks visible when opening document
\placebookmarks[chapter, section, subsection, subsubsectio= n, subsubsubsection, subsubsubsubsection][chapter, section]
\setupinteractionscreen[option=3Dbo= okmark]
\setuptaggin= g[state=3Dstart]
\setuppapersize[a4= ]
% use microtypogra= phy
\definefontfeatu= re[default][default][script=3Dlatn, protrusion=3Dquality, expansion=3Dquali= ty, itlc=3Dyes, textitalics=3Dyes, onum=3Dyes, pnum=3Dyes]

Pandoc version is=C2= =A01.17.2=C2=A0on debian/testing.

--
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/60cb5b4b-6529-4eff-9403-df62472529a6%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_3039_615717747.1502074512723-- ------=_Part_3038_1569681180.1502074512723--