* Re: \cite command (bib-module)
[not found] <mailman.1642.1221134249.4320.ntg-context@ntg.nl>
@ 2008-09-11 15:01 ` Martin Hoher
2008-09-11 15:52 ` Thomas A. Schmitz
2008-09-11 15:47 ` ntg-context Digest, Vol 51, Issue 44 Martin Hoher
1 sibling, 1 reply; 7+ messages in thread
From: Martin Hoher @ 2008-09-11 15:01 UTC (permalink / raw)
To: ntg-context
> Message: 4
> Date: Thu, 11 Sep 2008 12:35:59 +0200
> From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
> Subject: Re: [NTG-context] use of the \cite command (bib-module)
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Message-ID: <7C5C18CF-9FF7-45BA-B699-8BF005D3F0B2@uni-bonn.de>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Sep 11, 2008, at 12:19 PM, Martin Hoher wrote:
>
>> Hello,
>>
>> concerning the bib-module and the \cite command I've got two
>> questions:
>>
>> (1) The output in the text of the document should look like this:
>> Goldstein (2003:95).
>> The name of the author should be located on the outside of the
>> brackets.
>>
>>
>> Goldstein refers to the name of the author, 2003 is the year of
>> publication and 95 is the relevant page number.
>> My approach until now: \cite[extras={:95}][G:2003] It generates the
>> following output: (Goldstein 2003:95)
>>
> \setupcite
> [authoryear]
> [pubsep={, },
> lastpubsep={ und },
> compress=yes,
> inbetween={ (},
> left={},
> right={)}]
>
> (chapter 2.3 of the bib manual)
>
>> (2) The output in the text should look like this:
>> (vgl. Goldstein 2003:95)
>> My intention is to place the expression "vgl." in front of the
>> authorname and inside of the brackets.
>
> \setupcite
> [authoryear]
> [pubsep={, },
> lastpubsep={ und },
> compress=yes,
> inbetween={ (vgl. },
> left={},
> right={)}]
>
> HTH
>
> Thomas
Thank you for your answer. The first example works.
The result is: "Goldstein (2003)" but unfortunately it is impossible to
combine it with the [extras={:95}] option to get the page number behind
the citation.
If you type \cite [authoryear][extras={:95}] it won't work.
Although I've tried it with the [authoryear,page] nothing works.
The result of the second example is "Goldstein (vgl. 2003)". I've tried
to use the left={} option instead, but nothing changed.
\setupcite
[authoryear]
[pubsep={, },
lastpubsep={ und },
compress=yes,
inbetween={},
left={(vgl. },
right={)}]
still leads to the result Goldstein (vgl. 2003) when I type in the
command \cite [authoryear][G:2003]. It seems to be impossible to place
something (like "vgl.") in front of the name of the author and inside of
the brackets like (vgl. Goldstein 2003:95)
I couldn't find anything specific about these problems in the
bib-manual. Perhaps you or someone else can help me?
Regards
Martin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ntg-context Digest, Vol 51, Issue 44
[not found] <mailman.1642.1221134249.4320.ntg-context@ntg.nl>
2008-09-11 15:01 ` \cite command (bib-module) Martin Hoher
@ 2008-09-11 15:47 ` Martin Hoher
1 sibling, 0 replies; 7+ messages in thread
From: Martin Hoher @ 2008-09-11 15:47 UTC (permalink / raw)
To: ntg-context
ntg-context-request@ntg.nl schrieb:
> Send ntg-context mailing list submissions to
> ntg-context@ntg.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> ntg-context-request@ntg.nl
>
> You can reach the person managing the list at
> ntg-context-owner@ntg.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
>
>
> Today's Topics:
>
> 1. Re: ntg-context Digest, Vol 51, Issue 36 (Goebel, Juergen)
> 2. use of the \cite command (bib-module) (Martin Hoher)
> 3. Re: first steps with \dosingleempty (Goebel, Juergen)
> 4. Re: use of the \cite command (bib-module) (Thomas A. Schmitz)
> 5. Re: first steps with \dosingleempty (Wolfgang Schuster)
> 6. Re: modes questions (Hans Hagen)
> 7. Re: modes questions (Taco Hoekwater)
> 8. Re: ntg-context Digest, Vol 51, Issue 36 (Wolfgang Schuster)
> 9. Re: modes questions (Hans Hagen)
> 10. Re: ntg-context Digest, Vol 51, Issue 36 (Goebel, Juergen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Sep 2008 12:13:59 +0200
> From: "Goebel, Juergen" <juergen.goebel@eads.com>
> Subject: Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36
> To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
> Message-ID:
> <CBB3636EB677D345A9A354D258233415BF0F0D@deimsg12.de.net.world>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Mojca Miklavec wrote:
>
>> But as far as I understood, the problem got resolved, right? Didn't
>> the umlaut-utf work OK?
>
> No, not with my oldtimer.
>
>> (J?rgen, in case that you are still using the old version of ConTeXt -
>> *many* aspects have improved since then, including encodings and
>> regimes, so before starting complaining that something doesn't work,
>> try upgrading first. And I really mean it.)
>
> ACK.
>
> Regards,
>
> J?rgen
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 11 Sep 2008 12:19:59 +0200
> From: Martin Hoher <Martin.Hoher@uni-konstanz.de>
> Subject: [NTG-context] use of the \cite command (bib-module)
> To: ntg-context@ntg.nl
> Message-ID: <48C8F0CF.5030704@uni-konstanz.de>
> Content-Type: text/plain; charset=ISO-8859-15
>
> Hello,
>
> concerning the bib-module and the \cite command I've got two questions:
>
> (1) The output in the text of the document should look like this:
> Goldstein (2003:95).
> The name of the author should be located on the outside of the brackets.
>
>
> Goldstein refers to the name of the author, 2003 is the year of
> publication and 95 is the relevant page number.
> My approach until now: \cite[extras={:95}][G:2003] It generates the
> following output: (Goldstein 2003:95)
>
>
> (2) The output in the text should look like this:
> (vgl. Goldstein 2003:95)
> My intention is to place the expression "vgl." in front of the
> authorname and inside of the brackets.
>
> If someone has an idea to solve this little problem, it will be great to
> here from you soon.
>
> Greetings
> Martin
>> Hello,
>>
>> concerning the bib-module and the \cite command I've got two
>> questions:
>>
>> (1) The output in the text of the document should look like this:
>> Goldstein (2003:95).
>> The name of the author should be located on the outside of the
>> brackets.
>>
>>
>> Goldstein refers to the name of the author, 2003 is the year of
>> publication and 95 is the relevant page number.
>> My approach until now: \cite[extras={:95}][G:2003] It generates the
>> following output: (Goldstein 2003:95)
>>
> \setupcite
> [authoryear]
> [pubsep={, },
> lastpubsep={ und },
> compress=yes,
> inbetween={ (},
> left={},
> right={)}]
>
> (chapter 2.3 of the bib manual)
>
>> (2) The output in the text should look like this:
>> (vgl. Goldstein 2003:95)
>> My intention is to place the expression "vgl." in front of the
>> authorname and inside of the brackets.
>
> \setupcite
> [authoryear]
> [pubsep={, },
> lastpubsep={ und },
> compress=yes,
> inbetween={ (vgl. },
> left={},
> right={)}]
>
> HTH
>
> Thomas
Hello,
I've found my fault:
\setupcite
[authoryears]
[pubsep={, },
lastpubsep={ und },
compress=yes,
inbetween={ (vgl. },
left={},
right={)}]
with this you'll get
(vgl. Goldstein 2003)
The only problem left is the use of the [extras={:10}] option in
combination with [authoryears] to include the page number.
Martin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \cite command (bib-module)
2008-09-11 15:01 ` \cite command (bib-module) Martin Hoher
@ 2008-09-11 15:52 ` Thomas A. Schmitz
2008-09-12 6:25 ` Taco Hoekwater
0 siblings, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2008-09-11 15:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sep 11, 2008, at 5:01 PM, Martin Hoher wrote:
> Thank you for your answer. The first example works.
>
> The result is: "Goldstein (2003)" but unfortunately it is impossible
> to
> combine it with the [extras={:95}] option to get the page number
> behind
> the citation.
> If you type \cite [authoryear][extras={:95}] it won't work.
> Although I've tried it with the [authoryear,page] nothing works.
> The result of the second example is "Goldstein (vgl. 2003)". I've
> tried
> to use the left={} option instead, but nothing changed.
> \setupcite
> [authoryear]
> [pubsep={, },
> lastpubsep={ und },
> compress=yes,
> inbetween={},
> left={(vgl. },
> right={)}]
>
> still leads to the result Goldstein (vgl. 2003) when I type in the
> command \cite [authoryear][G:2003]. It seems to be impossible to place
> something (like "vgl.") in front of the name of the author and
> inside of
> the brackets like (vgl. Goldstein 2003:95)
Sorry, in the second case, you'll need the option "authoryears":
\setupcite
[authoryears]
[pubsep={, },
lastpubsep={ und },
compress=yes,
inbetween={ },
left={(vgl. },
right={)}]
I had a quick look at the source, and it doesn't look like you can
have three [] arguments after \cite. So you can't have \cite[STYLE]
[EXTRAS][KEY], you must use the \setuppublications command and set the
default. If you want to have a different citation style in the
footnotes and in the main text, you will probably want to have a
\setuppublications[refcommand=authoryears] in the setup of your
footnotes (see p. 101 of cont-eni.pdf).
Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \cite command (bib-module)
2008-09-11 15:52 ` Thomas A. Schmitz
@ 2008-09-12 6:25 ` Taco Hoekwater
2008-09-12 6:44 ` Thomas A. Schmitz
2008-09-12 15:58 ` Aditya Mahajan
0 siblings, 2 replies; 7+ messages in thread
From: Taco Hoekwater @ 2008-09-12 6:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thomas A. Schmitz wrote:
> I had a quick look at the source, and it doesn't look like you can
> have three [] arguments after \cite. So you can't have \cite[STYLE]
> [EXTRAS][KEY],
But you can do:
\cite[KEY][alternative=STYLE,extras=EXTRAS]
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \cite command (bib-module)
2008-09-12 6:25 ` Taco Hoekwater
@ 2008-09-12 6:44 ` Thomas A. Schmitz
2008-09-12 15:58 ` Aditya Mahajan
1 sibling, 0 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2008-09-12 6:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sep 12, 2008, at 8:25 AM, Taco Hoekwater wrote:
> Thomas A. Schmitz wrote:
>> I had a quick look at the source, and it doesn't look like you can
>> have three [] arguments after \cite. So you can't have \cite[STYLE]
>> [EXTRAS][KEY],
>
> But you can do:
>
> \cite[KEY][alternative=STYLE,extras=EXTRAS]
>
> Best wishes,
> Taco
Ah, I should have taken a longer look! Very elegant, thanks Taco. But
maybe hooking the \setupcite setup into the \setufootnotes "before"
option is more efficient than adding the style manually every time.
All best
Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \cite command (bib-module)
2008-09-12 6:25 ` Taco Hoekwater
2008-09-12 6:44 ` Thomas A. Schmitz
@ 2008-09-12 15:58 ` Aditya Mahajan
2008-09-12 18:38 ` Taco Hoekwater
1 sibling, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2008-09-12 15:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, 12 Sep 2008, Taco Hoekwater wrote:
> Thomas A. Schmitz wrote:
>> I had a quick look at the source, and it doesn't look like you can
>> have three [] arguments after \cite. So you can't have \cite[STYLE]
>> [EXTRAS][KEY],
>
> But you can do:
>
> \cite[KEY][alternative=STYLE,extras=EXTRAS]
Shouldn't that be
\cite[alternative=STYLE, extras=EXTRAS][KEY]
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \cite command (bib-module)
2008-09-12 15:58 ` Aditya Mahajan
@ 2008-09-12 18:38 ` Taco Hoekwater
0 siblings, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2008-09-12 18:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
> On Fri, 12 Sep 2008, Taco Hoekwater wrote:
>
>> Thomas A. Schmitz wrote:
>>> I had a quick look at the source, and it doesn't look like you can
>>> have three [] arguments after \cite. So you can't have \cite[STYLE]
>>> [EXTRAS][KEY],
>> But you can do:
>>
>> \cite[KEY][alternative=STYLE,extras=EXTRAS]
>
> Shouldn't that be
>
> \cite[alternative=STYLE, extras=EXTRAS][KEY]
The syntax that works is the correct one :-)
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-09-12 18:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1642.1221134249.4320.ntg-context@ntg.nl>
2008-09-11 15:01 ` \cite command (bib-module) Martin Hoher
2008-09-11 15:52 ` Thomas A. Schmitz
2008-09-12 6:25 ` Taco Hoekwater
2008-09-12 6:44 ` Thomas A. Schmitz
2008-09-12 15:58 ` Aditya Mahajan
2008-09-12 18:38 ` Taco Hoekwater
2008-09-11 15:47 ` ntg-context Digest, Vol 51, Issue 44 Martin Hoher
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).