[NTG-context] FONT-CHI.TEX
Hi again: Line 660 of FONT-CHI.TEX has a \starttabulate while ln 812 has \starttabel . Is this a mistake? They should both be Dutch, shouldn't they? Matt ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] M-GAMMA.TEX
Hello All: I was just trying to generate a pdf of M-GAMMA.TEX. TeX complains that \OTP\ in line 16 of the source, << %D We define a couple of symbolic \OTP\ filters >> hasn't been defined. I was able to process the file by replacing \OTP\ with \type{\OTP\} Matt ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Again: How to make empty pages by default empty?
The following message was sent by "Willi Egger" <[EMAIL PROTECTED]> on Mon, 22 Sep 2003 20:16:01 +0200. > Hi Steffen, From: "Steffen Wolfrum" <[EMAIL PROTECTED]> Subject: [NTG-context] Again: How to make empty pages by default empty? > > > So I don't have to post so many (unanswered) questions any more... > > > > Posting ConTeXt questions is fun, so don't stop doing this. > > > > > > Patrick > > > > Alright! So maybe I am also allowed to send again > one of my favorite problems from last week? > > Still unanswered. Still unsolved. Very interesting! > > To whom it may concern - don't hesitate to post an answer... > > Thank you all, > Steffen > > > > 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] > > > Sorry, but 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?! If you want to get a doublesided tzpeset document you should add also \setuplayout[location=doublesided]. I am not shure, whether the following is correct! Empty pages at the beginning: You start the frontmatters with the \completecontent. - I could imagine that this is a consequence of the fact that the TOC starts always on a righthand page. - Thus at the moment of \startbodymatter tex is already on the first page. But after identifying the \completecontents command will create two page breaks in order to be able to typeset the TOC on a righthand page. Pagenumbers on empty pages before starting a new chapter Chapters begin on a right hand page. If the lefthand page is empty, there is correctly still the pagenumber. I do not know whether it is possible to check whether the page before a new chapter is completely empty. Hi Willi, I hope that it can't be to difficult: Cause the page before a new chapter is actually completely empty JUST BECAUSE it is generated by (Con)TeX(t) - for chapters should begin on a right page. So I only ask for empty pages (without pagenumbers) that are generated by (Con)TeX(t). That's not possible in ConTeXt? Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [NTG-context]metapost prblem
On Mon, 22 Sep 2003 13:37:47 +0200 (MEST) "Severin Obertuefer" <[EMAIL PROTECTED]> wrote: > it works, but only with a "normal" circle. > if the circle is xyscaled the same thing seems to bee much more > complicate... additionally, a more general solution: %%% \setupoutput[pdftex] \setupcolors[state=start] \startMPinclusions vardef cutbetween (expr p,a,b)= if (xpart (p intersectiontimes a))> (xpart (p intersectiontimes b)): ((p cutbefore b) cutafter a) else: (p cutbefore b)--(p cutafter a) fi enddef; \stopMPinclusions \starttext \startMPpage save c, A, B ; path c, A, B; A := (origin--(3cm,2cm)) ; B := (origin--(-5cm,1cm)) ; draw B ; draw A ; c := fullcircle scaled 2cm xyscaled(1.3,.8) ; clip currentpicture to c ; draw c withpen pencircle scaled 1.4pt withcolor .7white ; drawarrow cutbetween(c,B,A) withcolor .7green ; drawarrow cutbetween(c,A,B) withcolor green ; c := reverse c xyscaled (0.3,0.9) ; draw c withpen pencircle scaled 1.4pt withcolor .7white ; drawarrow cutbetween(c,B,A) withcolor .7red ; drawarrow cutbetween(c,A,B) withcolor red ; \stopMPpage \stoptext %%% Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] strange tabulate
Hi Patrick > The first tabulate gives me rules, the second does not. Which would > not harm if this is documented. But in the MAPS article mentioned > recently and in the up-to-date the examples clearly show that \HL > should give me a horizontal line. What is going on? > > > > %%% > \starttext > \starttabulate[|l|p|] > \HR > \NC small \NC They say, small is beautiful. \NC \NR > \HR > \NC medium \NC It seems that the medium is the message. \NC \NR > \HR > \NC large \NC Large T||shirts are always sold out. \NC \NR > \HR > \stoptabulate > > \starttabulate[|l|p|] > \HL > \NC small \NC They say, small is beautiful. \NC \NR > \HL > \NC medium \NC It seems that the medium is the message. \NC \NR > \HL > \NC large \NC Large T||shirts are always sold out. \NC \NR > \HL > \stoptabulate > \stoptext > %%% I tried your example and indeed there are no horizontal lines in the second tabulate. - I checked then may latest document, where I have such tabulations included. And indeed there are no horizontal lines too. The mentioned document was compiled on 19-09-2003 before the update to the latest beta version on 20-09-2003. - Unnoticed this problem was already present in the previous beta-version. Willi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Again: How to make empty pages by default empty?
Hi Steffen, From: "Steffen Wolfrum" <[EMAIL PROTECTED]> Subject: [NTG-context] Again: How to make empty pages by default empty? > > > So I don't have to post so many (unanswered) questions any more... > > > > Posting ConTeXt questions is fun, so don't stop doing this. > > > > > > Patrick > > > > Alright! So maybe I am also allowed to send again > one of my favorite problems from last week? > > Still unanswered. Still unsolved. Very interesting! > > To whom it may concern - don't hesitate to post an answer... > > Thank you all, > Steffen > > > > 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] > > > Sorry, but 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?! If you want to get a doublesided tzpeset document you should add also \setuplayout[location=doublesided]. I am not shure, whether the following is correct! Empty pages at the beginning: You start the frontmatters with the \completecontent. - I could imagine that this is a consequence of the fact that the TOC starts always on a righthand page. - Thus at the moment of \startbodymatter tex is already on the first page. But after identifying the \completecontents command will create two page breaks in order to be able to typeset the TOC on a righthand page. Pagenumbers on empty pages before starting a new chapter Chapters begin on a right hand page. If the lefthand page is empty, there is correctly still the pagenumber. I do not know whether it is possible to check whether the page before a new chapter is completely empty. What one should fetch is this information just before shipping this page. What you can do is to use the \setuphead command. Either use page=no then the next chapter will start immediately or say page=yes and the next chapter will start on the following page which might be a left- or righthand page. Willi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] strange tabulate
Dear ConTeXt users, I have a question (well, it was not really my question in the beginning, but I could not find any answers). The first tabulate gives me rules, the second does not. Which would not harm if this is documented. But in the MAPS article mentioned recently and in the up-to-date the examples clearly show that \HL should give me a horizontal line. What is going on? %%% \starttext \starttabulate[|l|p|] \HR \NC small \NC They say, small is beautiful. \NC \NR \HR \NC medium \NC It seems that the medium is the message. \NC \NR \HR \NC large \NC Large T||shirts are always sold out. \NC \NR \HR \stoptabulate \starttabulate[|l|p|] \HL \NC small \NC They say, small is beautiful. \NC \NR \HL \NC medium \NC It seems that the medium is the message. \NC \NR \HL \NC large \NC Large T||shirts are always sold out. \NC \NR \HL \stoptabulate \stoptext %%% Patrick -- nothing here ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Again: How to make empty pages by default empty?
> So I don't have to post so many (unanswered) questions any more... Posting ConTeXt questions is fun, so don't stop doing this. Patrick Alright! So maybe I am also allowed to send again one of my favorite problems from last week? Still unanswered. Still unsolved. Very interesting! To whom it may concern - don't hesitate to post an answer... Thank you all, Steffen 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] Sorry, but 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
[NTG-context] reading the source
Steffen Wolfrum <[EMAIL PROTECTED]> writes: Hi, > Do you also could me a hint where to start reading the source? See the following thread: http://news.gmane.org/onethread.php?group=gmane.comp.tex.context&root=%3CNPEAKMHEICNGLIJBLOONGEDOCBAA.KrisHermans%40advalvas.be%3E > For example in this case - setuphanging - which file's to read? grep is your friend. In this case it hit cont-new.tex. But it will vanish from there. > So I don't have to post so many (unanswered) questions any more... Posting ConTeXt questions is fun, so don't stop doing this. 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: Again: \indenting[*hang*] ?!
Patrick Gundlach <[EMAIL PROTECTED]> wrote: Steffen Wolfrum <[EMAIL PROTECTED]> writes: > There is always another surprise in ConTexT. I mean: > How should I know? I didn't know either. :-) > My sources are Hans's manuals + the list-archiv. Neither in the > manuals nor in the archive \setuphanging or \starthanging is > mentioned... Use the source, Luke ... Thanks again Patrick. Nice example. Do you also could me a hint where to start reading the source? For example in this case - setuphanging - which file's to read? So I don't have to post so many (unanswered) questions any more... Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Struggles with \useblocks
Hi Pattrick, From: "Patrick Gundlach" <[EMAIL PROTECTED]> > Hello Willi, > > > In the environment file there is a block defined as \defineblock[Impressum] > > and the block is immediately hidden with \hideblocks[Impressum] > > It looks as if you can only define blocks within > \starttext...\stoptext. Do you load your environment inside or > outside \starttext...\stoptext? Ii do not know precisely. Ii have an environment file where the block resides. The environment file is loaded OUTSIDE the \starttext .. \stoptext. In the meantime I tested this and found out, that the definition of the block as well as the block itself must be placed within the \starttext ... \stoptext. > Please provide a minimal but complete example if you still have > problems. Thanks for your tips! Willi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Again: \indenting[*hang*] ?!
Steffen Wolfrum <[EMAIL PROTECTED]> writes: > There is always another surprise in ConTexT. I mean: > How should I know? I didn't know either. :-) > My sources are Hans's manuals + the list-archiv. Neither in the > manuals nor in the archive \setuphanging or \starthanging is > mentioned... Use the source, Luke ... > So I am sorry for asking for things that maybe already exist! Keep on asking. Even if were an faq you won't get your head pulled off. > 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? Not minimal, but an example: \starttext \starthanging {Lorem ipsum} dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. \stophanging \setuphanging[distance=3cm]% default .5em \starthanging {Lorem ipsum} dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. \stophanging \setuphanging[distance=0cm]% default .5em \starthanging {Lorem ipsum} dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. \stophanging \stoptext Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Again: \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
[NTG-context] Re: alignment of numbered lists
Hi, > In Latex, the numbers in a numbered lists are aligned right by > default. In Context, the default behavior seems to be left-aligned, > which looks pretty ugly when item "9" is directly followed by "10." I > can't seem to find how to change this. Any hints? Thanks, Thomas. did you find any solution yet? 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: [NTG-context]metapost prblem
On Mon, 22 Sep 2003 13:37:47 +0200 (MEST) "Severin Obertuefer" <[EMAIL PROTECTED]> wrote: > it works, but only with a "normal" circle. > if the circle is xyscaled the same thing seems to bee much more > complicate... > here is the mp-code once again: > > beginfig(2); > path c; > pair A, B; > c := fullcircle scaled 2 cm xyscaled(1.3,.8); > A := (origin--(3cm,2cm)) intersectionpoint subpath (0,2) of c; > B := (origin--(-5cm,1cm)) intersectionpoint subpath (2,4) of c; > draw c; > draw origin--B; > draw origin--A; draw (c cutbefore B)--(c cutafter A) withcolor red ; > endfig; Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: [NTG-context]metapost prblem
thanks for your answer it works, but only with a "normal" circle. if the circle is xyscaled the same thing seems to bee much more complicate... here is the mp-code once again: beginfig(2); path c; pair A, B; c := fullcircle scaled 2 cm xyscaled(1.3,.8); A := (origin--(3cm,2cm)) intersectionpoint subpath (0,2) of c; B := (origin--(-5cm,1cm)) intersectionpoint subpath (2,4) of c; draw c; draw origin--B; draw origin--A; endfig; how can i clip the part of the path c between A and B in this case?? thanks for help severin > On Sun, 21 Sep 2003 21:24:04 +0200 (MEST) > Severin Obertuefer <[EMAIL PROTECTED]> wrote: > > > how can I cut the the part of the path c between A and B, so that the > result > > is like a cheese :) > > path cheese ; > cheese := c rotated angle B ; > cheese := cheese cutafter (origin--A) ; > > > Jens > ___ > ntg-context mailing list > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context > -- +++ GMX - die erste Adresse für Mail, Message, More! +++ Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail (GUT) (Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 ausreichend) Jetzt selbst kostenlos testen: http://www.gmx.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: newbie tabulate question
"Thomas A.Schmitz" <[EMAIL PROTECTED]> writes: > thanks, you made me discover MAPS, which I had not known before! Seems > to be a lot of interesting stuff in there, Indeed, the MAPS is always a pleasure to read. > and thank god I was born in Aachen, so Dutch isn't too difficult for > me... I was born in France, but french is definitely giving me a hard time when reading. > But alas, the module must have changed since 1999--not even the > minimal examples from the article you mentioned work. > \setuptabulate[inner={\blank[big]}] gives a blank line before my > first row, but not between rows. Mmmh - maybe a bug in core-tbl.tex? This does not contradict the article in the MAPS 22. Do you have your problems solved? Patrick -- Silent is the goldfish in its bowl ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] context2html or context2xml | xml2html ??
Bonjour à tous, Is there something (an executable or a context package) which would allow us to write some (basic) context file, to html? I read that there is some work with context and xml, so perhaps there is a mean for translating a context document to html? context --> xml --> html ? I think to something like latex2html or hevea ? Cordialement, Maurice. P.S I use linux and MacOSX -- [EMAIL PROTECTED] - ENSTA/LMA École Nationale Supérieure de Techniques Avancées Laboratoirede MathématiquesAppliquées http://www.ensta.fr/~diam ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] (no subject)
On Sun, 21 Sep 2003 21:24:04 +0200 (MEST) Severin Obertuefer <[EMAIL PROTECTED]> wrote: > how can I cut the the part of the path c between A and B, so that the result > is like a cheese :) path cheese ; cheese := c rotated angle B ; cheese := cheese cutafter (origin--A) ; Jens ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: beginner question re: counters
At 00:04 22/09/2003 +0900, you wrote: \newcount\MyCounter \define[1]\MyMacro{ \global\advance\MyCounter by 1 \relax \number\MyCounter #1} \starttext \MyMacro{Hello} \MyMacro{Goodbye} \MyMacro{Hello again} \stoptext --> 1Hello 2Goodbye 3Hello again or, using pseudo counters: \define[1]\MyMacro {\doglobal\increment\MyCounter \MyCounter#1} or even \define\MyCounter{\doglobal\increment\MyCounter\MyCounter} 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 14:55 21/09/2003 +0200, you wrote: \ifx\documentclass\undefined\else \global\def\documentclass {\showmessage\m!systems3\empty\stoptext} \fi ok, i made the code obsolete 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