Re: [NTG-context] patterns
Willi Egger wrote: After running mktexlsr I started texmfstart cxtools --patternfiles all in the alpha-context/tex directory. All pat and hyp files where then transferred into a new directory ..\texmf-local\pattern. Again mktexlsr was run. texmf-local\pattern is not in the searchpath, so either put in in base or in parallel, like in: texmf-local\tex\context\patterns language: patterns cz for cz loaded (n=13,e=il2,m=il2) (c:\ALPHA-~1\tex\texmf/tex/csplain/czhyphen.tex ! Undefined control sequence. l.36 .a4d\'e i'm a bit puzzled, because the old system should still work; maybe some mix up; anyway, the czech patterns are kind of special because they are in the wrong location in the texmf tree (czech patterns are a persistent problem, politics involved and such) I know, that I am doing things, which I am unable to understand completely. Still I wonder what the problem is. 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Why uses Context 8r encoding used instead of the specified ec encoding?
Hi Thomas, thanks for the wealth of information. I see much clearer now. --Stefan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Choosing an encoding - what are the consequences?
Hi all! I am on the burdensome path to understanding font handling in ConText. Now I wonder what the consequences are with choosing certain encodings. For example if I choose 8a encoding (called Adobe standard encoding): 1. There are lots of empty slots in this encoding. What does ConText do if a symbol that is to be typeset is not contained in an encoding? 2. Can I ommit the 8a encoding in map files when PDF documents are generated (because it is the Adobe standard encoding)? 3. Somewhere I read that texnansi is a preferred encoding. Why? Thanks for your attention, --Stefan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] patterns
Willi Egger wrote: After running mktexlsr I started texmfstart cxtools --patternfiles all in the alpha-context/tex directory. All pat and hyp files where then transferred into a new directory ..\texmf-local\pattern. Again mktexlsr was run. btw, i just made a more clever loader (fallbacks and such); will upload later 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [Fwd: CTAN upload: URW Letter Gothic fonts]
Hi, yet another URW++ font - this time a typewriter font. Tobias Original Message CTAN Announcements ctan-ann@dante.de Send by: [EMAIL PROTECTED] 11.02.2005 16:47 To: ctan-ann@dante.de Subject: CTAN upload: URW Letter Gothic fonts On Fri, 11 Feb 2005, Walter Schmidt upoloaded a bundel called lettergothic containing: (1) the PostScript font family Letter Gothic, which URW has made available for free under the Aladdin Free Public License, see http://www.artifex.com/downloads/ (2) font metrics, macros etc. to use the fonts with LaTeX; this material is released under LPPL Because of the Aladdin license, the bundle has been installed in: nonfree/fonts/urw/lettergothic Thanks for the upload. For the CTAN Team Rainer Schöpf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] What's (in) a module?
Two maybe related questions: 1. What constitutes a module? I wrote a couple of definitions and put them in a file t-foo.tex. When I write \input t-foo in the preamble of my document, everything works fine (so the file is found by TeX). When I say \usemodule[t-foo] or \usemodule[foo], I get system : no macros found in module foo and, obviously, undefined control sequence. So: is there any special form for a module? I'm very curious because I defined a set of similar macros in another module, and everything works fine. 2. Is it possible to use a certain encoding file, enco-bar.tex, for parts of a file only? Could one define a macro (in a module???) that would do something like \switchtoencoding[bar] and switch back to the file's default encoding afterwards? Thanks to all, best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What's (in) a module?
Thomas A.Schmitz wrote: 1. What constitutes a module? I wrote a couple of definitions and put them in a file t-foo.tex. When I write \input t-foo in the preamble of my document, everything works fine (so the file is found by TeX). When I say \usemodule[t-foo] or \usemodule[foo], I get system : no macros found in module foo and, obviously, undefined control sequence. So: is there any special form for a module? I'm very curious because I defined a set of similar macros in another module, and everything works fine. did you run mktexlsr? 2. Is it possible to use a certain encoding file, enco-bar.tex, for parts of a file only? Could one define a macro (in a module???) that would do something like \switchtoencoding[bar] and switch back to the file's default encoding afterwards? you're talking about font encodings? \definetypeface [PalatinoA] [rm] [serif] [palatino] [default] [encoding=texnansi] \definetypeface [PalatinoB] [rm] [serif] [palatino] [default] [encoding=ec] works ok; typefaces live in their own namespace if you're talking about input encoding, you can switch regimes whenever you want 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What's (in) a module?
On Feb 15, 2005, at 5:32 PM, Hans Hagen wrote: Thomas A.Schmitz wrote: 1. What constitutes a module? I wrote a couple of definitions and put them in a file t-foo.tex. When I write \input t-foo in the preamble of my document, everything works fine (so the file is found by TeX). When I say \usemodule[t-foo] or \usemodule[foo], I get system : no macros found in module foo and, obviously, undefined control sequence. So: is there any special form for a module? I'm very curious because I defined a set of similar macros in another module, and everything works fine. did you run mktexlsr? It's a file in my $HOMETEXMF which doesn't have lsR files. I ran mktexlsr nevertheless, but to no avail. I really fail to understand... 2. Is it possible to use a certain encoding file, enco-bar.tex, for parts of a file only? Could one define a macro (in a module???) that would do something like \switchtoencoding[bar] and switch back to the file's default encoding afterwards? you're talking about font encodings? \definetypeface [PalatinoA] [rm] [serif] [palatino] [default] [encoding=texnansi] \definetypeface [PalatinoB] [rm] [serif] [palatino] [default] [encoding=ec] Yes, I'm talking about font encodings. For the utf greek stuff, I defined a file enco-agr to provide the named glyphs, which I call by adding \useencoding[agr]. But I just realized that this will only add these named files, not overload the other names in the default encoding, so I guess that's a non-problem after all. I guess Adam was in touch with you. unicode vectors and modules for adding support for utf extended Greek are approaching completion. Maybe we can think where to put the stuff (five fonts at least). Maybe a CTAN/Context directory would be a good thing. Thanks Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] What's (in) a module?
Thomas A.Schmitz wrote: It's a file in my $HOMETEXMF which doesn't have lsR files. I ran mktexlsr nevertheless, but to no avail. I really fail to understand... weird; can you run with: \tracefilestrue I guess Adam was in touch with you. unicode vectors and modules for adding support for utf extended Greek are approaching completion. Maybe we can think where to put the stuff (five fonts at least). Maybe a CTAN/Context directory would be a good thing. indeed 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Hyphenation exception list
Jack M. Lyon wrote: locate and edit: kpsewhich texmf.cnf (or: texmfstart --direct youreditor kpse:texf.cnf) adapt: buf_size.context = 20 % needed for omega bug extra_mem_bot.context= 200 extra_mem_top.context= 400 font_max.context =2000 font_mem_size.context= 100 hash_extra.context = 65000 main_memory.context = 150 max_strings.context = 20 nest_size.context= 500 obj_tab_size.context = 30 % 8388607 pdf_mem_size.context = 50 % 524288 dest_names_size.context = 30 % 131072 param_size.context = 1 pool_free.context= 47500 pool_size.context= 125 save_size.context= 5 stack_size.context = 1 string_vacancies.context = 9 trie_size.context= 25 % patterns regenerate the formats since they depend on such settings 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] paragraphs in starttables
On Tue, 15 Feb 2005, Hans Hagen wrote: bTABle ... it can split if you say \setupTABLE[split=yes] % splitmethod=a|b you can make head, foot and body sections as well as define alternative headers for the split off parts Ok, I'm going to try bTABLE. How can I define header and tail for each page? Is there any reference for this table type, I only found enattab.pdf with some examples. Here is some code, that I tried, but without success: \starttext \bTABLE[split=yes,splitmethod=a] % splitmethod=b gives an error \bTABLEhead \bTR \bTD top of the page \eTD \eTR \eTABLEhead \bTABLEfoot \bTR \bTD bottom of the page \eTD \eTR \eTABLEfoot \bTABLEnext \bTR \bTD next one \eTD \eTR \eTABLEnext \bTABLEbody \dorecurse{50}{\bTR \bTD the body \eTD \eTR} \eTABLEbody \eTABLE \stoptext TIA for any help. Greetings, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] paragraphs in starttables
Peter Münster wrote: Here is some code, that I tried, but without success: how ancient is your context? 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typesetting products and components
On Mon, 14 Feb 2005, Randall Skelton wrote: Is it possible to determine if texexec is being run on a product or a component and have optional processing similar to different modes? \ifx\currentproduct\empty no product defined \else the product is \currentproduct \fi Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Hyphenation exception list
Hans Hagen wrote: Jack M. Lyon wrote: locate and edit: kpsewhich texmf.cnf (or: texmfstart --direct youreditor kpse:texf.cnf) adapt: missed one: hyph_size.context = 1000 % hyphenation exceptions ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] paragraphs in starttables
On Tue, 15 Feb 2005, Hans Hagen wrote: Peter Münster wrote: Here is some code, that I tried, but without success: how ancient is your context? TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 executable : pdfetex format : cont-en inputfile : test output : standard interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (/opt/teTeX/texmf-dist/web2c/natural.tcx) entering extended mode (./test.tex ConTeXt ver: 2005.01.31 fmt: 2005.2.15 int: english mes: english Without success means: I don't get anything similar to \starttablehead or \starttabletail The head and the foot appear, but not on each page. I think, I just don't know how to use all these command the right way... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Typesetting products and components
Randall Skelton wrote: generated for the set of components. Is it appropriate to want to do this or have I misunderstood the role of projects, products and components entirely. as long as you understand the logic behind your choices it;s ok I'll add a system mode: (put this in cont-new.tex) \startvariables dutch english germanczech italian romanian environment: omgeving environment umgebung prostredi ambiente mediu component: onderdeel component komponentekomponenta componentecomponenta product: produkt product produkt produkt prodotto produs project: project project projekt projekt progetto proiect \stopvariables \unprotect \let\currentcomponent\v!text \def\donextlevel#1#2#3#4#5#6#7\\% {\pushmacro\currentcomponent \let\currentcomponent#1 \setsystemmode\currentcomponent \beforesplitstring#7\at.\to#2\relax \ifcase\filelevel\relax \starttext \def\project ##1 {#3{##1}}% \def\environment ##1 {#4{##1}}% \def\product ##1 {#5{##1}}% \def\component ##1 {#6{##1}}% \fi \increment\filelevel\relax \fullexpandoneargafter\addtocommalist{#1}\loadedfiles} \def\doprevlevel {\popmacro\currentcomponent \setsystemmode\currentcomponent \ifnum\filelevel=\plusone \expandafter\stoptext \else \decrement\filelevel\relax \expandafter\endinput \fi} \def\startproject #1 % {\donextlevel\v!project\currentproject \donotexecutefile\doexecutefileonce \doexecutefileonce\doexecutefile#1\\} \def\startproduct #1 % {\doateverystarttext \donextlevel\v!product\currentproduct \doexecutefileonce\doexecutefileonce \donotexecutefile\doexecutefile#1\\} \def\startcomponent #1 % {\doateverystarttext \donextlevel\v!component\currentcomponent \doexecutefileonce\doexecutefileonce \donotexecutefile\doexecutefile#1\\} \def\startenvironment #1 % {\donextlevel\v!environment\currentenvironment \donotexecutefile\doexecutefileonce \donotexecutefile\donotexecutefile#1\\} \protect \starttext % \startproject test % 1: \startmode[*project] project \stopmode \endgraf % 2: \startmode[*product] product \stopmode \endgraf % \stopproject \startproduct test 1: \startmode[*project] project \stopmode \endgraf 2: \startmode[*product] product \stopmode \endgraf \stopproduct \stoptext - 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Hyphenation exception list
Taco Hoekwater wrote: missed one: hyph_size.context = 1000 % hyphenation exceptions ah, i didn't know that one, thanks 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 ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texsync - help
I just discover the existance of texsync by browsing the manuals. I tried to update the manuals and it worked fine in a $HOME/tmp directory. I am kind of skeptical in updating the whole context installation because I don't know the proper destination option. I installed tex using texlive2004, and it created a directory /usr/local/texlive2004/ in my Fedora3 linux. I wonder if the following command would do the job wihout harm: texsync --full --update --force --destination=/usr/local/texlive2004 and what else should I do afterward. thank you Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Thumb indexes
h h extern [EMAIL PROTECTED] said on 2005-02-13, 15:18 (+0100 GMT): \unprotected \def\rawsectionnumber#1{\countervalue{\??se#1}} % will be in kernel [...] Awesome (and scary) stuff. Works great, too. you may only read this answer if you also put it in the wiki OK, Ill have a go. Thanks for your help again. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context