[NTG-context] About 'repeat' option of \startitemize
Hello All! A while ago Hans introduced 'repeat' option for \startitemize to make nested items. I've decided to give it a try: \startitemize[repeat] \item item1 \startitemize \item item1.1 \item item1.2 \item item1.3 \stopitemize \item \startitemize \item item2.1 \item item2.2 \item item2.3 \item item2.4 \stopitemize \stopitemize gives: 1. item1 1. item1.1 2.2. item1.2 3.3. item1.3 2.1. item2.1 2.2. item2.2 3.3. item2.3 4.4. item2.4 should: 1. item1 1.1. item1.1 1.2. item1.2 1.3. item1.3 2.1. item2.1 2.2. item2.2 2.3. item2.3 2.4. item2.4 From my observations of mysterious box manipulations in core-itm I think that fix for repeating first digit can be as simple as removing one of these \plusone's somewhere. But it is possible to make both 1.1 and 2.1 work as in my example? And it seems that space after dot in nested lists is slightly bigger. Is this intentional? -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About \defineshortcut
Radhelorn wrote: It is a pity that such useful command (setups) remains undocumented. As far as I understand inside setups can be any commands and environment changes are fully restored after their execution. Right? And \setups command can replace any single command (in arguments and such). catcode changes are always tricky; if you make a style that uses them you also need to make sure that they will not clash with other changes (e.g. in the otr); nowadays, an active is not that much of a problem since this is what the xml parser does anyway and context knows how to deal with that If this is OK, then I will try to collect some more examples and post them on the WIKI later this week. ok, or maybe a myway document ... Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] betex -etex block parsing bug
Hans bedankt! Willi Hans Hagen wrote: Willi Egger wrote: Hi Hans, thanks for your immediate reply. Indeed it is strange that it runs ok in your environment. But where to put this altered definition? cont-new.tex or so (it runs ok because this btex/etex stuff is also parsed and cleaned up by texexec) Hans ___ 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
Re: [NTG-context] \useblocks in section
David Arnold wrote: All, This doesn't seem to work as expected. Replacing the \useblocks with \selectblocks also produces an unexpected result. What am I doing wrong? I am trying to have only the answers from the chapter show up. ah, old code, something got lost when i added parameter support ... \unprotect \def\getblockstatus#1% is this still ok {\dosetfilterlevel{\@@bscriterium}\empty \expanded{\doifblklevelelse[#1\sectionseparator\sectionseparator0]} {\global\blockpermittedtrue} {\global\blockpermittedfalse}% \def\blockstatus{#1}} \def\doselectblocks[#1][#2][#3]% {\begingroup \doifelsenothing{#3} {\getparameters[\??bs][\c!criterium=\v!all,#2]% \dodouseblocks[#1][]} {\getparameters[\??bs][\c!criterium=\v!all,#3]% \dodouseblocks[#1][#2]}}% \def\selectblocks {\dotripleempty\doselectblocks} \protect use \selectblocks when you want a criterium %output=pdf \defineenumeration[question][location=serried,text=Question] \defineenumeration[answer][location=serried,text=Answer] \defineblock[question,answer] \hideblocks[answer] \starttext \chapter{First Chapter} \input tufte \beginquestion \startquestion What is the square root of 4? \stopquestion \endquestion \beginanswer \startanswer 2 \stopanswer \endanswer \section{Answers} \useblocks[answer][criterium=chapter] \chapter{Second Chapter} \input tufte \beginquestion \startquestion What is the square root of 9? \stopquestion \endquestion \beginanswer \startanswer 3 \stopanswer \endanswer \section{Answers} \useblocks[answer][criterium=chapter] \stoptext ___ 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
Re: [NTG-context] Context 2005.12.19 released
Mojca Miklavec wrote: Taco Hoekwater wrote: New features since 2005.12.18: * Support for the latin-9 regime (latin-1 + euro) There are some more (automatically generated) regime definitions at http://pub.mojca.org/tex/enco/contextbase/ (only from the glyph names that I was able to extract from the existing files, so it's only OK for some of the regimes mentioned there). If possible, I would like to ask for core support for windows-1250 (perhaps other users may find some other regimes useful as well). just send me the files you feel confident with Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
Have a look at: http://wiki.contextgarden.net/Psnfss R S Ananda Murthy wrote: Hello, I want to use postscript Times Roman font for body text. How to do this in ConTeXt? Thanks for your help. Anand ___ 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
Re: [NTG-context] Enumerated list numbering across
David Arnold wrote: All, How do I get: 1. 2. 3. 4. 5. 6. Instead of: 1. 4. 2. 5. 3. 6. With: \startitemized \item ... \stopitemized \starttext \input tufte \startitemize[columns,n,joinedup] \item \input tufte \item \input zapf \stopitemize \startitemize[continue,columns,joinedup] \item one \item two \stopitemize \startitemize[continue,columns,joinedup] \item one \item two \stopitemize \input tufte \stoptext unfortunately the joinedup does not work (i'll fix that) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] rotate problem (was: fonts/borders)
Am 2005-12-20 um 23:15 schrieb Hans Hagen: I'm thinking about utilizing border fonts and how to make automatic frames for use with \framed (I guess that's still too hard for me, but let's see...) think backgrounds and leaders: if needed i can add something like Border to supp-fun or so ... probably some scaling is involved as well Thank you very much! I'm just playing around with your code und found that rotate seems to set its angle globally: In \definesymbol [CC ulp7][\CeltSymbol{81}] \definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}] \definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}] \definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}] each of the rotated symbols is rotated 90° What can I do? Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Request for some sample technical document layouts.
Am 2005-12-20 um 03:53 schrieb R S Ananda Murthy: I am required to typeset a technical book having several chapters with lot of figures, equations etc. I have set this type of document using Komascript-book class earlier. Now I want to try ConTeXt. I am new to ConTeXt. Can I get some sample document layouts suitable for technical books? This will be very helpful for me to learn ConTeXt. We still have only a few sample styles, see http:// wiki.contextgarden.net/Sample_documents None of them is suitable for a technical book, but I can't imagine some TechBookStyle that would suit the needs of a lot of different topics. So as always with ConTeXt, you're on your own regarding design - freedom is always a task. I'd suggest to sketch your layout on paper and then transfer it to ConTeXt. If you need help, look at the wiki or ask here. Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] CSRoman again
Good afternoon. Many thanks for your answer. Hans Hagen wrote: 2) Some accents do no work, for instance \o (at least this doesn't work: \loadmapfile[psclean.map] don't use that one, context will load map files for you (like il2-.) Hm. It doesn't. I have to play a little with the distribution. teTeX 3.0 is much different from the old one, so it's possible I do some stupid things. - at the last bachotek there was a talk about czech type design and one of the remarks was that fo rmany fonts this whole accent business was more a matter of taste than of quality (i will not quote the speaker on czech typesetting tradition here-) Yes, it's about tastes. But I strongly do not like Latin Modern, especially iacute in sans bold. :-) Simply, I'm used to CS fonts. :-) And perhaps Latin Modern will be improved in the nearest future. I'll try to get used to it. - just curious: do you always use cm fonts? there are other fonts with math nowadays Well, I teach four different courses and I try to typeset documents for each course with a different font: Microeconomics with Computer Modern (CS fonts in Type1), Neoclassical Macro with Palatino (URW Palatino + math glyphs from pxfonts), Monetary Economics with Concrete (CM Super in Type 1 + math glyps in Metafont), and New Institutional Economics with Times (URW Times + math glyphs from txfonts). Are there more free fonts with math support? Other documents (with no math) I typeset with more fonts. Many thanks once more. I wish you and the rest of the folk at this mailing list Merry Christmass and Happy New Year Eve. Michal Kvasnicka ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Offtopic: TeX in MetaPost?
Good afternoon. Many thanks for your answer. I'll try to learn from Metafun macros. (Well, I'll try -- but Mr. Hagen macros are usually too clever for my stupid brain.) As for the PSTricks, I used them some years ago -- before I found MetaPost. I like MetaPost because: 1) the TeX code and figures are in separate files and are compiled separately -- it makes work much faster and reusing code is easier 2) MetaPost allows me calculate figures easily -- most my figures are economic graphs -- most of them is not drawn, but calculated (they are not data charts) 3) MetaPost is well intergrated with ConTeXt, so I have to use it anyway -- I can forget PSTricks and clear my brain :-) Yours Michal Kvasnicka Before you reinvent round objects called wheels please look over the additional facilities provided by Pstricks, which can be run using Context and the approproiate module.m-pstric.tex. Instructions are embedded in the module. It may well be that the kind of diagrams you are seeking to create in Metapost are already available via Pstricks. There is a very readable Pstricks manual and a supplement. How do Pstricks and Metapost differ? Well Pstricks is a higher level language, aimed at creating specific things like x/y charts, tree diagrams and so on. Matrapost is a lower level, more generalized facility. Most tasks can be done in either. Common cases will be more easily handled in Pstricks. More unusual situations will require the more general power of Metapost. John Culleton ___ 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
Re: [NTG-context] Looking for old ConTeXt stuff
I just looked into my backup disk catalogue; I can tell you only the modification date and size of the zip: 2000: total 2048 -rw-r--r-- 1 context tex 873111 Dec 20 13:36 cont-tmf-2518.zip -rw-r--r-- 1 context tex 1220484 Dec 20 14:26 cont-tmf-20001022.zip 2000-03-06 17:33; 1093393 2001: total 6952 -rw-r--r-- 1 context tex 1313450 Dec 20 14:26 cont-tmf-20010409.zip -rw-r--r-- 1 context tex 1361637 Dec 20 11:54 cont-tmf-20010423.zip -rw-r--r-- 1 context tex 1367195 Dec 20 14:27 cont-tmf-20010430.zip -rw-r--r-- 1 context tex 1515384 Dec 20 11:55 cont-tmf-20010704.zip -rw-r--r-- 1 context tex 1554823 Dec 20 11:37 cont-tmf-20010711.zip 2001-04-02 15:25; 1309012 2001-07-01 16:04; 1515274 2001-09-02 10:25; 1568850 2002: total 8548 -rw-r--r-- 1 context tex 1713611 Dec 20 11:38 cont-tmf-20020124.zip -rw-r--r-- 1 context tex 1730030 Dec 20 11:38 cont-tmf-20020304.zip -rw-r--r-- 1 context tex 1715671 Dec 20 13:15 cont-tmf-20020417.zip -rw-r--r-- 1 context tex 1741888 Dec 20 13:16 cont-tmf-20020515.zip -rw-r--r-- 1 context tex 1841991 Dec 20 13:18 cont-tmf-20021220.zip 2002-02-13 08:35; 1703519 2002-05-07 08:10; 1703888 2002-05-07 08:12; 1629156 (??) 2002-05-31 12:18; 1746091 2002-06-10 16:27; 1750747 2002-09-06 13:27; 1779220 2002-12-17 11:22; 1840708 2003: total 28484 -rw-r--r-- 1 context tex 1857813 Dec 20 13:19 cont-tmf-20030110.zip -rw-r--r-- 1 context tex 1882161 Dec 20 13:20 cont-tmf-20030128.zip -rw-r--r-- 1 context tex 1882471 Dec 20 13:21 cont-tmf-20030131.zip -rw-r--r-- 1 context tex 1889112 Dec 20 13:21 cont-tmf-20030211.zip -rw-r--r-- 1 context tex 1896212 Dec 20 13:22 cont-tmf-20030303.zip -rw-r--r-- 1 context tex 1900056 Dec 20 13:23 cont-tmf-20030304.zip -rw-r--r-- 1 context tex 1905791 Dec 20 13:23 cont-tmf-20030309.zip -rw-r--r-- 1 context tex 1913789 Dec 20 13:25 cont-tmf-20030317.zip -rw-r--r-- 1 context tex 1984791 Dec 20 13:25 cont-tmf-20030422.zip -rw-r--r-- 1 context tex 1985317 Dec 20 13:26 cont-tmf-20030429.zip -rw-r--r-- 1 context tex 1998077 Dec 20 13:27 cont-tmf-20030721.zip -rw-r--r-- 1 context tex 2006682 Dec 20 13:27 cont-tmf-20030808.zip -rw-r--r-- 1 context tex 2012646 Dec 20 13:28 cont-tmf-20030821.zip -rw-r--r-- 1 context tex 2015217 Dec 20 11:48 cont-tmf-20030925.zip -rw-r--r-- 1 context tex 2013910 Dec 20 11:49 cont-tmf-20030926.zip 2003-03-17 15:27; 1913789 Which files should I put on my homepage for you? I can't promise that I'll find all the CDs and that they're still readable... Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Looking for old ConTeXt stuff
Henning Hraban Ramm wrote: I just looked into my backup disk catalogue; I can tell you only the modification date and size of the zip: Great! 2002-05-07 08:10; 1703888 2002-05-07 08:12; 1629156 (??) it seems most likely these are actually from januari 2002 or so. If the date is accurate, the distribution has shrunk, and that normally doesn't happen :-) Which files should I put on my homepage for you? If it is possible, I all except the one from 2003-03-17 are interesting (that one was present already) I can't promise that I'll find all the CDs and that they're still readable... TIA, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About 'repeat' option of \startitemize
Radhelorn wrote: Hello All! A while ago Hans introduced 'repeat' option for \startitemize to make nested items. I've decided to give it a try: next time give it a try when i just made it; it took some time to figure out what was wrong (rather tricky code) \unprotect \def\checkforrepeatedlistitem {\ifnum\itemlevel=\plusone \initializeboxstack{item}% \fi \ifconditional\repeatlistitem \savebox{item}{\itemlevel}{\hbox{\copy8}}% \setbox8\hbox to \wd8 {\setbox\scratchbox\hbox {\scratchcounter\itemlevel \advance\scratchcounter\minusone \dorecurse\scratchcounter{\foundbox{item}{\recurselevel}}}% \ifnum\itemlevel\plusone \ifdim\wd\scratchbox\zeropoint \hskip-\dimen2 \box\scratchbox \fi \fi \box8 }% \fi} \showframe \starttext \startbuffer \item \startitemize[n] \item item 1.1 \item item 1.2 \startitemize[n] \item item 1.2.1 \item item 1.2.2 \stopitemize \item item 1.3 \stopitemize \item \startitemize[n] \item item 2.1 \item item 2.2 \stopitemize \item item 3 \startitemize[n] \item item 3.1 \item item 3.2 \stopitemize \item \startitemize[n] \item item 4.1 \item item 4.2 \stopitemize \stopbuffer \startitemize[n,repeat,6*broad,packed] \getbuffer \stopitemize \blank[3*big] \startitemize[n,repeat,packed] \getbuffer \stopitemize \blank[3*big] \setupitemize[each][atmargin][width=3em] \startitemize[n,repeat,packed] \getbuffer \stopitemize \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] CSRoman again
Hi Michal Hm. It doesn't. I have to play a little with the distribution. teTeX 3.0 is much different from the old one, so it's possible I do some stupid things. map file support keeps changing, which is why i prefer runtime loading - at the last bachotek there was a talk about czech type design and one of the remarks was that fo rmany fonts this whole accent business was more a matter of taste than of quality (i will not quote the speaker on czech typesetting tradition here-) Yes, it's about tastes. But I strongly do not like Latin Modern, especially iacute in sans bold. :-) Simply, I'm used to CS fonts. :-) And perhaps Latin Modern will be improved in the nearest future. I'll try to get used to it. well, the computer sans is no beauty anyway, certainly not for much text -) - just curious: do you always use cm fonts? there are other fonts with math nowadays Well, I teach four different courses and I try to typeset documents for each course with a different font: Microeconomics with Computer Modern (CS fonts in Type1), Neoclassical Macro with Palatino (URW Palatino + math glyphs from pxfonts), Monetary Economics with Concrete (CM Super in Type 1 + math glyps in Metafont), and New Institutional Economics with Times (URW Times + math glyphs from txfonts). Are there more free fonts with math support? Other documents (with no math) I typeset with more fonts. there is now also iwona (sansish) with math (antykwa is a not really for big docs, more for display) another nice alternative is utopia (with fourier) these are all on tex live (well, i say that with crossed fingers) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Offtopic: TeX in MetaPost?
� wrote: Good afternoon. Many thanks for your answer. I'll try to learn from Metafun macros. (Well, I'll try -- but Mr. Hagen macros are usually too clever for my stupid brain.) ha, i think that i've a less mathematical brain than you have, so once you're up to speed with metapost your code will be way more clever than mine Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \reset deprecated?
David Arnold wrote: All, I can't get \reset to work as in the manual. Is it deprecated? Replaced with something? ah, has to do with low level optimizations (\currentdescriptor etc); i'll fix that reset Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
R S Ananda Murthy wrote: Hello, I want to use postscript Times Roman font for body text. How to do this in ConTeXt? normally, \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] should work; it depends a bit on your system if you need to initialize more Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] usage of module pstricks?
Hello, can anybody give me a minimal example how to use the module m-pstric.tex? I tried following minimal example: \usemodule[pstric] \starttext \startPSTRICKS \pspicture(0,0)(10,10) \dorecurse{10}{\psline(0,0)(\recurselevel,10)} \dorecurse{10}{\psline(0,0)(10,\recurselevel)} \endpspicture \stopPSTRICKS \stoptext But this results into a gray shaded box with the following content: name:dummy, file: texweb-texapp.eps, state: unknown Thanks Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ownnumber=yes
David Arnold wrote: %output=pdf \definehead[david][section] \setuphead[david][ownnumber=yes] \starttext \chapter{One} \input tufte \section{Two} \input tufte \david{Three} \input tufte \section{Four} \input tufte \stoptext you need to provide the 'own' number! \david{own number}{Three} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] rotate problem
Henning Hraban Ramm wrote: Am 2005-12-20 um 23:15 schrieb Hans Hagen: I'm thinking about utilizing border fonts and how to make automatic frames for use with \framed (I guess that's still too hard for me, but let's see...) think backgrounds and leaders: if needed i can add something like Border to supp-fun or so ... probably some scaling is involved as well Thank you very much! I'm just playing around with your code und found that rotate seems to set its angle globally: In \definesymbol [CC ulp7][\CeltSymbol{81}] \definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}] \definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}] \definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}] each of the rotated symbols is rotated 90� What can I do? use rotation=270 instead -) in your case, also play with: % \dostepwiserecurse{0}{360}{10} % {\startlinecorrection[blank] %\hbox % {\expanded{\setuprotate[rotation=\recurselevel]}% % \traceboxplacementtrue % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=depth] {\ruledhbox{\bfb (depth)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=fit] {\ruledhbox{\bfb(fit)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=broad] {\ruledhbox{\bfb (broad)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=normal]{\ruledhbox{\bfb (normal)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=high] {\ruledhbox{\bfb (high)} %\stoplinecorrection} Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Small Chinese translation
Hello Xiao,could you please translate these few words into Chinese so they could be added into the Chinese ConTeXt module?GraphicsIntermezzo (singular)Intermezzos (plural)IllustrationLine (singular)Lines (plural)Many thanks,Richard___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ownnumber=yes
David Arnold wrote: All, This: %output=pdf \definehead[david][section] If you set \setuphead[david][ownnumber=yes] \starttext \chapter{One} \input tufte \section{Two} \input tufte then add a mandatory argument: \david{10}{Three} Vit \david{Three} \input tufte \section{Four} \input tufte \stoptext Causes this: ! TeX capacity exceeded, sorry [input stack size=5000]. argument \s!section -3 \previoussection #1-\csname \??se #1 \c!before \endcsname \countervalue #1-\csname #1 \endcsname \@@longsectionnumber ...?se \previoussection {#1}} \zerocount \csname \previ... \finalsectionnumber ...alue {\@@sectie \c!number } \fi \fi \@@shortsectionnumber ...1\c!ownnumber \endcsname \fi ... l.14 \david{Three} Any ideas? ___ 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
Re: [NTG-context] About paragraph columns in table environment
Radhelorn wrote: Hello all! I've tried to fit wide table (with paragraphs and vertical lines) into page width. Following example don't work as expected: \SetTableToWidth{\textwidth} \starttable[|p|p|] \HL \VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR \HL \stoptable Text in columns formatted as if table was not widened. What did I miss here? table is not that clever -) \SetTableToWidth{\textwidth} \starttable[|p(.45\textwidth)|p(.45\textwidth)|] \HL \VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR \HL \stoptable \stoptext BTW, how to fit text into a small box if I don't care about where word breaks? can you explain that a bit more? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Character names (was: Context 2005.12.19 released)
Hans Hagen wrote: Mojca Miklavec wrote: Taco Hoekwater wrote: New features since 2005.12.18: * Support for the latin-9 regime (latin-1 + euro) There are some more (automatically generated) regime definitions at http://pub.mojca.org/tex/enco/contextbase/ (only from the glyph names that I was able to extract from the existing files, so it's only OK for some of the regimes mentioned there). If possible, I would like to ask for core support for windows-1250 (perhaps other users may find some other regimes useful as well). just send me the files you feel confident with (I'll send the good files soon.) Except Celtic, Thai, Arabic and Hebrew (although the letter names for Hebrew are almost completely defined) almost all the windows and ISO regimes are OK, just some glyphs are missing (which are, or at least were, missing in Unicode vectors as well). If anyone has suggestions for names for the following characters, 6 additional regimes can be fully supported: windows-1251 and iso-8859-5 2116 NUMERO SIGN windows-1253 0385 GREEK DIALYTIKA TONOS 2015 HORIZONTAL BAR 0384 GREEK TONOS windows-1258 0300 COMBINING GRAVE ACCENT 0309 COMBINING HOOK ABOVE 0303 COMBINING TILDE 0301 COMBINING ACUTE ACCENT 0323 COMBINING DOT BELOW 20AB DONG SIGN iso-8859-7 20AF DRACHMA SIGN 037A GREEK YPOGEGRAMMENI 2015 HORIZONTAL BAR 0384 GREEK TONOS 0385 GREEK DIALYTIKA TONOS iso-8859-10 2015 HORIZONTAL BAR Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] usage of module pstricks?
you can try the attached file (you need to move page-app to the base path and regenerate a format) both files were already present on my system. So it seem that I miss this regenerate a format. Which format do I have to generate and how? (I'm running context under Miktex and regenerating the standard formats is only a click in the Miktex-options menu. [this trick was somewhat experimental so ...] Ah, I see. I will not complain about strange behaviour. Probably it would be the best to generate the graphics before I'm using context and to include them on the classical way. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] rotate problem
Am 2005-12-21 um 14:43 schrieb Hans Hagen: In \definesymbol [CC ulp7][\CeltSymbol{81}] \definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}] \definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}] \definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}] each of the rotated symbols is rotated 90� use rotation=270 instead -) #-/ oh me stupid, thank you. % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=depth] {\ruledhbox{\bfb (depth)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=fit] {\ruledhbox{\bfb(fit)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=broad] {\ruledhbox{\bfb (broad)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=normal] {\ruledhbox{\bfb (normal)% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=high] {\ruledhbox{\bfb (high)} thank you again. Unfortunately I reckognized that the celtic border font that I tried to use has so bad metrics (irregular flesh around the glyph) that the task is impossible without adapting the font (and FontForge has no fit bounding box command)... Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] usage of module pstricks?
Wolfgang Zillig wrote: you can try the attached file (you need to move page-app to the base path and regenerate a format) both files were already present on my system. So it seem that I miss this regenerate a format. Which format do I have to generate and how? (I'm running context under Miktex and regenerating the standard formats is only a click in the Miktex-options menu. i patched the files so they cannot be present as such -) [this trick was somewhat experimental so ...] Ah, I see. I will not complain about strange behaviour. Probably it would be the best to generate the graphics before I'm using context and to include them on the classical way. no, it should work ok Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \startstandardmakeup aligned top-left
Hi All, I have the first page of a document set this way: ... \startstandardmakeup *Document info* \stopstandardmakeup ... The result is *Document info* is placed in the center of the page. How to put it (*Document info*) at the top-left of the page? Thank you. jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] metapost textext?
Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texexec --mptex text?
I did some small examples, motivated by the article of Wesseling in NTG's Voorjaar 2005 MAPS. Latest context and fonts installed (2005-12-19). I do not understand the results. (call) texexec --mptex test-1.mp: beginfig(1); draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label.urt(btex \ss\tfxx coorner etex rotated 45, (50,50)) withcolor blue; endfig; end. Why are the o's colliding? test.3.pdf Description: Adobe PDF document font shown to be Courier Truetype (Macintosh OSX). And why is the fount Courier instead of the expected ComputerModern SansSerif? Contents of test.mpx is: % Written by DVItoMP, Version 0.9/color (Web2C 7.5.3) begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture; string _n[]; vardef _s(expr _t,_f,_m,_x,_y)(text _c)= addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef; _n0=ec-lmss12; _s(co,_n0,1.0,0.,-5.3134,); _s(o,_n0,1.0,11.3806,-5.3134,); _s(rner,_n0,1.0,16.9085,-5.3134,); setbounds _p to (0,-5.3134)--(36.0726,-5.3134)-- (36.0726,0.)--(0,0.)--cycle; _p endgroup mpxbreak File tmpgraph.bck has: \long\def\mpxshipout#1{\shipout\hbox{% \setbox0=\hbox{#1}% \dimen0=\ht0 \advance\dimen0\dp0 \dimen1=\ht0 \dimen2=\dp0 \ht0=0pt \dp0=0pt \box0 \ifnum\dimen00 \vrule width1sp height\dimen1 depth\dimen2 \else \vrule width1sp height1sp depth0sp\relax \fi}} \mpxshipout{% line 3 test.mp \ss coorner} \end{document} \end{document} File tmpgraph.log shows context loading ec fonts (why not lm now)? yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Character names (was: Context 2005.12.19 released)
Here's what I can come up with. At least a few are acceptable, like the horizontal bar. \textnumero exists, but is only reachable in cyrillic encodings (fixable, I guess?), and the greek vietnamese accents are also only usable in the correct encoding. I've used the \text... versions of the accents, but perhaps the actual commands are more correct (like \' and \~). Cheers, Taco \starttext \definecharacter texthorizontalbar {{--\kern 0pt--}} \definecharacter textdong {\underbar{\dstroke}} \starttabulate[|c|c|] \NC 0300 COMBINING GRAVE ACCENT \NC \textgrave \NC \NR \NC 0309 COMBINING HOOK ABOVE \NC \texthookabove \NC \NR \NC 0303 COMBINING TILDE\NC \texttilde \NC \NR \NC 0301 COMBINING ACUTE ACCENT \NC \textacute \NC \NR \NC 0323 COMBINING DOT BELOW\NC \textbottomdot \NC \NR \NC 037A GREEK YPOGEGRAMMENI\NC \unknownchar \NC \NR % prime? \NC 0384 GREEK TONOS\NC \greektonos \NC \NR \NC 0385 GREEK DIALYTIKA TONOS \NC \greekdialytikatonos \NC \NR \NC 2015 HORIZONTAL BAR \NC \texthorizontalbar \NC \NR \NC 20AB DONG SIGN \NC \textdong\NC \NR \NC 20AF DRACHMA SIGN \NC \unknownchar \NC \NR \NC 2116 NUMERO SIGN\NC \textnumero \NC \NR \stoptabulate \stoptext Mojca Miklavec wrote: Hans Hagen wrote: Mojca Miklavec wrote: Taco Hoekwater wrote: New features since 2005.12.18: * Support for the latin-9 regime (latin-1 + euro) There are some more (automatically generated) regime definitions at http://pub.mojca.org/tex/enco/contextbase/ (only from the glyph names that I was able to extract from the existing files, so it's only OK for some of the regimes mentioned there). If possible, I would like to ask for core support for windows-1250 (perhaps other users may find some other regimes useful as well). just send me the files you feel confident with (I'll send the good files soon.) Except Celtic, Thai, Arabic and Hebrew (although the letter names for Hebrew are almost completely defined) almost all the windows and ISO regimes are OK, just some glyphs are missing (which are, or at least were, missing in Unicode vectors as well). If anyone has suggestions for names for the following characters, 6 additional regimes can be fully supported: windows-1251 and iso-8859-5 2116 NUMERO SIGN windows-1253 0385 GREEK DIALYTIKA TONOS 2015 HORIZONTAL BAR 0384 GREEK TONOS windows-1258 0300 COMBINING GRAVE ACCENT 0309 COMBINING HOOK ABOVE 0303 COMBINING TILDE 0301 COMBINING ACUTE ACCENT 0323 COMBINING DOT BELOW 20AB DONG SIGN iso-8859-7 20AF DRACHMA SIGN 037A GREEK YPOGEGRAMMENI 2015 HORIZONTAL BAR 0384 GREEK TONOS 0385 GREEK DIALYTIKA TONOS iso-8859-10 2015 HORIZONTAL BAR Mojca ___ 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] How to setup this type of header?
Hello, I need to setup header as shown below: pagenumber booktitle chaptertitle pagenumber --- left page | right page | How to setup this type of header? I do not want dashed line below the header. Header should not be printed on a page where a chapter is starting. My body text should be in postscript Times Roman font. Thanks for your help. Anand ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --mptex text?
Hans van der Meer wrote: File tmpgraph.log shows context loading ec fonts (why not lm now)? yours sincerely, you mean ec-lm* ec is the encoding, lm the font i'm puzzled by the courier (normally the acrobat fallback) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metapost textext?
Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. this normally points to an error in mp processing (unknown is the fall back text), not so much to something wrong with context (i hope) it runs ok here; how does it runs at other machines? (this intermediate mp runnig tex is a kind of messy mp feature and errors are hard to trace) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metapost textext?
Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. this normally points to an error in mp processing (unknown is the fall back text), not so much to something wrong with context (i hope) it runs ok here; how does it runs at other machines? no problem here (using latest version) Peter (this intermediate mp runnig tex is a kind of messy mp feature and errors are hard to trace) Hans ___ 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
Re: [NTG-context] usage of module pstricks?
Hans Hagen schrieb: Wolfgang Zillig wrote: you can try the attached file (you need to move page-app to the base path and regenerate a format) both files were already present on my system. So it seem that I miss this regenerate a format. Which format do I have to generate and how? (I'm running context under Miktex and regenerating the standard formats is only a click in the Miktex-options menu. i patched the files so they cannot be present as such -) Sorry, I did not check the files for differences but I've copied them into the base folder and regenerated the formats. But I'm not completely sure if pstricks is working correctly. I only installed the packages with the miktex package manager and that was all. I will try to run an example with latex to see if it runs there without an error. Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About 'repeat' option of \startitemize
Hans Hagen wrote: Radhelorn wrote: Hello All! A while ago Hans introduced 'repeat' option for \startitemize to make nested items. I've decided to give it a try: next time give it a try when i just made it; it took some time to figure out what was wrong (rather tricky code) Thanks! Soon you will be fixing bugs even earlier than we will be noticing them! But there is another problem. When using itemize without repeat option indentation is right, but with this option indentation (both before number and after number) of nested items is different for different levels: 1. item 1.1item 1.2.1 item 1.2.1.1.item 1.2.2.1em Something needs to be done with this, but I'm afraid that this will complicate macros even more. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metapost textext?
Peter Rolf wrote: Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. this normally points to an error in mp processing (unknown is the fall back text), not so much to something wrong with context (i hope) it runs ok here; how does it runs at other machines? no problem here (using latest version) Runs without problems here as well. The most likely cause of problems in this subsystem nowadays is a format was written by (pdf)(e)tex error message from a (pdf)(e)tex executable. Unfortunately, I also find it hard to trace this stuff. It may help to run the example in an isolated directory and zipmail everything in the directory afterwards. I can at least have a look, but cannot give guarantees. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] using postscript times roman fonts
hi, this is the minimal example. -- \usetypescript [adobekb] [\defaultencoding] \usetypescript [times][\defaultencoding] \setupbodyfont[times,12pt] \starttext \input knuth \stoptext hope this helps __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About paragraph columns in table environment
Hans Hagen wrote: Radhelorn wrote: \SetTableToWidth{\textwidth} \starttable[|p(.45\textwidth)|p(.45\textwidth)|] \HL \VL foo foo foo foo foo foo \VL bar bar bar bar bar bar \VL\AR \HL \stoptable Thanks. Now it works like expected. BTW, how to fit text into a small box if I don't care about where word breaks? can you explain that a bit more? Something like this: | There are so | | me rather lo | | ng titles th | | a needs to b | | e typeset. | Originally I wanted this in table headers and such things. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \startstandardmakeup aligned top-left
Hi All, I have the first page of a document set this way: ... \startstandardmakeup *Document info* \stopstandardmakeup ... The result is *Document info* is placed in the center of the page. How to put it (*Document info*) at the top-left of the page? Thank you. jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] About repeated formatting keys in table.
Hello! Acording to WIKI this should work: \starttable[*{3}{|c|}] \HL \NC column1 \NC column2 \NC column3 \NC\NR \HL \stoptable \starttabulate[*{3}{|c|}] \HL \NC column1 \NC column2 \NC column3 \NC\NR \HL \stoptabulate Tabulate works as expected, but table gives errors about missing columns. It seems that |'s is not always multiplied by *{}{} command. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About paragraph columns in table environment
Radhelorn wrote: Something like this: | There are so | | me rather lo | | ng titles th | | a needs to b | | e typeset. | only for stupid text: \def\HowStrange#1{#1\ifx#1\blankspace\else\allowbreak\fi} \framed [width=2cm,align={normal,verytolerant,stretch}] {\handletokens There are some rather long titles that needs to be typeset.\with\HowStrange} you're not serious about this are you? anyhow, a wikiable example Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \startstandardmakeup aligned top-left
On Wed, 21 Dec 2005, Jilani Khaldi wrote: \startstandardmakeup *Document info* \stopstandardmakeup ... The result is *Document info* is placed in the center of the page. How to put it (*Document info*) at the top-left of the page? \starttext \startstandardmakeup *Document info* \vfill \stopstandardmakeup \stoptext 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] How to setup this type of header?
R S Ananda Murthy wrote: How to setup this type of header? I do not want dashed line below the header. Header should not be printed on a page where a chapter is starting. My body text should be in postscript Times Roman font. Here you go. This is not the only solution (maybe not even the nicest) but it works for me. % \setuppagenumbering [location=, % .. of the automatically placed page number alternative=doublesided] % so left and right are different % pair 1 = left side of odd pages % pair 2 = right side of odd pages (empty) % pair 3 = left side of even pages % pair 4 = right side of even pages (empty) \setupheadertexts [\rlap{\the\pageno}\centerline{Put your title here}] [] [\centerline{\getmarking[chapter]}\llap{\the\pageno}] [] % no headers above chapter titles: \setuphead[chapter][header=empty] % load psnfss definitions % Uncomment the next if you have not installed cont-fnt.zip, % but instead have a working LaTeX installation. % \usetypescript[adobekb][ec] % register the times typescript \usetypescript[times][ec] % and start using it \setuptobodyfont[times] Thanks for your help. Anand ___ 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
Re: [NTG-context] About paragraph columns in table environment
Hans Hagen wrote: Radhelorn wrote: Something like this: | There are so | | me rather lo | | ng titles th | | a needs to b | | e typeset. | only for stupid text: \def\HowStrange#1{#1\ifx#1\blankspace\else\allowbreak\fi} \framed [width=2cm,align={normal,verytolerant,stretch}] {\handletokens There are some rather long titles that needs to be typeset.\with\HowStrange} you're not serious about this are you? I'm curious as well. What is this for? anyhow, a wikiable example A similar problemsolution, for verbatim text, is already in the wiki: http://wiki.contextgarden.net/Verbatim_with_line_breaks Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Character names (was: Context 2005.12.19 released)
Taco Hoekwater wrote: \definecharacter texthorizontalbar {{--\kern 0pt--}} \definecharacter textdong {\underbar{\dstroke}} ok, i added those to enco-def.tex (end of file:) \startencoding[\s!default] \definecharacter texthorizontalbar {{--\kern\zeropoint--}} \definecharacter textdong {\underbar{\dstroke}} \stopencoding Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] About 'repeat' option of \startitemize
Radhelorn wrote: Hans Hagen wrote: Radhelorn wrote: Hello All! A while ago Hans introduced 'repeat' option for \startitemize to make nested items. I've decided to give it a try: next time give it a try when i just made it; it took some time to figure out what was wrong (rather tricky code) Thanks! Soon you will be fixing bugs even earlier than we will be noticing them! But there is another problem. When using itemize without repeat option indentation is right, but with this option indentation (both before number and after number) of nested items is different for different levels: 1. item 1.1item 1.2.1 item 1.2.1.1.item 1.2.2.1em for that you can best set up a dedicated instance of itemize (defineitemgroup) and assign the right widths to the levels Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --mptex text?
Hi, Hans van der Meer wrote: Why are the o's colliding? They shouldn't, but ... font shown to be Courier Truetype (Macintosh OSX). And why is the fount Courier instead of the expected ComputerModern SansSerif? I assume your previewer doesn't know how to display ec-lmss12, so it uses the font it has rigged as a last resort: Courier. Try running mptopdf on test-1.1 before starting the previewer. File tmpgraph.log shows context loading ec fonts (why not lm now)? yours sincerely, As Hans said, the ec- part is the 'ec' (aka 'cork' aka 'T1') encoding. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec --mptex text?
On Dec 21, 2005, at 18:34, Taco Hoekwater wrote: Hans van der Meer wrote: Why are the o's colliding? They shouldn't, but ... font shown to be Courier Truetype (Macintosh OSX). And why is the fount Courier instead of the expected ComputerModern SansSerif? I assume your previewer doesn't know how to display ec-lmss12, so it uses the font it has rigged as a last resort: Courier. Try running mptopdf on test-1.1 before starting the previewer. Solves this problem. I was using Apples Preview application (Mac OSX), which clearly fails here. LMRoman now shows up in Adobe Reader and o's behave as they should. yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \useblocks in section
Hans, that worked. Code below. Is this something you will fix in one of the core files? %output=pdf \unprotect \def\getblockstatus#1% is this still ok {\dosetfilterlevel{\@@bscriterium}\empty \expanded{\doifblklevelelse[#1\sectionseparator\sectionseparator0]} {\global\blockpermittedtrue} {\global\blockpermittedfalse}% \def\blockstatus{#1}} \def\doselectblocks[#1][#2][#3]% {\begingroup \doifelsenothing{#3} {\getparameters[\??bs][\c!criterium=\v!all,#2]% \dodouseblocks[#1][]} {\getparameters[\??bs][\c!criterium=\v!all,#3]% \dodouseblocks[#1][#2]}}% \def\selectblocks {\dotripleempty\doselectblocks} \protect \starttext \defineenumeration[question][location=serried,text=Question] \defineenumeration[answer][location=serried,text=Answer] \defineblock[question,answer] \hideblocks[answer] \chapter{First Chapter} \input tufte \beginquestion \startquestion What is the square root of 4? \stopquestion \endquestion \beginanswer \startanswer 2 \stopanswer \endanswer \section{Answers} \selectblocks[answer][criterium=chapter] \chapter{Second Chapter} \input tufte \beginquestion \startquestion What is the square root of 9? \stopquestion \endquestion \beginanswer \startanswer 3 \stopanswer \endanswer \section{Answers} \selectblocks[answer][criterium=chapter] \stoptext On Dec 21, 2005, at 1:29 AM, Hans Hagen wrote: David Arnold wrote: All, This doesn't seem to work as expected. Replacing the \useblocks with \selectblocks also produces an unexpected result. What am I doing wrong? I am trying to have only the answers from the chapter show up. ah, old code, something got lost when i added parameter support ... \unprotect \def\getblockstatus#1% is this still ok {\dosetfilterlevel{\@@bscriterium}\empty \expanded{\doifblklevelelse[#1\sectionseparator\sectionseparator0]} {\global\blockpermittedtrue} {\global\blockpermittedfalse}% \def\blockstatus{#1}} \def\doselectblocks[#1][#2][#3]% {\begingroup \doifelsenothing{#3} {\getparameters[\??bs][\c!criterium=\v!all,#2]% \dodouseblocks[#1][]} {\getparameters[\??bs][\c!criterium=\v!all,#3]% \dodouseblocks[#1][#2]}}% \def\selectblocks {\dotripleempty\doselectblocks} \protect use \selectblocks when you want a criterium %output=pdf \defineenumeration[question][location=serried,text=Question] \defineenumeration[answer][location=serried,text=Answer] \defineblock[question,answer] \hideblocks[answer] \starttext \chapter{First Chapter} \input tufte \beginquestion \startquestion What is the square root of 4? \stopquestion \endquestion \beginanswer \startanswer 2 \stopanswer \endanswer \section{Answers} \useblocks[answer][criterium=chapter] \chapter{Second Chapter} \input tufte \beginquestion \startquestion What is the square root of 9? \stopquestion \endquestion \beginanswer \startanswer 3 \stopanswer \endanswer \section{Answers} \useblocks[answer][criterium=chapter] \stoptext ___ 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \startstandardmakeup aligned top-left
Jilani Khaldi wrote: Hi All, I have the first page of a document set this way: \startstandardmakeup *Document info* \stopstandardmakeup The result is *Document info* is placed in the center of the page. How to put it (*Document info*) at the top-left of the page? Thank you. Inside standardmakeup you can use whole bunch of TeX/ConTeXt commands for setting up glue and spaces. In your case just add \vfill after *Document info*. Also see cont-en manual about makeups. You can define your own or alter many options of standard makeup. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
Hans,I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This:% output=pdf\usetypescript[postscript][\defaultencoding]\setupbodyfont[postscript,10pt]\starttext\input tufte\stoptextGave me this:(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))kpathsea: Running mktextfm utmr8tmktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8tThis is METAFONT, Version 2.71828 (Web2C 7.5.5)kpathsea: Running mktexmf utmr8t! I can't find file `utmr8t'.* ...:=ljfour; mag:=1; nonstopmode; input utmr8t Please type another input file name! Emergency stop.* ...:=ljfour; mag:=1; nonstopmode; input utmr8tOn Dec 21, 2005, at 5:38 AM, Hans Hagen wrote:\usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metapost textext?
Runs OK here as well. Got a little graphic with the word label in it. chapter3 $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5) context : ver: 2005.12.01 cont-en : ver: 2005.12.01 fmt: 2005.12.2 mes: english cont-nl : ver: 2005.12.01 fmt: 2005.12.2 mes: dutch total run time : 2 seconds On Dec 21, 2005, at 8:13 AM, Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion{1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. yours sincerely, dr. H. van der Meer ___ 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
Re: [NTG-context] How to setup this type of header?
Taco, Gerben, et al, From Taco's note: Uncomment the next if you have not installed cont- fnt.zip, but instead have a working LaTeX installation. \usetypescript[adobekb][ec], I would think the following would work for me after updating to the latest Context on Gerben's site using the Context updater. % output=pdf % \setuppagenumbering [location=, % .. of the automatically placed page number alternative=doublesided] % so left and right are different % pair 1 = left side of odd pages % pair 2 = right side of odd pages (empty) % pair 3 = left side of even pages % pair 4 = right side of even pages (empty) \setupheadertexts [\rlap{\the\pageno}\centerline{Put your title here}] [] [\centerline{\getmarking[chapter]}\llap{\the\pageno}] [] % no headers above chapter titles: \setuphead[chapter][header=empty] % load psnfss definitions % Uncomment the next if you have not installed cont-fnt.zip, % but instead have a working LaTeX installation. %\usetypescript[adobekb][ec] % register the times typescript \usetypescript[times][ec] % and start using it \setupbodyfont[times] \starttext \chapter{One} \dorecurse{10}{\input tufte\par} \stoptext But I got: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Gerben, have we not installed the cont-fnt.zip Taco describes? On Dec 21, 2005, at 9:56 AM, Taco Hoekwater wrote: R S Ananda Murthy wrote: How to setup this type of header? I do not want dashed line below the header. Header should not be printed on a page where a chapter is starting. My body text should be in postscript Times Roman font. Here you go. This is not the only solution (maybe not even the nicest) but it works for me. % \setuppagenumbering [location=, % .. of the automatically placed page number alternative=doublesided] % so left and right are different % pair 1 = left side of odd pages % pair 2 = right side of odd pages (empty) % pair 3 = left side of even pages % pair 4 = right side of even pages (empty) \setupheadertexts [\rlap{\the\pageno}\centerline{Put your title here}] [] [\centerline{\getmarking[chapter]}\llap{\the\pageno}] [] % no headers above chapter titles: \setuphead[chapter][header=empty] % load psnfss definitions % Uncomment the next if you have not installed cont-fnt.zip, % but instead have a working LaTeX installation. % \usetypescript[adobekb][ec] % register the times typescript \usetypescript[times][ec] % and start using it \setuptobodyfont[times] Thanks for your help. Anand ___ 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] followup metapost textext?
Followup to my previous post (see below)I executed the code on the "live tex site" and, mirabile dictu, there it works.The difference I can see is a much older pdfetex (Version 3.141592-1.21a-2.2 (Web2C 7.5.4)) on the live site, whereas I have a newer one (Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)).Could that be the problem or must I dig deeper?===Panic using metapost in context.This used to work. I did a file that previously (\thisisutilityversion{1998.12.20}) had good output but now has "unknown" everywhere for textext calls!\starttext\startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext("label"), (10,25));\stopuseMPgraphic\useMPgraphic{one}\stoptextBut now I see "unknown" as the text typeset instead of "label"!What happened. This is disastrous. yours sincerely,dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to setup this type of header?
On 21 Dec 2005, at 20:44, David Arnold wrote: Gerben, have we not installed the cont-fnt.zip Taco describes? The ConTeXt updater i-Package contains: cont-ext.zip cont-fnt.zip cont-img.zip cont-tmf.zip and it has whatever is on Hans' site not more than 24hr out of date. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
On 21 Dec 2005, at 20:19, David Arnold wrote: Hans, I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This: % output=pdf \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] \starttext \input tufte \stoptext Gave me this: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Map file trouble? Maybe you also need to load a map file in ConTeXt? G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
URw metric files (was: Re: [NTG-context] How to setup this type of header?)
David Arnold wrote: Taco, Gerben, et al, From Taco's note: Uncomment the next if you have not installed cont- fnt.zip, but instead have a working LaTeX installation. My bad, I keep forgetting that there are references to non-existent metric files inside the context distribution. :-/ I've attached a new type-dis.tex that should behave better: it uses p prefixes like in the adobekb typescript for its defaults, and it has the psnfss for texnansi encoding commented out completely. I'm not too happy with this forgery, but it follows the 'normal' TeX convention and it at least points ConTeXt to existing metric files. Please give it a try and let me know if you run into trouble. (you have to replace your current one of course, and regenerate the format). Cheers, Taco type-dis.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
Gerben Wierda wrote: Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Map file trouble? Maybe you also need to load a map file in ConTeXt? See my urw metrics message. This is the same problem. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
On 12/21/05, David Arnold [EMAIL PROTECTED] wrote: Hans, I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This: % output=pdf \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] \starttext \input tufte \stoptext works OK here with 2005.12.19 :-) -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] metapost textext?
Hi, this code compiles without problems on a Windows-XP machine with: This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) ConTeXt ver: 2005.11.30 fmt: 2005.12.19 int: english mes: english Willi Hans Hagen wrote: Hans van der Meer wrote: Panic using metapost in context. This used to work. I did a file that previously (\thisisutilityversion {1998.12.20}) had good output but now has unknown everywhere for textext calls! \starttext \startuseMPgraphic{one} draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0); label (textext(label), (10,25)); \stopuseMPgraphic \useMPgraphic{one} \stoptext But now I see unknown as the text typeset instead of label! What happened. This is disastrous. this normally points to an error in mp processing (unknown is the fall back text), not so much to something wrong with context (i hope) it runs ok here; how does it runs at other machines? (this intermediate mp runnig tex is a kind of messy mp feature and errors are hard to trace) Hans ___ 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
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
I also cannot typeset this. My installation is derived from tetex3.0 + last context distribution including cont-fnt.zip. I might remark that font \*postscript12ptrmtf*:=utmr8t at 12.0pt not loadable Strange that looking in the font directories show the presence of urw/ times/ec-utmr8a.tfm. Is there a naming problem here? What caused it? yours sincerely, dr. H. van der Meer On Dec 21, 2005, at 21:37, VnPenguin wrote: On 12/21/05, David Arnold [EMAIL PROTECTED] wrote: Hans, I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This: % output=pdf \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] \starttext \input tufte \stoptext works OK here with 2005.12.19 :-) -- http://vnoss.org Vietnamese Open Source Software Community ___ 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] Answer blocks potential
Hans, Taco, et al, I've looked at the question-answer block suggestion and it has good potential for what I want to do. What I need now is a way of typesetting the blocks as follows. 1. Question 2. Question 3. Question 4. Question Then, later in the document, I'll unhide the answer blocks. Is it worth my while to try to use question-answer blocks in an itemized environment? should I pursue that or try a different tack? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
On 21 Dec 2005, at 21:37, VnPenguin wrote: On 12/21/05, David Arnold [EMAIL PROTECTED] wrote: Hans, I can report it doesn't work here. And I am pretty up-to-date with GWTeX, although this makes me want to try updating today. This: % output=pdf \usetypescript[postscript][\defaultencoding] \setupbodyfont[postscript,10pt] \starttext \input tufte \stoptext works OK here with 2005.12.19 :-) Not on my system: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Transcript written on mfput.log. grep: utmr8t.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t' failed to make utmr8t.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \*postscript12ptrmtf*:=utmr8t at 12.0pt not loadable: Metric (TFM) file not found. to be read again \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... argument \getvalue [EMAIL PROTECTED]@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.4 \setupbodyfont[postscript,10pt] ? If this is supposed to work on a basic ConTeXt install than on my system it doesn't. I'd like to know why not. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
On 21 Dec 2005, at 21:33, Taco Hoekwater wrote: Gerben Wierda wrote: Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Map file trouble? Maybe you also need to load a map file in ConTeXt? See my urw metrics message. This is the same problem. So we wait for a ConTeXt update beyond 2005.12.19? G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
On 21 Dec 2005, at 21:33, Taco Hoekwater wrote: Gerben Wierda wrote: Please type another input file name ! Emergency stop. * ...:=ljfour; mag:=1; nonstopmode; input utmr8t Map file trouble? Maybe you also need to load a map file in ConTeXt? See my urw metrics message. This is the same problem. After installing type-dis and regenerating cont-en I get w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 ptmr8r mktexpk: Running gsftopk ptmr8r 72 gsftopk(k) version 1.19.2/851 [1] [2] [3] [4] [5] [6] [7] [8] [9] [11] [12] [14] [15] [16] [17] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [159] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] mktexpk: /var/tmp/texfonts/pk/modeless/adobe/times/ptmr8r.72pk: successfully generated. ) /var/tmp/texfonts/pk/modeless/adobe/times/ptmr8r.72pk Output written on ftest.pdf (1 page, 9708 bytes). Transcript written on ftest.log. return code : 0 run time : 15 seconds total run time : 16 seconds hermione-a:~/Desktop gerben$ Doesn't look good. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How can I use postscript Times Roman font for entire document?
Gerben Wierda wrote: After installing type-dis and regenerating cont-en I get w-helvetica.map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/ context/ec -urw-courier.map}] systems : end file ftest at line 11 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 That's not right either (duh). Sorry How is about the next one (attached)? Expected behaviour: It should find and use the fonts from cont-fnt.tex (and generate an error message about missing ec-ptmr8t otherwise). Taco type-dis.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] setupheadnumber loses table of contents
All, in the following example, if I uncomment %\setupheadnumber[chapter][2] then I lose my table of contents. Should that be happening? % output=pdf \setupcaptions [location=bottom,width=fit,align=right,headstyle=bold,style=slanted] \setupcaption [figure] [way=bysection] %\setupheadnumber[chapter][2] \setuphead[section][number=no] \starttext \startuseMPgraphic{david} draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red; \stopuseMPgraphic \startbuffer[table] \starttable[|c|c|] \HL \VL This \VL is \VL\FR \VL a\VL table \VL\LR \HL \stoptable \stopbuffer \completecontent \chapter{The Process of\crlf Growing Wheat} \input tufte \startbuffer \startcombination[2*1] {\useMPgraphic{david}}{First caption} {\useMPgraphic{david}}{Second caption} \stopcombination \stopbuffer \placefigure[][fig:11] {This is the caption of the figure.} {\getbuffer} \section{First Section} \input tufte \placefigure[][fig:1] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:4] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \section{Second Section} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:3] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:2] {A very simple example of a table.} {\getbuffer[table]} In \in{Figure}[fig:1], we on page \at[fig:1] what the figure is \about [fig:1]. \chapter{The Process of Baling Hay} \input tufte \section{First Section} \input tufte \placefigure[][fig:1] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:5] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \section{Second Section} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:3] {This is an example of an extended caption.} {\useMPgraphic{david}} \input tufte \placetable[][tab:2] {A very simple example of a table.} {\getbuffer[table]} \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] For Metafont junkies
Dearest gang, As TeX moves into the 21'st century (pdfetex, ConTeXt, etc.) what about Metafont? Erik van Blokland and Co. have come up with the foundation of what could be a new and better MetaFont, using Python: http://letterror.com/code/robofab/index.html The font development model looks very familiar: http://erik.letterror.com/typemedia/draw/drawingForInterpolation.pdf -) And it works with the latest FontLab (which uses python for extensions), so there's your gui-) built on RoboFab is Superpolator: http://letterror.com/code/superpolator/index.html The last is not free, but takes things to a whole other level. In any case, I think Erik has charted out a path that TeX should consider with respect to realizing the other half of Knuth's dream. Happy Holidays Idris -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] section prefix=+
Hans et al, We'll have different teachers writing different sections of a multi- chapter, multi-section document. The following use of prefix=+, as far as I can see, will keep them from stumbling over each other's references while they are working independently. I wonder how this will work in the project-product-component structure? % output=pdf \environment bookenv \setuphead[section] [prefix=+] \starttext \startuseMPgraphic{david} draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red; \stopuseMPgraphic \startbuffer[table] \starttable[|c|c|] \HL \VL This \VL is \VL\FR \VL a\VL table \VL\LR \HL \stoptable \stopbuffer \startbuffer[figure] \startcombination[2*1] {\useMPgraphic{david}}{First caption} {\useMPgraphic{david}}{Second caption} \stopcombination \stopbuffer \completecontent \chapter[quadratic]{Quadratic Functions} \input tufte \section[parabola]{The Parabola} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[fig:1] on \at{page}[fig:1], we see \ldots. \section[vertex]{Vertex Form} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[fig:1] on \at{page}[fig:1], we see \ldots. \chapter[poly]{Polynomial Functions} \input tufte \section[end]{End Behavior} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[fig:1] on \at{page}[fig:1], we see \ldots. \section[zeros]{Zeros} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[parabola:fig:1] on \at{page}[parabola:fig:1], we see \ldots. \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] section prefix=+ (oops)
Oops. Sorry. You should omit that \environment bookenv. On Dec 21, 2005, at 11:21 PM, David Arnold wrote: Hans et al, We'll have different teachers writing different sections of a multi- chapter, multi-section document. The following use of prefix=+, as far as I can see, will keep them from stumbling over each other's references while they are working independently. I wonder how this will work in the project-product-component structure? % output=pdf \environment bookenv \setuphead[section] [prefix=+] \starttext \startuseMPgraphic{david} draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red; \stopuseMPgraphic \startbuffer[table] \starttable[|c|c|] \HL \VL This \VL is \VL\FR \VL a\VL table \VL\LR \HL \stoptable \stopbuffer \startbuffer[figure] \startcombination[2*1] {\useMPgraphic{david}}{First caption} {\useMPgraphic{david}}{Second caption} \stopcombination \stopbuffer \completecontent \chapter[quadratic]{Quadratic Functions} \input tufte \section[parabola]{The Parabola} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[fig:1] on \at{page}[fig:1], we see \ldots. \section[vertex]{Vertex Form} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[fig:1] on \at{page}[fig:1], we see \ldots. \chapter[poly]{Polynomial Functions} \input tufte \section[end]{End Behavior} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[fig:1] on \at{page}[fig:1], we see \ldots. \section[zeros]{Zeros} \input tufte \placefigure[][fig:1] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte \placetable[][tab:1] {A very simple example of a table.} {\getbuffer[table]} \input tufte \placefigure[][fig:2] {This is the caption of the figure.} {\getbuffer[figure]} \input tufte In \in{Figure}[parabola:fig:1] on \at{page}[parabola:fig:1], we see \ldots. \stoptext ___ 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