ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wei-Wei Guo <wwguocn@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to use my own BibTeX style (bst)?
Date: Fri, 13 Mar 2009 09:15:43 +0800	[thread overview]
Message-ID: <49B9B3BF.5070804@gmail.com> (raw)
In-Reply-To: <49B95496.3060407@elvenkind.com>

Taco Hoekwater 写道:
> Wei-Wei Guo wrote:
>>>
>>
>> I'm still confused. Is it possible to use different bibl based on the 
>> value
>> of \lang. 
> 
> I am not sure what \lang is now, but you cannot get a different bibl
> file based on the current \language or \mainlanguage in the document.
> 

The \lang that I said is the entry field in \startpublications. It is listed
in the t-bib manual.

> I was talking about influencing one (or more) of the entries in the
> bibliography list based on the language of that actual entry. With
> quite some trickery, that could be made to work (but not easy either).
> 

Maybe it is better to provide a simple example. For example, I have try.bbl
as following.


   \startpublication[k=article-full,t=article,
   a={{Aamport},{}},y=1986,
   n=1,s=AAAA86]
   \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
   \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
   \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
   \artauthor[]{Leslie~A.}[L.~A.]{}{Aamport}
   \pubyear{1986}
   \arttitle{The gnats and gnus document preparation system}
   \journal{\mbox{G-Animal's} Journal}
   \volume{41}
   \issue{7}
   \pages{73--83}
   \month{7}
   \note{This is a full ARTICLE entry}
   \stoppublication

   \startpublication[k=c-article-full,t=article,
   a={{姓名一},{}},y=1986,
   n=2,s=XXXX86]
   \lang{chinese}
   \artauthor[]{}[]{}{姓名一}
   \artauthor[]{}[]{}{姓名二}
   \artauthor[]{}[]{}{姓名三}
   \artauthor[]{}[]{}{姓名四}
   \pubyear{1986}
   \arttitle{一篇文章的名字}
   \journal{一本杂志的名字}
   \volume{41}
   \issue{7}
   \pages{73--82}
   \month{7}
   \note{This is a full ARTICLE entry}
   \stoppublication


And I cite those two entries in my main text.


   English Bibliogrphy \cite[article-full].

   中文文献 \cite[c-article-full]。


I want to get


   English Bibliogrphy (Aamport, et al.,1986).
   中文文献(姓名一, 等, 1986)。


Could you give some clues about how to implement it?

Another question: How to get "Hoekwater(2009)" instead of "(Hoekwater, 2009)"?
I mean the equal command of \citet in LaTeX.


Best wishes,
Wei-Wei
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-03-13  1:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 17:22 Wei-Wei Guo
     [not found] ` <436429714.24327@zju.edu.cn>
     [not found]   ` <49B2ACE1.5010800@gmail.com>
     [not found]     ` <6faad9f00903090800v44877263te205e056cb28d282@mail.gmail.com>
     [not found]       ` <49B5363D.4060700@elvenkind.com>
2009-03-12 16:38         ` Wei-Wei Guo
2009-03-12 18:29           ` Taco Hoekwater
2009-03-13  1:15             ` Wei-Wei Guo [this message]
2009-03-13  8:09               ` Taco Hoekwater
2009-03-13 10:27                 ` Wei-Wei Guo
2009-03-13 17:30                   ` Taco Hoekwater
2009-03-14  4:23                     ` Wei-Wei Guo
2009-03-14  4:32                     ` What does "\c!" means? Wei-Wei Guo
2009-03-14  7:22                       ` Alan Stone
2009-03-14  7:25                         ` Taco Hoekwater
2009-03-14 14:44                           ` Wei-Wei Guo
2009-03-15 15:15                           ` Wei-Wei Guo
2009-03-15 15:38                             ` Wolfgang Schuster
2009-03-15 16:01                             ` Hans Hagen
2009-03-16  5:13                               ` Wei-Wei Guo

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=49B9B3BF.5070804@gmail.com \
    --to=wwguocn@gmail.com \
    --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).