ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Experience on writing a thesis with MKIV
Date: Tue, 9 Dec 2008 16:49:57 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.00.0812091626040.17760@nqv-yncgbc> (raw)
In-Reply-To: <493EE1BF.4060704@elvenkind.com>

On Tue, 9 Dec 2008, Taco Hoekwater wrote:

> Aditya Mahajan wrote:
>> On Tue, 9 Dec 2008, Mohamed Bana wrote:
>> 
>>> sorry about the late reply, my minimals broke so i had to wait for a fix.
>>> 
>>> 
>>> t-bib-2008.12.01.zip
>>> 
>>> $ luatex --version
>>> This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown
>>> ....
>>> $ context --version
>>> MtxRun | main context file: 
>>> /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex 
>>> MtxRun | current version: 2008.11.10 21:40
>>> 
>>> http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq
>>> http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex
>> 
>> How are you compiling your files? Use "context thesis" and not "texexec 
>> --lua thesis" (texexec will run bibtex which will overwrite the existing 
>> bbl file, since you do not have any bib file, the bbl file will be empty).
>
> Please note that my latest upload to modules.contextgarden runs
> bibtex itself, in mkiv mode.

Ah, so that explains why Mohamed is not getting any citations. I was using 
"latest" minimals from yesterday which still have t-bib from 2008.10.27.

Taco, I also have a feature request for the bib module. Currently, 
\setupcite is defined as

\def\dosetupcite[#1][#2]%
   {\ifsecondargument
      \def\dodosetupcite##1{\getparameters[\??pv##1][#2]}%
      \processcommalist[#1]\dodosetupcite
    \else % default case
      \getparameters[\??pv\@@citedefault][#1]%
    \fi }

This means that if I say

\setupcite[compress=no], this option is only passed to the default cite 
command. This means that when interaction is enabled, (and the bibl-* file 
says compress=yes), we get no styles for other cite styles. Does it 
make sense to add a keyword "all" so that

\setupcite[all][...] is equal to
\setupcite
   [author,authoryear,authoryears,
    year,serial,authornum,page,short,type,doi,url,num]
   [...]


Also, can we add style and color options to \cite. These can be either 
passed to \setupinteraction in \docite or simply added using attributes in 
the output of \cite.

Mohamed, to get the references to work comment

\setupbibtex          [database={IEEEfull,../collection}, sort=author]

in macros.tex and add

\dousepublications[thesis]

You can also use the official way: \usepublications[thesis], but I think 
that this will cause warnings about redefined labels. Perhaps a better way 
would be to change thesis.bbl to say thesis-ref.bbl and then use 
\usepublications[thesis-ref].

Aditya
___________________________________________________________________________________
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:[~2008-12-09 21:49 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-27 16:35 Aditya Mahajan
2008-09-28 13:59 ` Hans Hagen
2008-09-28 15:45 ` Mikael Persson
2008-09-28 18:23   ` Hans Hagen
2008-09-28 19:06     ` Mikael Persson
2008-09-28 19:21       ` Aditya Mahajan
2008-09-28 19:34         ` Utopia and Fourier fonts (was: Experience on writing a thesis with MKIV) Wolfgang Schuster
2008-09-29  9:31           ` Mikael Persson
2008-09-29  9:56             ` Utopia and Fourier fonts Wolfgang Schuster
2008-09-29 13:34               ` Mikael Persson
2008-09-29 13:49                 ` Mojca Miklavec
2008-09-29 18:35               ` Mikael Persson
2008-09-29 20:22                 ` Wolfgang Schuster
2008-09-30  6:43                   ` Mikael Persson
2008-10-01 15:43                     ` Mikael Persson
2008-09-29  9:26     ` Experience on writing a thesis with MKIV Mikael Persson
2008-09-28 17:34 ` Mohamed Bana
2008-09-28 18:16   ` Listings (was: Experience on writing a thesis with MKIV) Wolfgang Schuster
2008-09-28 20:42     ` Listings Mohamed Bana
2008-09-28 21:23       ` Listings Wolfgang Schuster
2008-09-28 22:04         ` Listings Wolfgang Schuster
2008-09-30 16:37     ` Listings (was: Experience on writing a thesis with MKIV) Chen Shen
2008-09-30 17:15       ` Wolfgang Schuster
2008-10-01  3:44         ` Chen Shen
2008-10-02 17:38           ` Chen Shen
2008-09-30 20:35       ` Listings Hans Hagen
2008-10-02 21:27     ` Listings Mohamed Bana
2008-10-03  5:49       ` Listings Peter Münster
2008-10-04  1:11         ` Listings Mojca Miklavec
2008-12-07  2:28 ` Experience on writing a thesis with MKIV Mohamed Bana
2008-12-07  2:50   ` Aditya Mahajan
2008-12-08 23:19     ` Mohamed Bana
2008-12-09  0:40       ` Aditya Mahajan
2008-12-09  1:22         ` Sorting bug in context-alpha (was: Experience on writing a thesis with MKIV) Aditya Mahajan
2008-12-09  2:59         ` Experience on writing a thesis with MKIV Mohamed Bana
2008-12-09  3:26           ` Aditya Mahajan
2008-12-09 18:17             ` Mohamed Bana
2008-12-09 19:36               ` Aditya Mahajan
2008-12-09 21:23                 ` Taco Hoekwater
2008-12-09 21:49                   ` Aditya Mahajan [this message]
2008-12-10  9:24                     ` Taco Hoekwater
2008-12-11  2:20                     ` Mohamed Bana
2008-12-11  3:17                       ` Aditya Mahajan
2008-12-15  3:52                         ` Mohamed Bana
2008-12-09 14:18           ` Mojca Miklavec

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=alpine.LNX.2.00.0812091626040.17760@nqv-yncgbc \
    --to=adityam@umich.edu \
    --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).