Re: [O] Verbatim inverted commas?

2015-04-16 Thread Loris Bennett
Rasmus ras...@gmx.us writes:

 Loris Bennett loris.benn...@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.




Re: [O] Verbatim inverted commas?

2015-04-16 Thread Rasmus
Loris Bennett loris.benn...@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




Re: [O] Verbatim inverted commas?

2015-04-15 Thread Rasmus
Loris Bennett loris.benn...@fu-berlin.de writes:

 Rasmus ras...@gmx.us writes:

 Loris Bennett loris.benn...@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. . .




Re: [O] Verbatim inverted commas?

2015-04-15 Thread Loris Bennett
Andreas Leha andreas.l...@med.uni-goettingen.de writes:

 Rasmus ras...@gmx.us writes:
 Loris Bennett loris.benn...@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.benn...@fu-berlin.de




Re: [O] Verbatim inverted commas?

2015-04-15 Thread Loris Bennett
Rasmus ras...@gmx.us writes:

 Loris Bennett loris.benn...@fu-berlin.de writes:

 Rasmus ras...@gmx.us writes:

 Loris Bennett loris.benn...@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.benn...@fu-berlin.de




[O] Verbatim inverted commas?

2015-04-15 Thread Loris Bennett
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.




Re: [O] Verbatim inverted commas?

2015-04-15 Thread Rasmus
Loris Bennett loris.benn...@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




Re: [O] Verbatim inverted commas?

2015-04-15 Thread Andreas Leha
Rasmus ras...@gmx.us writes:
 Loris Bennett loris.benn...@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




Re: [O] Verbatim inverted commas?

2015-04-15 Thread Loris Bennett
Rasmus ras...@gmx.us writes:

 Loris Bennett loris.benn...@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.benn...@fu-berlin.de