emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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/)]
@ 2020-06-01 10:50 Vincent Picaud
  2020-06-01 13:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Picaud @ 2020-06-01 10:50 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 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/)]
  2020-06-01 10:50 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/)] Vincent Picaud
@ 2020-06-01 13:17 ` Nicolas Goaziou
  2020-06-01 14:50   ` Vincent Picaud
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2020-06-01 13:17 UTC (permalink / raw)
  To: Vincent Picaud; +Cc: emacs-orgmode

Hello,

Vincent Picaud <picaud.vincent@gmail.com> writes:

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

[...]

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

[...]

>
> 2. [[(parameter_size)][parameter_size()]] blabla...
>
>  #+begin_src cpp
> std::size_t parameter_size() const;  // (ref:parameter_size)
>  #+end_src

Fixed. Thank you!

Regards,

-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 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/)]
  2020-06-01 13:17 ` Nicolas Goaziou
@ 2020-06-01 14:50   ` Vincent Picaud
  2020-06-01 15:00     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Picaud @ 2020-06-01 14:50 UTC (permalink / raw)
  To: Vincent Picaud, emacs-orgmode

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

Wow, that's fast!
Thanks

Le lun. 1 juin 2020 à 15:17, Nicolas Goaziou <mail@nicolasgoaziou.fr> a
écrit :

> Hello,
>
> Vincent Picaud <picaud.vincent@gmail.com> writes:
>
> > I just run into this small problem which is maybe a bug: I cannot PDF
> > export this small demo.org file.
>
> [...]
>
> > #+OPTIONS: ^:nil
> > #+TITLE: Maybe a bug
>
> [...]
>
> >
> > 2. [[(parameter_size)][parameter_size()]] blabla...
> >
> >  #+begin_src cpp
> > std::size_t parameter_size() const;  // (ref:parameter_size)
> >  #+end_src
>
> Fixed. Thank you!
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 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/)]
  2020-06-01 14:50   ` Vincent Picaud
@ 2020-06-01 15:00     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2020-06-01 15:00 UTC (permalink / raw)
  To: Vincent Picaud; +Cc: emacs-orgmode

Vincent Picaud <picaud.vincent@gmail.com> writes:

> Wow, that's fast!

PS: That's why Org does not need a traditional bug tracking tool ;)

-- 
 Bastien


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-01 15:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 10:50 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/)] Vincent Picaud
2020-06-01 13:17 ` Nicolas Goaziou
2020-06-01 14:50   ` Vincent Picaud
2020-06-01 15:00     ` 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).