From: Johannes Graumann <johannes_graumann@web.de>
Subject: Re: bib module/XML
Date: Wed, 29 Mar 2006 09:48:04 -0800 [thread overview]
Message-ID: <e0ehbc$em9$1@sea.gmane.org> (raw)
In-Reply-To: <442A401D.4050407@elvenkind.com>
[-- Attachment #1: Type: text/plain, Size: 2020 bytes --]
Taco Hoekwater wrote:
> I believe that should be:
>
> \defineXMLenvironment
> [content]
> {}{}
>
Thanks for your answer ... this didn't solve my problem see attachment ...
the relevant mapping code is:
\defineXMLenvironment
[chapter]
{
\defineXMLargument
[title]
{\chapter}
\defineXMLenvironment
[content]
{}{}
}
{\section{References}\placepublications}
\defineXMLenvironment
[section]
{
\defineXMLargument
[title]
{\section}
\defineXMLenvironment
[content]
{}{}
}
{}
\defineXMLargument
[cite]
{\cite[\XMLpar{cite}{key}{}][\XMLpar{cite}{id}{}]}
XML for this bit looks as follows:
<chapter>
<title>Introduction</title>
<content>
<section>
<title>The problem of the complex protein mixture</title>
<content>
<p>
<cite id="gott:00" key="authoryear"/><cite id="storz:02"
key="authoryears"/>
</p>
</content>
</section>
<section>
<title>
Multidimensional Protein Identification Technology
</title>
<content>
</content>
</section>
<section>
<title>The Ubiquitin&endash;Proteasome System</title>
<content>
</content>
</section>
<section>
<title>Cdc48p</title>
<content>
</content>
</section>
</content>
</chapter>
>> 2) I'm a biologist and author/year citation is usus where I work. The
>> options 'authoryear' ('Hoekwater (2006)') and 'authoryears' ('(Hoekwater,
>> 2006)') are great, but I would also want to have the option to prepend
>> the latter with something like 'e.g.' ('(see e.g. Hoekwater, 2006)'). I
>> understand this is possible to the right of the actual citation
>> with 'extras', but how difficult would it be to do that on the left?
>
> You can use the 'left' parameter, just don't forget to include a '('
> at the start of it.
I see .. thanks for pointing that out!
Joh
[-- Attachment #2: PhD-Thesis.pdf --]
[-- Type: application/pdf, Size: 29194 bytes --]
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2006-03-29 17:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 0:38 Johannes Graumann
2006-03-29 8:06 ` Taco Hoekwater
2006-03-29 17:48 ` Johannes Graumann [this message]
2006-03-30 18:20 ` Johannes Graumann
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='e0ehbc$em9$1@sea.gmane.org' \
--to=johannes_graumann@web.de \
--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).