Re: Basic citations: problems with quotes in LaTeX export

2024-01-21 Thread Ihor Radchenko
William Denton  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 .
Support Org development at ,
or support my work at 



Basic citations: problems with quotes in LaTeX export

2024-01-20 Thread William Denton
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