Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle=bold, numberstyle=bold, numbercommand=Chapter , textcommand={\bfc}, after={\blank[4*big]}] But this doesn't give a newline after the chapter number. If I change textcommand={\bfc}, to textcommand={\\ \bfc}, I do get a newline, but then the chapter title is not aligned to the left side of the document? Even if I try to left aline this it does seem work. :( What I'm I missing here? Thanks a lot! grtz, --Miek -- today's fortune: Chemist who falls in acid is absorbed in work.
Miek Gieben wrote:
Hello,
I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document.
Right now I'm working on the chapter def and I have:
\definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle=bold, numberstyle=bold, numbercommand=Chapter , textcommand={\bfc}, after={\blank[4*big]}]
But this doesn't give a newline after the chapter number. If I change
textcommand={\bfc}, to textcommand={\\ \bfc},
I do get a newline, but then the chapter title is not aligned to the left side of the document? Even if I try to left aline this it does seem work. :(
What I'm I missing here?
use \def\MyHeadCommand#1#2% {\vbox{#1\par#2}} with command=\MyHeadCommand Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Taco,
after installing the new version of ConTeXt and your bib-module
\placepublications resp. \completepublications do not work any more.
Please give me a hint what I have to do.
Thanks for help
Bernd
log-file:
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en
2004.11.6) 7 NOV 2004 11:29
entering extended mode
(/usr/local/share/texmf/web2c/natural.tcx)
**&cont-en buch.tex
(./buch.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2004.10.28 fmt: 2004.11.6 int: english mes: english
systems : pdfTeX version 110 -> please update
systems : eTeX version 201 -> too old (bugs)
--- snip ---
system : macros of module bib loaded
(/usr/local/share/texmf/tex/context/bib/t-bib.tex
system : macros of module list loaded
(/usr/local/share/texmf/tex/context/bib/t-list.tex)
publications : loading formatting style from bibl-apa
(/usr/local/share/texmf/tex/context/bib/bibl-apa.tex))
\openout0 = `buch.aux'.
publications : wrote a new auxiliary file buch.aux
publications : loading formatting style from bibl-apa
(/usr/local/share/texmf/tex/context/bib/bibl-apa.tex)
Hi Bernd,
I believe you have to insert
\setuppublicationlist[criterium=all]
in your preamble.
I still do not fully understand why though.
Bernd Militzer
after installing the new version of ConTeXt and your bib-module \placepublications resp. \completepublications do not work any more. Please give me a hint what I have to do.
Hi Taco, oops, that was my problem \setuppublicationlist[criterium=all] How can I change the word 'and' to 'und' and 'pages' to 'Seite' in the publication list? thanks Bernd
Hi Bernd, For now, you have to edit a local copy of bibl-apa.tex or bibl-aps.tex. I'll get back to you on the other problem Greetings, Taco Bernd Militzer wrote:
Hi Taco,
oops, that was my problem \setuppublicationlist[criterium=all]
How can I change the word 'and' to 'und' and 'pages' to 'Seite' in the publication list?
Hi Taco, I did: cp bibl-apa.tex bibl-apaD.tex cp bibl-aps.tex bibl-apsD.tex edit the files for german (und for and; S. for pages) texhash \usemodule[bib] \setupbibtex[database=mt-quellen,sort=author] % \setuppublications[alternative=apaD] That's now perfect fort me, thanks for your hint Greetings, Bernd
participants (4)
-
Bernd Militzer
-
Hans Hagen
-
Miek Gieben
-
Taco Hoekwater