From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Subject: Re: allow italic quote marks? org-emphasis-regexp-components Date: Thu, 18 Jun 2015 16:02:32 +0000 Message-ID: References: <87ioap46w5.fsf@gmail.com> <87zj3x7mz5.fsf@stevenarntson.com> <87k2v13111.fsf@mbork.pl> <87wpz1xbgp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1138ee8c0ba5530518ccf041 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cH7-0001E4-9E for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 12:02:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5cH5-0004tG-Ss for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 12:02:45 -0400 Received: from mail-yh0-x233.google.com ([2607:f8b0:4002:c01::233]:35109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cH5-0004sz-MH for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 12:02:43 -0400 Received: by yhak3 with SMTP id k3so59366339yha.2 for ; Thu, 18 Jun 2015 09:02:43 -0700 (PDT) In-Reply-To: <87wpz1xbgp.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Myles English , Marcin Borkowski Cc: Steven Arntson , emacs-orgmode@gnu.org --001a1138ee8c0ba5530518ccf041 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable A quick google search comes up this these: http://tex.stackexchange.com/questions/83440/inputenc-error-unicode-char-u8= -not-set-up-for-use-with-latex http://tex.stackexchange.com/questions/4268/inputenc-error-unicode-char-u8-= error-while-trying-to-write-a-degree-symbol Based on those solutions, may be you can add \DeclareUnicodeCharacter{200b}{} I haven't tried it, so cannot guarantee if that will work. I regularly generate pdfs and almost all of my org documents would be using 0x200b somewhere. If a pdf generates fine without any visible artifacts and with all content as expected, I do not look into the tex compilation logs. This time I checked the log and I don't get that error, but a warning instead. Note that I also use XeTeX which has unicode support. Below is a snippet from my log: This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded format=3Dxelatex) \write18 enabled. entering extended mode (/home/kmodi/sandbox/org/italic_quotes.tex LaTeX2e <2014/05/01> Babel <3.9k> and hyphenation patterns for 2 languages loaded. (/home/kmodi/texlive/2014/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/home/kmodi/texlive/2014/texmf-dist/tex/latex/base/size11.clo)) (/home/kmodi/texlive/2014/texmf-dist/tex/latex/base/inputenc.sty Package inputenc Warning: inputenc package ignored with utf8 based engines. On Thu, Jun 18, 2015 at 11:49 AM Myles English wrote: > > Marcin Borkowski writes: > > > On 2015-06-18, at 05:19, Kaushal wrote: > > > >> The solution is simpler than you think; you simply need to add ZERO > WIDTH > >> SPACE unicode char between / and " (beginning) and " and / (end). > > Thanks for your detailed answer Kaushal. I hadn't heard of a 'zero > length space' before. > > > Won't it break the LaTeX export? > > I seems to work and manages to produce a pdf but does give this error: > > ! Package inputenc Error: Unicode char \u8:=E2=80=8B not set up for use w= ith LaTeX. > > Myles > --001a1138ee8c0ba5530518ccf041 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A quick google search comes up this these:


Bas= ed on those solutions, may be you can add

\DeclareUnicodeCharacter{200b}{}
I haven't tried = it, so cannot guarantee if that will work.

I regul= arly generate pdfs and almost all of my org documents would be using 0x200b= somewhere. If a pdf generates fine without any visible artifacts and with = all content as expected, I do not look into the tex compilation logs.=C2=A0=

This time I checked the log and I don't get t= hat error, but a warning instead. Note that I also use XeTeX which has unic= ode support. Below is a snippet from my log:

= This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded fo= rmat=3Dxelatex)
=C2=A0\write18 enabled.
entering extend= ed mode
(/home/kmodi/sandbox/org/italic_quotes.tex
LaTe= X2e <2014/05/01>
Babel <3.9k> and hyphenation pattern= s for 2 languages loaded.
(/home/kmodi/texlive/2014/texmf-dist/te= x/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h= Standard LaTeX document class
(/home/kmodi/texlive/2014/texmf-di= st/tex/latex/base/size11.clo))
(/home/kmodi/texlive/2014/texmf-di= st/tex/latex/base/inputenc.sty

Package inputenc Wa= rning: inputenc package ignored with utf8 based engines.



On Thu, Jun 18, 2015 at 11:49 AM Myles English <mylesenglish@gmail.com> wrote:

Marcin Borkowski writes:

> On 2015-06-18, at 05:19, Kaushal <kaushal.modi@gmail.com> wrote:
>
>> The solution is simpler than you think; you simply need to add ZER= O WIDTH
>> SPACE unicode char between / and " (beginning) and " and= / (end).

Thanks for your detailed answer Kaushal.=C2=A0 I hadn't heard of a '= ;zero
length space' before.

> Won't it break the LaTeX export?

I seems to work and manages to produce a pdf but does give this error:

! Package inputenc Error: Unicode char \u8:=E2=80=8B not set up for use wit= h LaTeX.

Myles
--001a1138ee8c0ba5530518ccf041--