From: Kaushal <kaushal.modi@gmail.com>
To: Myles English <mylesenglish@gmail.com>,
Marcin Borkowski <mbork@mbork.pl>
Cc: Steven Arntson <steven@stevenarntson.com>, emacs-orgmode@gnu.org
Subject: Re: allow italic quote marks? org-emphasis-regexp-components
Date: Thu, 18 Jun 2015 16:02:32 +0000 [thread overview]
Message-ID: <CAFyQvY23nYCePNscCarcXiT7vk8Cb7YS5CNBDFE-miARdbUxqw@mail.gmail.com> (raw)
In-Reply-To: <87wpz1xbgp.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2104 bytes --]
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=xelatex)
\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 <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 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: not set up for use with LaTeX.
>
> Myles
>
[-- Attachment #2: Type: text/html, Size: 4173 bytes --]
next prev parent reply other threads:[~2015-06-18 16:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-15 10:12 allow italic quote marks? org-emphasis-regexp-components Myles English
2015-06-18 2:46 ` Steven Arntson
2015-06-18 3:19 ` Kaushal
2015-06-18 3:23 ` Kaushal
2015-06-18 7:53 ` Marcin Borkowski
2015-06-18 14:29 ` Kaushal
2015-06-18 15:50 ` Myles English
2015-06-18 16:02 ` Kaushal [this message]
2015-06-18 17:04 ` Steven Arntson
2015-06-18 18:29 ` Marcin Borkowski
2015-06-18 18:58 ` Rasmus
2015-06-19 12:51 ` Myles English
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFyQvY23nYCePNscCarcXiT7vk8Cb7YS5CNBDFE-miARdbUxqw@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mbork@mbork.pl \
--cc=mylesenglish@gmail.com \
--cc=steven@stevenarntson.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).