Re: [NTG-context] Problem with Figures (Fixed)
On Friday 16 July 2004 11:21 pm, Salman Khilji wrote: Apparently, I need a pair of curly braces around the \startcombination and \stopcombination. Also the beginner Manual has a type that says \stopcombinatie instead of \stopcombination. Do I have an older version of ConTEXt than what the manual says? Salman ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problem with Figures
From the beginner's manual, I created the following: \starttext \useexternalfigure [Photo][hass03g] [width=.4\textwidth] \useexternalfigure [Graphic][gracht] [width=.4\textwidth] \placefigure [here,force] [fig:canal] {The Hasselt Canals.} \startcombination[2*1] {\externalfigure[Photo]} {a bitmap picture} {\externalfigure[Graphic]} {a vector graphic} \stopcombinatie \stoptext I typed the input file exactly as in the manual. I am getting the following error: ! Missing { inserted. \let \noshowargumenterror ->\let \expectedarguments \noexpectedarguments \dodoubleempty #1->\noshowargumenterror \doifnextcharelse [{\dodoubletestemp... l.13 \startcombination [2*1] ? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fighting with footnotes
ishamid wrote: Dear posse, I am having trouble with footnotes. For an article, I want some footnotes to be symbolized by \ast, \dag, etc, but without affecting the numbering of regular footnotes. For example, the title of article may have a footnote symbolized by \ast, but the first footnote in the main text should still be symbolized by `1' (then `2', etc). I tried localfootnotes but I could not get them placed in the footer at the bottom of the page. [location=page] did not help. \starttext \unexpanded\def\myfootnote{\setupfootnotes[conversion=set 2]\footnote} \chapter{test\myfootnote{test}} test \footnote{test} test \stoptext since you're the footnote guy, collect such things on a todo list; later i may consider adding support for cloned notes with different settings, something: \definenote[myfootnote][footnote] \setupnote[myfootnote][conversion=set 2] trivial to implement but i'm in a hurry now Related question: can't I just specify a footnote outside the counting mechanism with any symbol I want at any point in the text, without disturbing the regular counted footnotes? I'm also confused by the conversion key. page 93 of the documentation reads: "With the variable conversion you set up the type of numbering. You may even use your own character, for example an emdash (keyed in as ---)." But if I do, e.g., conversion={---}, TeX complains of course. What am I missing? Related questions: Where are the conversion keys set 2, set 3, etc. documented? core-con.tex it's a generic mechanism to map number on symbols or anything you want (see metafun manual for example of mapping onto graphics) How can I reset the numbering if I make local changes? For example, I am using regular default footnotes, then I switch to conversion=set 2, then I want to reset to the default footnotes without losing my numbering. I thought that [n=0] etc. might help but that key seems to affect the paragraph formatting of the footnotes, not the numbering. I tried using \start-\stop but that does not isolate the counting mechanism apparently. numbering is global (makes sense sinc you use footnotes local) Fighting TeX is really frustrating sometimes, and I'm sure the answers are really simple... \let\incrementnumber\verhoognummer \let\decrementnumber\verlaagnummer \resetnumber[footnote] \decrementnumber[footnote] \incrementnumber[footnote] remind me to internationalize those commands -) \unexpanded\def\myfootnote#1% {\setupfootnotes[conversion=set 2]\footnote{#1}\decrementnumber[footnote]} \chapter{test\myfootnote{test}} test \footnote{test} test 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] continuous numbering over components?
Marko Schütz wrote: Hi, I have a project containing products containing components. For one of the products I want to achieve a continuous numbering (as I get when `texexec`ing the product file) but I want a single pdf per component. I expect that there is an elegant solution, but didn't find it yet. So any hint is appreciated. technically, if you have run the whole file, you can run a component \setuphead[chapter][incrementnumber=mainfilename] should pick up numbers from the file; can you test that? i can extend that with setting the page number as well; another option is to use texexec --pdfselect (this can be automated, by picking up numbers from the tuo file; remind me in a few weeks) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a problem with \defineprotrudefactor
Bill McClain wrote: On Thu, 15 Jul 2004 16:59:29 +0200 Hans Hagen <[EMAIL PROTECTED]> wrote: i've been messing around with that because thanh is updating his stuff; i need to handle both hz and protruding and more -) I must ask: would this mean adding Context support for the font expansion mentioned in his thesis? I've wanted to experiment with that but as far as I can tell it has previously required too much (for me) font manipulation outside of tex. the next release of pdftex will do things automatically, so you don't need to define all those special tfm files any more; context will provide a mechanism for controling things (works ok as far as i can test) 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] fighting with footnotes
Dear posse, I am having trouble with footnotes. For an article, I want some footnotes to be symbolized by \ast, \dag, etc, but without affecting the numbering of regular footnotes. For example, the title of article may have a footnote symbolized by \ast, but the first footnote in the main text should still be symbolized by `1' (then `2', etc). I tried localfootnotes but I could not get them placed in the footer at the bottom of the page. [location=page] did not help. Related question: can't I just specify a footnote outside the counting mechanism with any symbol I want at any point in the text, without disturbing the regular counted footnotes? I'm also confused by the conversion key. page 93 of the documentation reads: "With the variable conversion you set up the type of numbering. You may even use your own character, for example an emdash (keyed in as ---)." But if I do, e.g., conversion={---}, TeX complains of course. What am I missing? Related questions: Where are the conversion keys set 2, set 3, etc. documented? How can I reset the numbering if I make local changes? For example, I am using regular default footnotes, then I switch to conversion=set 2, then I want to reset to the default footnotes without losing my numbering. I thought that [n=0] etc. might help but that key seems to affect the paragraph formatting of the footnotes, not the numbering. I tried using \start-\stop but that does not isolate the counting mechanism apparently. Fighting TeX is really frustrating sometimes, and I'm sure the answers are really simple... Best Idris ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] continuous numbering over components?
Hi, I have a project containing products containing components. For one of the products I want to achieve a continuous numbering (as I get when `texexec`ing the product file) but I want a single pdf per component. I expect that there is an elegant solution, but didn't find it yet. So any hint is appreciated. Thanks, Marko -- Dr. Marko Schütz Lecturer University of the South Pacific Dept. of Mathematics and Computing Science Suva, Fiji Islands Phone office: +679 3212325 fax:+679 3303544 mobile: +679 9292044 [EMAIL PROTECTED] pgpAckdYCoGTJ.pgp Description: PGP signature ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a problem with \defineprotrudefactor
Vit Zyka wrote: After that we will need: 1) new ConTeXt 2) new pdftex binary indeed, but just wait for a few weeks (there will be a new pdftex release soon) concerning the more: think of combining hz and protruding, turning things on and off, etc 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] a problem with \defineprotrudefactor
i've been messing around with that because thanh is updating his stuff; i need to handle both hz and protruding and more -) I must ask: would this mean adding Context support for the font expansion mentioned in his thesis? I've wanted to experiment with that but as far as I can tell it has previously required too much (for me) font manipulation outside of tex. -Bill It is true that generating extended font metrics (e.g. cmr10+5.tfm) was a bit deterrent thing for pdfTeX users. It was the reason that Thanh enabled (some months ago) use hz WITHOUT a need of generating extended metrics. But there was some problems with this pdftex version so it coused some delay. Now I believe it will be reflected in ConTeXt support. (I do not know what Hans thinks by "and more" but I reckon he means some code clean up). After that we will need: 1) new ConTeXt 2) new pdftex binary Vit Zyka ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context