From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/13661 Path: news.gmane.org!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: ligatures in html Date: Mon, 21 Sep 2015 13:54:58 -0700 Message-ID: <20150921205458.GA92420@D25Q40BGFY13.Berkeley.EDU> References: <7d633ff1-c25d-436c-a66f-9a8456699db6@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: ger.gmane.org 1442868925 25653 80.91.229.3 (21 Sep 2015 20:55:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2015 20:55:25 +0000 (UTC) To: 'Jason Seeley' via pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBMG5QGYAKGQETGU7WGA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 21 22:55:14 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qg0-f61.google.com ([209.85.192.61]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ze87F-00030q-N2 for gtp-pandoc-discuss@m.gmane.org; Mon, 21 Sep 2015 22:55:13 +0200 Original-Received: by qgt47 with SMTP id 47sf20273846qgt.1 for ; Mon, 21 Sep 2015 13:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe; bh=jYLH728WKo/a7uQ7AY07Xr7zJ8KYRYpZFxv26/nrk80=; b=MfKtISR3MBqyP7RpjlyD406aTIki6jSKcWB+lBNZS9lGvCK5kdl3sMUiWs7O1HL3r0 f7IOZHi1FkJiQNizCmLdmS2DnDTqhI70kcPNjVzpQOBsuV+W/YjYQdhLLipt0UMIJ3p6 RDqh1LE6h/vHuFu19g9PPs3wXkzA5JGTOsKInBP4Op7QqhlyUOhix8OxuXmTRTWW/quk NMIUqYhorS52IAIfntXwocFdcWYkJpSpCWkqfJmY3Eh+189e24BW5lZeFnspeBpmXck6 m17RVl4q+ZYPNEfpDy5cZm6fu/WYEtjROZvai/RT+iklM857L2Y+9y7fI19nvQoOfsjX X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=jYLH728WKo/a7uQ7AY07Xr7zJ8KYRYpZFxv26/nrk80=; b=VNWj/Pe3QVRjYGtUueKCJhoVd+B4ddkHAe0dPyjv6Go1jwIzZqb2J0syuT23fOsOa9 50pzTh23Yh9+i/qW9pvD6LVO/DA59mNz994f/WE4yXMvAQNCwR01ktLScGnE4jXWnXsk hk5H2HNfYYbDMNsH4jSYZLGIt6UWpEBtQ4NeOdx1/WnEzPUgVyF6PzLKDCrGh5LgRXGk 8W2iwyOSIeAnvS72RzY9Tq41UpTzKNPPVPJCLmxBQBEhRFkMfoSYAQ1WX1+xYDZdOQQc a8nTTAv7F4bd1yDDp/yImJZsR7X/BYahqRUR1tkeymGzOv X-Received: by 10.50.66.144 with SMTP id f16mr148723igt.14.1442868912776; Mon, 21 Sep 2015 13:55:12 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.111.231 with SMTP id il7ls950532igb.14.canary; Mon, 21 Sep 2015 13:55:12 -0700 (PDT) X-Received: by 10.68.238.74 with SMTP id vi10mr18683103pbc.9.1442868912210; Mon, 21 Sep 2015 13:55:12 -0700 (PDT) Original-Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com. [209.85.213.175]) by gmr-mx.google.com with ESMTPS id n7si1210485iga.3.2015.09.21.13.55.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 13:55:12 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.213.175 as permitted sender) client-ip=209.85.213.175; Original-Received: by mail-ig0-f175.google.com with SMTP id rk20so69251167igc.1 for ; Mon, 21 Sep 2015 13:55:12 -0700 (PDT) X-Gm-Message-State: ALoCoQlyOJKtCexdq+wcF1PKTph3UWGkJzKTvI0zziuu0p6lj4kLiz5SLvBm1mNszSXB+AAjd28E X-Received: by 10.50.67.18 with SMTP id j18mr13427028igt.43.1442868912033; Mon, 21 Sep 2015 13:55:12 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id p20sm276163igi.9.2015.09.21.13.55.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 13:55:09 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 9DFFFA225; Mon, 21 Sep 2015 16:54:58 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.213.175 as permitted sender) smtp.mailfrom=jgm-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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:13661 Archived-At: Ideally pandoc's latex reader would recognize \ae and convert it to the proper character, so feel free to put an issue on the bug tracker about this. +++ 'Jason Seeley' via pandoc-discuss [Sep 21 15 07:50 ]: > Hello, > Ligatures like \ae are specific to the LaTeX (and thus PDF) writer, so > they don't work in any other formats. Pandoc just passes it through > unchanged. For HTML output, you can use an entity: `Æ` or > `æ`, for upper case or lower case. Another option is to use the > unicode character directly (how you do this depends on your system and > text editor; in Windows hold Alt and type 0230 on the number pad; in > vim type CTRL-K a e; use a character-map app, etc.) This should work > for most output formats. It'll work with LaTeX if you use XeLaTeX or > LuaLaTeX, as those allow unicode input. > Jason > On Monday, September 21, 2015 at 5:57:37 AM UTC-5, Chris Wright wrote: > > I want to publish a document with an \ae ligature to html and to pdf. > The latex form "\ae robic" converts to the appropriate form and > displays properly in pdf, but the html just drops the ligature. > > Simple test case: > > chriswri$ cat > test.txt > > \ae robic > > chriswri$ more test.txt > > \ae robic > > chriswri$ pandoc -t native test.txt > > [Para [RawInline (Format "tex") "\\ae ",Str "robic"]] > > chriswri$ pandoc -t html test.txt > >

robic

> > What's the best way around this - write a filter? finding some docs > that will help? (I've found that ... is automatically converted to an > ellipsis - so \dots isn't necessary). > > with thanks > > Chris > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/bbaae9b2-c139-415f- > 9063-86a887358b4c%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/bbaae9b2-c139-415f-9063-86a887358b4c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout