emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about org-latex-text-markup-alist
@ 2019-10-22  8:00 Pascal Quesseveur
  2019-10-22  8:59 ` Fraga, Eric
  0 siblings, 1 reply; 6+ messages in thread
From: Pascal Quesseveur @ 2019-10-22  8:00 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

In org-latex-text-markup-alist what is the difference between markup symbols
code and verbatim?


-- 
Pascal Quesseveur
pquessev@gmail.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about org-latex-text-markup-alist
  2019-10-22  8:00 Question about org-latex-text-markup-alist Pascal Quesseveur
@ 2019-10-22  8:59 ` Fraga, Eric
  2019-10-22  9:55   ` Pascal Quesseveur
  0 siblings, 1 reply; 6+ messages in thread
From: Fraga, Eric @ 2019-10-22  8:59 UTC (permalink / raw)
  To: Pascal Quesseveur; +Cc: emacs-orgmode@gnu.org

On Tuesday, 22 Oct 2019 at 10:00, Pascal Quesseveur wrote:
> Hello,
>
> In org-latex-text-markup-alist what is the difference between markup symbols
> code and verbatim?

None, I believe.  There is a difference if you export to HTML, however.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about org-latex-text-markup-alist
  2019-10-22  8:59 ` Fraga, Eric
@ 2019-10-22  9:55   ` Pascal Quesseveur
  2019-10-22 10:22     ` Fraga, Eric
  0 siblings, 1 reply; 6+ messages in thread
From: Pascal Quesseveur @ 2019-10-22  9:55 UTC (permalink / raw)
  To: emacs-orgmode

>"FE" == Fraga, Eric <e.fraga@ucl.ac.uk> writes:

  FE> None, I believe.  There is a difference if you export to HTML, however.

But is not org-latex-text-markup-alist just for latex export?

My question was to know in which case the code and the verbatim
symbols were used in the latex export. If i want to get style verb
instead of texttt in the latex export for text marked with == in org,
do I have to set verb for code and verbatim, or only for code?


-- 
Pascal Quesseveur
pquessev@gmail.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about org-latex-text-markup-alist
  2019-10-22  9:55   ` Pascal Quesseveur
@ 2019-10-22 10:22     ` Fraga, Eric
  2019-10-22 12:22       ` Pascal Quesseveur
  2019-10-22 12:25       ` Pascal Quesseveur
  0 siblings, 2 replies; 6+ messages in thread
From: Fraga, Eric @ 2019-10-22 10:22 UTC (permalink / raw)
  To: Pascal Quesseveur; +Cc: emacs-orgmode@gnu.org

On Tuesday, 22 Oct 2019 at 11:55, Pascal Quesseveur wrote:
>>"FE" == Fraga, Eric <e.fraga@ucl.ac.uk> writes:
>
>   FE> None, I believe.  There is a difference if you export to HTML, however.
>
> But is not org-latex-text-markup-alist just for latex export?

Yes.

> My question was to know in which case the code and the verbatim
> symbols were used in the latex export. If i want to get style verb
> instead of texttt in the latex export for text marked with == in org,
> do I have to set verb for code and verbatim, or only for code?

Ah, I misunderstood your question.  That mapping from symbols to meaning
is done by org-emphasis-alist.  Then each language provides the mapping
from meaning to syntax.

Specifically, as you will see in org-emphasis-alist, == is mapped to
verbatim and so you need to change the verbatim syntax in
org-latex-text-markup-alist.  ~~ is used for code.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about org-latex-text-markup-alist
  2019-10-22 10:22     ` Fraga, Eric
@ 2019-10-22 12:22       ` Pascal Quesseveur
  2019-10-22 12:25       ` Pascal Quesseveur
  1 sibling, 0 replies; 6+ messages in thread
From: Pascal Quesseveur @ 2019-10-22 12:22 UTC (permalink / raw)
  To: emacs-orgmode


Thanks a lot.


-- 
Pascal Quesseveur
pquessev@gmail.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about org-latex-text-markup-alist
  2019-10-22 10:22     ` Fraga, Eric
  2019-10-22 12:22       ` Pascal Quesseveur
@ 2019-10-22 12:25       ` Pascal Quesseveur
  1 sibling, 0 replies; 6+ messages in thread
From: Pascal Quesseveur @ 2019-10-22 12:25 UTC (permalink / raw)
  To: emacs-orgmode

>"FE" == Fraga, Eric <e.fraga@ucl.ac.uk> a écrit :

  FE> Specifically, as you will see in org-emphasis-alist, == is mapped to
  FE> verbatim and so you need to change the verbatim syntax in
  FE> org-latex-text-markup-alist.  ~~ is used for code.

I realize I wasn't aware of ~~.


-- 
Pascal Quesseveur
pquessev@gmail.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-22 12:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22  8:00 Question about org-latex-text-markup-alist Pascal Quesseveur
2019-10-22  8:59 ` Fraga, Eric
2019-10-22  9:55   ` Pascal Quesseveur
2019-10-22 10:22     ` Fraga, Eric
2019-10-22 12:22       ` Pascal Quesseveur
2019-10-22 12:25       ` Pascal Quesseveur

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).