emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vincent Picaud <picaud.vincent@gmail.com>
To: emacs-orgmode@gnu.org
Subject: PDF export of babel code block with link using the '_' character does not work [9.3.6 (9.3.6-elpa @ /home/picaud/.emacs.d/elpa/org-9.3.6/)]
Date: Mon, 1 Jun 2020 12:50:33 +0200	[thread overview]
Message-ID: <CAJGQD+yogk4hTbktHt+LKEMhk-Tkj3ZEsKc-GS_ZC-QxBwMY6Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

Dear OrgMode Developers & Maintainers,

First of all, thank you soooo much for such a wonderful software! I am
using OrgMode every second and this is always a wonderful experience.

I just run into this small problem which is maybe a bug: I cannot PDF
export this small demo.org file.

Best,
Vincent

---------------------------- TO REPRODUCE: demo.org >>> BEGIN

#+OPTIONS: ^:nil
#+TITLE: Maybe a bug

* How to reproduce:

- html export, C-c C-e h o, works in both cases
- pdf export, C-c C-e h p, only works with Camel case names.

  In the second case, '_' is escaped, leading to this error:
#+begin_example
user-error: Unable to resolve link: "parameter\\_size"
#+end_example


1. [[(parameterSize)][parameter_size()]] blabla...

 #+begin_src cpp
std::size_t parameter_size() const;  // (ref:parameterSize)
 #+end_src

2. [[(parameter_size)][parameter_size()]] blabla...

 #+begin_src cpp
std::size_t parameter_size() const;  // (ref:parameter_size)
 #+end_src

---------------------------- TO REPRODUCE: demo.org >>> END

[-- Attachment #2: Type: text/html, Size: 1424 bytes --]

             reply	other threads:[~2020-06-01 11:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01 10:50 Vincent Picaud [this message]
2020-06-01 13:17 ` PDF export of babel code block with link using the '_' character does not work [9.3.6 (9.3.6-elpa @ /home/picaud/.emacs.d/elpa/org-9.3.6/)] Nicolas Goaziou
2020-06-01 14:50   ` Vincent Picaud
2020-06-01 15:00     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJGQD+yogk4hTbktHt+LKEMhk-Tkj3ZEsKc-GS_ZC-QxBwMY6Q@mail.gmail.com \
    --to=picaud.vincent@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).