* Questions @ 2000-07-31 23:05 David Arnold 2000-08-01 9:39 ` Questions Hans Hagen 0 siblings, 1 reply; 22+ messages in thread From: David Arnold @ 2000-07-31 23:05 UTC (permalink / raw) All, With this layout \setuppapersize[S6][S6] \setuplayout [header=0cm, topspace=.5cm, backspace=2cm, margindistance=0.5cm, %0.5cm margin=1cm, rightmargin=0.0cm, %0.0cm rightedge=5.0cm, %rightedge=2.0cm edgedistance=0.5cm, %edgedistance=0.5cm width=fit, footer=1cm, height=middle] can anyone explain to me how that spce between the rightedge and the edge of the page is calculated? Maybe the more correct question is this: How is the width of the text area calculated? What's the arithmetic formula? That is, \makeupwidth=? What is the formula if I change to width=middle? I wish these formulae were in the English manual. - David Arnold College of the Redwoods Mathematics Department 7351 Tompkins Hill Road Eureka, CA 95501 (707) 476-4222 My Home Page http://online.redwoods.cc.ca.us/instruct/darnold/index.htm Ordinary Differential Equations Using Matlab http://www.prenhall.com/books/esm_0130113816.html ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-07-31 23:05 Questions David Arnold @ 2000-08-01 9:39 ` Hans Hagen 0 siblings, 0 replies; 22+ messages in thread From: Hans Hagen @ 2000-08-01 9:39 UTC (permalink / raw) Cc: ntg-context At 04:05 PM 7/31/00 -0700, David Arnold wrote: >All, > >With this layout > >\setuppapersize[S6][S6] > >\setuplayout >[header=0cm, > topspace=.5cm, > backspace=2cm, > margindistance=0.5cm, %0.5cm > margin=1cm, > rightmargin=0.0cm, %0.0cm > rightedge=5.0cm, %rightedge=2.0cm > edgedistance=0.5cm, %edgedistance=0.5cm > width=fit, > footer=1cm, > height=middle] > >can anyone explain to me how that spce between the rightedge and the edge >of the page is calculated? Maybe the more correct question is this: How is >the width of the text area calculated? What's the arithmetic formula? That >is, \makeupwidth=? What is the formula if I change to width=middle? I wish >these formulae were in the English manual. either look in main-001.tex : \resetlayout, which will also teach you a bit dutch or look in mp-page.mp, which shows my bad english. The formulas will make you wish you never asked this question -) As (i suppose) the manual says, margins and edges are virtual. So, they don't count in calculations of width. The fit option is meant for screen docs, and compensates for backspace too as good as possible in order to get a symmetrical layout. [which is not needed for paper]. Some info on this may go into the manual on screen docs, but is not useful for paper work. As soon as you start using background offsets, you need to spec the dimensions yourself. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE 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 ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <Pine.GSO.4.21.0005252021300.939-100000@AMath13>]
[parent not found: <Pine.GSO.4.21.0005271156530.2806-100000@AMath13>]
* Re: Questions [not found] ` <Pine.GSO.4.21.0005271156530.2806-100000@AMath13> @ 2000-05-27 19:48 ` Hans Hagen 2000-05-30 7:54 ` Questions Mr. Wang Lei 2000-06-01 9:52 ` Questions Mr. Wang Lei 0 siblings, 2 replies; 22+ messages in thread From: Hans Hagen @ 2000-05-27 19:48 UTC (permalink / raw) Cc: ntg-context At 11:59 AM 5/27/2000 +0800, Mr. Wang Lei wrote: >Solved. \setuppagenumber[number=1] Indeed, but I don't like such setups spread over the source (could be done by using environment files and [before=...], but that's ugly. Therefore I'll move some experimental stuff I use here to the core so that one does not have to intermix text and setups. \startsectionblockenvironment[frontpart] \setuppagenumbering[conversion=romannumerals] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[frontpart] \setuppagenumbering[conversion=character] \stopsectionblockenvironment \starttext \startfrontmatter \chapter{test} \stopfrontmatter \startbodymatter \chapter{test} \stopbodymatter \startappendices \chapter{test} \stopappendices \stoptext >The English manual no \setuppagenumber definition. >But have two \setuppagenumbering in page 93 Ok, corrected. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-05-27 19:48 ` Questions Hans Hagen @ 2000-05-30 7:54 ` Mr. Wang Lei 2000-05-30 11:38 ` Questions Hans Hagen 2000-06-01 9:52 ` Questions Mr. Wang Lei 1 sibling, 1 reply; 22+ messages in thread From: Mr. Wang Lei @ 2000-05-30 7:54 UTC (permalink / raw) Cc: ntg-context On Sat, 27 May 2000, Hans Hagen wrote: > Indeed, but I don't like such setups spread over the source (could be done > by using environment files and [before=...], but that's ugly. Therefore > I'll move some experimental stuff I use here to the core so that one does > not have to intermix text and setups. > > \startsectionblockenvironment[frontpart] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ texexec give a Undefined control error message. > \setuppagenumbering[conversion=romannumerals] > \stopsectionblockenvironment > > >The English manual no \setuppagenumber definition. > >But have two \setuppagenumbering in page 93 > > Ok, corrected. > When the math part of the english manual can be download? I want some guide of math formula. Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-05-30 7:54 ` Questions Mr. Wang Lei @ 2000-05-30 11:38 ` Hans Hagen 2000-05-30 12:59 ` Questions Mr. Wang Lei 0 siblings, 1 reply; 22+ messages in thread From: Hans Hagen @ 2000-05-30 11:38 UTC (permalink / raw) Cc: ntg-context At 03:54 PM 5/30/2000 +0800, Mr. Wang Lei wrote: >> \startsectionblockenvironment[frontpart] Hm. It's in the beta of today. Do you use the latest beta? 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-05-30 11:38 ` Questions Hans Hagen @ 2000-05-30 12:59 ` Mr. Wang Lei 2000-05-30 15:18 ` Questions Hans Hagen 0 siblings, 1 reply; 22+ messages in thread From: Mr. Wang Lei @ 2000-05-30 12:59 UTC (permalink / raw) Cc: ntg-context On Tue, 30 May 2000, Hans Hagen wrote: > At 03:54 PM 5/30/2000 +0800, Mr. Wang Lei wrote: > > >> \startsectionblockenvironment[frontpart] > > Hm. It's in the beta of today. Do you use the latest beta? > Just download the beta a little while. It works now. I will remember always download the lastest beta. :) About fonts, now the predefined \SimChi just have two family. Regular and Bold. How can I add other font family? I want use more different fonts in header, footer and frames. I try to add other font definition as follow, \definefontsynonym [SimplifiedChineseSans] [gbkai] [encoding=gbk] \definefontsynonym [SimplifiedChineseSerif] [gbfs] [encoding=gbk] but when I use command like \ss to switch them, it seems no effect. Any hints? Regards Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-05-30 12:59 ` Questions Mr. Wang Lei @ 2000-05-30 15:18 ` Hans Hagen 2000-05-31 11:17 ` Questions Mr. Wang Lei 0 siblings, 1 reply; 22+ messages in thread From: Hans Hagen @ 2000-05-30 15:18 UTC (permalink / raw) Cc: Hans Hagen, ntg-context At 08:59 PM 5/30/2000 +0800, Mr. Wang Lei wrote: >About fonts, now the predefined \SimChi just have two >family. Regular and Bold. How can I add other font family? >I want use more different fonts in header, footer and >frames. > >I try to add other font definition as follow, > >\definefontsynonym [SimplifiedChineseSans] [gbkai] [encoding=gbk] >\definefontsynonym [SimplifiedChineseSerif] [gbfs] [encoding=gbk] > >but when I use command like \ss to switch them, it seems no >effect. Any hints? \defineunicodefont [FunChi] [SimplifiedChineseSans] [chinese] \FunChi Something Sans Serif Chinese should work. Chinese fonts work mostly independent from the normal font mechanism. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-05-30 15:18 ` Questions Hans Hagen @ 2000-05-31 11:17 ` Mr. Wang Lei 0 siblings, 0 replies; 22+ messages in thread From: Mr. Wang Lei @ 2000-05-31 11:17 UTC (permalink / raw) Cc: ntg-context On Tue, 30 May 2000, Hans Hagen wrote: > \defineunicodefont [FunChi] [SimplifiedChineseSans] [chinese] > > \FunChi Something Sans Serif Chinese > > should work. Chinese fonts work mostly independent from the normal font > mechanism. > It works in the body. how can I use it in the header or table of contents? I try \setupheader [style=\FunChi\ss] %because I want the non-chinese in Sans Serif, too. seems no effect. Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-05-27 19:48 ` Questions Hans Hagen 2000-05-30 7:54 ` Questions Mr. Wang Lei @ 2000-06-01 9:52 ` Mr. Wang Lei 2000-06-01 11:59 ` Questions Berend de Boer 2000-06-02 0:36 ` Questions Hans Hagen 1 sibling, 2 replies; 22+ messages in thread From: Mr. Wang Lei @ 2000-06-01 9:52 UTC (permalink / raw) Cc: ntg-context On Sat, 27 May 2000, Hans Hagen wrote: > \starttext > \startfrontmatter \chapter{test} \stopfrontmatter > \startbodymatter \chapter{test} \stopbodymatter > \startappendices \chapter{test} \stopappendices In \startappendices .... \stopappendices, When I \usemodule[chinese], texexec give an error message: structure : begin of sectionblock appendices ! Missing number, treated as zero. <to be read again> A \Character #1->\ifcase #1\unknowncharacter \or A \or B\or C\or D\or E\or F\or... \@@sectionconversion ...ieblok \c!conversie }}{#2} \fi \fi \@@shortsectionnumber ...#1}{\@@sectionvalue {#1}} \fi \finalsectionnumber ...tsectionnumber {\@@sectie } \else \getvalue {\@@sectie... \chinesenumber ...fter \dochinesenumber \number #1 \relax ... l.18 \startappendices \chapter{test} \stopappendices ? May be the Chinese number labeltext result this problem? Another question, How can I set the table option so that I can put a very long table which occupy four or five pages? and how can I set the column width to a specified value such as 2in ? Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-01 9:52 ` Questions Mr. Wang Lei @ 2000-06-01 11:59 ` Berend de Boer 2000-06-01 12:45 ` Questions Mr. Wang Lei 2000-06-02 0:36 ` Questions Hans Hagen 1 sibling, 1 reply; 22+ messages in thread From: Berend de Boer @ 2000-06-01 11:59 UTC (permalink / raw) Cc: ntg-context > Another question, How can I set the table option > so that I can put a very long table which occupy four or five > pages? and how can I set the column width to a specified value > such as 2in ? You can either use \starttabellen, or better use \starttabulate. Width can be set with entries like: \starttabulate[|l|p(2cm)] \stoptabulate Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-01 11:59 ` Questions Berend de Boer @ 2000-06-01 12:45 ` Mr. Wang Lei 2000-06-01 14:06 ` Questions Berend de Boer 0 siblings, 1 reply; 22+ messages in thread From: Mr. Wang Lei @ 2000-06-01 12:45 UTC (permalink / raw) Cc: 'Hans Hagen', ntg-context On Thu, 1 Jun 2000, Berend de Boer wrote: > You can either use \starttabellen, or better use \starttabulate. > > Width can be set with entries like: > > \starttabulate[|l|p(2cm)] > \stoptabulate > Thanks. it can set the column width. But how can I place a long table in four or file pages? just like the longtable package does in latex? Regards, Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-01 12:45 ` Questions Mr. Wang Lei @ 2000-06-01 14:06 ` Berend de Boer 2000-06-01 23:33 ` Questions Hans Hagen 2000-06-02 2:28 ` Questions Mr. Wang Lei 0 siblings, 2 replies; 22+ messages in thread From: Berend de Boer @ 2000-06-01 14:06 UTC (permalink / raw) > Thanks. it can set the column width. But how can I place a long > table in four or file pages? just like the longtable package > does in latex? \starttabulate automatically breaks across pages (not always in exactly the line you sometimes want, but that's a minor issue). It does not float, so it starts right where you put it. Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-01 14:06 ` Questions Berend de Boer @ 2000-06-01 23:33 ` Hans Hagen 2000-06-02 2:28 ` Questions Mr. Wang Lei 1 sibling, 0 replies; 22+ messages in thread From: Hans Hagen @ 2000-06-01 23:33 UTC (permalink / raw) Cc: ntg-context At 04:06 PM 6/1/2000 +0200, Berend de Boer wrote: >> Thanks. it can set the column width. But how can I place a long >> table in four or file pages? just like the longtable package >> does in latex? > >\starttabulate automatically breaks across pages (not always in exactly the >line you sometimes want, but that's a minor issue). > >It does not float, so it starts right where you put it. It can float, try: \setuplayout[height=5cm] \startbuffer \starttabulate[|||] \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \NC test \NC test \NC \NR \stoptabulate \stopbuffer \splitfloat {\placetable{caption}} {\getbuffer} [still a bit experimental btw] 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-01 14:06 ` Questions Berend de Boer 2000-06-01 23:33 ` Questions Hans Hagen @ 2000-06-02 2:28 ` Mr. Wang Lei 2000-06-02 5:36 ` Questions Berend de Boer 1 sibling, 1 reply; 22+ messages in thread From: Mr. Wang Lei @ 2000-06-02 2:28 UTC (permalink / raw) Cc: ntg-context On Thu, 1 Jun 2000, Berend de Boer wrote: > \starttabulate automatically breaks across pages (not always in exactly the > line you sometimes want, but that's a minor issue). > > It does not float, so it starts right where you put it. > Sure, \starttabulate can across pages. but my problem is that I want add a cpation to the table, place the table in the middle, place a head and a foot on each page, like LaTeX longtable environment does. I read the article written by Taco on comparing ConTeXt and LaTeX, he said ConTeXt already supply that function. But I didn't know how to implement. If I use \placetable, it only give one page. Regards, Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-02 2:28 ` Questions Mr. Wang Lei @ 2000-06-02 5:36 ` Berend de Boer 2000-06-02 6:31 ` Questions Mr. Wang Lei 0 siblings, 1 reply; 22+ messages in thread From: Berend de Boer @ 2000-06-02 5:36 UTC (permalink / raw) > Sure, \starttabulate can across pages. but my problem > is that I want add a cpation to the table, place the > table in the middle, place a head and a foot on each page, > like LaTeX longtable environment does. I see, and this is not yet in the english manual. Here some samples (not tested): \definetabletemplate [demo] [|r|l|] [demo head] [demo tail] Head: \starttablehead[demo head] \HL \VL zie \VL zo \VL\AR \HL \stoptablehead Tail: \starttabletail[demo tail] \HL \stoptabletail Now table with head and tail is: \starttable[demo] \VL before \VL after \VL\AR \VL up \VL below \VL\AR \stoptable Now head and tail are hopefully repeated. Let me know if this works. Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 22+ messages in thread
* RE: Questions 2000-06-02 5:36 ` Questions Berend de Boer @ 2000-06-02 6:31 ` Mr. Wang Lei 0 siblings, 0 replies; 22+ messages in thread From: Mr. Wang Lei @ 2000-06-02 6:31 UTC (permalink / raw) Cc: ntg-context On Fri, 2 Jun 2000, Berend de Boer wrote: > > Sure, \starttabulate can across pages. but my problem > > is that I want add a cpation to the table, place the > > table in the middle, place a head and a foot on each page, > > like LaTeX longtable environment does. > > I see, and this is not yet in the english manual. > > Here some samples (not tested): This example can not place a long table across pages. I think I must explain my question more clearly. I have a long table, may need five pages to place it. In each page, I want a head line which give the definition of each column in the table. And, also a tail line at the end of each page except the last page which indicate the table will be continuing in the next page. for example, a three pages table as follows: page 1: Table 1.1 City data <---- table caption ------------------------------------------ City Latitude Longitude <----- head line ------------------------------------------ Beijing 39.906111 116.387778 ... ... ... <----- table body ------------------------------------------ See next page ... <---- tail line <---- end of page 1 page 2: ------------------------------------------ City Latitude Longitude ------------------------------------------ Shanghai 31.247778 121.4725 ... ... ... ------------------------------------------ See next page ... <---- end of page 2 page 3: ------------------------------------------ City Latitude Longitude ------------------------------------------ Xian 34.265556 108.883333 ... ... ... ------------------------------------------ <---- end of table. and no tail line Regards, Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-06-01 9:52 ` Questions Mr. Wang Lei 2000-06-01 11:59 ` Questions Berend de Boer @ 2000-06-02 0:36 ` Hans Hagen 2000-06-02 7:26 ` Questions Mr. Wang Lei 1 sibling, 1 reply; 22+ messages in thread From: Hans Hagen @ 2000-06-02 0:36 UTC (permalink / raw) Cc: ntg-context At 05:52 PM 6/1/2000 +0800, Mr. Wang Lei wrote: >In \startappendices .... \stopappendices, >When I \usemodule[chinese], texexec give an error message: You can add, in s-chi-00: \stelsectiein [\v!sectionlevel-2] [\v!bijlage\c!conversie=] Keep in mind that for chinese we have a pretty tricky double conversion call chain, so here we need to disable the default ABC numbering. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-06-02 0:36 ` Questions Hans Hagen @ 2000-06-02 7:26 ` Mr. Wang Lei 2000-06-05 6:22 ` Questions Mr. Wang Lei 0 siblings, 1 reply; 22+ messages in thread From: Mr. Wang Lei @ 2000-06-02 7:26 UTC (permalink / raw) Cc: ntg-context On Fri, 2 Jun 2000, Hans Hagen wrote: > >In \startappendices .... \stopappendices, > You can add, in s-chi-00: > > \stelsectiein [\v!sectionlevel-2] [\v!bijlage\c!conversie=] > > Keep in mind that for chinese we have a pretty tricky double conversion > call chain, so here we need to disable the default ABC numbering. > Are you mean we can not use the follow setup to get a appendix numbered with A B or C in Chinese module? \setupsection[section-2] [appendixconversion=Character, previousnumber=no] Beside this, I use the following setup: \setuplabeltext[appendix=\uchar{184}{189}\uchar{194}{188}] \setuphead[chapter] [appendixlabel=appendix, bodypartlabel=chapter] In the body, the label of appendix is changer in Chinese with \uchar{184}{189}\uchar{194}{188}\chinesenumber{1}. but in the table of contents, it still the same as other chapters in the body part. like \chapterprefix\chinesenumber{1}\chapterprefix Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Questions 2000-06-02 7:26 ` Questions Mr. Wang Lei @ 2000-06-05 6:22 ` Mr. Wang Lei 0 siblings, 0 replies; 22+ messages in thread From: Mr. Wang Lei @ 2000-06-05 6:22 UTC (permalink / raw) Cc: ntg-context On Fri, 2 Jun 2000, Mr. Wang Lei wrote: > On Fri, 2 Jun 2000, Hans Hagen wrote: > > > >In \startappendices .... \stopappendices, > > You can add, in s-chi-00: > > > > \stelsectiein [\v!sectionlevel-2] [\v!bijlage\c!conversie=] > > > > Keep in mind that for chinese we have a pretty tricky double conversion > > call chain, so here we need to disable the default ABC numbering. > > > > Are you mean we can not use the follow setup to get a > appendix numbered with A B or C in Chinese module? > > \setupsection[section-2] > [appendixconversion=Character, > previousnumber=no] > > Beside this, I use the following setup: > > \setuplabeltext[appendix=\uchar{184}{189}\uchar{194}{188}] > > \setuphead[chapter] > [appendixlabel=appendix, > bodypartlabel=chapter] > > In the body, the label of appendix is changer in Chinese > with \uchar{184}{189}\uchar{194}{188}\chinesenumber{1}. > but in the table of contents, it still the same as > other chapters in the body part. like > > \chapterprefix\chinesenumber{1}\chapterprefix I put the following before the \startappendices, \stelsectiein [\v!sectionlevel-2] [\c!kopconversie=\s!english] So I get "\uchar{184}{189}\uchar{194}{188} A" in the text body. But the table of contents still show "\chapterprefix A \chapterprefix " other than "\uchar{184}{189}\uchar{194}{188} A". Wang ------------------------------------------------------------------------ Mr. Wang Lei Phone: 86-10-62616670 Email: lwang@amath8.amt.ac.cn Institute of Applied Mathematics leiwang@btamail.net.cn Chinese Academy of Science Address: P.O.Box 2734, Beijing, 100080 ------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 22+ messages in thread
* questions @ 2000-04-21 15:37 pragma 2000-04-21 16:33 ` questions Johannes Hüsing 0 siblings, 1 reply; 22+ messages in thread From: pragma @ 2000-04-21 15:37 UTC (permalink / raw) Error's like: specials : command \dogetnofinsertpages does not exist specials : command \doinsertsoundtrack does not exist specials : command \dostartclipping does not exist specials : command \dostopclipping does not exist specials : command \doregistercalculationset does not exist specials : command \dosetposition does not exist specials : command \dosetpositionwhd does not exist ! Too many }'s. l.797 \fi} indeed point to an out of sync installations and berends suggestion of removing the context base path and reinstalling the new one is ok. As one can deduce there are indeed some new (yet undocumented) things -) Hans ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: questions 2000-04-21 15:37 questions pragma @ 2000-04-21 16:33 ` Johannes Hüsing 2000-04-21 18:22 ` questions Ed L Cashin 0 siblings, 1 reply; 22+ messages in thread From: Johannes Hüsing @ 2000-04-21 16:33 UTC (permalink / raw) On Fri 2000-04-21 (17:37), Hans (pragma@wxs.nl) wrote: > Error's like: > > specials : command \dogetnofinsertpages does not exist > specials : command \doinsertsoundtrack does not exist > specials : command \dostartclipping does not exist > specials : command \dostopclipping does not exist > specials : command \doregistercalculationset does not > exist > specials : command \dosetposition does not exist > specials : command \dosetpositionwhd does not exist > ! Too many }'s. > l.797 \fi} > > indeed point to an out of sync installations and berends > suggestion of removing the context base path and reinstalling > the new one is ok. > Pardon my ignorance, but I am still lost here. I rmrf'ed $TEXMF/tex/context and unzipped the up-to-date cont-tmf.zip over $TEXMF, so the old tex/context/base files are supposed to be gone. Yet I am getting the same error messages here. Thanks for any enlightenment. Johannes ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: questions 2000-04-21 16:33 ` questions Johannes Hüsing @ 2000-04-21 18:22 ` Ed L Cashin 0 siblings, 0 replies; 22+ messages in thread From: Ed L Cashin @ 2000-04-21 18:22 UTC (permalink / raw) Cc: pragma, ntg-context Johannes Hüsing <tmi0m0@spo109.power.uni-essen.de> writes: > On Fri 2000-04-21 (17:37), Hans (pragma@wxs.nl) wrote: > > Error's like: > > > > specials : command \dogetnofinsertpages does not exist > > specials : command \doinsertsoundtrack does not exist > > specials : command \dostartclipping does not exist > > specials : command \dostopclipping does not exist > > specials : command \doregistercalculationset does not > > exist > > specials : command \dosetposition does not exist > > specials : command \dosetpositionwhd does not exist > > ! Too many }'s. > > l.797 \fi} > > > > indeed point to an out of sync installations and berends > > suggestion of removing the context base path and reinstalling > > the new one is ok. > > > > Pardon my ignorance, but I am still lost here. I rmrf'ed > $TEXMF/tex/context and unzipped the up-to-date cont-tmf.zip over > $TEXMF, so the old tex/context/base files are supposed to be > gone. Yet I am getting the same error messages here. > > Thanks for any enlightenment. I just followed Berend's advice with a slight modification: I moved *all* of the context directories (there are several) to the name "context.20000421". Then I unzip'ed the cont-tmf.zip in "/usr/local/teTeX/share/texmf", my texmf directory. These commands would speed it up: cd /usr/local/teTeX/share/texmf for dir in `find . -type d -name context`; do mv $dir $dir.20000421; done ... Then I copied "context/config/texexec.rme" to "context/config/texexec.ini" and copied "context/perltk/texexec.pl" to "/usr/local/bin/texexec" ... then cp -i tex/context.20000421/config/* tex/context/config ... without writing over the new file. Then regenerated the formats ... come to think of it, what I did was pretty complicated. But simply unzipping the cont-tmf.zip over a current installation never has worked for me. This way worked. Hmm. -- --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/ ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2000-08-01 9:39 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2000-07-31 23:05 Questions David Arnold 2000-08-01 9:39 ` Questions Hans Hagen [not found] <Pine.GSO.4.21.0005252021300.939-100000@AMath13> [not found] ` <Pine.GSO.4.21.0005271156530.2806-100000@AMath13> 2000-05-27 19:48 ` Questions Hans Hagen 2000-05-30 7:54 ` Questions Mr. Wang Lei 2000-05-30 11:38 ` Questions Hans Hagen 2000-05-30 12:59 ` Questions Mr. Wang Lei 2000-05-30 15:18 ` Questions Hans Hagen 2000-05-31 11:17 ` Questions Mr. Wang Lei 2000-06-01 9:52 ` Questions Mr. Wang Lei 2000-06-01 11:59 ` Questions Berend de Boer 2000-06-01 12:45 ` Questions Mr. Wang Lei 2000-06-01 14:06 ` Questions Berend de Boer 2000-06-01 23:33 ` Questions Hans Hagen 2000-06-02 2:28 ` Questions Mr. Wang Lei 2000-06-02 5:36 ` Questions Berend de Boer 2000-06-02 6:31 ` Questions Mr. Wang Lei 2000-06-02 0:36 ` Questions Hans Hagen 2000-06-02 7:26 ` Questions Mr. Wang Lei 2000-06-05 6:22 ` Questions Mr. Wang Lei -- strict thread matches above, loose matches on Subject: below -- 2000-04-21 15:37 questions pragma 2000-04-21 16:33 ` questions Johannes Hüsing 2000-04-21 18:22 ` questions Ed L Cashin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).