emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Verbatim inverted commas?


From: Loris Bennett
Subject: Re: [O] Verbatim inverted commas?
Date: Wed, 15 Apr 2015 14:59:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Rasmus <address@hidden> writes:

> "Loris Bennett" <address@hidden> writes:
>
>> Rasmus <address@hidden> writes:
>>
>>> "Loris Bennett" <address@hidden> writes:
>>>
>>>> Hi,
>>>>
>>>> I am writing a beamer presentation and would like to have the following
>>>> exported in a monospaced font:
>>>>
>>>>   sinfo -elo "%30N %.5D %9P %11T %.6m %20E"
>>>>
>>>> However, if I do
>>>>
>>>>   =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"=
>>>>
>>>> the second pair of inverted commas causes the markup to fail
>>>> and the entire string, equals signs and all, is exported.
>>>>
>>>> Is there some way I can escape the inverted commas to get this to work?
>>>
>>> If inline use:
>>>
>>>    ~sinfo -elo "%30N %.5D %9P %11T %.6m %20E"​~
>>>
>>> Note the zero width space.  It should work with xelatex.  Otherwise remove
>>> it with a filter.
>>>
>>> If it's in its own line you could use
>>>
>>> #+BEGIN_EXAMPLE
>>> sinfo -elo "%30N %.5D %9P %11T %.6m %20E"
>>> #+END_EXAMPLE
>>>
>>> Hope it helps,
>>> Rasmus
>>
>> I'm actually using it as a heading:
>>
>> **** =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"=
>>
>> However, I've already tried using ~, but this doesn't work either.
>
> This works for me if using xelatex:
>
> * =sinfo -elo "%30N %.5D %9P %11T %.6m %20E"​=
>
> —Rasmus

I tried both adding the following to my org file:

,-------------------------------------------------------------------------------------
| #+BEGIN_SRC emacs-lisp :exports results :results silent
|   (setq org-latex-pdf-process
|         '("xelatex -shell-escape -interaction nonstopmode -output-directory 
%o %f"))
| #+END_SRC
`-------------------------------------------------------------------------------------

and running xelatex directly in the shell on the tex file, but neither
worked for me.

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]