[NTG-context] Content head

2009-01-28 Thread Wolfgang Werners-Lucchini
Hallo,

I would like to def a costum head, but I also want the
pure word 'Inhaltsverzeichnis' as content head.

I tryed:

\def\Vortrag#1#2{#1~Vortrag:~#2}%
\setuphead[chapter][command=\Vortrag ]
\definehead[contenthead][title]

\starttext

\contenthead{Inhaltsverzeichnis}
\placecontent

\chapter{Bla}
blub

\stoptext


But the content head is still prefixed with 'Vortrag:'.
What is the solution for this?

Gruß, Wolfgang
___
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
___


Re: [NTG-context] Content head

2009-01-28 Thread Wolfgang Schuster


Am 28.01.2009 um 12:24 schrieb Wolfgang Werners-Lucchini:


I would like to def a costum head, but I also want the
pure word 'Inhaltsverzeichnis' as content head.

I tryed:

\def\Vortrag#1#2{#1~Vortrag:~#2}%
\setuphead[chapter][command=\Vortrag ]
\definehead[contenthead][title]

\starttext

\contenthead{Inhaltsverzeichnis}
\placecontent

\chapter{Bla}
blub

\stoptext


But the content head is still prefixed with 'Vortrag:'.
What is the solution for this?


\setuphead
  [chapter]
  [numbercommand=\groupedcommand{}{~Vortrag:},
   distance=\spaceamount]

Viele Grüße,
Wolfgang

___
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
___


[NTG-context] minimals (please wait)

2009-01-28 Thread Mojca Miklavec
Hello,

I'm fixing some issues that have arised after server transition.
Please wait a bit with updating the minimals.

Thanks for understanding,
Mojca
___
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
___


Re: [NTG-context] minimals (please wait)

2009-01-28 Thread Mojca Miklavec
On Wed, Jan 28, 2009 at 1:17 PM, Mojca Miklavec wrote:
 Hello,

 I'm fixing some issues that have arised after server transition.
 Please wait a bit with updating the minimals.

The state should be back to normal. I hope that I didn't miss anything.

Mojca
___
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
___


[NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread J.A.J. Pater
The wiki suggests to make a macro: 
\def\onlinecite#1{\cite[left=,right=][#1]}

for inline citations.

However it says you can use this macro with: \onlinecite[myRef]

It works for me with: \onlinecite{myRef}

But not with \onlinecite[myRef] for in that case it produces: 
Xx, myRef]


Is the wiki wrong?
Or is something else wrong?

Thanks in advance,

Adriaan.
___
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
___


Re: [NTG-context] Bibtex problems

2009-01-28 Thread Pau
I don't know why, but doing this:

\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=cole]
%\setuppublications[numbering=yes, sort=author, criterium=all]

and then

\completepublications

then cleaning the garbage,

rm *mp* GW2.bib GW2.blg GW2.log GW2.bbl GW2.aux GW2.tmp GW2.tui GW2.tuo

fixed it...

anyway... I hope this helps somebody

Pau



2009/1/27 Pau vim.u...@googlemail.com:
 Hello,

 I have followed the indications of the wiki. In my document, I have:


 \usemodule[bib]
 \usemodule[bibltx]
 \setupbibtex[database=cole]
 \setuppublications[numbering=yes, sort=author, criterium=all]

 where cole.bib contains entries such as

 ---
 @ARTICLE{Baker07,
   author = {{Baker}, J.~G. and {Boggs}, W.~D. and {Centrella}, J. and
 {Kelly}, B.~J. and
{McWilliams}, S.~T. and {Miller}, M.~C. and {van Meter}, J.~R.
},
title = {Modeling Kicks from the Merger of Nonprecessing Black
 Hole Binaries},
  journal = {Astrophysical Journal},
   eprint = {arXiv:astro-ph/0702390},
  keywords = {Black Hole Physics, Galaxies: Nuclei, Gravitational
 Waves, Relativity},
 year = 2007,
month = oct,
   volume = 668,
pages = {1140-1144},
  doi = {10.1086/521330},
   adsurl = {http://adsabs.harvard.edu/abs/2007ApJ...668.1140B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
 }

 @ARTICLE{Baker08,
   author = {{Baker}, J.~G. and {Boggs}, W.~D. and {Centrella}, J. and
 {Kelly}, B.~J. and
{McWilliams}, S.~T. and {Miller}, M.~C. and {van Meter}, J.~R.
},
title = {Modeling Kicks from the Merger of Generic Black Hole Binaries},
  journal = {Astrophysical Journal},
 archivePrefix = arXiv,
   eprint = {0802.0416},
  keywords = {Black Hole Physics, Galaxies: Nuclei, Gravitational
 Waves, Relativity},
 year = 2008,
month = jul,
   volume = 682,
pages = {L29-L32},
  doi = {10.1086/590927},
   adsurl = {http://adsabs.harvard.edu/abs/2008ApJ...682L..29B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
 }
 ---

 Later in the ConTeXt document, I have

 \completepublications[criterium=all]

 Nevertheless, when I try to texexec it, I get:

 --
 Completed box being shipped out [11.10]
 Memory usage before: 12219652992; after: 3054650077; still untouched: 
 2428943

 title   : - References
 ! Undefined control sequence.
 \@@p...@journal -\apj

 argument ... \it \csname @@p...@journal\endcsname
  \egroup
 \firstoftwoarguments #1#2-#1

 \@@pvdataarticle ... } {\insertcrossref {In }{}{}}
  \insertvolume {, } {\inser...

 \dotypesetapublication ...ve {\getvalue {pbdt-#1}}
  \fi \egroup
 argument ...etapublication {2007ApJ...668.1140B}
  \strut
 ...
 l.906 \completepublications[criterium=all]
 ?
 ---

 \apj is the shortcut used in bibtex for Astrophysical Journal but, as
 you can see, I have substituted it for the full name everywhere in the
 cole.bib file

 As a matter of fact, and just in case of,

 grep 'apj' GW2.tex

 and

 grep 'apj' cole.bib

 yield nothing


 A bit more of information: This is

 spree(p3)| uname -a
 OpenBSD spree 4.4 GENERIC#1638 i386

 and

 spree(p3)| texexec -v
 TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

 The full output of texexec follows below. As you can see, there are a
 lot of warnings, but they look as they look when in LaTeX I compile
 for the first time the document. The warnings disappear when I
 recompile it, because it needs a second time. I'm not sure of the
 meaning in ConTeXt.

 Any hint?

 Help will be appreciated

 Pau

 -
 spree(p3)| texexec GW2.tex
 TeXExec | processing document 'GW2.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file GW2.top
 TeXExec | using randomseed 534
 TeXExec | tex engine: pdftex
 TeXExec | tex format: cont-en
 This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  %-line parsing enabled.
  (/usr/local/share/texmf/web2c/natural.tcx)
 entering extended mode
 (./GW2.tex

 ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2009.1.13  int: english/english

 language: language en is active
 system  : cont-new loaded
 (/usr/local/share/texmf-dist/tex/context/base/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 (/usr/local/share/texmf-dist/tex/context/base/cont-new.mkii)
 (/usr/local/share/texmf-dist/tex/context/base/cont-mtx.tex))
 system  : cont-old loaded
 (/usr/local/share/texmf-dist/tex/context/base/cont-old.tex
 loading : Context Old Macros
 )
 system  : cont-fil loaded
 

Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Aditya Mahajan

On Wed, 28 Jan 2009, J.A.J. Pater wrote:


I think I've got it.

The macro should be: \def\onlinecite[#1]{\cite[left=,right=][#1]}
- with [] around the first #1
now \onlinecite[myRef] works


You can remove the redunent [#1] from both sides.

\def\onlinecite{\cite[left=,right=]}

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
___


Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Pau
nice!

I have defined this to \def\citealt{\cite[left=,right=]}
for the equivalent

what's the equivalent in ConTeXt of citep??



2009/1/29 Aditya Mahajan adit...@umich.edu:
 On Wed, 28 Jan 2009, J.A.J. Pater wrote:

 I think I've got it.

 The macro should be: \def\onlinecite[#1]{\cite[left=,right=][#1]}
 - with [] around the first #1
 now \onlinecite[myRef] works

 You can remove the redunent [#1] from both sides.

 \def\onlinecite{\cite[left=,right=]}

 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
 ___




-- 
Let there be peace on earth. And let it begin with misc
___
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
___


Re: [NTG-context] BibTeX again: citing without parenthesis

2009-01-28 Thread Aditya Mahajan

On Thu, 29 Jan 2009, Pau wrote:


nice!

I have defined this to \def\citealt{\cite[left=,right=]}
for the equivalent

what's the equivalent in ConTeXt of citep??


What is \citep supposed to do?

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
___