emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF export of babel code block with link using the '_' character does no


From: Vincent Picaud
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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]