public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Pandoc to LaTeX, how to get starred \autocites* with multiple references?
@ 2016-11-23 23:43 jdhauck-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <a7dbd7b1-1f19-4cdd-981c-863012da7210-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: jdhauck-Re5JQEeQqe8AvxtiuMwx3w @ 2016-11-23 23:43 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1905 bytes --]

 

I'm converting markup format to LaTeX via Pandoc by simply doing 


pandoc --biblatex --chapters inputfile outputfile


A line such as this one


*Philosophers in the tradition of Husserl [-@Husserl:1976a] have ... *


comes out correctly in the .tex file as


Philosophers in the tradition of Husserl \autocite*{Husserl:1976a} have \ldots{}

with the -@ making sure it's converted to starred \autocite* so it ends up 
as "Husserl (1976)" in the biblatex output (chicago authordate in this 
case).   However, converting multiple citations as in


*Philosophers in the tradition of Husserl [-@Husserl:1976a; -@Husserl:1939] 
have ...*  gives


Philosophers in the tradition of Husserl \autocites{Husserl:1976a}{Husserl:1939} have \ldots{}


which then ends up producing "Husserl (Husserl 1976a, 1939)" which is not 
what is intended. Any way how to modify this so that pandoc gives me the 
starred autocite version for multiple citations like this: 
\autocites*{Husserl:1976a}{Husserl:1939}?


I also tried to use in the text simply *@Husserl:1976a;@Husserl:1939* but 
this gives me \textcite{Husserl:1976a};\textcite{Husserl:1939} 

instead of \textcite{Husserl:1976a}{Husserl:1939} 

This method is also not ideal since there is no way to control for genitive 
case (Husserl's) for example. 

Any help much appreciated! 


 





-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a7dbd7b1-1f19-4cdd-981c-863012da7210%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 3246 bytes --]

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

* Re: Pandoc to LaTeX, how to get starred \autocites* with multiple references?
       [not found] ` <a7dbd7b1-1f19-4cdd-981c-863012da7210-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-11-24  9:16   ` John MacFarlane
       [not found]     ` <20161124091649.GF19838-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2016-11-24  9:16 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I think that's just a bug; I've just fixed it with commit
d7fb9db295b5257e6530eebbbe7481a5b7e46d1a



+++ jdhauck-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [Nov 23 16 15:43 ]:
>   I'm converting markup format to LaTeX via Pandoc by simply doing
>pandoc --biblatex --chapters inputfile outputfile
>
>   A line such as this one
>
>   Philosophers in the tradition of Husserl [-@Husserl:1976a] have ...
>
>   comes out correctly in the .tex file as
>
>Philosophers in the tradition of Husserl \autocite*{Husserl:1976a} have \ldots{}
>
>   with the -@ making sure it's converted to starred \autocite* so it ends
>   up as "Husserl (1976)" in the biblatex output (chicago authordate in
>   this case).   However, converting multiple citations as in
>
>   Philosophers in the tradition of Husserl [-@Husserl:1976a;
>   -@Husserl:1939] have ...  gives
>Philosophers in the tradition of Husserl \autocites{Husserl:1976a}{Husserl:1939}
> have \ldots{}
>
>   which then ends up producing "Husserl (Husserl 1976a, 1939)" which is
>   not what is intended. Any way how to modify this so that pandoc gives
>   me the starred autocite version for multiple citations like this:
>   \autocites*{Husserl:1976a}{Husserl:1939}?
>
>   I also tried to use in the text simply @Husserl:1976a;@Husserl:1939 but
>   this gives me \textcite{Husserl:1976a};\textcite{Husserl:1939}
>
>   instead of \textcite{Husserl:1976a}{Husserl:1939}
>   This method is also not ideal since there is no way to control for
>   genitive case (Husserl's) for example.
>   Any help much appreciated!
>
>
>   --
>   You received this message because you are subscribed to the Google
>   Groups "pandoc-discuss" group.
>   To unsubscribe from this group and stop receiving emails from it, send
>   an email to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/a7dbd7b1-1f19-4cdd-
>   981c-863012da7210%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/a7dbd7b1-1f19-4cdd-981c-863012da7210-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


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

* Re: Pandoc to LaTeX, how to get starred \autocites* with multiple references?
       [not found]     ` <20161124091649.GF19838-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
@ 2016-11-27 17:49       ` jdhauck-Re5JQEeQqe8AvxtiuMwx3w
  0 siblings, 0 replies; 3+ messages in thread
From: jdhauck-Re5JQEeQqe8AvxtiuMwx3w @ 2016-11-27 17:49 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 3540 bytes --]

Wonderful, thank you! 

El jueves, 24 de noviembre de 2016, 1:17:21 (UTC-8), John MacFarlane 
escribió:
>
> I think that's just a bug; I've just fixed it with commit 
> d7fb9db295b5257e6530eebbbe7481a5b7e46d1a 
>
>
>
> +++ jdh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:> [Nov 23 16 15:43 ]: 
> >   I'm converting markup format to LaTeX via Pandoc by simply doing 
> >pandoc --biblatex --chapters inputfile outputfile 
> > 
> >   A line such as this one 
> > 
> >   Philosophers in the tradition of Husserl [-@Husserl:1976a] have ... 
> > 
> >   comes out correctly in the .tex file as 
> > 
> >Philosophers in the tradition of Husserl \autocite*{Husserl:1976a} have 
> \ldots{} 
> > 
> >   with the -@ making sure it's converted to starred \autocite* so it 
> ends 
> >   up as "Husserl (1976)" in the biblatex output (chicago authordate in 
> >   this case).   However, converting multiple citations as in 
> > 
> >   Philosophers in the tradition of Husserl [-@Husserl:1976a; 
> >   -@Husserl:1939] have ...  gives 
> >Philosophers in the tradition of Husserl 
> \autocites{Husserl:1976a}{Husserl:1939} 
> > have \ldots{} 
> > 
> >   which then ends up producing "Husserl (Husserl 1976a, 1939)" which is 
> >   not what is intended. Any way how to modify this so that pandoc gives 
> >   me the starred autocite version for multiple citations like this: 
> >   \autocites*{Husserl:1976a}{Husserl:1939}? 
> > 
> >   I also tried to use in the text simply @Husserl:1976a;@Husserl:1939 
> but 
> >   this gives me \textcite{Husserl:1976a};\textcite{Husserl:1939} 
> > 
> >   instead of \textcite{Husserl:1976a}{Husserl:1939} 
> >   This method is also not ideal since there is no way to control for 
> >   genitive case (Husserl's) for example. 
> >   Any help much appreciated! 
> > 
> > 
> >   -- 
> >   You received this message because you are subscribed to the Google 
> >   Groups "pandoc-discuss" group. 
> >   To unsubscribe from this group and stop receiving emails from it, send 
> >   an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   To post to this group, send email to 
> >   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   To view this discussion on the web visit 
> >   [3]
> https://groups.google.com/d/msgid/pandoc-discuss/a7dbd7b1-1f19-4cdd- 
> >   981c-863012da7210%40googlegroups.com. 
> >   For more options, visit [4]https://groups.google.com/d/optout. 
> > 
> >References 
> > 
> >   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   3. 
> https://groups.google.com/d/msgid/pandoc-discuss/a7dbd7b1-1f19-4cdd-981c-863012da7210-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer 
> >   4. https://groups.google.com/d/optout 
>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/23cbef3c-dce9-4fd2-aaa1-f1a0086c0e42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 7191 bytes --]

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

end of thread, other threads:[~2016-11-27 17:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 23:43 Pandoc to LaTeX, how to get starred \autocites* with multiple references? jdhauck-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <a7dbd7b1-1f19-4cdd-981c-863012da7210-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-24  9:16   ` John MacFarlane
     [not found]     ` <20161124091649.GF19838-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2016-11-27 17:49       ` jdhauck-Re5JQEeQqe8AvxtiuMwx3w

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 NNTP newsgroup(s).