Re: [O] Quoting "_" for html and LaTeX output

2015-09-25 Thread Peter Davis

Thanks, Nicolas and Nick. The option solves it perfectly.

Cheers,
-pd

On 9/24/15 3:29 PM, Peter Davis wrote:
A lot of the information I track in org-mode includes filepaths and 
names and other strings containing underscore ("_") characters. I'd 
like to be able to quote these for HTML and LaTeX output, so I don't 
wind up with unwanted subscripts.


On the other hand, I want the data to be pretty readable within the 
org buffer, so using \under{} pretty much fails that.


Is there another, more concise way to do this, possible for large 
stretches of text at a time? I don't want to use an example block, as 
I still want to format the text and avoid the mono-spaced font.


I understand that "\_" used to work, but doesn't on more recent 
versions. Any chance of getting that back?


Thanks!
-pd






[O] Quoting "_" for html and LaTeX output

2015-09-24 Thread Peter Davis
A lot of the information I track in org-mode includes filepaths and 
names and other strings containing underscore ("_") characters. I'd like 
to be able to quote these for HTML and LaTeX output, so I don't wind up 
with unwanted subscripts.


On the other hand, I want the data to be pretty readable within the org 
buffer, so using \under{} pretty much fails that.


Is there another, more concise way to do this, possible for large 
stretches of text at a time? I don't want to use an example block, as I 
still want to format the text and avoid the mono-spaced font.


I understand that "\_" used to work, but doesn't on more recent 
versions. Any chance of getting that back?


Thanks!
-pd




Re: [O] Quoting "_" for html and LaTeX output

2015-09-24 Thread Nicolas Goaziou
Hello,

Peter Davis  writes:

> A lot of the information I track in org-mode includes filepaths and
> names and other strings containing underscore ("_") characters. I'd
> like to be able to quote these for HTML and LaTeX output, so I don't
> wind up with unwanted subscripts.

What about: #+OPTIONS: ^:nil ?

> On the other hand, I want the data to be pretty readable within the
> org buffer, so using \under{} pretty much fails that.

See `org-pretty-entities'

> I understand that "\_" used to work, but doesn't on more recent
> versions. Any chance of getting that back?

Possibly.


Regards,

-- 
Nicolas Goaziou



Re: [O] Quoting "_" for html and LaTeX output

2015-09-24 Thread Nick Dokos
Peter Davis  writes:

> A lot of the information I track in org-mode includes filepaths and
> names and other strings containing underscore ("_") characters. I'd
> like to be able to quote these for HTML and LaTeX output, so I don't
> wind up with unwanted subscripts.
>
> On the other hand, I want the data to be pretty readable within the
> org buffer, so using \under{} pretty much fails that.
>
> Is there another, more concise way to do this, possible for large
> stretches of text at a time? I don't want to use an example block, as
> I still want to format the text and avoid the mono-spaced font.
>

#+OPTIONS: ^:{}

See

   (info "(org) Export settings")
   
> I understand that "\_" used to work, but doesn't on more recent
> versions. Any chance of getting that back?
>

I don't remember that that ever worked - did it? OTOH, my memory isn't
what it used to be (and it was pretty bad to begin with).

-- 
Nick