* Verbatim inverted commas?
@ 2015-04-15 8:53 Loris Bennett
2015-04-15 9:28 ` Rasmus
0 siblings, 1 reply; 9+ messages in thread
From: Loris Bennett @ 2015-04-15 8:53 UTC (permalink / raw)
To: emacs-orgmode
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?
Cheers,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 8:53 Verbatim inverted commas? Loris Bennett
@ 2015-04-15 9:28 ` Rasmus
2015-04-15 11:27 ` Andreas Leha
2015-04-15 11:41 ` Loris Bennett
0 siblings, 2 replies; 9+ messages in thread
From: Rasmus @ 2015-04-15 9:28 UTC (permalink / raw)
To: emacs-orgmode
"Loris Bennett" <loris.bennett@fu-berlin.de> 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
--
May the Force be with you
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 9:28 ` Rasmus
@ 2015-04-15 11:27 ` Andreas Leha
2015-04-15 12:00 ` Loris Bennett
2015-04-15 11:41 ` Loris Bennett
1 sibling, 1 reply; 9+ messages in thread
From: Andreas Leha @ 2015-04-15 11:27 UTC (permalink / raw)
To: emacs-orgmode
Rasmus <rasmus@gmx.us> writes:
> "Loris Bennett" <loris.bennett@fu-berlin.de> 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.
>
You could also do sth like (untested):
@@beamer:{\ttfamily @@sinfo -elo "%30N %.5D %9P %11T %.6m %20E"@@beamer:}@@
Andreas
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 11:27 ` Andreas Leha
@ 2015-04-15 12:00 ` Loris Bennett
0 siblings, 0 replies; 9+ messages in thread
From: Loris Bennett @ 2015-04-15 12:00 UTC (permalink / raw)
To: emacs-orgmode
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> Rasmus <rasmus@gmx.us> writes:
>> "Loris Bennett" <loris.bennett@fu-berlin.de> 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.
>>
>
> You could also do sth like (untested):
> @@beamer:{\ttfamily @@sinfo -elo "%30N %.5D %9P %11T %.6m %20E"@@beamer:}@@
>
> Andreas
Thanks. This works.
Cheers,
Loris
>> 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
>
>
>
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 9:28 ` Rasmus
2015-04-15 11:27 ` Andreas Leha
@ 2015-04-15 11:41 ` Loris Bennett
2015-04-15 12:08 ` Rasmus
1 sibling, 1 reply; 9+ messages in thread
From: Loris Bennett @ 2015-04-15 11:41 UTC (permalink / raw)
To: emacs-orgmode
Rasmus <rasmus@gmx.us> writes:
> "Loris Bennett" <loris.bennett@fu-berlin.de> 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.
Cheers,
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 11:41 ` Loris Bennett
@ 2015-04-15 12:08 ` Rasmus
2015-04-15 12:59 ` Loris Bennett
0 siblings, 1 reply; 9+ messages in thread
From: Rasmus @ 2015-04-15 12:08 UTC (permalink / raw)
To: emacs-orgmode
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:
> Rasmus <rasmus@gmx.us> writes:
>
>> "Loris Bennett" <loris.bennett@fu-berlin.de> 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
--
And I faced endless streams of vendor-approved Ikea furniture. . .
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 12:08 ` Rasmus
@ 2015-04-15 12:59 ` Loris Bennett
2015-04-16 14:11 ` Rasmus
0 siblings, 1 reply; 9+ messages in thread
From: Loris Bennett @ 2015-04-15 12:59 UTC (permalink / raw)
To: emacs-orgmode
Rasmus <rasmus@gmx.us> writes:
> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> Rasmus <rasmus@gmx.us> writes:
>>
>>> "Loris Bennett" <loris.bennett@fu-berlin.de> 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 loris.bennett@fu-berlin.de
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-15 12:59 ` Loris Bennett
@ 2015-04-16 14:11 ` Rasmus
2015-04-16 15:26 ` Loris Bennett
0 siblings, 1 reply; 9+ messages in thread
From: Rasmus @ 2015-04-16 14:11 UTC (permalink / raw)
To: emacs-orgmode
"Loris Bennett" <loris.bennett@fu-berlin.de> writes:
> and running xelatex directly in the shell on the tex file, but neither
> worked for me.
Did you add the zero width space? Are you using org from git?
—Rasmus
--
Send from my Emacs
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Verbatim inverted commas?
2015-04-16 14:11 ` Rasmus
@ 2015-04-16 15:26 ` Loris Bennett
0 siblings, 0 replies; 9+ messages in thread
From: Loris Bennett @ 2015-04-16 15:26 UTC (permalink / raw)
To: emacs-orgmode
Rasmus <rasmus@gmx.us> writes:
> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>> and running xelatex directly in the shell on the tex file, but neither
>> worked for me.
>
> Did you add the zero width space? Are you using org from git?
> —Rasmus
Sorry, I missed the zero-width space (probably due to its lack of width
...).
It does work now with xelatex, but not when used in a heading. With
,-------------------------------------------------
| **** ~sinfo -elo "%30N %.5D %9P %11T %.6m %20E"~
`-------------------------------------------------
I get
,---------------------------------------------------------------------------
| Runaway argument?
| {\verb ~sinfo -elo "\verb ~sinfo -elo "\begin {minted}[frame=none,fon\ETC.
| ! File ended while scanning use of \beamer@readarg.
| <inserted text>
| \par
| l.258 \end{frame}
|
| ! Extra }, or forgotten \endgroup.
`---------------------------------------------------------------------------
I'm using
Org-mode version 8.2.10 (8.2.10-37-gc000e8-elpaplus @
/home/loris/.emacs.d/elpa/org-plus-contrib-20150413/)
Thanks for the help,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-04-16 15:26 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-15 8:53 Verbatim inverted commas? Loris Bennett
2015-04-15 9:28 ` Rasmus
2015-04-15 11:27 ` Andreas Leha
2015-04-15 12:00 ` Loris Bennett
2015-04-15 11:41 ` Loris Bennett
2015-04-15 12:08 ` Rasmus
2015-04-15 12:59 ` Loris Bennett
2015-04-16 14:11 ` Rasmus
2015-04-16 15:26 ` Loris Bennett
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.