Re: [NTG-context] Typesetting chess boards
On Tue, Sep 2, 2008 at 8:16 PM, Maurício wrote: Hi, What is the easiest way to include chess boards in a Context document? Chessboards or chessboards with figures? Chessboards with figures (actually, chess studies sets). the easiest way is to use a font for diagrams. Just copy and paste it into your text editor (you will get a 8×8 matrix plus maybe chars for rules and numbers around). This description should be enclosed by a user command, e.g. \dia{matrix}, which turns off interlineskip (in plain \offinterlineskip). This should be enough for a quick and dirty solution. High quality typesetting or generating diagrams out of databases like chessbase or parsing of FEN strings is much more difficult. You can take a look at LaTeX package chessboard or skak how they do it ... Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Some layout questions
Taco Hoekwater wrote: Ulrich Dirr wrote: After defining a typescript (see comlete example attached) I want to use protrusion and expansion (I've followed the description in co-typography.pdf): \definetypeface[kievit][rm][sans][kievit][default][features=hz] \definetypeface[kievit][ss][sans][kievit][default][features=hz] \definetypeface[kievit][tt][mono][modern][default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02] \usetypescript[kievit] \setupbodyfont[kievit,ss,10pt] \definefontfeature[default][default] [protrusion=pure,expansion=quality,mode=node,script=latn] This line should read: \definefontfeature[hz][default] [prot Afaics, everything else looks ok. But has no effect :-( Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Some layout questions
Hi Taco, On 2008-08-28 Taco Hoekwater wrote: % engine=luatex \definefontfeature [default][default] [protrusion=quality,expansion=quality,mode=node,script=latn] \definetypeface[kievit][rm][serif][times][default] \definetypeface[kievit][ss][serif][times][default] \definetypeface[kievit][tt][mono][modern][default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02] \setupbodyfont[kievit,ss,10pt] \starttext \showframe \setupalign[hanging] \input tufte \stoptext % This works! I used [serif][times] instead of [sans][kievit] because I don't have the font, but that should not matter. Things to note: * The relative ordering of commands matters, your \definefontfeature was too late. I'll try to document that in the manual. * You only need \usetypescript[xxx] if the \definetypeface commands are actually inside of a \starttypescript[xxx] block. * It turns out I could not use [features=hz] because at a lower level [times] already sets up [features=default], and that setting wins over the high-level one. But in your new setup for kievit, you could also do it this way: \definefontfeature [hz][default] [protrusion=quality,expansion=quality,mode=node,script=latn] \definetypeface[kievit][rm][serif][times][default][features=hz] just make sure not to attach any [features=...] to the \definefontsynonym commands. Thank you very much for explaining these mysteries. The whole typescript thingy is a strange black box for me ... Interesting is that you instruct me not to use any features in \definefontsynonym -- I had just copied this from the wiki. Then the wiki should be updated ;-) I would like to see on the wiki a real life working example for luatex/mkiv using OpenType pro fonts for roman and sans serif, e.g. MinionPro and MetaPro. Using several font features and languages (e.g. small caps, caps spacing, greek, etc.) This would demystify font handling a lot. Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Some layout questions
Hi, I'm trying to setup context for a book layout but I'm still failing with some basics (hopefully) ... \definepapersize[Lasker][width=21cm,height=28cm] \setuppapersize[Lasker][A4] \setuplayout[width=172.5mm,lines=53,leftmargin=0mm,rightmargin=0mm,header=12 pt,headerdistance=12pt,footer=12pt,footerdistance=12pt,topspace=20mm,backspa ce=15mm,grid=yes] \setupinterlinespace[line=12pt] \setuppagenumbering [alternative=doublesided,location=header] \setupindenting[12pt] Is this o.k. so far? \setupfootnotes[location=lastcolumn,rule=off,numbercommand=\myfootnotenumber ] \def\myfootnotenumber#1{#1. } \setupfootnotedefinition[location=normal] This does not work as expected. I want footnotes in the last column of a two column format at the *bottom*. Both standard twocolumn (via \startcolumns[n=2]) format fails and also column sets: if I use column sets (defined with \definecolumnset[example][n=2,balance=yes]) footnotes are in the left *and* right column or only in the left. If I use \startcolumns[n=2] footnotes are placed correctly in the right column but not at the bottom of the page and not aligned on grid. ??? After defining a typescript (see comlete example attached) I want to use protrusion and expansion (I've followed the description in co-typography.pdf): \definetypeface[kievit][rm][sans][kievit][default][features=hz] \definetypeface[kievit][ss][sans][kievit][default][features=hz] \definetypeface[kievit][tt][mono][modern][default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02] \usetypescript[kievit] \setupbodyfont[kievit,ss,10pt] \definefontfeature[default][default] [protrusion=pure,expansion=quality,mode=node,script=latn] \setupalign[hanging] But it doesn't work at all. While with standard two column format line breaking is like without hz features at all; with columnsets line breaking is getting even worse. Any idea? Another question: How can define the amount of indentation and before and after space of quotations (\setupquotation but how)? Quotation should be set 9/10.5pt. And body text should align on grid before and after a quotation. How can I define \setupheader so that I got the following: On a chapter page no header but folio centered in footer, on the following pages folios on left side if even page and on right side if odd page inside header. Right part on even pages with Part n\quad Chapter m while text of \chapter in left side of odd pages. +---+ +-+ |8 Part I Chapter 3| |Netherlands 9| ... Sometimes I have to change this to: +---+ +-+ |11 Part I Chapter 3 Netherlands| |Subsection Euwe-Lasker 12| ... If a subsection is present. Best regards, Ulrich P.S. ConTeXt ver: 2008.08.18 14:00 MKIV test2.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Warnock Pro, Chaparral Pro, Jenson Pro and Myriad Pro
Hi, On 2008-07-23 Mohamed Bana wrote: Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu writes: I have not ported my minion/myriad setup to mkiv but when I do I'll try to post an addendum... Best wishes Idris I'll await for your port :) I'll second this! Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes
Hi Aditya, thank you for your help! On 2008-07-20 Aditya Mahajan wrote: On Sun, 20 Jul 2008, Ulrich Dirr wrote: I'm recently testing mkiv/luatex (ConTeXt ver: 2008.07.18 18:38 MKIV fmt: 2008.7.19 installed; compiling with 'context file') for a new project. I don't know if my questions depend on mkii or mkiv specifics. I have some problems figuring out what kind of parameters I can use to setup footnotes in a multicolumn layout (is it better to use column sets and define areas?). When I'm using location=lastcolumn then footnotes get placed in the last column *inside* the text column while when using firstcolumn as an option they will be placed below the first column but outside the text column at the end of the page. And both columns don't get balanced. How can I get two text columns balanced and footnotes place on the last column at the end of the page? [...] I do not know whether this is possible with columnsets. I will test this with columnsets. How can I get footnote numbers aligned with the left margin of the text/column block (margindistance=0em doesn't help)? Footnotes should run as a 'normal' paragraph (no hanging). Add \setupfootnotedefinition[location=normal,distance=0.5em] Ah, interesting. I didn't find this option for location in the docs. I'm also quiet lost what options I can set with \setupfootnotes, because they are not explained in the manual (ma-cb-en-print.pdf, p. 46; cont-eni.pdf, p. 101) ... Yes, at places the documentation is lagging behind. I can write about footnotes in the TUGBoat column about ConTeXt. When the manual is inadequate, I look at the sources. Once you figure out how to scan them for information, they are easy to understand. In this case, core-not.tex says that the options of \setupfootnotes are [\c!location=\v!page, \c!way=\v!by\v!part, \c!sectionnumber=\v!no, \c!conversion=, \c!rule=\v!on, \c!before=\blank, \c!bodyfont=\v!small, \c!style=, \c!color=, \c!after=, \c!rulecolor=, \c!rulethickness=\linewidth, \c!frame=\v!off, \c!margindistance=.5em, \c!columndistance=1em, \c!distance=.125em, \c!align=\v!normal, \c!tolerance=\v!tolerant, \c!split=\v!tolerant, %\c!width=\makeupwidth, %\c!width=\ifdim\hsize\makeupwidth\hsize\else\makeupwidth\fi, \c!width=\defaultnotewidth, \c!height=\textheight, \c!numbercommand=\high, \c!command=\noteparameter\c!numbercommand, % downward compatible \c!separator=\@@koseparator, \c!textcommand=\high, \c!textstyle=\tx, \c!textcolor=, \c!interaction=\v!yes, \c!factor=, \c!scope=, % \v!text \v!page \c!n=1]% Aditya O.k. I could look in the source too, but where did you read 'location=normal'? Also I don't know what other option are allowed, e.g., in \numbercommand or \split. Only the default values are here as I understand. Anyway. How can I get that footnotes just flows as a standard paragraph (no hanging indentation)? Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] OpenType beginners question
Hi, I've adapted the complete luatex/markiv typescript example at http://wiki.contextgarden.net/Mark_IV#Opentype_features for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore fiddling with font installation!). \starttypescript [sans] [kievit] \definefontsynonym [KievitProRegular] [name:KievitPro-Regular] [features=default] \definefontsynonym [KievitProMedium] [name:KievitPro-Medium] [features=default] \definefontsynonym [KievitProExtraBold] [name:KievitPro-ExtraBold] [features=default] \definefontsynonym [KievitProItalic] [name:KievitPro-Italic] [features=default] \definefontsynonym [KievitProMediumItalic] [name:KievitPro-MediumItalic][features=default] \definefontsynonym [KievitProExtraBoldItalic] [name:KievitPro-ExtraBoldItalic] [features=default] \stoptypescript \starttypescript [sans] [kievit] \definefontsynonym [Sans][KievitProRegular] [features=default] \definefontsynonym [SansItalic] [KievitProItalic] [features=default] \definefontsynonym [SansBold][KievitProMedium] [features=default] \definefontsynonym [SansSlanted] [SansItalic] [features=default] \definefontsynonym [SansBoldSlanted] [SansBoldItalic] [features=default] \definefontsynonym [SansCaps][Sans] [features=smallcaps] \stoptypescript \definetypeface[kievit][rm][sans][kievit][default] \definetypeface[kievit][ss][sans][kievit][default] \definetypeface[kievit][tt][mono][modern] [default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02] \setupbodyfont[kievit,ss,10pt] Now \bf \it works perfectly well but \sc doesn't. Do I need some extra definition? Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnotes
Hi Aditya, Thank you very much for your explanations. Where in the documentation did you find 'serried'? I think my biggest problem is that I don't know which values are possible options and what's the meaning (this should be in the docs I think). Best regards, Ulrich On 2008-07-21 Aditya Mahajan wrote: On Mon, 21 Jul 2008, Ulrich Dirr wrote: O.k. I could look in the source too, but where did you read 'location=normal'? That is just from knowing how the footnotes work. In ConTeXt footnotes consist of two this, a number and the note definition. The note definition is defined as a description, location=normal is an option for descriptions. Also I don't know what other option are allowed, e.g., in \numbercommand or \split. Only the default values are here as I understand. numbercommand can be any predefined (or one that you define on your own) ConTeXt macro. By default, it is \inleft, and hence you see the footnotes in the margin. I do not know what split does, but just by seeing that by default it is defined to be tolerant, the other options should be verystrict, strict, tolerant, verytolerant, and they should control how the splitting of columns work. This is the good thing about ConTeXt; key value options are extremently consistent, once you know what values a particular key takes for one environment, you can guess what it will do for others (well, I could be wrong in case of footnotes, but ...) Anyway. How can I get that footnotes just flows as a standard paragraph (no hanging indentation)? \setupfootnotedefinition[location=serried, distance=0.5em] Aditya __ __ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg- context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ __ ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] OpenType beginners question
Hi Wolfgang, this works perfectly well, thanks. On 2008-07-21 Wolfgang Schuster wrote: On Mon, Jul 21, 2008 at 10:05 AM, Ulrich Dirr [EMAIL PROTECTED] wrote: Hi, I've adapted the complete luatex/markiv typescript example at http://wiki.contextgarden.net/Mark_IV#Opentype_features for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore fiddling with font installation!). \starttypescript [sans] [kievit] \definefontsynonym [KievitProRegular] [name:KievitPro-Regular] [features=default] \definefontsynonym [KievitProMedium] [name:KievitPro-Medium] [features=default] \definefontsynonym [KievitProExtraBold] [name:KievitPro- ExtraBold] [features=default] \definefontsynonym [KievitProItalic] [name:KievitPro-Italic] [features=default] \definefontsynonym [KievitProMediumItalic] [name:KievitPro- MediumItalic] [features=default] \definefontsynonym [KievitProExtraBoldItalic] [name:KievitPro-ExtraBoldItalic] [features=default] \stoptypescript \starttypescript [sans] [kievit] \definefontsynonym [Sans][KievitProRegular] [features=default] \definefontsynonym [SansItalic] [KievitProItalic] [features=default] \definefontsynonym [SansBold] [KievitProMedium] [features=default] \definefontsynonym [SansSlanted] [SansItalic] [features=default] \definefontsynonym [SansBoldSlanted] [SansBoldItalic] [features=default] \definefontsynonym [SansCaps][Sans] [features=smallcaps] \stoptypescript \definetypeface[kievit][rm][sans][kievit][default] \definetypeface[kievit][ss][sans][kievit][default] \definetypeface[kievit][tt][mono][modern] [default][rscale=1.12] \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02] \setupbodyfont[kievit,ss,10pt] Now \bf \it works perfectly well but \sc doesn't. Do I need some extra definition? Place this at the top of your typescript \definefontfeature[latin-smallcaps][smallcaps][script=latn] and replace smallcaps in the following line with latin-smallcaps. \definefontsynonym [SansCaps][Sans] [features=smallcaps] Regards, Wolfgang Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Footnotes
Hi, I'm recently testing mkiv/luatex (ConTeXt ver: 2008.07.18 18:38 MKIV fmt: 2008.7.19 installed; compiling with 'context file') for a new project. I don't know if my questions depend on mkii or mkiv specifics. I have some problems figuring out what kind of parameters I can use to setup footnotes in a multicolumn layout (is it better to use column sets and define areas?). When I'm using location=lastcolumn then footnotes get placed in the last column *inside* the text column while when using firstcolumn as an option they will be placed below the first column but outside the text column at the end of the page. And both columns don't get balanced. How can I get two text columns balanced and footnotes place on the last column at the end of the page? - To illustrate what I want (x=text, m=footnote text): A) If the page is 'full' xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx 1. nnn xx 2. nnn xx nn B) If the page is only partially filled: xx xx xx xx xx xx 1. nnn 2. nnn nn - How can I get footnote numbers aligned with the left margin of the text/column block (margindistance=0em doesn't help)? Footnotes should run as a 'normal' paragraph (no hanging). I'm also quiet lost what options I can set with \setupfootnotes, because they are not explained in the manual (ma-cb-en-print.pdf, p. 46; cont-eni.pdf, p. 101) ... My test file looks like this: \setuplayout[grid=yes] \setupbodyfont [9pt] \setupfootnotes[location=lastcolumn,rule=off,numbercommand=\myfootnotenumber ] \def\myfootnotenumber#1{#1. } \starttext \startcolumns[n=2,tolerance=verytolerant] Hasselt is an old Hanseatic City, situated 12~km north of Zwolle at the river Zwartewater. The city has a long history since obtaining the city charter around 1252. Part and parcel of this history can be traced back to a large number of monuments to be admired in the city center.\footnote{Erste Fußnote!} There you will find the St. Stephanus church, a late gothic church dating back to 1479 with a magnificent organ. The former Municipal Building is situated on The Market Place. Constituted between 1500\footnote{Zweite Fußnote! Die kommt immer nach der ersten Fußnote und ist manchmal viel zu lang.} Hello World! \stopcolumns \stoptext Best regards, Ulrich P.S. the notepad++/context support seems broken with notepad++ v.5.00. I got TeX as a language but no menu entries for compiling ... ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MinionPro Opticals
Hi, does there exist a package (typescript) for Adobe's MinionPro (with optical)? By now I've used LaTeX for MinionPro because of the MinionPro package which has a lot of features ... How can I define a command for setting text in small caps with some user defined tracking value? Best regards, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fontsize
Hi, is it possible now (with luatex or mkiv) to typeset a document in bp? I've tried \setupbodyfont[9bp] but the resulting pdf uses 8,97bp which means 9pt (TeX points)? Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals TeX Live 2008
Hi Mojca, On Friday, July 18, 2008 3:40 PM Mojca Miklavec wrote: [...] Apart from that - is luatex ( cache paths) working now? sorry for the delay but my new pc is at another location (with no mailing list access by now) ... The error messages about writing faults to cache dirs disappeared, and everything seems to work perfectly well here ;-) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals TeX Live 2008
Hi, On Friday, July 18, 2008 10:38 AM Hans Hagen wrote: this is a bug in the windows lfs code, akira posted a fix so i expect a new bin any time now I've just installed ConTexT minimals on a new pc with vista 64 and got the 'cache file not writable' messages. Will Mojca give us a hint when we can reload/reinstall minimals from contextgarden? Or will it be enough to run the 'first-setup' batch file again? Best, Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] link error on contextgarden
Works, great! Ulrich On Friday, March 07, 2008 7:34 AM Aditya Mahajan wrote: On Fri, 7 Mar 2008, Ulrich Dirr wrote: Hi, On Wednesday, March 05, 2008 9:54 AM Taco Hoekwater wrote: Ulrich Dirr wrote: Hi, I was following the advice on the wiki before running ctxtools --update to update cont-win.zip but the link on the site doesn't work: when clicking on download (http://www.pragma-ade.com/context/current/cont-win.zip) it reports an error 404 object not found. Cont-win.zip doesn't seem to exist at the moment, perhaps there was a file upload error? BTW is this the 'canonical' way to do updates? I want to update my Yes, it is. Best wishes, Taco I'm just wondering when the above link will work again? Does there exist another place where I can find this file? Try http://mirror.contextgarden.net/context/current/cont-win.zip Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] link error on contextgarden
Hi, On Wednesday, March 05, 2008 9:54 AM Taco Hoekwater wrote: Ulrich Dirr wrote: Hi, I was following the advice on the wiki before running ctxtools --update to update cont-win.zip but the link on the site doesn't work: when clicking on download (http://www.pragma-ade.com/context/current/cont-win.zip) it reports an error 404 object not found. Cont-win.zip doesn't seem to exist at the moment, perhaps there was a file upload error? BTW is this the 'canonical' way to do updates? I want to update my Yes, it is. Best wishes, Taco I'm just wondering when the above link will work again? Does there exist another place where I can find this file? Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] link error on contextgarden
Hi, I was following the advice on the wiki before running ctxtools --update to update cont-win.zip but the link on the site doesn't work: when clicking on download (http://www.pragma-ade.com/context/current/cont-win.zip) it reports an error 404 object not found. BTW is this the 'canonical' way to do updates? I want to update my context installation (stand-alone CONTEXTediting environment (windows) dated 2007/08/08). Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] extended dictionary / hyphenation patterns
Steffen Wolfrum wrote: Am 11.12.2007 um 16:16 schrieb Hans Hagen: Steffen Wolfrum wrote: Hi, I guess German is famous for its monstrous compound words ;o( So I have a manually collected lists of hyphenation patterns (like \hyphenation{Selbst-kon-troll-ein-rich-tung}). This I'd like to keep as a two separate files: on for usage with the body-text set in \mainlanguage[deo] and one for \mainlanguage[de]. Is there a handy way to automatically assign and include one of these files (HyPold and HyPnew) to the usage of the respective \mainlanguage [deo] and [de] ? you can copy them to lang-de.hyp this looks like a clean way (assigns automatically with the chosen \mainlanguage). by default lang-de.hyp is empty ... does this indicate that it is actually meant for user entries? no, it means that the german patterns are perfect -) Hans Will luatex go the standard TeX hyphenation way or will you try to do it better? Especially for german the hyphenation based on those patterns does not work very well (btw the same is true for british english). My dream would be to see a solution where we have main/prefered break points and optional break points (of course we will never find a solution for everything, like semantically different words but with same orthography) ... btw another question: will luatex interpret ligature rules which are language specific? At least from otf fonts? Ulrich ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
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] more on margin kerning
On Tuesday, May 10, 2005 3:12 PM Taco Hoekwater wrote: I think Hartmut is precisely right, because all is well using 1.21a. But I do not know whether there is a pdftex 1.21a for Windows anywhere. the latest miktex has it ;-) Ulrich ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Going crazy with font conversion (diaeresis)!
Steffen Wolfrum wrote: But by using HelveticaNeue as is, there is no kerning information included. The result is quite poor, as you can imagine. And as I don't know how to set a proper kerning (in reasonable time) AND how to get it available in ConTeXt I see no other alternative than using Helvetica and use the kerning information that is included in Adobes afm/tfm/vf files (being part of tetex). I'm really wondering why there's no kerning. (Maybe I missed something of the previous discussion) Probably you should check the version numbers of the pfb and then take the original AFMs from Adobe/Linotype. I'm also using Helvetica Neue (total 67 afms) and it works well ;-) Ulrich Dirr ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Lettrine, \sc, and a font without proper small capitals (Modified by Gerben Wierda)
Adam Lindsay wrote: Faking, whether within ConTeXt or within your driver, seems to be the only option: Small Caps were never designed for Optima, afaik. But it's in Optima Nova http://www.linotype.com/58171/optimanovacdformacandpc-compilation.html?PHPS ESSID=b120c89ddacf24bf95bb7499629b6e70 Best regards, Ulrich Dirr ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Russia (cyrillic letters)
Mikael Persson wrote: I did not find the tfm files anywhere on the Internet (strange), so I generated them myself. Now it works very well. I put a description of how I did, and some comments on what encoding that worked (windows 1251), and what encodings that did not (KOI8R, KOI8-R, ISO-8859-5), and a small test file at The cm-super package is on CTAN at fonts/ps-type1/cm-super/ But Vladimir Volovich didn't supply tfm's as he assumes that these will be generated when needed on the fly. And as a replacement for EC etc. he assumes the tfm's are already on the system. He obviously didn't consider ConTeXt... Maybe interesting for you is this section from the INSTALL file: 3.2) [for VTeX/Free] Copy all dvips/*.enc files to .../texmf/vtex/enc/ directory. Copy all vtex/*.ali files to .../texmf/vtex/config/ directory. You will need to generate all needed TFM files, because VTeX/Free can not generate them on the fly (TFM files for EC/TC, EC Concrete and EC Bright fonts are included into the VTeX/Free distribution). You can generate these files e.g. by processing your document by teTeX's latex. Put the TFM files to the curresponding subdirectories under .../texmf/fonts/tfm/. Best regards, Ulrich Dirr ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] link
I got Forbidden You don't have permission to access /pracjourn/2005-1/ on this server. Ulrich Hans Hagen wrote: New on line tex journal http://www.tug.org/pracjourn/2005-1/ Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Float question
Hi, I've defined a new float with \setupfloats[background=screen,spacebefore=none,spaceafter=none,indentnext= no] \definefloat [diagram] [diagrams] In general they are nicely placed, and grid typesetting is maintained. Sometimes 'indentnext=no' doesn't work. Why? When typesetting with columnsets \chapter{Versuch über die Krankheiten des Kopfes} \startcolumnset[two] float [...] the space above isn't removed but it works when the float is moved to a new page when there's not enough room left. Do I have to manually put a negative space here? (I suspect that even the spacebefore and spaceafter didn't work) CHAPTER TITLE xxx +-+ xxx | | xxx | | xxx | | xxx | | xxx | | xxx +-+ xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx Is it possible to to place a 'note' at the point where the float should be placed but is moved to the next column or page? page 1 xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx see diagram n on page 2 ((or 'see next diagram' in xxx xxx case of column break)) xxx xxx page 2 diagram n xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx [...] Best regards, Ulrich ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Setting up a typeface
Hi, I've now studied the docs for a while and experimenting with a bunch of settings but I'm still failing setting up typefaces correctly in ConTeXt. Probably the font mechanism in ConTeXt is much more elaborate than with LaTeX's NFSS. But I'm too stupid to understand it :-( Could someone please help me? My test case -- and it will be the sans serif part of my wish list -- should setup the Linotype HelveticaNeue as body font. The main part is not very difficult to achieve. The test file: - \setupoutput [pdftex] \input pdftexconfig \usetypescriptfile [type-NeueHelvetica] \usetypescript[HelveticaNeue][ec] \setupbodyfont[HelveticaNeueLT,ss,10pt] \starttext \showbodyfontenvironment[HelveticaNeueLT] \showbodyfont[HelveticaNeueLT] \stoptext - type-NeueHelvetica.tex: - \starttypescript [sans] [HelveticaNeue] [name] \definefontsynonym [Sans] [HelveticaNeueLT-Roman] \definefontsynonym [SansItalic] [HelveticaNeueLT-Italic] \definefontsynonym [SansBold] [HelveticaNeueLT-Bold] \definefontsynonym [SansBoldItalic] [HelveticaNeueLT-BoldItalic] [...] \stoptypescript \starttypescript [sans] [HelveticaNeue] [ec] \definefontsynonym [HelveticaNeueLT-Roman] [lhnr8t] [encoding=ec] \definefontsynonym [HelveticaNeueLT-Italic] [lhnri8t] [encoding=ec] \definefontsynonym [HelveticaNeueLT-Bold] [lhnb8t] [encoding=ec] \definefontsynonym [HelveticaNeueLT-BoldItalic] [lhnbi8t] [encoding=ec] [...] \stoptypescript \starttypescript [HelveticaNeue][ec] \usetypescript [sans] [HelveticaNeue] [name] \usetypescript [sans] [HelveticaNeue] [size] \stoptypescript \starttypescript [HelveticaNeue] [ec] \definetypeface [HelveticaNeueLT] [ss] [sans] [HelveticaNeue] [default] [encoding=ec] \stoptypescript - The next step should define destinct sizes for use in a project. And here I'm always failing. I've tried, e.g., \definebodyfontenvironment [9bp] [ text=9bp, script=7bp, scriptscript=5bp, x=7bp, xx=5bp, big=11bp, small=7bp, interlinespace=11bp] or, e.g., \starttypescript [sans] [HelveticaNeue] [size] \definebodyfont [10bp] [ss] [tf=Sans at 10bp, bf=SansBold, it=SansItalic, sl=SansItalic, bi=SansBoldItalic, bs=SansBoldItalic] \stoptypescript in all sizes I want, with and without definitions of \definebodyfont, but never got what I want. How can I setup my typeface (regular, bold, etc.) to use the specific sizes 5,6,7,8,9.5,10,12,14,18,24,28 *bp*??? (And with correct dependencies) I'm definitely not understanding how the general scheme works. And all examples I've found always use the standard font sizes and the standard measurement units. Please help me! Best regards, Ulrich Dirr P.S. are there predefined shortcuts for heavy, light, etc. variants? ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] struts in \quotation{..} (was: Help with LaTeX - ConTeXt book typesetting)
Patrick Gundlach wrote: Hello Hans and Ulrich, [...] Woran arbeiten Sie? wurde Herr K. gefragt. Herr K. antwortete: Ich habe viel Mhe, ich bereite meinen nchsten Irrtum vor. (B. Brecht) Aber Hallo! \quotation{all right \quote{there} we go} \stoptext hm, what do other german users experience/think? I experience the same, but I have no idea why the struts are necessary around \quotation and \quote. When the user needs them he should insert them hiself. Especially if it is not documented (is it?). And will it harm any kerning pairs that are in the tfms, e.g., 'W'? PS: Ulrich, extremely nice Chess books that you have made (seen from your samples) Thanks, I'm recently trying to setup ConTeXt for typesetting the books. I'm hoping with ConText I can even improve the quality -- when I'm finally successful with customizing ;-). Ulrich ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Help with LaTeX - ConTeXt book typesetting
Hans Hagen wrote: (BTW I've already produced all expanded version with fontinst) wait for the new pdftex (or grab a test versions soemwhere): it has auto expansion included, and there i sno need any more to create the instances yourself (doen within pdftex)! Yes, I know. Of course this is an improvement. But I've already set it up -- so why not use it? Nevertheless it seems to me that there're several problems still. I'm using now: This is pdfeTeXk, Version 3.141592-1.20a-rc7.2-2.2 ConTeXt ver: 2004.8.15 fmt: 2004.9.12 int: english mes: english Sometimes the hyphen is not protruded at all. BTW where do I define in ConTeXt my font specific microtypographic values? In LaTeX I wrote \input{protcode-helvetica} \input{efcode-helvetica} \pdfprotrudechars=2 \pdfadjustspacing=2 \def\setupfont{\setprotcode\font} \def\setupEFfont{ \setprotcode\font \resetefcode\font \pdffontexpand\font 20 20 5} ... If ConTeXt is using the new german spelling hyphenation rules then: *108* If ss stands for , then it will be hyphenated s-s. E.g., Grs-se (instead of Gr-e), heis-sen (instead of hei-en). *109* The connection of consonants ch, ck, and sch, and also in foreign words with ph, rh, sh, and th will not be hyphenated in between if they stands for a single sound. E.g., B-cher, Zu-cker, ba-cken, Fla-sche, Ma-che-te, Pro-phet, Myr-rhe, Ca-shew-nuss, ka-tho-lisch. so .. what are the proposed changes to the german language specifics in enco-fde.tex? Mmh, I'm that familiar with ConTeXt ;-) Hopefully the patterns will do most. But of course \installcompoundcharacter ck {\discretionary {k-}{k}{ck}} should be changed to \installcompoundcharacter ck {\discretionary {-}{ck}{ck}} ((ck should always stay as it is; maybe one even don't need this def anymore)) Ulrich ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] Help with LaTeX - ConTeXt book typesetting
Hi, first, thank you very much for your help! Hans Hagen wrote: Ulrich Dirr wrote: Hi, I'm recently trying to get ConTeXt typesetting my books like with LaTeX before (or better). But I can't solve some problems ... Maybe someone can assist me? o How do I get the chapter number into the heading? I've tried \setupheader[before=\viii,style=normal] \setupheadertexts[chapter] but this only puts the chapter title into the heading \setupheadertexts[chapter][chapternumber] of \setupheadertexts[{\getmarking[chapternumber] -- \getmarking[chapter]}] etc etc o How can I get something similar to LaTeX? \fancyhead[C]{% {\sffamily\footnotesize \leftmark \pdef\next{\rightmark}% \ifx\next\empty\else\ \textbullet\ \rightmark\fi}%} which will put the chapter mark centered in the headings, and if there is a sectionmark then a bullet sectionmark too. something like: (setups are just a convenience) \setupheadertexts [\setups{something}] \startsetups something \getmarking[chapter] \doiftext{\getmarking[section]}{\enspace\symbol[1]\enspace} \getmarking[section] \stopsetups That's great. Can I combine this setup with another one for left even right odd numbered pages? E.g., ((PAGE 2)) King 1 The King ((PAGE 3)) 1 The King Queen So that I can combine, say \setupheadertexts[][\KHead Queen][\KHead King][] -- which actually are just two different ornaments -- with your definition above for 'something'? o How can I typeset the chapter title across both columns in a two-column setup? hm \chapter{xxx} \startcolumns ... \stopcolumns \chapter{yyy} etc Sorry I got confused; I was too much influenced by the LaTeX multicol package where I have to say \begin{multicols}{2}[Spanning title] ... o Is it possible to setup a project using only didot (or bp) point measurements? How? Especially I want a interline space in dd or bp which is flexible like \setupinterlinespace[line=1.25\bodyfontsize] but uses dd or bp. \starttext \input ward \setupinterlinespace[line=4.25\dimexpr(\bodyfontfactor dd)] \input ward \stoptext My log file tells me bodyfont : bodyfont 6.6pt is defined (can better be done global) bodyfont : bodyfont 6.6pt is defined (can better be done global) bodyfont : bodyfont 4.7pt is defined (can better be done global) bodyfont : bodyfont 4.7pt is defined (can better be done global) bodyfont : bodyfont 7.6pt is defined (can better be done global) bodyfont : bodyfont 7.6pt is defined (can better be done global) bodyfont : bodyfont 5.7pt is defined (can better be done global) bodyfont : bodyfont 5.7pt is defined (can better be done global) bodyfont : bodyfont 11.3pt is defined (can better be done global) bodyfont : bodyfont 11.3pt is defined (can better be done global) bodyfont : bodyfont 9.5pt is defined (can better be done global) bodyfont : bodyfont 9.5pt is defined (can better be done global) Given my definitions for HelveticaNeue -- and assuming they are alright -- where do I setup sizes, and especially in didot or big points? o I've tried to setup the typographical correct quotation marks for german in the file cont-sys.tex \setuplanguage [de] [leftquote=\rightsubguillemot, leftquotation=\rightguillemot, rightquote=\leftsubguillemot, rightquotation=\leftguillemot] When using it, e.g., \quotation{all right \quote{there} we go} and using \showstruts I got marks at strange places |all right |there| we go| Should this be corrected somewhere? dunny, can you make a small test file (so that other german users can test along?) Here: \setupoutput [pdftex] \input pdftexconfig \enableregime[il1] \mainlanguage[de] \starttext \showstruts {\em Mhsal der Besten} Woran arbeiten Sie? wurde Herr K. gefragt. Herr K. antwortete: Ich habe viel Mhe, ich bereite meinen nchsten Irrtum vor. (B. Brecht) Aber Hallo! \quotation{all right \quote{there} we go} \stoptext o How do I get character protruding and font expansion? (I didn't find the latter in the manual) [...] so, associate a handling (see hand-* files) with a font (before it's used! else pdftex does ignore it) but ... be prepared ... context is set up for the latest pdftex and there are some bugs in hz an desp when used with protruding (thanh is working on them and the previous code is used for testing) you need a recent context in order to get the auto expansion done This is pdfeTeXk, Version 3.141592-1.20a-rc4-2.1 ConTeXt ver: 2004.8.15 fmt: 2004.9.8 (BTW I've already produced all expanded version with fontinst) But this really produces super ugly results! The expanded fonts are in the pdf but the line breaking is horrible. Probably I need at least rc7 or the standalone version of fptex of Sept