From: Peng Zhang <pczhang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Multiple bibliographies (bib-module, mkiv)
Date: Mon, 07 Apr 2014 11:13:48 -0400 [thread overview]
Message-ID: <5342C0AC.8090507@gmail.com> (raw)
In-Reply-To: <C048CC0E-59E8-48A3-B4E6-02F8A563C290@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3592 bytes --]
Hi Robert,
Thank you very much for this workaround! It does work. Would it be
possible that I can make two fake/invisible sections? (without showing
primary sources and secondary sources in your example)
I am doing my CV. I just want two separate reference lists, one for
journal and one for published abstracts.
I am copying the CV template from wiki.
\definehead[CVHEAD][subject]
\setuphead[subject][style=\bfa,after={\blank[medium]}]
\definehead[SUBCVHEAD][subsubject]
\setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}]
I want something like
\CVHEAD{References}
\SUBCVHEAD{Pulished Journal Articles}
list 1
\SUBCVHEAD{Pulished Abstracts}
list 2
Could I put two fake/invisible sections within those subcvhead?
Thanks,
Peng
On 04/07/2014 10:34 AM, Robert Blackstone wrote:
>
> On 7 Apr 2014, at 12:00 , Peng Zhang <pczhang@gmail.com
> <mailto:pczhang@gmail.com>> wrote
>
>> I am searching for a solution where I can use two different sources of
>> bib files separately. I found that the same question was asked before at
>> this mail list. Since it was few years old, could I ask if there is any
>> new work done towards it?
>>
>> Thanks!
>> Peng
>>
>> http://www.ntg.nl/pipermail/ntg-context/2010/048290.html
>
> Hello Peng,
> For a Bibliography with separate sections you can use the following
> work-around:
> Suppose you want a section "primary sources", for which you have the
> bibfile, say, ps.bib, and a section "secundary sources", for which
> have the bibfile ss.bib.
> The first step is tro to make for each of them a .bbl-file with, what
> I would call, a "bbl-generator.tex":
> ++++++++++++++++++++++++++++++++++++
> \setupbibtex[database=ps.bib,sort=author]
> %\setupbibtex[database=ss.bib,sort=author]
>
> \setuppublications[alternative=apa] %or any other style
>
> \starttext
>
> \stoptext
> ++++++++++++++++++++++++++++++++++++++
> This can be processed with mkii or mkiv. It generates a lot of
> auxiliary files, including an empty pdf, but the only important one is
> "bbl-generator.bbl", which you rename to ps.bbl or ss.bbl according to
> which of the two bib-files you used.(= did not comment out)
>
> The other files you need are two .tex-files with the complete set of
> \nocite[]'s of the two databases. Personally I never used \nocite{*}.
> If you use a Mac with BibDesk it is quite easy to make such a file. It
> gives you some extra flexibility.
>
> You can then generate the sectioned bibliography with:
> ++++++++++++++++++++++++++++++++++++++++++
> \input(Your setups, including those for your Bibliography setup)
> \starttext
> \startchapter[bookmark=,label=,list=,marking=,reference=Bibliography,title={Bibliography}
> \section{Primary sources}
>
> \input ps.bbl
> \input ps-nocite.tex
> \placepublications[criterium=cite]
>
> \section{Secundary sources}
>
> \input ss.bbl
> \input ss-nocite.tex
> \placepublications[criterium=cite]
>
> \stopchapter
> \stoptext
> +++++++++++++++++++++++++++++++++++++++++++++++
> That's all.
>
> I hope it works for you.
> Best regards,
> Robert Blackstone
>
>
> ___________________________________________________________________________________
> 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 : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 8289 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-04-07 15:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1396864802.26251.ntg-context@ntg.nl>
2014-04-07 14:34 ` Robert Blackstone
2014-04-07 15:13 ` Peng Zhang [this message]
[not found] <mailman.75.1396883646.18755.ntg-context@ntg.nl>
2014-04-07 16:39 ` Robert Blackstone
2014-04-07 18:40 ` Peng Zhang
2014-04-06 4:26 Peng Zhang
-- strict thread matches above, loose matches on Subject: below --
2010-03-31 18:31 marfin
2010-04-01 6:37 ` Taco Hoekwater
2010-04-08 21:26 ` Philipp Gesang
2010-03-31 18:23 marfin
2010-03-31 13:53 marfin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5342C0AC.8090507@gmail.com \
--to=pczhang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).