Re: [NTG-context] Probelm with \defineenumeration
Beste Willi, Attached PDF shows my version context does it right. Karel. Hi everybody, While trying to setup a simple literature reference list I encounter the following problem: I have defined an enumeration. After typesetting the enumerated list I get on the first line the enumeration text and lost and alone in front of the second line the enumeration number. Is this something I do in a wrong way or is there a bug? Please try the minimal example below Kind regards Willi \setupoutput[pdftex] \defineenumeration [Literatur] [location={left,serried}, style=\em, width=broad, distance=12pt, headstyle=\tfx, text=\em, left={[}, right={]}, inbetween={\blank[small]}, after={\blank[small]}] \starttext \Literatur[Wiese1964] F. Wiese. Buchbinden. 1964. \Literatur[Goddijn1994] P.Goddijn. Het restaureren van boeken. Koninglijke Bibliotheek, Den Haag.1994. \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. File information --- File: egger.pdf Date: 19 Sep 2003, 8:40 Size: 20848 bytes. Type: Unknown egger.pdf Description: Binary data
[NTG-context] texexec --help
Hi, yesterday i've updated context and was surprised that texexec --help only shows: [EMAIL PROTECTED] context]$ texexec --help TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 --arrange process and arrange --batch run in batch mode (don't pause) --centerpage center the page on the paper --color enable color (when not yet enabled) --environment load some environments first =name : list of environments --fast skip as much as possible --figures typeset figure directory =a: room for corrections =b: just graphics =c: one (cropped) per page --nonstop run in non stop mode (don't pause) --usemodule load some modules first =name : list of modules --xmlfilter apply XML filter =name : list of filters Even 'texexec --help interface' results in no message at all. How can i get the remaining command line options listed? Thanks. Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Expert version: How to make empty pages by default empty?
Hi Steffen, I could not confirm the following in the ConTeXt source code (could not find the definition), but I might be remembering a similar case, where I wanted special setups for chapters and wondered why the contents were shown differently. As far as I remember, I solved it by using \setuphead not only for chapter, but also for title (and/or some others?), so this might help for your problem as well ... For some reason the example you provided does not work at all for me (there is no page break before chapters; perhaps my ConTeXt is too old), so I'm sorry, I could not test this suggestion. On Thu, 18 Sep 2003, Steffen Wolfrum wrote: while Patrick Gundlach could provide me a solution for all chapters in one file there still is no idea how to do it within the project structure. See for example the following: The generated empty pages after the TOC (page 2), and after the last chapter (14 and 15) all have pagenumbers. Quite ugly. How to get rid of them? How to make empty pages by default empty? Steffen Minimal Example: \definepagebreak [chapter] [yes,header,right] \setuphead [chapter] [page=chapter, ] \setuppagenumbering[alternative=doublesided] \setupsectionblock[frontmatter][page=chapter] % doesn't work \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \stopbodymatter \stoptext -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Expert version: How to make empty pages by default empty?
Holger Schöner [EMAIL PROTECTED] writes: Hi, For some reason the example you provided does not work at all for me (there is no page break before chapters; perhaps my ConTeXt is too old), so I'm sorry, I could not test this suggestion. how old is your ConTeXt Version? It must be more than one year old (that is if my memory serves me right). Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: latin-modern font
Hello Jean-Pierre, What should I do for using this font under Context ? Do I need to write typescript files or is it possible to use it in a very simple manner ? see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts for general installation intstruction. You should use a recent ConTeXt version and my test file. Thats about it. If you experience any problems with ConTeXt/lmodern you should post the complete output of a minimal test file. HTH, Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Probelm with \defineenumeration
Willi Egger [EMAIL PROTECTED] writes: Hello Willi, Is this something I do in a wrong way or is there a bug? I did not look into it yet, but I can confirm that I get the same error with the latest ConTeXt version. So I think that there must be some bug. Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --help
On Fri, Sep 19, 2003 at 09:52:54AM +0200, Jens-Uwe Morawski wrote: yesterday i've updated context and was surprised that texexec --help only shows: [EMAIL PROTECTED] context]$ texexec --help Try texexec --help all There is somewhere a bug hidden in the new help system since this is never shown: --help overview of all options and their values\n . --help all all about all options\n . --help short just the main options\n .--help mode ... pdf all about a few options\n . --help '*.pdf' all about options containing 'pdf'\n; I also encountered a bug: Use of uninitialized value in integer gt () at/home/tburnus/bin/texexec line 903. Use of uninitialized value in integer gt () at/home/tburnus/bin/texexec line 903. Patch: --- /home/tburnus/texmf/context/perltk/texexec.pl Tue Sep 16 20:57:04 2003 +++ texexec.pl Fri Sep 19 11:54:40 2003 @@ -900,9 +900,11 @@ my $JobName = shift; my $MPfile= shift; my $MPJobName = ''; -if ( -s $JobName-$MPfile.mp 100 ) { $MPJobName = $JobName-$MPfile.mp } -elsif ( -s $MPfile.mp 100 ) { $MPJobName = $MPfile.mp } -else { $MPJobName = } +if ( -e $JobName-$MPfile.mp -s $JobName-$MPfile.mp 100 ) { + $MPJobName = $JobName-$MPfile.mp +} elsif ( -e $JobName-$MPfile.mp -s $MPfile.mp 100 ) { + $MPJobName = $MPfile.mp +} else { $MPJobName = } return $MPJobName; } Tobias ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Soul Package in ConTeXt
Patrick Gundlach [EMAIL PROTECTED] writes: this is because in core-mis.tex, ConTeXt defines \documentclass. I wonder why. Actually, I still wonder why. Could anyone enlighten me? Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Expert version: How to make empty pages by default empty?
On Fri, 19 Sep 2003, Patrick Gundlach wrote: Holger Schöner [EMAIL PROTECTED] writes: For some reason the example you provided does not work at all for me (there is no page break before chapters; perhaps my ConTeXt is too old), so I'm sorry, I could not test this suggestion. how old is your ConTeXt Version? It must be more than one year old (that is if my memory serves me right). Not quite that much: ConTeXt ver: 2003.2.11 fmt: 2003.4.4 int: english mes: english and what I was wondering about is, that the command \definepagebreak exists, and I cannot find an error message; so I do not know, where it breaks. But I did not have time to investigate, and am planning to update anyway, when the new TexLive is out ... -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Probelm with \defineenumeration
Willi Egger [EMAIL PROTECTED] writes: Hi everybody, While trying to setup a simple literature reference list I encounter the following problem: I have defined an enumeration. After typesetting the enumerated list I get on the first line the enumeration text and lost and alone in front of the second line the enumeration number. Is this something I do in a wrong way or is there a bug? K.H. Wesseling [EMAIL PROTECTED] writes: Beste Willi, Attached PDF shows my version context does it right. Karel. Patrick Gundlach [EMAIL PROTECTED] writes: I did not look into it yet, but I can confirm that I get the same error with the latest ConTeXt version. So I think that there must be some bug. Dear Willi, Karel and Patrick, I tried your example and got the same misaligned result as yourself and Patrick. However when I made text=, it aligned properly but your number, of course, is not in italics. This may help people who are in a position to know what is going on. Charlie Doherty ConTeXt ver: 2003.8.8 fmt: 2003.8.18 int: english mes: english \defineenumeration [Literatur] [location={left,serried}, style=\em, width=broad, distance=12pt, headstyle=\tfx, text=, left={[}, right={]}, inbetween={\blank[small]}, after={\blank[small]}] \starttext \Literatur[Wiese1964] F. Wiese. Buchbinden. 1964. \Literatur[Goddijn1994] P.Goddijn. Het restaureren van boeken. Koninglijke Bibliotheek, Den Haag.1994. \stoptext pastedGraphic1.pdf Description: Adobe PDF document Best wishes, Charlie Doherty ** Charles Doherty, Department of Early Irish History, University College Dublin, Belfield, Dublin 4 Ireland Telephone +353 1 7168381
Re: [NTG-context] OT: MP source docu
At 21:11 18/09/2003 +0200, you wrote %M \definecolor [colorprettyone] [r=1] %M \definecolor [colorprettytwo] [g=1] %M \definecolor [colorprettythree] [b=1] %M \definecolor [colorprettyfour] [r=1,b=1] this should come after the section with \module ... since this hasn't changed anything, i added %M \definepalet %M [MPcolorpretty] %M [ prettyone=colorprettyone, %Mprettytwo=colorprettytwo, %Mprettythree=colorprettythree, %Mprettyfour=colorprettyfour] still results in the default gray palet. did you use --mode=color ? or add %M \setupcolors[state=start] Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Probelm with \defineenumeration
At 20:13 18/09/2003 +0200, you wrote: I have defined an enumeration. After typesetting the enumerated list I get on the first line the enumeration text and lost and alone in front of the second line the enumeration number. Is this something I do in a wrong way or is there a bug? hm, this is due to the fact that the [ ] are not taken into the width calculations. This problem was introduced some time ago when i made a slightly more advanced width multiline calculator. In your case it's also triggered by text=\em which should be textstyle=\em (now an extra space is added between the text and number) The next alternative fixes the width calculation. \def\@@dostartdefinitie#1[#2]#3% {\getvalue{\??dd#1\c!voor}% \begingroup \doadaptleftskip{\getvalue{\??dd#1\c!marge}}% \showcomposition \!!widthb\getvalue{\??dd#1\c!afstand}\relax \ifdim\!!widthb=\zeropoint\relax \doifvalue{\??dd#1\c!breedte}\v!ruim{\!!widthb=1em}% \fi % temp hack, we need to avoid this kind of preprocessing \setbox\@@definitiebox\hbox % preroll {\forgetall \trialtypesettingtrue \mindermeldingen \def\\{\crcr}% \@@definitiewoord{#1}[#2]{#3}% {\begstrut\getvalue{\??dd#1\c!tekst}\ignorespaces#3\endstrut}}% % so far \assignwidth {\!!widtha} {\getvalue{\??dd#1\c!breedte}} {\doifelsevaluenothing{\??dd#1\c!monster} {% preroll can move here (test first) \ifhbox\@@definitiebox\unhcopy\else\copy\fi \@@definitiebox} {\@@definitiewoord{#1}[#2]{#3}% {\getvalue{\??dd#1\c!tekst}\getvalue{\??dd#1\c!monster {\!!widthb}% \setbox\@@definitiebox\hbox {\forgetall \mindermeldingen \let\\\endgraf \doifelsevalue{\??dd#1\c!plaats}\v!aanelkaar {\@@definitiewoord{#1}[#2]{#3}% {\begstrut\getvalue{\??dd#1\c!tekst}#3\endstrut}} {\@@definitiewoord{#1}[#2]{#3}% {\vtop{\hsize\!!widtha\advance\hsize-\!!widthb \begstrut\getvalue{\??dd#1\c!tekst}\ignorespaces#3\endstrut% \doifelsevalue{\??dd#1\c!titeluitlijnen}\v!nee {\edef\@@leftdefinitieskip {\the\leftskip }% \edef\@@rightdefinitieskip{\the\rightskip}} {\ifcase\insidedefinition \edef\@@leftdefinitieskip {\the\leftskip }% \edef\@@rightdefinitieskip{\the\rightskip}% \fi}% \expanded{\inspringen[\getvalue{\??dd#1\c!inspringen}]}% \ifcase\insidedefinition % better a system mode \chardef\insidedefinition\plusone \or \chardef\insidedefinition\plustwo \fi} % now happens elsewhere : \noindent\ignorespaces - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] special _______________________ headertexts
At 09:01 19/09/2003 +0200, you wrote: Hi! As usually chick got a problem which seems to have easy answer. Let's say I want to set header/footer text which has the following order: chaptername _ pagenumber I tried \setupheadertexts[\thinrule] \setupheadertexts[chapter][pagenumber][pagenumber][chapter] but that is not what I really need. Chaptername and pagenumber are underlined by thinrule and I want to separate thinrule and text with given glue/kern. I hardly try to avoid construction such as: \setupheadertexts[\ifodd\pageno\line{\chaptername \hrulefill \pagenumber}\else...\fi] where \chaptername is a previously defined reference to chapter title... Is there any other way to do that? I'm sure there is... simple way: \setupheadertexts[\hbox to \hsize{\getmarking[chapter]\hrulefill\pagenumber}] clever way: \startsetups[left header] \hbox to \hsize \bgroup \getmarking[chapter] \quad \hrulefill \quad \pagenumber \egroup \stopsetups \startsetups[right header] \hbox to \hsize \bgroup \pagenumber \quad \hrulefill \quad \getmarking[chapter] \egroup \stopsetups \setuppagenumbering [alternative=doublesided] \setupheadertexts [] \setupheadertexts [\setups{left header}] [] [] [\setups{right header}] % prettier way \startsetups[left header] \hbox to \hsize \bgroup \doiftext{\quad \getmarking[chapter]} \hrulefill \quad \pagenumber \egroup \stopsetups \startsetups[right header] \hbox to \hsize \bgroup \pagenumber \hrulefill \quad \doiftext{\quad \getmarking[chapter]} \egroup \stopsetups \starttext \chapter{test} \input ward \chapter{test} \input ward \chapter{test} \input ward \stoptext - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --help
At 12:03 19/09/2003 +0200, you wrote: -if ( -s $JobName-$MPfile.mp 100 ) { $MPJobName = $JobName-$MPfile.mp } -elsif ( -s $MPfile.mp 100 ) { $MPJobName = $MPfile.mp } -else { $MPJobName = } +if ( -e $JobName-$MPfile.mp -s $JobName-$MPfile.mp 100 ) { + $MPJobName = $JobName-$MPfile.mp +} elsif ( -e $JobName-$MPfile.mp -s $MPfile.mp 100 ) { ^ delete this + $MPJobName = $MPfile.mp +} else { $MPJobName = } ok, i fixed this, btw, your patch introduces a new bug -) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Probelm with \defineenumeration
At 11:21 19/09/2003 +0100, you wrote: I tried your example and got the same misaligned result as yourself and Patrick. However when I made text=, it aligned properly but your number, of course, is not in italics. This may help people who are in a position to know what is going on. text= is for a label and willy used it for a style switch (textstyle=..) so a space was introduced; this makes the text too wide and wrap (resulting in a linebreak) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Soul Package in ConTeXt
At 12:07 19/09/2003 +0200, you wrote: Patrick Gundlach [EMAIL PROTECTED] writes: this is because in core-mis.tex, ConTeXt defines \documentclass. I wonder why. Actually, I still wonder why. Could anyone enlighten me? as a trigger point for a message Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --help
On Fri, 19 Sep 2003 12:03:03 +0200 Tobias Burnus [EMAIL PROTECTED] wrote: On Fri, Sep 19, 2003 at 09:52:54AM +0200, Jens-Uwe Morawski wrote: yesterday i've updated context and was surprised that texexec --help only shows: [EMAIL PROTECTED] context]$ texexec --help Try texexec --help all this only shows some few more options, but still not all. For example '--help pdf' should show many options, i.e. --pdf, --pdfarange, --pdfselect, but it only gives: [EMAIL PROTECTED] jens]$ texexec --help pdf TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 There is something wrong in the help system... Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] new version again
Hi, I again uploaded a new version. The reason for this is: (a) a couple of fixes but more important (b) updated texexec's / texutil's / texfont's, esp for windows users; fabrice is putting lot of effort to get the perl things working under windows with spacy paths so please let us know if thinsg run wrong (we may be able to fix things before the win32 texlive binaries are frozen and (c) support for the fourier fonts. in http://www.pragma-ade.com/context/texmf-extra.tar you can find the fonts; these will go on the coming texlive/ctan dvd (but not in the tex live main tree) therefore the extra prefix. Of course you can copy the extra tree over your local tree (don't forget mltexlsr). Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] OT: MP source docu
On Fri, 19 Sep 2003 13:42:05 +0200 Jens-Uwe Morawski [EMAIL PROTECTED] wrote: However, now the problem is, that the \definecolor's have no effect. The colors used are always the same. What typing mode is used internally, so that i can assign the palet to that mode: \setuptyping[typing mode][palet=my palet] I tried 'MP' and 'definition' for typing mode without success. hmm, when i load the definitions using an environment file texexec --env=print-env --module ... it works. Setting up the print version this way seems to me more appropriate. Thus, i'm happy now! Many thanks, Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Soul Package in ConTeXt
Hi, this is because in core-mis.tex, ConTeXt defines \documentclass. I wonder why. Actually, I still wonder why. Could anyone enlighten me? as a trigger point for a message You mean the system : try LaTeX message? Would it break anything to remove the LaTeX check? Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \indenting[*hang*] ?!
Hi, Is there a way to have something like \indenting[hang] ? With the first line not indented, but the second and following lines? First I thought this is what is ment by \indenting[next], but \indenting[next] seems to be exactly the same as \indenting[first], is this right? Always happy for replies, Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Expert version: How to make empty pages by default empty?
At 10:05 19/09/2003 +0200, you wrote: Hi Steffen, \definepagebreak [chapter] [yes,header,right] \definepagebreak [chapter] [empty,header,right] since yes+right in your case equals right; think of yes yes yes == yes and right right right ... being notthing when already on right previous versions of context used to do a more hard coded pagebreak at section blocks (but i got so many complaints about that that i softened it) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --help
At 12:40 19/09/2003 +0200, you wrote: There is something wrong in the help system... i'll leave that to Wybo (when he's back from vacation) Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] (no subject)
Jens-Uwe Morawski [EMAIL PROTECTED] wrote: On Fri, 19 Sep 2003 11:38:03 +0200 Patrick Gundlach [EMAIL PROTECTED] wrote: Holger Schöner [EMAIL PROTECTED] writes: For some reason the example you provided does not work at all for me (there is no page break before chapters; perhaps my ConTeXt is too old), so I'm sorry, I could not test this suggestion. how old is your ConTeXt Version? It must be more than one year old (that is if my memory serves me right). AFAIK No. Yesterday before my update to the current beta i tested the example and it did not work. The version installed was from july this year. With the current beta it works, but gives in the bad result Steffen mentioned if \[start|stop][front|body]matter is present in the file. Esp. that it adds an empty odd page 15. Without those *matter's it works as expected. Jens Thank you. But no project structure without matters. So what to do now? Is there some help from above? Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Expert version: How to make empty pages by default empty?
Hi Hans, Hans Hagen [EMAIL PROTECTED] writes: \definepagebreak [chapter] [empty,header,right] could you explain in a few words what these keywords mean and how they should be used? I can imagine what right is doing. Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Expert version: How to make empty pages by default empty?
Hi again, \definepagebreak [chapter] [empty,header,right] I don't get it: == \definepagebreak [chapter] [empty,header,right] \setuphead [chapter] [page=chapter, ] \setuppagenumbering[alternative=doublesided] \setupsectionblock[frontmatter][page=chpater] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \stopbodymatter \stoptext == gives me a 19 page document. pagecontents 1 empty 2 empty 3 pagenumber, toc 4 pagenumber 5 empty 6 empty 7 pagenumber, text ... 17 pagenumber, text 18 pagenumber 19 pagenumber The only pages I understand is 7--17. Why isn't the toc placed on page one? Why is the page 4 headed with the pagenumber? What is page 18 and 19 doing in the pdf file? Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Expert version: How to make empty pages by default empty?
Hans Hagen [EMAIL PROTECTED] wrote: At 10:05 19/09/2003 +0200, you wrote: Hi Steffen, \definepagebreak [chapter] [yes,header,right] \definepagebreak [chapter] [empty,header,right] That doesn't work! When changed the minimal example to... \definepagebreak [chapter] [empty,header,right] \setuphead [chapter] [page=chapter,] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \stopbodymatter \stoptext ... we have page numbers on (empty) page number 4, 18 and 19! Plus there are two strange empty empty pages before the TOC?! Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fourier
Hans Hagen said this at Fri, 19 Sep 2003 13:54:46 +0200: i.e. we don't need the -Expert here because it can live in a typeface; but how to deal with Black and Semi? And Light? (and ExtraLight and ExtraBlack?) Hmm. You're asking us? I always assumed, since I came to the ConTeXt game relatively late, that it was a conscious choice to make only two weights available at once. Typographically, it mostly makes sense not to mix Regular with SemiBold and Bold in text, so I didn't argue with that. However, I realise others will point out that SemiBold could be very useful in headings and other areas outside the normal text flow. Likewise with the other weights. Plus, many of these weights are somewhat intended by their designers to be contrasted with one another, like Light+SemiBold, Regular+Bold, SemiBold+ExtraBold. So one way could be to keep the [Serif] [SerifBold] [SerifSemiBold] [SerifLight] synonyms around, and selectively sub-set them and associate the with \tf and \bf as appropriate. It could be taken further, as Michel has done, to make all four accessible at once, with tf, db, bf, and eb. ...but then you run into people who want to accommodate a fifth and sixth weight. (I would also prefer to break small caps out as a separate design axis for faces in general, and not be tied to the notion that SerifSemiCaps is possible, but SerifItalicCaps is not. Side issue.) However, this list: [Serif] [SerifSlanted] [SerifItalic] [SerifCaps] [SerifSemiBold] [SerifSemiSlanted] [SerifSemiItalic] [SerifSemiCaps]%[SerifCapsSemi] ?? [SerifBold] [SerifBoldSlanted] [SerifBoldItalic] %[SerifCapsBold] ?? [SerifBlack] Looks reasonably well-named, as far as it goes, if that's the question. When dealing with the Adobe OpenType Pro font sets, I named a subset of them SerifCapsBold, etc. within their own family (rc), parallel to the Serif (rm) family. There's also the issue of the optical size axis (Caption, Text, Subhead, Display), but I think that can be sufficiently handled within size mappings. For interest, here's an except from my treatment of weight x shape x caps x size: \starttypescript [serif] [Opticals] [size] \definebodyfont [12pt,11pt][rm] [tf=SerifText sa 1, tfa=SerifSubhead sa \magfactor1, tfb=SerifSubhead sa \magfactor2, tfc=SerifSubhead sa \magfactor3, tfd=SerifDisplay sa \magfactor4, bf=SerifBoldText sa 1, bfa=SerifBoldSubhead sa \magfactor1, bfb=SerifBoldSubhead sa \magfactor2, bfc=SerifBoldSubhead sa \magfactor3, bfd=SerifBoldDisplay sa \magfactor4, it=SerifItalicText sa 1, ita=SerifItalicSubhead sa \magfactor1, itb=SerifItalicSubhead sa \magfactor2, itc=SerifItalicSubhead sa \magfactor3, itd=SerifItalicDisplay sa \magfactor4, bi=SerifBoldItalicText sa 1, bia=SerifBoldItalicSubhead sa \magfactor1, bib=SerifBoldItalicSubhead sa \magfactor2, bic=SerifBoldItalicSubhead sa \magfactor3, bid=SerifBoldItalicDisplay sa \magfactor4, sc=SerifCapsText sa 1, sca=SerifCapsSubhead sa \magfactor1, scb=SerifCapsSubhead sa \magfactor2, scc=SerifCapsSubhead sa \magfactor3, scd=SerifCapsDisplay sa \magfactor4] \definebodyfont [12pt,11pt][rc] [tf=SerifCapsText sa 1, tfa=SerifCapsSubhead sa \magfactor1, tfb=SerifCapsSubhead sa \magfactor2, tfc=SerifCapsSubhead sa \magfactor3, tfd=SerifCapsDisplay sa \magfactor4, bf=SerifCapsBoldText sa 1, bfa=SerifCapsBoldSubhead sa \magfactor1, bfb=SerifCapsBoldSubhead sa \magfactor2, bfc=SerifCapsBoldSubhead sa \magfactor3, bfd=SerifCapsBoldDisplay sa \magfactor4, it=SerifCapsItalicText sa 1, ita=SerifCapsItalicSubhead sa \magfactor1, itb=SerifCapsItalicSubhead sa \magfactor2, itc=SerifCapsItalicSubhead sa \magfactor3, itd=SerifCapsItalicDisplay sa \magfactor4, bi=SerifCapsBoldItalicText sa 1, bia=SerifCapsBoldItalicSubhead sa \magfactor1, bib=SerifCapsBoldItalicSubhead sa \magfactor2, bic=SerifCapsBoldItalicSubhead sa \magfactor3, bid=SerifCapsBoldItalicDisplay sa \magfactor4] \stoptypescript It's tough: you can easily come up with 100+ styles for a single font, very legitimately, which suggests that perhaps a stricter parameterisation could be useful: 3 upright vs italic vs slanted (+ upright italic?) 4 or 5 weights 2 roman vs caps (or oldstyle, other variants) x 4 optical sizes --- 96+ variations yow. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay [EMAIL PROTECTED] Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Expert version: How to make empty pages by default empty?
At 15:18 19/09/2003 +0200, you wrote: Hi Hans, Hans Hagen [EMAIL PROTECTED] writes: \definepagebreak [chapter] [empty,header,right] could you explain in a few words what these keywords mean and how they should be used? I can imagine what right is doing. empty forces an empty page header nils the header line (which empty does anyway) right makes sure that we end up on a right page Hans - Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED] Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com - information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] sorry (off topic)
% \relax is not always obligatory but treat it as a goode habit What I wanted to say by 'goode'? While it is not an English word (says the Oxford English Dictionary) there is Goode, Richard (Stephen) And it is a olde(!) english form of good as well, medieval I think. Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \indenting[*hang*] ?!
On Fri, 19 Sep 2003 18:52:03 +0200 Hans Hagen [EMAIL PROTECTED] wrote: At 14:28 19/09/2003 +0200, Steffen Wolfrum wrote: Hi, Is there a way to have something like \indenting[hang] ? With the first line not indented, but the second and following lines? First I thought this is what is ment by \indenting[next], but \indenting[next] seems to be exactly the same as \indenting[first], is this right? kind of tricky, since settings to hangindent and alike are forgotten when the setup is followed by an empty line; there is \starthanging ... \stophanging now but ... if we can assume that users start tagging their paragraphs with \bpar .. \epar i can imagine that we provide something \indenting [hang], so the question is: are you willing to tag imo, the question is: what has hanging to do with indenting? Aren't these things completely different matters? If yes, please don't spoil \indenting with that. \setuphanging already exists, an option 'atbpar=on' (or something more pleasant) should suit the needs IMO better. Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] headers, marking and some puzzles
simple way: \setupheadertexts[\hbox to \hsize{\getmarking[chapter]\hrulefill\pagenumber}] Of course simple way works ok. Below I described why \getmarking may couse suprises. clever way: \startsetups[left header] \hbox to \hsize \bgroup \getmarking[chapter] \quad \hrulefill \quad \pagenumber \egroup \stopsetups \startsetups[right header] \hbox to \hsize \bgroup \pagenumber \quad \hrulefill \quad \getmarking[chapter] \egroup \stopsetups \setuppagenumbering [alternative=doublesided] \setupheadertexts [] \setupheadertexts [\setups{left header}] [] [] [\setups{right header}] ... Suprisingly clever way has no results -- headers are just EMPTYon every page / every chapter. The same with prettier way (with \doiftext clausule). Probably there is my mistake, I will come back to it. While studying this codes I've come across two not obvious things. Let's look at this (silly) document \setupheadertexts[] \setupheadertexts[chapter][section] \starttext \chapter{Chapter One} Short introduction of \getmarking[chapter] \section{Section in first chapter} Body of \getmarking[section] \chapter{Chapter Two} \dorecurse{50}{Quite long introduction of \getmarking[chapter], which needs at least one page. } \section{Section in second one} Body of {\bf\getmarking[section]} \stoptext The first is that \getmarking[whatever] used in bodytex and in header expand to something different. I can imagine that user has \in, \at, \about etc. instead, so that is not a real problem. It puzzles me, however! Another thing is that the header of the second page (begining of the SECOND chapter) of this document contains a section mark of the FIRST, already ended chapter. The same problem appear with plain \mark primitive which is global. That is why I had to use additional commands to reset marks. Is there any reasons for that that new part of document (chapter, section) desn't reset marks of lower level parts? ... I've just noticed that the ConTeXt I use is a bit archaic. I will try to do some upgrade and come back to the problem with fresh soft and mind. Regards, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fourier
Am Freitag, 19.09.03, um 13:54 Uhr (Europe/Zurich) schrieb Hans Hagen: but how to deal with Black and Semi? In my typescript I make several families, if there are too much faces, e.g. myfont has Regular and Bold myfont-light has Light and Medium myfont-bold has Medium and Black That's easy, and the existing system is sufficient, but it's not beautiful. Grüßlis vom Hraban! -- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Probelm with \defineenumeration
Hoi Karel, Thanks, I see in your version it works. I have to say, that I copied this definition from an other project, where it used to work as in your file! On the other hand I use the latest beta version, may be that there were changes Nederlands blijft een moelijke taal om te schrijven. De buitenlander heeft er steeds last van. Bedankt voor de correctie! Kind regards Willi - Original Message - From: K.H. Wesseling [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 19, 2003 8:43 AM Subject: Re: [NTG-context] Probelm with \defineenumeration Beste Willi, Attached PDF shows my version context does it right. Karel. Hi everybody, While trying to setup a simple literature reference list I encounter the following problem: I have defined an enumeration. After typesetting the enumerated list I get on the first line the enumeration text and lost and alone in front of the second line the enumeration number. Is this something I do in a wrong way or is there a bug? Please try the minimal example below Kind regards Willi \setupoutput[pdftex] \defineenumeration [Literatur] [location={left,serried}, style=\em, width=broad, distance=12pt, headstyle=\tfx, text=\em, left={[}, right={]}, inbetween={\blank[small]}, after={\blank[small]}] \starttext \Literatur[Wiese1964] F. Wiese. Buchbinden. 1964. \Literatur[Goddijn1994] P.Goddijn. Het restaureren van boeken. Koninglijke Bibliotheek, Den Haag.1994. \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. File information --- File: egger.pdf Date: 19 Sep 2003, 8:40 Size: 20848 bytes. Type: Unknown ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \indenting[*hang*] ?!
Jens-Uwe Morawski [EMAIL PROTECTED] wrote: On Fri, 19 Sep 2003 18:52:03 +0200 Hans Hagen [EMAIL PROTECTED] wrote: At 14:28 19/09/2003 +0200, Steffen Wolfrum wrote: Hi, Is there a way to have something like \indenting[hang] ? With the first line not indented, but the second and following lines? First I thought this is what is ment by \indenting[next], but \indenting[next] seems to be exactly the same as \indenting[first], is this right? kind of tricky, since settings to hangindent and alike are forgotten when the setup is followed by an empty line; there is \starthanging ... \stophanging now Ah! but ... if we can assume that users start tagging their paragraphs with \bpar .. \epar i can imagine that we provide something \indenting [hang], so the question is: are you willing to tag imo, the question is: what has hanging to do with indenting? Aren't these things completely different matters? If yes, please don't spoil \indenting with that. \setuphanging already exists... Hi Hans, hi Jens! There is always another surprise in ConTexT. I mean: How should I know? My sources are Hans's manuals + the list-archiv. Neither in the manuals nor in the archive \setuphanging or \starthanging is mentioned... So I am sorry for asking for things that maybe already exist! But now I have to ask: how do I use \setuphanging or \starthanging actually? Is there some kind of documentation or at least a minimal example somewhere? Thanks for the lessons. Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnotes
Hi Pawel, After all the solution is simpel ... By coincidence i detected that there is a distinct difference in the following two commands which I used independently in two mode sections in my environment file. This is then also the reason why I started to understand ... :-] \switchtobodyfont[palatino,rm,10pt] This command switches the bodytext-font to the indicated font. It leaves the footnotes font untouched. i.e. it remains either CMR or CMSS depending on the setup of \setupfootnotes[bodyfont={small, rm}] or \setupfootnotes[bodyfont={small, ss}] \setupbodyfont[Myfont,rm,10pt] This command will force the bodyfont and the footnotes font to be the same. If e.g. Myfont is setup as a typeface of Palatino for rm and Helvetica for ss, then the footnotes will be in Palatino when saying \setupfootnotes[bodyfont={small, rm}] and will be typeset in Helvetica when saying \setupfootnotes[bodyfont={small, ss}] Cheers Willi Hi Willi Thanks for your suggestions. In my case this does not seem to be the solution. I fiddled with the different options. The conclusion is, that the footnotes do not readily follow the bodyfont settings. I provided Hans a test file and he will look into it. Let me know when You solve the problem. Regards, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnotes
Hi Pawel, Hi Willi! After all the solution is simpel ... [...] This command will force the bodyfont and the footnotes font to be the same. If e.g. Myfont is setup as a typeface of Palatino for rm and Helvetica for ss, then the footnotes will be in Palatino when saying \setupfootnotes[bodyfont={small, rm}] and will be typeset in Helvetica when saying \setupfootnotes[bodyfont={small, ss}] Isn't that logical? But look carrefully on the footnote numbers. Are they also from wanted font? That was my problem. It is not obvious that footnote reference numbers are set with xx size of the bodyfontsize and footnote number with x size of bodyfontsize used in footnote. So the way to set this numbers is to set bodyfontenvironment for both bodyfintsize and 'footnotebodyfontsize'. The puzzle is also that one has no problems since bodyfontsize is default (i.e 12pt). So try to change bodfontsize to i.e.13pt and than look at footnote numbers. If they are correct you are the winner! Thanks for report, Pawe/l ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context