ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bib module: multiple bibs and alphabetical order
@ 2005-10-03  0:03 Idris Samawi Hamid
  2005-10-07 14:36 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2005-10-03  0:03 UTC (permalink / raw)


1. Does t-bib now support multiple bibliographies? For past issues of the 
journal, I had to define a new bib-env file for each article that required a 
bibliography, otherwise the bibliography of, say, article two would include 
the bibliography for article one. Is there a general solution for this?

2. Can t-bib extract the references and place them in alphabetical order, or 
do I have to still organize my bbl files alphabetically by hand (I really hope 
not->)? Automatic alphabetizing bbl file data in the output has been one of my 
major wishes for t-bib.

If the above two are solved I can use a single master bbl file for the entire 
journal instead of multiple files, thus streamlinig much of my workflow.

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

* Re: bib module: multiple bibs and alphabetical order
  2005-10-03  0:03 bib module: multiple bibs and alphabetical order Idris Samawi Hamid
@ 2005-10-07 14:36 ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2005-10-07 14:36 UTC (permalink / raw)



Hi Idris,

Idris Samawi Hamid wrote:
> 1. Does t-bib now support multiple bibliographies? For past issues of the 
> journal, I had to define a new bib-env file for each article that required a 
> bibliography, otherwise the bibliography of, say, article two would include 
> the bibliography for article one. Is there a general solution for this?

I have uploaded a new beta for you.

   http://tex.aanhet.net/bib/m-bib-beta/20051007.zip

This beta should work with the example files you sent me, except
that you have to delete the

   \input articleX.bbl

lines. I'm not sure that your use of the project structure is
correct, so I'm equally unsure that a definitive version should
use the same solution as this beta, but for now it should be
more or less ok.

There is one bbl per article, but only one (global) list
of references & publications, so, for now, your bbl files
need to define bib items with unique keys. I hope this is
workable for now?

On the project structure: I believe a project file should be
pure virtual, so that: the components are the articles, the
product is the journal issue, and the project is the journals
entire lifespan.

Such a structure would need a different solution from the one
I have implemented now, so we may have to revisit this part
of the module in a few weeks. Is that ok?

> 2. Can t-bib extract the references and place them in alphabetical order, or 
> do I have to still organize my bbl files alphabetically by hand (I really hope 
> not->)? Automatic alphabetizing bbl file data in the output has been one of my 
> major wishes for t-bib.

The current module cannot do this, because it is unfeasible to do
sorting in TeX macros. I will investigate sorting through texutil
or something similiar, but that will need more than a few days/weeks
to implement, so definately will not be ready before tuesday.

Btw, if you use bibtex, then you can do

   \setupbibtex[sort=title]

because then bibtex does the sorting for me. :-)

> If the above two are solved I can use a single master bbl file for the entire 
> journal instead of multiple files, thus streamlinig much of my workflow.

In the new beta, also removed some spurious spaces in bibl-apa.tex
that sometimes created blank lines, and I've added that definition
of \noopsort for Giuseppe.

Cheers, Taco

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

* Re: bib module: multiple bibs and alphabetical order
  2005-10-07 17:16 Idris Samawi Hamid
@ 2005-10-07 21:25 ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2005-10-07 21:25 UTC (permalink / raw)


Idris Samawi Hamid wrote:
> Hi Taco,
> Thnx for working on this! I am confused about a couple of things though...
> 
> 
>>There is one bbl per article, but only one (global) list
>>of references & publications, so, for now, your bbl files
>>need to define bib items with unique keys. I hope this is
>>workable for now?
> 
> 
> In the examples I sent there was no global list. Are you saying that I need to
 >

> 
> Is this right or am I not getting it?-)

What I meant to say is that there is a single 'pubs' list
that is shared by all the articles. This list is built up
from the separate .bbl files, one per article, as before.

The typesetting of the publicationlist now has

    \setuppublicationlist[criterium=local]

and that is what ensures that only the citations within the current
product are actually typeset. The one thing you have to watch
out for is that when the different .bbl files define different
entries that use identically named keys, then you are in trouble.

> 
> Hmm, I have been treating each issue of the journal as a distinct project in 
> itself. Maybe for the next volume I'll try the more abstract approach. But I 
> don't understand how this issue affects the bib issue.

You can simply not use project files at all, just products
and components, and it will work (almost?) like it does
now.

>>Btw, if you use bibtex, then you can do
>>
>>  \setupbibtex[sort=title]
>>
>>because then bibtex does the sorting for me. :-)

> Do I have to go back to bibtex syntax?

Yes, and that's why it is not the best of ideas.

Cheers,
Taco

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

* Re: bib module: multiple bibs and alphabetical order
  2005-10-07 17:28 Idris Samawi Hamid
@ 2005-10-07 21:00 ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2005-10-07 21:00 UTC (permalink / raw)


Idris Samawi Hamid wrote:
>>===== Original Message From Taco Hoekwater <taco@elvenkind.com> =====
>>I have uploaded a new beta for you.
>>
>>  http://tex.aanhet.net/bib/m-bib-beta/20051007.zip
> 
> 
> "Not Found
> The requested URL /bib/m-bib-beta/20051007.zip was not found on this server."

oops .. wrong url.

   http://tex.aanhet.net/bib/m-bib-beta-20051007.zip

just run the files you sent me, and you will see what I meant
That's assuming I have the url right this time :-/


Taco

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

* RE: bib module: multiple bibs and alphabetical order
@ 2005-10-07 17:28 Idris Samawi Hamid
  2005-10-07 21:00 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2005-10-07 17:28 UTC (permalink / raw)


>===== Original Message From Taco Hoekwater <taco@elvenkind.com> =====
>I have uploaded a new beta for you.
>
>   http://tex.aanhet.net/bib/m-bib-beta/20051007.zip

"Not Found
The requested URL /bib/m-bib-beta/20051007.zip was not found on this server."

-)

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

* RE: bib module: multiple bibs and alphabetical order
@ 2005-10-07 17:16 Idris Samawi Hamid
  2005-10-07 21:25 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2005-10-07 17:16 UTC (permalink / raw)


Hi Taco,
Thnx for working on this! I am confused about a couple of things though...

>===== Original Message From Taco Hoekwater <taco@elvenkind.com> =====

>There is one bbl per article, but only one (global) list
>of references & publications, so, for now, your bbl files
>need to define bib items with unique keys. I hope this is
>workable for now?

In the examples I sent there was no global list. Are you saying that I need to

1. move my multiple bbl files into one global bbl file;

2. if one reference is used in more than one article, then that reference must 
be duplicated in the global bbl file but with a different key each time. That 
is, if [afghani60] is used in two articles, then I must do something like

\startpublication[k=afghani60-i,...

\startpublication[k=afghani60-ii,...

in the global file.

Is this right or am I not getting it?-)

>On the project structure: I believe a project file should be
>pure virtual, so that: the components are the articles, the
>product is the journal issue, and the project is the journals
>entire lifespan.

Hmm, I have been treating each issue of the journal as a distinct project in 
itself. Maybe for the next volume I'll try the more abstract approach. But I 
don't understand how this issue affects the bib issue.

>Such a structure would need a different solution from the one
>I have implemented now, so we may have to revisit this part
>of the module in a few weeks. Is that ok?

Ok, I appreciate all u've done up to now...

>> 2. Can t-bib extract the references and place them in alphabetical order, 
or
>> do I have to still organize my bbl files alphabetically by hand (I really 
hope
>> not->)? Automatic alphabetizing bbl file data in the output has been one of 
my
>> major wishes for t-bib.
>
>The current module cannot do this, because it is unfeasible to do
>sorting in TeX macros. I will investigate sorting through texutil
>or something similiar, but that will need more than a few days/weeks
>to implement, so definately will not be ready before tuesday.

That's ok, I have to work on the next issue right after the immediate (late) 
issue-)

>Btw, if you use bibtex, then you can do
>
>   \setupbibtex[sort=title]
>
>because then bibtex does the sorting for me. :-)

Does this mean that I have to create a global .bib file instead of a global 
.bbl file? Do I have to go back to bibtex syntax? I have have been creating 
bbl files by hand upto now...

By the way: I have been using mswincontext.zip as my stand-alone TeX 
installation, and no longer update fpTeX, etc. Since t-bib is a part of 
ConTeXt now, does it not make sense that BibTeX also be included, at least 
until it is no longer needed?

I'll test things shortly: 
Thnx for all your help!

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

end of thread, other threads:[~2005-10-07 21:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-03  0:03 bib module: multiple bibs and alphabetical order Idris Samawi Hamid
2005-10-07 14:36 ` Taco Hoekwater
2005-10-07 17:16 Idris Samawi Hamid
2005-10-07 21:25 ` Taco Hoekwater
2005-10-07 17:28 Idris Samawi Hamid
2005-10-07 21:00 ` Taco Hoekwater

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).