Re: [NTG-context] dvipdfmx
Jin-Hwan Cho wrote: On Aug 19, 2005, at 7:19 AM, Hans Hagen wrote: ctxtools --dpxmapfiles --force texmf ctxtools --dpxmapfiles --force texmf-local ctxtools --dpxmapfiles --force texmf-fonts will generate them, don't forget to mktexlsr btw, (new)texexec will automatically run dvipdfmx ctxtools does not make right font mapping files. Especially for slanted fonts, it ignores -s slant option. For example, in texnansi-urw-palatino.map, texnansi-raw-uplr8a-slanted-167 URWPalladioL-Roma 0.167 SlantFont 4 uplr8a.pfb texnansi.enc is converted to texnansi-raw-uplr8a-slanted-167 texnansi uplr8a But the right one is texnansi-raw-uplr8a-slanted-167 texnansi uplr8a -s .167 Does ctxtool use the same technique as updmap? Or, my teTeX (fink version) is old? i dunno about updmap, never used it; currently i load map files automatically in dvipdfmx (i could get the mapline special working) i didn't know the exact dvipdfmx mapfile syntax -) we can add a slant as follows: encoding = if line =~ /([a-z0-9\-]+)\.enc/iothen $1 else '' end fontfile = if line =~ /([a-z0-9\-]+)\.(pfb|ttf)/io then $1 else nil end metrics = if line =~ /^([a-z0-9\-]+)[\s\]+/io then $1 else nil end slant= if line =~ /\([\d\.]+)\s+SlantFont\/io then -s #{$1} else '' end if metrics encoding fontfile then n += 1 #{metrics} #{encoding} #{fontfile} #{slant} else '' end 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] TOC bug or feature?
Idris Samawi Hamid wrote: Hi Hans, Did u intentionally make the option [sectionnumber=yes] the default for \placelist[]? This seems rather strange and arbitrary (chapter and subsection are not affected)... hm, duplicate use of key, i'll fix it and make the new option 'headnumber=yes|no' i'll upload a ne wversion (also with the right dll's and the dpx fix) 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] new for french users
On Friday, August 19, 2005 1:55 AM Hans Hagen wrote: Hi, There are a couple of new features in the next version of pdftex. One of them is the ability to automatically add a kern before punctuation, which is important for french. So ... we can get rid of active : ; ! and ? characters which is a good thing. I'll upload a version that supports this. The handling is called prespacing and the values are experimental. A test could look like: \definefontsynonym[myfont][Serif][handling=prespacing] \definefont[whatever][myfont sa 1] \setupalign[spacing] % nospacing \whatever look at this: we now have a proper spacing feature and, hurray, get rid of active punctuation! but for document wide behaviour one should apply handling at the typeface level. You can turn it on/off with the setupalign command (or the align=... k/v in other commands) A windows test binary can be found at: http://pdftex.sarovar.org/djgpp/ just move the exe and pool file to the right place and make a format. Hans Are these new support files already at pragma site? Which files do I need? Ulrich ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font missing for palatino
Fixed: \usetypescript [berry] [ec] \setupencoding[ec] \loadmapfile [context-base] %%add this \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,12pt] \starttext test \stoptext (cfr. http://contextgarden.net/Psnfss) luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: ConTeXt in MikTeX distribution
Hi, I've just updated my MikTeX distribution, which use a 2005-07-12 version of context package. Since then MikTeX could not generate the cont-en format file, when I use texexec --make en, it reports TeX capacity not enough, so I have to modify the localtexmf/miktex/config/miktex.ini file, change |trie_op_size from 2048 to 4096. Did you contact the MikTeX maintainers about that? [...] So I suggest the maintainer of context avoid using the -p option, it seems ||afm2tfm \$file\ texfont.tfm| | does the same job in this piece of code. But then: how do you specify the encoding of the mapfile/psfont? -p is a pretty important switch when using non-ascii encoings. Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] pdfetex manuals
I have compiled pdfetex 1.30 manuals ; they are at http://www.logosrl.it *)pdftex-a.pdf: A4 *)pdftex-l.pdf: letter *)pdftex-s.pdf: screen To compile, I have to patch pdftex-t.tex adding \loadmapfile [context-base] after \usetypescript [adobekb] [\defaultencoding] *)samplepdf.zip: samplepdf dir with samplepdf.tex compiled Typing error: SoundfFile.wav ==SoundFile.wav *)pdfetex-web.pdf: eTex -The Program with pdf extension $ weave pdfetex.web replace first line \input webmac with \input pdfwebmac $ pdfetex pdfetex.tex luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfetex manuals
luigi.scarso wrote: I have compiled pdfetex 1.30 manuals ; they are at http://www.logosrl.it http://www.logosrl.it/context Sorry *)pdftex-a.pdf: A4 *)pdftex-l.pdf: letter *)pdftex-s.pdf: screen To compile, I have to patch pdftex-t.tex adding \loadmapfile [context-base] after \usetypescript [adobekb] [\defaultencoding] *)samplepdf.zip: samplepdf dir with samplepdf.tex compiled Typing error: SoundfFile.wav ==SoundFile.wav *)pdfetex-web.pdf: eTex -The Program with pdf extension $ weave pdfetex.web replace first line \input webmac with \input pdfwebmac $ pdfetex pdfetex.tex luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Suitable mechanism for Theorems and Definitions
Hello, I've used enumeration features for typesetting Theorems, Lemmas, and Definitions. Two extra requirements appeared. Is this possible to create lists of those entities (something like \placelistofTheorems :-)? And is there a way to add names to them, resulting in something like Definition 4.3: Interval Decision Diagram Node blahblah Or is there a more suitable way to do this (taking into account that I prefer numbering Theorems, Lemmas, and Definitions in a single number line)? You have to program it yourself on top of enumeration is of course a valid answer, I just don't want to do something that is built in :- Thanks, D.A. -- DCT itself provides a lossless compression and actually doesn't compress anything. -- Miloš Liška ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] off to china
Hi, I'm off to tug 2005 in china now, so expect less answers from me for a while 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] TOC bug or feature?
http://contextgarden.net/Release_Notes Hans Hagen wrote: i'll upload a ne wversion (also with the right dll's and the dpx fix) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Dense Encoding - Comments wanted
Hi Adam, On Hans's suggestion, I've been working on a dense character encoding that does away with combining accents and extraneous symbol-like characters in favor of fully accented characters. http://homepage.mac.com/atl/tex/dense.pdf do you have an enc file to play with? So with those goals in mind, does anyone notice their favorite *letter* missing? Is there essential punctuation missing? Looks fine so far, but I have only checked the chars I use (mostly german). Did you consider posting this to the tex-fonts list? (Although I wouldn't put too much effort posting there, the answer will be 'we don't need this'). Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Dense Encoding - Comments wanted
Patrick Gundlach said this at Fri, 19 Aug 2005 12:34:11 +0200: Hi Adam, So with those goals in mind, does anyone notice their favorite *letter* missing? Is there essential punctuation missing? Looks fine so far, but I have only checked the chars I use (mostly german). Did you consider posting this to the tex-fonts list? (Although I wouldn't put too much effort posting there, the answer will be 'we don't need this'). No, I haven't, mostly for that reason. The discussion will inevitably center around why rather than what. Still, I probably should, once the project is further along. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bug in indentation
Idris Samawi Hamid wrote: Dear knights, There is apparently something wrong with the indenting mechanism in the latest context: I have to invoke indenting twice to cut it on (uncomment the second \setupindenting): I've verified this bug, but will probably have to wait until Hans is back (i don't understand his changes to \setupindenting) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Dense Encoding - Comments wanted
Patrick Gundlach wrote: Hi Adam, On Hans's suggestion, I've been working on a dense character encoding that does away with combining accents and extraneous symbol-like characters in favor of fully accented characters. http://homepage.mac.com/atl/tex/dense.pdf do you have an enc file to play with? So with those goals in mind, does anyone notice their favorite *letter* missing? Is there essential punctuation missing? OK for Czech chars too. Only tcaron char is not searchable (if in my AR7 search for any letter, say 'a' I got all accented a variant; if for 't' 'ť' is not find), but I do not know if the problem is in a) AR, b) CMAP, c) encoding (enco in the font presented in the PDF has mostly tcaron but tquoteright is presented too). But tt is not a big problem. vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Dense Encoding - Comments wanted
Vit Zyka said this at Fri, 19 Aug 2005 15:42:18 +0200: So with those goals in mind, does anyone notice their favorite *letter* missing? Is there essential punctuation missing? OK for Czech chars too. Thanks. Good to know. Only tcaron char is not searchable (if in my AR7 search for any letter, say 'a' I got all accented a variant; if for 't' 'È' is not find), but I do not know if the problem is in a) AR, b) CMAP, c) encoding (enco in the font presented in the PDF has mostly tcaron but tquoteright is presented too). But tt is not a big problem. Hmm, interesting. I get the same results in Apple's PDF viewer. (The capital letter Tcaron is searchable, though!) There's a fair bit that I don't understand about CMAP, however. (Also note that this was generated a few months ago, and that recent CMAP improvements (I think I saw some corrections go by on the mailing list while on holiday) won't be reflected here.) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] dvipdfmx
On Aug 19, 2005, at 4:14 PM, Hans Hagen wrote: i dunno about updmap, never used it; currently i load map files automatically in dvipdfmx (i could get the mapline special working) i didn't know the exact dvipdfmx mapfile syntax -) we can add a slant as follows: encoding = if line =~ /([a-z0-9\-]+)\.enc/iothen $1 else '' end fontfile = if line =~ /([a-z0-9\-]+)\.(pfb|ttf)/io then $1 else nil end metrics = if line =~ /^([a-z0-9\-]+)[\s\]+/io then $1 else nil end slant= if line =~ /\([\d\.]+)\s+SlantFont\/io then -s # {$1} else '' end if metrics encoding fontfile then n += 1 #{metrics} #{encoding} #{fontfile} #{slant} else '' end My ctxtools.rb does not have the line for slant. Just three lines for encoding, fontfile, and metrics. The version is 1.2.2. (Jul 29) Have you updated ctxtools.rb recently? Best, ChoF. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] modules.pdf
Update to latest distro;see http://contextgarden.net/User:Luigi.scarso/modules.pdf luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] font loading
Hi Taco, = Original Message From Taco Hoekwater [EMAIL PROTECTED] = There is apparently something wrong with the indenting mechanism in the I've verified this bug, but will probably have to wait until Hans is back (i don't understand his changes to \setupindenting) Ok, but is there at least a workaround for the problems loading the math and other default fonts? This is really critical: = Original Message From mailing list for ConTeXt users ntg-context@ntg.nl = Another bug/feature: Something has apparently changed in the way fonts/maps are loaded. The following used to work, now does not % output=pdf interface=en \usetypescriptfile[type-mpoow] \usetypescript[MinionProOptow] \setupbodyfont[minionprooptow,10pt] \starttext \dots \stoptext The typescript file is my own, but the following line is relevant: = \definetypeface [minionprooptow] [mm] [math] [euler] [default] [encoding=texnansi,rscale=0.89] = When I process this the log gives = Warning: pdfetex.exe (file eurm10): Font eurm10 at 64 not found = Second: why doesn't the ellipsis use the main text font? I guess that \dots is obtained from the math font, but in running text this makes no sense. Shouldn't ConTeXt define \dots with respect the text font? Or does it use something other than \dots? [update: I used a chardef, but doesn't ConTeXt have a more general ellipsis command?] Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfetex manuals
luigi.scarso wrote: luigi.scarso wrote: I have compiled pdfetex 1.30 manuals ; they are at http://www.logosrl.it http://www.logosrl.it/context Back to module.pdf: It is very instructive to have all module documentation together, fresh, and very nice designed! So thank you both Luigi and Hans for this efford! vit Sorry *)pdftex-a.pdf: A4 *)pdftex-l.pdf: letter *)pdftex-s.pdf: screen To compile, I have to patch pdftex-t.tex adding \loadmapfile [context-base] after \usetypescript [adobekb] [\defaultencoding] *)samplepdf.zip: samplepdf dir with samplepdf.tex compiled Typing error: SoundfFile.wav ==SoundFile.wav *)pdfetex-web.pdf: eTex -The Program with pdf extension $ weave pdfetex.web replace first line \input webmac with \input pdfwebmac $ pdfetex pdfetex.tex luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === Ing. Vít Zýka, Ph.D. TYPOkvítek database publishing databazove publikovani data maintaining and typesetting in typographic quality priprava dat a jejich sazba v typograficke kvalite tel.: (+420) 777 198 189 www: http://typokvitek.com === ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] RE: font loading
Hi Taco = Original Message From Taco Hoekwater [EMAIL PROTECTED] = Without the actual typefaces I can only guess, but have you tried \loadmapfile[original-ams-euler] (or even \loadmapfile[context-base]) lines like that are in the newer cont-sys.rme file, but chances are that your local cont-sys.tex doesn't have them yet. In any case, you should check for major differences between your local config files and the distributed .ori ones Ok, I have cont-sys.rme/tex/ori. Which one of these three governs the system? In any case, both .ori and .tex have the same mapfiles loaded, including euler etc. Here is an example anyone can run: it gives similar pdfetex errors (Font texnansi-lmbx12 at 60 not found) This file worked with the older ConTeXt: type-test.tex= %% font mapping \starttypescript [serif][test] [texnansi] \definefontsynonym [LMRSerif] [texnansi-lmbx12][encoding=texnansi] \stoptypescript %% general names \starttypescript [serif][test] [name] \definefontsynonym [Serif][LMRSerif] \stoptypescript %% font sizes \starttypescript [serif][test] [size] \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt] [rm] [tf=Serif sa 1] \stoptypescript %% hanging \starttypescript [serif] [hanging][test] \setupfontsynonym [Serif] [handling=normal] \setupfontsynonym [SerifCapt] [handling=normal] \stoptypescript %% final typefaces \starttypescript[LMRTest] \definebodyfontenvironment [LMRTest] [default] [interlinespace=2.8ex] \definetypeface [lmrtest] [rm] [serif] [test] [test] [encoding=texnansi] \stoptypescript == test file: fonttest.tex== % output=pdf interface=en \usetypescriptfile[type-test] \usetypescript[LMRTest] \setupbodyfont[lmrtest,10pt] % \loadmapfile[original-base.map] \starttext \dots ABCD \stoptext == Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] RE: font loading
Idris Samawi Hamid wrote: Ok, I have cont-sys.rme/tex/ori. Which one of these three governs the system? In any case, both .ori and .tex have the same mapfiles loaded, including euler etc. The cont-sys.tex one is the one that's used. Here is an example anyone can run: it gives similar pdfetex errors (Font texnansi-lmbx12 at 60 not found) This file worked with the older ConTeXt: It gave me errors until i added: \loadmapfile[texnansi-public-lm] then it ran perfectly. The main point behind all of this is that there are no longer any preloaded map files. It could be that the problem is that \autoloadmapfiletrue doesnt work any longer? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] RE: font loading
= Original Message From Taco Hoekwater [EMAIL PROTECTED] = Idris Samawi Hamid wrote: Here is an example anyone can run: it gives similar pdfetex errors (Font texnansi-lmbx12 at 60 not found) This file worked with the older ConTeXt: It gave me errors until i added: \loadmapfile[texnansi-public-lm] then it ran perfectly. The main point behind all of this is that there are no longer any preloaded map files. It could be that the problem is that \autoloadmapfiletrue doesnt work any longer? Is there a general workaround or do we have to await Hans's return (in which case I may have to go back to my old context from spring :-) Thanks for your help Taco! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] help with layouts
Hello, I'm really interested in de context concept. I see several impressive layouts at de pragma-ade site. As a newbie I find it difficult to create such layout. Can anyone point me some good examples? thanks p. _ Speel online games via MSN Messenger http://messenger.msn.nl/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: help with layouts
Hello, I'm really interested in de context concept. I see several impressive layouts at de pragma-ade site. As a newbie I find it difficult to create such layout. You share the same experience with every newbie. Can anyone point me some good examples? Did you take a look at the wiki yet? See http://contextgarden.net/Sample_documents and browse a bit around. Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] changing from oldstyle to upright
Dear consortium, Switching to oldstyle is easy: \usetypescript [modern][\defaultencoding] \usetypescript [map] [latin-modern-os] [\defaultencoding] \setupbodyfont [modern] But how do I locally switch back to upright? Declaring \usetypescript [map] [latin-modern][\defaultencoding] does nothing. Basically I want to have something like \def\UP{\switchtobodyfont[lmrup]} for local effects. I tried \definetypeface [lmrup] [rm] [serif] [latin-modern] [default] [encoding=texnansi] to no avail as well. Test file attached Thnx in advance! Idris =test-os % output=pdf interface=en \usetypescript [modern][\defaultencoding] \usetypescript [map] [latin-modern-os] [\defaultencoding] \usetypescript [map] [latin-modern][\defaultencoding] \setupbodyfont [modern] %\definetypeface [lmros] [rm] [serif] [latin-modern-os] [default] [encoding=texnansi] %\switchtotypeface [lmros] [12pt,rm] %\definetypeface [lmrup] [rm] [serif] [computer-modern] [default] [encoding=\defaultencoding] \starttext 1234 \usetypescript [modern][\defaultencoding] \usetypescript [map] [latin-modern][\defaultencoding] 1234 \stoptext Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context