Re: [NTG-context] \math or $ doesn't work.
> On 02 Jun 2015, at 21:08, John Culleton wrote: > […] > Everything works. But there is > something wrong with my math code. There is no > horizontal bar between the 1 and the 2. I guess > I will study "The TEXbook" some more. Hi John, It is a good idea to read again The TeXBook, but actually I wonder why should TeX put a horizontal line between 1 and 2 in your code? What you are typesetting in mathmode is just 8 followed by 1 in exponent (uppserscript) and 2 in subscript, therefore there shouldn’t be any fraction bar between 1 and 2. If the font you use has the character, what you want to typeset is the character U+00BD for 1/2 or, if you want to use mathmode, either of the solutions below (wtach the slight differences between the three versions): \starttext $8\tfrac{1}{2} × 11$ inch $8\frac{1}{2} × 11$ inch $8{1 \over 2} × 11$ inch \stoptext Indeed you can replace $…$ with \math{…}. Best regards: OK ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bugs with minimals 2015.05.24 12:42
On Tue, Jun 2, 2015 at 2:26 PM, david.boerschl...@juno.com wrote: > > (*) tex error > error on line 1 in file > /var/www/vhosts/door43.org/tools/nototest.tex: ! Undefined control sequence > l.1 \useregime > [utf] > 1 >> \useregime[utf] > 2 \enableregime[utf] > Version: 2015.05.24 12:42 If you are using MkII (that is: if you are running "texexec"), you should use \enableregime[utf-8] If you use LuaTeX, there's no need to enable UTF-8. It's already the default. > (*) Upgrading with "first-setup.sh" deleted all the third-party fonts which > we had spent months installing. I'm sorry to hear that. The idea is to install fonts to texmf-local or texmf-fonts or texmf-project or somewhere else. But the files get removed from "texmf", "texmf-context", "texmf-modules" etc. I'm sorry that that wasn't clear (or maybe not even mentioned) in the documentation. > (*) Installing the "context=current" installed a "beta" version of luatex: > context --version > mtx-context | current version: 2015.05.24 12:42 > luatex --version > This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) A "non-beta" version of LuaTeX doesn't exist. > (*) http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf (none of the commands > texfont, ttf2afm, updmap, come with the latest ConTeXt minimals 2015.05.24 > 12:42) [Is this really the up-to-date documentation on how to install a > true-type font?]It does not seem to discuss what to do if all we have is > an ".otf" but no ".ttf" The documentation is from 2005 as the URL suggests. So no, it's not up-to-date. Use LuaTeX instead and you can forget about dirty workarounds to get the fonts to work. > (*) Documentation request: typescripts for "ttf" and "otf" files which may or > may not have bold, italics, etc with fallback-families and Unicode ranges and > separate files for Unicode-ranges (e.g., Google Noto fonts). This is all possible (it might require a bit of work to get everything set up properly), but you should definitely switch to LuaTeX. Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \math or $ doesn't work.
On Tue, 02 Jun 2015 18:30:04 +0200 Pablo Rodriguez wrote: > On 06/02/2015 05:54 PM, John Culleton wrote: > > On Tue, 2 Jun 2015 11:45:35 -0400 > > John Culleton wrote: > > > >> I want to insert the string 8 1/2 x 11 in my > >> text. Here is my test file: > >> > >> \starttext > >> \math{8^1_2} × 11 inch, > >> \stoptext > >> > >> I am using texlive 2014 mkiv. > > Hi John, > > me too (current version: 2014.05.21 22:04 ;-)) > and both samples (above and below) compile fine. > > > I also tried this: > > --- > > \starttext > > 8 1/2 × 11 inch, > > \stoptext > > - > > The error message is the same: > > --- > > system > tex > error on line 2 in > > file /usr/local/active/hall/ftp/test.tex: > > String contains an invalid utf-8 sequence ... > > Are you sure that character encoding in your > file is utf8? > > I can cause this error message, but only after > replacing character encoding in file with ISO > 8859-15. > > BTW, your file is in /usr/local. I thought that > in Unix there was no place like /home :-). > > I hope it helps, > > > Pablo We are on the home stretch now. I added \enableregime [utf-8] as the first line of my master file. Theoretically I don't need this for a MKIV run but so much for theory. Everything works. But there is something wrong with my math code. There is no horizontal bar between the 1 and the 2. I guess I will study "The TEXbook" some more. Just FYI, I keep personal stuff and also my political articles in /home/safe but my typesetting and index work goes in subdirectories of: /usr/local/active/ one for each project. Thanks for your prompt and useful reply! -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http://wexfordpress.net/shortlist.html ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Blank line before placehead=empty
On 06/02/2015 07:05 PM, Kate F wrote: > Hi, > > I have a document where I'm showing chapter titles in headers, rather > than on the page in the usual place in the body text area. > > Using placehead=empty, what causes the blank line before the text? Is > there a way to suppress it? > > I see there's no line when specifying placehead=no, but I want the > chapter heading to appear in my TOC, so that's why I'm using > placehead=empty. Or maybe there's another way to add something to the > TOC without showing anything in the document. Hi Kate, as far as I know, placehead=no only affects to the heading, not to the TOC. At least, this sample works: \setuphead[chapter][placehead=no] \showgrid \showstruts \starttext \completecontent \dorecurse{10}{\startchapter [title={My Chapter}] cows cows hasselt \stopchapter} \stoptext Or have I misread your message or am I missing something? I hope it helps, Pablo -- http://www.ousia.tk ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Blank line before placehead=empty
Hi, I have a document where I'm showing chapter titles in headers, rather than on the page in the usual place in the body text area. Using placehead=empty, what causes the blank line before the text? Is there a way to suppress it? I see there's no line when specifying placehead=no, but I want the chapter heading to appear in my TOC, so that's why I'm using placehead=empty. Or maybe there's another way to add something to the TOC without showing anything in the document. \setuphead[chapter][placehead=empty] % has an unwanted blank line %\setuphead[chapter][placehead=no] % no blank line \showgrid \showstruts \starttext \startchapter[title={Something}] cows cows hasselt \stopchapter \stoptext Thank you, -- Kate ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Updated XML interface file?
On 06/01/2015 11:32 PM, Paul Mazaitis wrote: > On 1 Jun 2015, at 11:46, Pablo Rodriguez wrote: > [...] >> do you mean http://www.pragma-ade.com/general/qrcs/setup-en.pdf? > > The PDF command reference is good, but I'm looking for something that's > easier to parse with software. > >> If this is not what you want, could you provide a link to the newest >> version of the document you are searching? > > The particular file I'm using at the moment is included as part of the > standalone distribution: > > /tex/texmf-context/tex/context/interface/cont-en.xml > > (I'd be interested in an updated keys-en.xml as well, if that's a > possible thing.) Hi Paul, my suspicion is the following: if there were an updated version it would be included in the distribution. Sorry for the lack of better information, Pablo -- http://www.ousia.tk ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \math or $ doesn't work.
On 06/02/2015 05:54 PM, John Culleton wrote: > On Tue, 2 Jun 2015 11:45:35 -0400 > John Culleton wrote: > >> I want to insert the string 8 1/2 x 11 in my >> text. Here is my test file: >> >> \starttext >> \math{8^1_2} × 11 inch, >> \stoptext >> >> I am using texlive 2014 mkiv. Hi John, me too (current version: 2014.05.21 22:04 ;-)) and both samples (above and below) compile fine. > I also tried this: > --- > \starttext > 8 1/2 × 11 inch, > \stoptext > - > The error message is the same: > --- > system > tex > error on line 2 in > file /usr/local/active/hall/ftp/test.tex: String > contains an invalid utf-8 sequence ... Are you sure that character encoding in your file is utf8? I can cause this error message, but only after replacing character encoding in file with ISO 8859-15. BTW, your file is in /usr/local. I thought that in Unix there was no place like /home :-). I hope it helps, Pablo -- http://www.ousia.tk ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \math or $ doesn't work.
On Tue, 2 Jun 2015 11:45:35 -0400 John Culleton wrote: > I want to insert the string 8 1/2 x 11 in my > text. Here is my test file: > > \starttext > \math{8^1_2} × 11 inch, > \stoptext > > I am using texlive 2014 mkiv. I also tried this: --- \starttext 8 1/2 × 11 inch, \stoptext - The error message is the same: --- system > tex > error on line 2 in file /usr/local/active/hall/ftp/test.tex: String contains an invalid utf-8 sequence ... 1 \starttext 2 >> 8 1/2 × 11 inch, 3 \stoptext 4 5 -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http://wexfordpress.net/shortlist.html ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \math or $ doesn't work.
I want to insert the string 8 1/2 x 11 in my text. Here is my test file: \starttext \math{8^1_2} × 11 inch, \stoptext I am using texlive 2014 mkiv. -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http://wexfordpress.net/shortlist.html ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bugs with minimals 2015.05.24 12:42
On 6/2/2015 2:26 PM, david.boerschl...@juno.com wrote: (*) tex error > error on line 1 in file /var/www/vhosts/door43.org/tools/nototest.tex: ! Undefined control sequence l.1 \useregime [utf] 1 >> \useregime[utf] 2 \enableregime[utf] Version: 2015.05.24 12:42 (*) Upgrading with "first-setup.sh" deleted all the third-party fonts which we had spent months installing. If you install extra fonts and files, you should put them in tex/texmf-fonts tex/texmf-project as these are left untouched. That has always been the recommendation. The other trees will be synchronized in an update and that also includes deleting obsolete files. (*) Installing the "context=current" installed a "beta" version of luatex: context --version mtx-context | current version: 2015.05.24 12:42 luatex --version This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) (*) http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf (none of the commands texfont, ttf2afm, updmap, come with the latest ConTeXt minimals 2015.05.24 12:42) [Is this really the up-to-date documentation on how to install a true-type font?]It does not seem to discuss what to do if all we have is an ".otf" but no ".ttf" (*) Documentation request: typescripts for "ttf" and "otf" files which may or may not have bold, italics, etc with fallback-families and Unicode ranges and separate files for Unicode-ranges (e.g., Google Noto fonts). you can put the fonts in tex/texmf-fonts/fonts/data/someplace and run mtxrun --generate and then try the selectfont command Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Upgraded to 2015.05.18 12:26 and now unicode is broken
On 6/2/2015 2:35 AM, Thomas Floeren wrote: On 2 Jun 2015, at 1:25, david.boerschl...@juno.com wrote: And now Unicode is broken: tex error > error on line 5 in file /tmp/OBS-am-v20150522-draft-samples-DPB.tex: ! Undefined control sequence l.5 \useregime [utf] It seems that enabling utf is no longer needed: http://www.mail-archive.com/ntg-context%40ntg.nl/msg77849.html http://www.mail-archive.com/ntg-context%40ntg.nl/msg78594.html http://www.mail-archive.com/ntg-context%40ntg.nl/msg76027.html the \useregime command hss never been needed in mkiv as \enableregime will handle it and \enableregime[utf] is not needed as it's the default Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bugs with minimals 2015.05.24 12:42
(*) tex error > error on line 1 in file /var/www/vhosts/door43.org/tools/nototest.tex: ! Undefined control sequence l.1 \useregime [utf] 1 >> \useregime[utf] 2 \enableregime[utf] Version: 2015.05.24 12:42 (*) Upgrading with "first-setup.sh" deleted all the third-party fonts which we had spent months installing. (*) Installing the "context=current" installed a "beta" version of luatex: context --version mtx-context | current version: 2015.05.24 12:42 luatex --version This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) (*) http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf (none of the commands texfont, ttf2afm, updmap, come with the latest ConTeXt minimals 2015.05.24 12:42) [Is this really the up-to-date documentation on how to install a true-type font?]It does not seem to discuss what to do if all we have is an ".otf" but no ".ttf" (*) Documentation request: typescripts for "ttf" and "otf" files which may or may not have bold, italics, etc with fallback-families and Unicode ranges and separate files for Unicode-ranges (e.g., Google Noto fonts). David Boerschlein (214) 412-3275 home office land (585) 278-4687 cell www.linkedin.com/in/davidboerschlein Old School Yearbook Pics View Class Yearbooks Online Free. Search by School & Year. Look Now! http://thirdpartyoffers.juno.com/TGL3141/556da14029abe214072e9st01duc ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] NTG voorjaarsbijeenkomst 2015
Besten allemaal, ik wil jullie hiermee eraan herinneren, dat we op 11 juni a.s. de ledenvergadering van de NTG gaan houden. Datum: 11 juni 2015 Tijd: 11:00 tot 15 :00 Plaats: InspirID, Petrus Driessenstraat 44, 9714 CC Groningen Naast de ledenvergadering met verkiezingen en een lunch, zullen we ons gaan verdiepen in de details van een moderne font… De stukken voor de jaarvergadering zijn te vinden op het besloten gedeelte van ons web-site. Omdat wij de aantallen deelnemers c.q. lunches aan de beheerster van de lokatie moeten doorgeven, vraag ik jullie zich aan te melden tot a.s. zaterdag 6 juni bij de secretaris. Tot volgende week donderdag! Vriendelijke groeten Willi Egger Secretaris NTG ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___