[NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang

Dear all,

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,


I need two bibliographies for my document, »Primary sources« and
»Secondary sources«.

Two bibliographies was created and loaded with
\setupbibtex[database={prim,sec}].

But for the last step in my intention I’m looking for something to the
effect that

\placepublications[database=prim]

or in a similar manner to

\nocite{*}

for every bib-database.

Is there any solution or workaround?


Thanks
Markus



___
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
___


Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Robert Blackstone

On 7 Apr 2014, at 12:00 , Peng Zhang pczh...@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
___

Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang

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 pczh...@gmail.com 
mailto:pczh...@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
___


___
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
___

Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Robert Blackstone

On 7 Apr 2014, at 17:14 , Peng Zhang pczh...@gmail.com 
mailto:pczh...@gmail.com wrote
 
 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

Hi Peng, 
I'm not quite sure I fully understand what you want, so I just tried making 
separate lists.
Now for some reason that I don't understand no list appears in a subsubject. 
However if you use instead SUBCVHEAD as an unnumbered section  with

\definehead[SUBCVHEAD][section]
\setuphead[section][header=empty,number=no,style=\bf,after={\blank[small]},before={\blank[small]}]
 

and if  you add \page after
\placepublications[criterium=cite], 

then you get separate lists with unnumbered titles.

I hope this is what you want. If not, maybe someone les on this list can help 
you.

Best regards,
Robert


___
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
___


Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang
Thank you very much! That is exactly what I want. Changing subsubject to 
unnumbered section does the trick.


Best,
Peng

On 04/07/2014 12:39 PM, Robert Blackstone wrote:

On 7 Apr 2014, at 17:14 , Peng Zhang pczh...@gmail.com
mailto:pczh...@gmail.com wrote

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

Hi Peng,
I'm not quite sure I fully understand what you want, so I just tried making 
separate lists.
Now for some reason that I don't understand no list appears in a subsubject. 
However if you use instead SUBCVHEAD as an unnumbered section  with

\definehead[SUBCVHEAD][section]
\setuphead[section][header=empty,number=no,style=\bf,after={\blank[small]},before={\blank[small]}]

and if  you add \page after
\placepublications[criterium=cite],

then you get separate lists with unnumbered titles.

I hope this is what you want. If not, maybe someone les on this list can help 
you.

Best regards,
Robert


___
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
___


___
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
___


[NTG-context] Multiple bibliographies (reminder)

2010-10-14 Thread Florian Wobbe
Hi Taco, hi Philipp,

I need to place two different publication lists in different locations inside 
the same document. This has been asked before in April and there was the 
following suggestion:

\chapter{one}
\placepublications[database=first]

\chapter{two}
\placepublications[database=second]

Is something like this implemented already? If not I'd kindly ask you, Philipp, 
to help me with your lua-sed-shell-magic. Thanks!

Best wishes,
Florian

___
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
___


Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2010-04-08 Thread Philipp Gesang
On 2010-03-31 20:31:48, marfin wrote:
 I need two bibliographies for my document, »Primary sources« and
 »Secondary sources«.
 
 Two bibliographies was created and loaded with
 \setupbibtex[database={prim,sec}].
 
 But for the last step in my intention I’m looking for something to the
 effect that
 
 \placepublications[database=prim]
 
 or in a similar manner to
 
 \nocite{*}
 
 for every bib-database.
 
 Is there any solution or workaround?
Hi,

sorry for the late reply, I was absent from the list for a week.  I'd
suggest you'd give the librarian module a try that was announced to this
list by Aditya earlier.

If you have the time I recommend waiting for a solution by Taco.

Else if neither librarian nor waiting are an option for you, you might
want to have a look at this:
http://i40.tinypic.com/debiaf.jpg
it is using a “keyword” field to typeset multible bibliographies by
keywords so your problem could be solved by a short sed script and cat.
Various citation modes are already implemented as well as support for
all publication types that I need myself -- i.e. book, article and
inbook.  Everything is done in lua (the bibtex.load() function be
praised) so no struggling with bibtex anymore.  As I was used to
biblatex I mainly imitated its approach to things like crossref'ing and
the “address” field.

This is by no means ready for release so please mail me off-list if
you're interested, maybe I could extend it to fit your needs.

Best regards,


Philipp

 
 
 Thanks
 Markus
 ___
 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


signature.asc
Description: Digital signature
___
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
___


[NTG-context] Multiple bibliographies (bib-module, mkiv)

2010-04-01 Thread marfin
Hello,

I need two bibliographies for my document, »Primary sources« and
»Secondary sources«.

So two bibliographies was created and loaded with
\setupbibtex[database={prim,sec}].

But for the last step in my intention I’m looking for something to the
effect that
\placepublications[database=prim]
or in a similar manner to
\nocite{*}
for every bib-database.

Is there any solution or workaround?

Thanks
Markus
___
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
___


[NTG-context] Multiple bibliographies (bib-module, mkiv)

2010-04-01 Thread marfin
Hello,


I need two bibliographies for my document, »Primary sources« and
»Secondary sources«.

Two bibliographies was created and loaded with
\setupbibtex[database={prim,sec}].

But for the last step in my intention I’m looking for something to the
effect that

\placepublications[database=prim]

or in a similar manner to

\nocite{*}

for every bib-database.

Is there any solution or workaround?


Thanks
Markus
___
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
___


[NTG-context] Multiple bibliographies (bib-module, mkiv)

2010-04-01 Thread marfin
Hello,


I need two bibliographies for my document, »Primary sources« and
»Secondary sources«.

Two bibliographies was created and loaded with
\setupbibtex[database={prim,sec}].

But for the last step in my intention I’m looking for something to the
effect that

\placepublications[database=prim]

or in a similar manner to

\nocite{*}

for every bib-database.

Is there any solution or workaround?


Thanks
Markus
___
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
___


Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2010-04-01 Thread Taco Hoekwater


Hi Markus,

marfin wrote:

Hello,


I need two bibliographies for my document, »Primary sources« and
»Secondary sources«.

Two bibliographies was created and loaded with
\setupbibtex[database={prim,sec}].

But for the last step in my intention I’m looking for something to the
effect that

\placepublications[database=prim]

or in a similar manner to

\nocite{*}

for every bib-database.

Is there any solution or workaround?


There is no current solution, nor is there a simple workaround.

But I know this is on many people's wishlist so I will try to add a
feature like this. However I have no time to hack something in right
now, so someone please remind me in a week or two.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] multiple bibliographies

2007-01-15 Thread Charles Doherty
Dear Thomas, Aditya, Taco,

I am trying to produce a book-list for class using Taco's bib module.  
I would like to produce a separate list for each lecture / topic:

Title of Lecture
paragraph giving a synopsis of topic
list of books/articles

and this repeated for x number of lectures. I discovered a thread in  
the ConTeXt users mailing list for September last for something like  
this. Has there been a solution? If it would do what I want I would  
be grateful for a sample or instructions. I am using the latest bib  
module.

Thanks,

Charlie Doherty
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2007-01-15 Thread Thomas A. Schmitz
On Jan 15, 2007, at 1:59 PM, Charles Doherty wrote:

 Dear Thomas, Aditya, Taco,

 I am trying to produce a book-list for class using Taco's bib module.
 I would like to produce a separate list for each lecture / topic:

 Title of Lecture
 paragraph giving a synopsis of topic
 list of books/articles

 and this repeated for x number of lectures. I discovered a thread in
 the ConTeXt users mailing list for September last for something like
 this. Has there been a solution? If it would do what I want I would
 be grateful for a sample or instructions. I am using the latest bib
 module.

 Thanks,

 Charlie Doherty

Yes, this is possible. Just make every lecture its own section, refer  
to the titles you want included in every list with \nocite commands  
at the beginning of every section, have the list typeset with  
\placepublications[criterium=cite]. If you want continuous numbering  
for all your lists, add  [option=continue].

HTH

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2007-01-15 Thread Charles Doherty


On 15 Jan 2007, at 13:22, Thomas A. Schmitz wrote:


Yes, this is possible. Just make every lecture its own section, refer
to the titles you want included in every list with \nocite commands
at the beginning of every section, have the list typeset with
\placepublications[criterium=cite]. If you want continuous numbering
for all your lists, add  [option=continue].

HTH

Thomas


Thank you Thomas,

It works perfectly. I had not used the \section command. Along with  
BibDesk this is great.


Thanks for your fast reply.

Charlie___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2007-01-15 Thread Sanjoy Mahajan
Thomas A. Schmitz [EMAIL PROTECTED] explains:
 Yes, this is possible. Just make every lecture its own section, refer  
 to the titles you want included in every list with \nocite commands  
 at the beginning of every section, have the list typeset with  
 \placepublications[criterium=cite]. If you want continuous numbering  
 for all your lists, add  [option=continue].

That's very helpful.  I was going to ask the same question in a month
or so when I might arrange the references in my math textbook that
way.  Here's an example file that I'll wikify if a similar example
isn't there already and no one finds problems with it.

Note in passing: \placepublications[criterium=section] and
\placepublications[criterium=cite] should (and do) give the same
results in the further-reading section.

Taco, 
  For a rainy day, what about \setuppublications[option=continue]
that implicitly appends option=continue to all but the first
\placepublications commands?  (If it does so for the first one
then the numbering starts from 37 or thereabouts, as I found out by
trying it.)

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)

= nocite.tex =
% Example of per-chapter bibliographies and a per-chapter 'Further
% reading' section.
%
% 2007-01-15:
% Written by Sanjoy Mahajan [EMAIL PROTECTED] based on the
% explanation by Thomas Schmitz ('multiple bibliographies',
% ntg-context list, 15 Jan 2007).
% 
% Public domain.
%

\usemodule[bib]
\usemodule[bibltx]
\setuppublications[alternative=num]

\setupbibtex[database=xampl]

\starttext

\chapter{One}

Some useful references are \cite[article-minimal].  See
\cite[article-full] for the full bibliography info.

\section[sec:further]{Further reading}

\nocite[whole-journal,incollection-full]

If you are curious, here are a few further readings:
\bigskip
% criterium=section and =cite give the same results in this case situation
\placepublications[criterium=section]
%\placepublications[criterium=cite]

\section{Chapter references}

Here are all the references from this chapter, including the
`further reading'.
\bigskip
\placepublications[criterium=chapter,option=continue]

\chapter{Two}

\cite[inbook-crossref] is a classic.  People should also read
\cite[book-minimal] but it can be rough going.

\section{Chapter references}

Here are the references from this chapter.
\bigskip
\placepublications[criterium=chapter,option=continue]

\title{References for the whole document}

Here are the references from the entire document: in all
chapters and including the further reading.
\bigskip
\placepublications[criterium=all,option=continue]

\stoptext
===
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2007-01-15 Thread Taco Hoekwater
Sanjoy Mahajan wrote:
 
 Taco, 
   For a rainy day, what about \setuppublications[option=continue]
 that implicitly appends option=continue to all but the first
 \placepublications commands?  (If it does so for the first one
 then the numbering starts from 37 or thereabouts, as I found out by
 trying it.)

Sure, wouldn't be very hard. I hope I don't forget

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2006-09-07 Thread Thomas A. Schmitz
Taco,

I played some more with the patched version you sent yesterday, and  
everything seems to be working as desired, thanks a lot! So, AFAICS,  
this is ready to roll and become part of the module.

On Sep 6, 2006, at 8:17 AM, Taco Hoekwater wrote:

 This should work except that the numbers in the second
 \placepublications will probably restart at 1 with the
 current version.  That would be easy to fix, so if you
 send me a small test file I can easily add a no-reset
 switch.

 I do not know anything about feasibility, but have a suggestion for
 the input syntax. How about if there is

 \definecitemethod[one]
 \definecitemethod[two]

 I have to think about that. It sounds useful, but I am not
 sure off-hand how to make it work.

 Cheers,
 Taco

Aditya, thanks for your suggestion. This would allow us not only to  
have per-chapter bibliographies, but several bibliographies, if I  
understand you right? Would be a very useful thing, I agree, but the  
solution for my question turned out to be a lot easier.

Thanks, and best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2006-09-07 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 Taco,
 
 I played some more with the patched version you sent yesterday, and  
 everything seems to be working as desired, thanks a lot! So, AFAICS,  
 this is ready to roll and become part of the module.

Thanks for testing. I'll update contextgarden shortly.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2006-09-06 Thread Taco Hoekwater

Hi guys,

Aditya Mahajan wrote:
 On Tue, 5 Sep 2006, Thomas A. Schmitz wrote:
 
 
Dear all (and esp. Taco),
Maybe a bit of background, and please tell me if you think this is a
stupid idea: every term, I have to prepare lists of references for my
several classes, and there usually is a lot of repetition and
overlap. So I'm dreaming of having one big bibtex database and
producing the lists via assorted \nocite commands. But i usually
split up these bibliographies into several sections, and I want all
items numbered in sequence, so I have in my source:

This should work except that the numbers in the second
\placepublications will probably restart at 1 with the
current version.  That would be easy to fix, so if you
send me a small test file I can easily add a no-reset
switch.

 I do not know anything about feasibility, but have a suggestion for 
 the input syntax. How about if there is
 
 \definecitemethod[one]
 \definecitemethod[two]

I have to think about that. It sounds useful, but I am not
sure off-hand how to make it work.

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] multiple bibliographies

2006-09-05 Thread Thomas A. Schmitz
Dear all (and esp. Taco),

in March 2005, there was a discussion about having multiple  
bibliographies in one document, very much like with the LaTeX package  
chapterbib. I may be missing something obvious, but I'm wondering  
whether this is now possible with Taco's module.

Maybe a bit of background, and please tell me if you think this is a  
stupid idea: every term, I have to prepare lists of references for my  
several classes, and there usually is a lot of repetition and  
overlap. So I'm dreaming of having one big bibtex database and  
producing the lists via assorted \nocite commands. But i usually  
split up these bibliographies into several sections, and I want all  
items numbered in sequence, so I have in my source:

\section{One}

\nocite[myfirst] \nocite[mysecond]

\placepublications

\section{Two}

\nocite[mythird] \nocite[myfourth]

\placepublications


to get this output:



  A. One

[1] myfirst publication

[2] mysecond publication



  B. Two

[3] mythird publication

[4] myfourth publication


Is this reasonable? feasible? Or should I just use the old approach  
and copy/paste the same references into \itemize lists? Help and  
opinions appreciated!

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] multiple bibliographies

2006-09-05 Thread Aditya Mahajan
On Tue, 5 Sep 2006, Thomas A. Schmitz wrote:

 Dear all (and esp. Taco),
 Maybe a bit of background, and please tell me if you think this is a
 stupid idea: every term, I have to prepare lists of references for my
 several classes, and there usually is a lot of repetition and
 overlap. So I'm dreaming of having one big bibtex database and
 producing the lists via assorted \nocite commands. But i usually
 split up these bibliographies into several sections, and I want all
 items numbered in sequence, so I have in my source:

 \section{One}

 \nocite[myfirst] \nocite[mysecond]

 \placepublications

 \section{Two}

 \nocite[mythird] \nocite[myfourth]

 \placepublications


I do not know anything about feasibility, but have a suggestion for 
the input syntax. How about if there is

\definecitemethod[one]
\definecitemethod[two]

after which you can do

\cite[method=one][myfirst] or
\nocite[method=one][mysecond]

and also

\cite[method={one,two}][ref]

and so on.

And to obtain a list of bibliographies, do

\placepublications[method=one]


I am not sure whether this is same as how criteria works right now.


Do you think that a syntax like this makes sense?


Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context