[-- Attachment #1: Type: text/plain, Size: 510 bytes --] Hello, I try to export the following as HTML and text but the output is not optimal: #+begin_src org This is the [[http://www.postgresql.org/docs/9.1/static/client-authentication.html][pg_hba.conf]] configuration file #+end_src With HTML export, the "hba" is subscript. Escaping it with a backslash works fine for HTML export but not for ASCII one. Is this intended or a bug? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF [-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]
Hi Daniel,
Daniel Dehennin <daniel.dehennin@baby-gnu.org> writes:
> Hello,
>
> I try to export the following as HTML and text but the output is not
> optimal:
>
> #+begin_src org
> This is the
> [[http://www.postgresql.org/docs/9.1/static/client-authentication.html][pg_hba.conf]]
> configuration file
> #+end_src
>
> With HTML export, the "hba" is subscript.
>
> Escaping it with a backslash works fine for HTML export but not for
> ASCII one.
>
> Is this intended or a bug?
Add this line to your file
#+OPTIONS: ^:{}
Have a look at the docstring of `org-use-sub-superscripts' for more
information.
Best,
--
Bastien
[-- Attachment #1: Type: text/plain, Size: 592 bytes --] Daniel Dehennin <daniel.dehennin@baby-gnu.org> writes: > With HTML export, the "hba" is subscript. > > Escaping it with a backslash works fine for HTML export but not for > ASCII one. It seems that the problem is with the ASCII export, the backslash to escape the underscore is not striped. - ASCII output: [pg\_hba.conf] - HTML output: <a href="http://www.postgresql.org/docs/9.1/static/client-authentication.html">pg_hba.conf</a> - PDF output: pg_hba.conf Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF [-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]
Hi Daniel,
Daniel Dehennin <daniel.dehennin@baby-gnu.org> writes:
> It seems that the problem is with the ASCII export, the backslash to
> escape the underscore is not striped.
Fixed, thanks.
--
Bastien