Bibliography management in XHTML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matej Cepl

    Bibliography management in XHTML

    Hi,

    this is not strictly about HTML per se, but rather about its practical
    usage. I would like to write some articles (similar in structure to
    LaTeX article) with XHTML (Amaya?), but I am not sure how to operate
    with bibliographies. Certainly that I have all my references in BibTeX
    database. Is there any reasonable way how to emulate result of \cite
    and thebibliography section in XHTML. I don't mean in terms of HTML
    creation (probably <cite> and <dl> list would be OK for that), but in
    terms of authoring? Do you know about any reasonably simple way (on
    Unix, so I can use some scripts) to get data for citation, formate it,
    and create particular HTML stuff from bibliographic database (and if
    that is not in BibTeX format, how to convert it from BibTeX)?

    Thanks for any thoughts,

    Matej

    P.S.: Please Cc: me answers to email address, I will post brief
    summary to this list.
  • David Dorward

    #2
    Re: Bibliography management in XHTML

    Matej Cepl wrote:[color=blue]
    > Do you know about any reasonably simple way (on
    > Unix, so I can use some scripts) to get data for citation, formate it,
    > and create particular HTML stuff from bibliographic database (and if
    > that is not in BibTeX format, how to convert it from BibTeX)?[/color]

    Compare the best free open source Software Development Software at SourceForge. Free, secure and fast Software Development Software downloads from the largest Open Source applications and software directory

    Compare the best free open source Software Development Software at SourceForge. Free, secure and fast Software Development Software downloads from the largest Open Source applications and software directory

    [color=blue]
    > P.S.: Please Cc: me answers to email address, I will post brief
    > summary to this list.[/color]

    Ask on Usenet, see the answer on Usenet (and its a group, not a list)

    Comment

    • Matej Cepl

      #3
      Re: Bibliography management in XHTML

      David Dorward <dorward@yahoo. com> wrote in message news:<bqcj2r$4v 7$1$830fa79f@ne ws.demon.co.uk> ...[color=blue]
      > http://freshmeat.net/projects/bib2html/
      > http://freshmeat.net/projects/bib2htmlwkiri/[/color]

      Well, neither of these is what I asked for -- I do not need bib2html
      (there is plenty of them out there), but rather something similar to
      BibTeX itself, but that it would work with HTML page instead of
      ..tex/.aux file. So that for example, so when I would postprocess HTML
      page with this (or any other element, it doesn't matter):

      <mycite id="posner:SAR-1999">

      program would go to the BibTeX file and spit out something like:

      <cite>Posner (1999)</cite>

      and then add to the end of the file (inside the list which it would
      create):

      <li><em>Richa rd Posner</em>. Sex and Reason. Harvard University Press.
      Cambridge, MA. 1999</li>

      (or possibly something more logically structured like <dim
      class="citedref ">).

      Do you understand what I want?

      Thanks,

      Matej

      Comment

      • Nick Kew

        #4
        Re: Bibliography management in XHTML

        In article <35993bcb.03120 91413.1664bf5b@ posting.google. com>, one of infinite monkeys
        at the keyboard of cepl@surfbest.n et (Matej Cepl) wrote:[color=blue]
        > David Dorward <dorward@yahoo. com> wrote in message news:<bqcj2r$4v 7$1$830fa79f@ne ws.demon.co.uk> ...[color=green]
        >> http://freshmeat.net/projects/bib2html/
        >> http://freshmeat.net/projects/bib2htmlwkiri/[/color]
        >
        > Well, neither of these is what I asked for -- I do not need bib2html
        > (there is plenty of them out there), but rather something similar to
        > BibTeX itself, but that it would work with HTML page instead of
        > .tex/.aux file. So that for example, so when I would postprocess HTML
        > page with this (or any other element, it doesn't matter):[/color]

        This is a lot clearer than your original question.
        [color=blue]
        > <mycite id="posner:SAR-1999">
        >
        > program would go to the BibTeX file and spit out something like:
        >
        > <cite>Posner (1999)</cite>
        >
        > and then add to the end of the file (inside the list which it would
        > create):
        >
        > <li><em>Richa rd Posner</em>. Sex and Reason. Harvard University Press.
        > Cambridge, MA. 1999</li>[/color]

        If you want to build that into the web publishing process, you could
        define an XML namespace for <mycite> and whatever else you need, and
        run it under mod_xmlns.

        Alternatively if you only need static preprocessing (so that performance
        isn't an issue), a simple Perl script would probably be fine.

        In either case, the crux of the job is to define your language -
        assuming it extends beyond a single <mycite> element. Once you've
        got that it's straightforward .

        --
        Nick Kew

        In urgent need of paying work - see http://www.webthing.com/~nick/cv.html

        Comment

        Working...