<biblio> - entry: how to correctly populate it with entries (author, title, journal, etc)

111 views
Skip to first unread message

Klaus Krtschil

unread,
Feb 24, 2022, 9:43:24 AM2/24/22
to PreTeXt support
Does anyone know how to enter correctly the details for a <biblio> entry for the bibliography?
The documentation is not detailed about that and the schema documentation is not helpful.

Thanks

Rob Beezer

unread,
Feb 24, 2022, 11:03:02 AM2/24/22
to pretext...@googlegroups.com
Dear Klaus,

More once I'm out of a meeting.

Can you search the "sample article" source for

type="bibtex"

for new examples?

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com
> <mailto:pretext-suppo...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pretext-support/bf9c1229-92b0-409b-b045-1da55d383399n%40googlegroups.com
> <https://groups.google.com/d/msgid/pretext-support/bf9c1229-92b0-409b-b045-1da55d383399n%40googlegroups.com?utm_medium=email&utm_source=footer>.

David Farmer

unread,
Feb 24, 2022, 11:07:40 AM2/24/22
to 'Klaus Krtschil' via PreTeXt support

There was a recent change that is not documented.

Here is an example bibliographic entry in something I am writing:

<biblio type="bibtex" xml:id="CF">
<author>J. B. Conrey and D. W. Farmer</author>
<title>Mean values of <m>L</m>-functions and symmetry</title>
<journal>Internat. Math. Res. Notices</journal>
<year>2000</year>
<volume>17</volume>
<pages start="883" end="908"/>
</biblio>

Note that the output is not actually bibtex, but eventually
it will be.
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt support"
> group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> pretext-suppo...@googlegroups.com.
> groups.com.
>
>

Rob Beezer

unread,
Feb 24, 2022, 12:50:22 PM2/24/22
to pretext...@googlegroups.com
Dear Klaus,

PreTeXt has many areas where it could *improve*, but I'd say "biblio" is the
only *glaring deficiency*. It is held up by the desire to write a Citation
Style Language processor, which is a huge job, and would be an outstanding feature.

type="raw" is the crappy minimalist first pass. Almost worst than no markup at
all. But it'll make output "look" good. OK, passable.

type="bibtex" is David Farmer's re-do that is at least totally structured.
While we wait for true BiBTeX output, I'm sure David and I can add some more
elements.

There is a pre-processor feature to populate bibliographies from a main file.
But the original proposer never tested it, so it is in limbo right now.

Thanks for your patience. I hope you can make-do with the above. Are you doing
something where the bibliography is critical, or just (properly!) trying to get
it right with what we have?

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com

Klaus Krtschil

unread,
Feb 24, 2022, 3:38:09 PM2/24/22
to PreTeXt support
Hi Rob,
thanks, I think I succeeded for what I was looking for:
The <biblio> entries produce good output in HTML with the default setting. After I found the type="bibtex" parameter the PDF output was acceptable (similar to the HTML output).

This is not critical as I am learning to use pretext (no project in mind).
I was just wondering whether the PDF output could be done according to LATEX/BIBTEX standards with the respective details in the <biblio> entry (author[s], title, journal etc) so that the build process automatically does the proper formatting.

I created such an <biblio> entry with identical output for PDF and HTML. I am not sure whether the details of the formatting are correct as I am not an expert for bibiographic layout/formatting.

                <biblio type="bibtex"  xml:id="ua-1">
                    <author>xxxxxx, xx</author>
                    <author>yyyyyy, hhh</author>
                    <title>sssss ,sssss ss</title>
                    <publisher>AMS</publisher>
                    <year>2000</year>
                    <volume>83</volume>
                    <number>6</number>
                    <pages>467–469</pages>
                </biblio>

Thanks again and keep the good work going.
Klaus

David Farmer

unread,
Feb 24, 2022, 3:55:05 PM2/24/22
to 'Klaus Krtschil' via PreTeXt support

Dear Klaus,

We want to do proper PDF output based on LaTeX/Bibtex, but that has
not been implemented yet and nobody is currently working on it.

What we have now is a compromise which is capable of giving
adequate output. Since it is NOT bibtex:

a) You have to put the text in the fields exactly how it should
appear in the output. (I think that means one author field,
written exactly how it will be in the output. If you want
Firstname Lastname, you have to put it that way.)

b) Similar issue for "pages" and other fields.

c) Those fields help give proper formatting (italics, bold, etc)
but do not do the magic things bibtex does.

If you need a field which is not there, we can add it.

If you compare what you have in the source to what you get in
the HTML or PDF, it should be possible to make it work.

Things will stay this way until someone decides to make it
their priority to "do it right". Or until some organization
gives us a lot of money and we can pay someone to do it.

What we have now is just what I needed for a paper I am writing.

Regards,

David
> pretext-suppo...@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/pretext-support/63d92943-b00a-48ca-aaa2-82f320474ee7n%40google
> groups.com.
>
>
Reply all
Reply to author
Forward
0 new messages