* Export of link with underscore does not work nicely
@ 2012-03-27 20:45 Daniel Dehennin
2012-03-27 22:16 ` Bastien
2012-03-27 22:44 ` Daniel Dehennin
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Dehennin @ 2012-03-27 20:45 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Export of link with underscore does not work nicely
2012-03-27 20:45 Export of link with underscore does not work nicely Daniel Dehennin
@ 2012-03-27 22:16 ` Bastien
2012-03-27 22:44 ` Daniel Dehennin
1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2012-03-27 22:16 UTC (permalink / raw)
To: Daniel Dehennin; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Export of link with underscore does not work nicely
2012-03-27 20:45 Export of link with underscore does not work nicely Daniel Dehennin
2012-03-27 22:16 ` Bastien
@ 2012-03-27 22:44 ` Daniel Dehennin
2012-03-27 23:46 ` Bastien
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Dehennin @ 2012-03-27 22:44 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-27 23:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-27 20:45 Export of link with underscore does not work nicely Daniel Dehennin
2012-03-27 22:16 ` Bastien
2012-03-27 22:44 ` Daniel Dehennin
2012-03-27 23:46 ` Bastien
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).