* Basic citations: problems with quotes in LaTeX export
@ 2024-01-21 3:53 William Denton
2024-01-21 12:47 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: William Denton @ 2024-01-21 3:53 UTC (permalink / raw)
To: Emacs Org mode mailing list
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
While trying out more about basic citations, with quotes to mark strings so I can see where whitespace matters, I found that when exporting to LaTeX some regular quote marks (") turn into fancy ones (“”) but others don't.
Let's say we have Basic.bib (now in testing/examples/, adjust path as needed) and this Org file:
# ----------
#+bibliography: Basic.bib
#+cite_export: basic
[cite: "prefix one" @friends "suffix one"]
[cite: "global"; "prefix one" @friends "suffix one"; "prefix two" @friends 'suffix two'; "global"].
# ----------
Export that to LaTeX and you'll see this (also attached):
https://www.miskatonic.org/tmp/latex-quotes.png
The suffix quote marks don't turn fancy. Same if you change the citation processor to csl.
It's rare to have quotes in citations, but for complex ones with some commentary I could certainly imagine them, for example where you want to refer to a certain word or mention how an author translates it. In any case there's something unexpected going on here.
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
[-- Attachment #2: latex-quotes.png --]
[-- Type: image/png, Size: 30959 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Basic citations: problems with quotes in LaTeX export
2024-01-21 3:53 Basic citations: problems with quotes in LaTeX export William Denton
@ 2024-01-21 12:47 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-01-21 12:47 UTC (permalink / raw)
To: William Denton; +Cc: Emacs Org mode mailing list
William Denton <william@williamdenton.org> writes:
> While trying out more about basic citations, with quotes to mark strings so I can see where whitespace matters, I found that when exporting to LaTeX some regular quote marks (") turn into fancy ones (“”) but others don't.
>
> Let's say we have Basic.bib (now in testing/examples/, adjust path as needed) and this Org file:
>
> # ----------
> #+bibliography: Basic.bib
> #+cite_export: basic
>
> [cite: "prefix one" @friends "suffix one"]
>
> [cite: "global"; "prefix one" @friends "suffix one"; "prefix two" @friends 'suffix two'; "global"].
> # ----------
>
> Export that to LaTeX and you'll see this (also attached):
>
> https://www.miskatonic.org/tmp/latex-quotes.png
>
> The suffix quote marks don't turn fancy. Same if you change the citation processor to csl.
Thanks for reporting!
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=83696bf21
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-21 12:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-21 3:53 Basic citations: problems with quotes in LaTeX export William Denton
2024-01-21 12:47 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.