Re: [NTG-context] tex to txt/doc
Yes, pdftotext works almost perfect. It does not produce the ff, fi, but the rest is ok. thank you. ciro On Mon, Oct 5, 2009 at 4:12 AM, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Oct 5, 2009 at 10:08 AM, Piotr Kopszak kops...@gmail.com wrote: not to mention obvious old-school approach xml-anything (including ConTeXt). 100 percent reliable conversion of pdf to anything else is impossible by definition, so better don't rely on any magic tools which usually promise but really cannot deliver. yes -- true. As a tool, I also like http://ccxvii.net/mupdf -- luigi ___ 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 ___ -- -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ 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] back to Context
Thank you, Hans. I would had never figured out that combination of commands. I'll play with that starting point. Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 On Sun, Aug 9, 2009 at 4:30 PM, Hans Hagenpra...@wxs.nl wrote: Ciro Soto wrote: I started a small project of ~100 pages and tried to do it with Scribus since it required pictures, inserts, etc. I found that Scribus was not going to be able to handle the task so easily. So I am back to Context. Here is my task: in the right pages, I want the text (~50 pages of text) and in the left pages I would like a picture and a quotation coming from the right page (this quotation I am willing to do manually). My question is, how do I make one \setuplayout for the odd pages, and another for the even pages? I may use pictures that bleed over the upper left corner of the left page. I used the option \placefigure [opposite], which puts the picture in the opposite page, very nice. However, I have two problems with it: it may put the picture in the right page (opposite to the text in the left page), and I can't make the picture bleed because my \setuplayout is for both pages. I can work with what I have done so far, but I wonder if my task is possible with the current Context macros. a starting point ... \setuppagenumbering[alternative=doublesided] \setuplayout[odd] [width=5cm,state=start] \setuplayout[even][width=15cm,state=start] \definelayer[whatever][doublesided=yes] \setupbackgrounds[text][background=whatever] \appendtoks\ifodd\realpageno\else\null\page\fi\to\everyafteroutput \starttext \dorecurse{10}{\input tufte \par \setlayer[whatever][left][preset=lefttop]{left}} \stoptext (the appendtoks is somewhat hacky, maybe we should have it as built in feature) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] back to Context
I started a small project of ~100 pages and tried to do it with Scribus since it required pictures, inserts, etc. I found that Scribus was not going to be able to handle the task so easily. So I am back to Context. Here is my task: in the right pages, I want the text (~50 pages of text) and in the left pages I would like a picture and a quotation coming from the right page (this quotation I am willing to do manually). My question is, how do I make one \setuplayout for the odd pages, and another for the even pages? I may use pictures that bleed over the upper left corner of the left page. I used the option \placefigure [opposite], which puts the picture in the opposite page, very nice. However, I have two problems with it: it may put the picture in the right page (opposite to the text in the left page), and I can't make the picture bleed because my \setuplayout is for both pages. I can work with what I have done so far, but I wonder if my task is possible with the current Context macros. thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ 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] checking spelling of a tex document
Hi all I wonder what the people in this list is using for checking the spelling of a tex document I am in Linux and I have going back and forth from tex to OOwriter to do this, but that is a pain. Any other suggestion? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ 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] lost curved left quotes
I am resending this just in case it got lost when the server was down. Hi all, Somehow my left quotes are straight, not curved as my right quotes. How could I make them curved? (I am using `` for the left quotes, and '' for the right quotes.) (If I use \quotation {qwerty} I get the curved quotes in both sides) thank you in advanced Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.comhttp://www.theguitarmakerexploration.com/ http://www.myspace.com/sotoaguirre ___ 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] framed box in between
I am resending this note in case it got lost when the server was down. ciro Hi all, I would like to have a quote inserted in a framed box that is part in the margin and part in the text, and surrounded by the text. I found the command to have it in the margin or in the text area, but couldn't figure out how to locate the frame partially in the text area, and partially in the margin. How could I do that? thank you, Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.comhttp://www.theguitarmakerexploration.com/ http://www.myspace.com/sotoaguirre -- -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ 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] pages not full
I am having a minor but persistent problem. The text area don't get full of text. It jumps to the next page leaving several (4 ,5, 6) lines empty at the bottom of the text area. It happens in the middle of a paragraph. Any switch I should be setting up? ciro -- -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com https://www.createspace.com/3392936 ___ 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] empty page - how?
Hi All, I want each chapter to start on an odd number page, and the preceding page to be totally empty (no header, no footer). Before the \chapter command, I tried: \page[odd,blank] ... didn't work. I get the header and footer \page[odd,empty] ... didn't work. I get an extra page (empty) \page[odd,makeup] ... didn't work. I get the same as in the first case what is the combination I need to use? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre ___ 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] verses together
I am writing a book with poems and need to maintain four, sometimes five, lines together in the same page. I don't know in advance which four lines will be split at the end of the page. How would I implement this? Using \testpage[n] works, only if I know in advance where the the split happens. thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre ___ 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] Fwd: Fwd: \setuppagenumbering[]
Hello all, I am still puzzled by this problem. Any help is welcome. thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre -- Forwarded message -- From: Ciro Soto c...@kavyata.com Date: Tue, Jul 7, 2009 at 11:55 PM Subject: Re: [NTG-context] Fwd: \setuppagenumbering[] To: Wolfgang Schuster schuster.wolfg...@googlemail.com Cc: mailing list for ConTeXt users ntg-context@ntg.nl Thank you Wolfgang, here is an example that doesn't work. What am I doing wrong? \definepapersize[CD][width=5.5in,height=8.5in] \setuppapersize[CD][letter] \setuppagenumbering [location=] \setupfootertexts [\pagenumber] \setupheadertexts [C.S.][Freedom][C.S.][Freedom] \setuppagenumbering [alternative=doublesided] \starttext \tolerance 1 \startfrontmatter \start \setuppagenumbering [location=footer,conversion=romannumerals,] \setuppagenumber[number=1] \setupheader [state=stop] \setupfooter [state=stop] BOOK TITLE \vfill \page[blank,odd] ANOTHER BOOK TITLE PAGE \page \setupfooter [state=start] COPYRIGHT PAGE \page ANOTHE PAGE \page \stop \stopfrontmatter \startbodymatter \setuppagenumber [number=1] \setuppagenumbering[conversion=numbers] PAGE 1 \page page 2 \page \stoptext \end == -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Mon, Jul 6, 2009 at 8:43 AM, Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: Am 06.07.2009 um 14:39 schrieb Ciro Soto: I am still stuck with this problem any help? Make a example. Wolfgang ___ 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] Fwd: \setuppagenumbering[]
Thank you Wolfgang, here is an example that doesn't work. What am I doing wrong? \definepapersize[CD][width=5.5in,height=8.5in] \setuppapersize[CD][letter] \setuppagenumbering [location=] \setupfootertexts [\pagenumber] \setupheadertexts [C.S.][Freedom][C.S.][Freedom] \setuppagenumbering [alternative=doublesided] \starttext \tolerance 1 \startfrontmatter \start \setuppagenumbering [location=footer,conversion=romannumerals,] \setuppagenumber[number=1] \setupheader [state=stop] \setupfooter [state=stop] BOOK TITLE \vfill \page[blank,odd] ANOTHER BOOK TITLE PAGE \page \setupfooter [state=start] COPYRIGHT PAGE \page ANOTHE PAGE \page \stop \stopfrontmatter \startbodymatter \setuppagenumber [number=1] \setuppagenumbering[conversion=numbers] PAGE 1 \page page 2 \page \stoptext \end == -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Mon, Jul 6, 2009 at 8:43 AM, Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: Am 06.07.2009 um 14:39 schrieb Ciro Soto: I am still stuck with this problem any help? Make a example. Wolfgang ___ 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] Fwd: \setuppagenumbering[]
I am still stuck with this problem any help? ciro -- Forwarded message -- From: Ciro Soto c...@kavyata.com Date: Thu, Jul 2, 2009 at 10:06 PM Subject: \setuppagenumbering[] To: context ntg-context@ntg.nl Page numbering in roman style is not working for me. What could the problem be? I get the numbers in the footer, but it prints in Arabic numbers (1,2,3 ...). This is the command I use: \setuppagenumbering[conversion=romannumerals] thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre -- -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre ___ 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] pdf with password/security
Hi all, I am planning to offer a poetry book in electronic format as well as paper format. How would I produce the pdf file with security/password using context? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre ___ 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] pdf with password/security
Thank you... I found pdftk in the web, and it does the encryption in 128bits, passwords, merging, etc... It will do the job. Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jul 3, 2009 at 3:33 PM, Renaud Aubinau...@nibua-r.org wrote: You can also use podofoencrypt (http://podofo.sourceforge.net/) Renaud Hans Hagen a écrit : Ciro Soto wrote: Hi all, I am planning to offer a poetry book in electronic format as well as paper format. How would I produce the pdf file with security/password using context? it's something one does afterwards ghostscript can do encryption or just use acrobat professional for it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___ ___ 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] \setuppagenumbering[]
Page numbering in roman style is not working for me. What could the problem be? I get the numbers in the footer, but it prints in Arabic numbers (1,2,3 ...). This is the command I use: \setuppagenumbering[conversion=romannumerals] thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre ___ 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] spanish tilde-n lost
Thank you all. This is the feedback of your recommendations: \enableregime[utf] didn't work. typing just ñ worked fine. \defineaccent ~ n {\ntilde} worked using \~n and This last solution is the one I was looking for because my keyboard has no ñ thanks Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sun, Jun 28, 2009 at 10:31 AM, Hans Hagen pra...@wxs.nl wrote: Mojca Miklavec wrote: On Sun, Jun 28, 2009 at 01:16, Ciro Soto wrote: Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all. I guess that you are asking about MKIV since it seems to work OK in MKII. What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution) The most elegant solution is to use just ñ and it should work out of the box there. But still I would ask Hans to add the following line to enco-ini.mkiv: \defineaccent ~ N {\Ntilde}\defineaccent ~ n {\ntilde} You can try to modify the file yourself, then run context --make and it should start working. (I always thought that these lines were auto-generated from Unicode data on the fly.) not this one; the ntild probably got lost at some point during cleaning up - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] spanish tilde-n lost
Hi all, I finally got around the intallation of context minimals. Thank you for those who helped. I ran my old tex files (in spanish) and found that \~n is not working now. It should create an n with a tilde on top, but what happens is that there is no letter printed at all. What is the fix for this? Any switch? (I know I could use \char but I am looking for a more elegant solution) thank you Ciro ___ 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] finding out what font are available
the mtxrun file and the luatools file in the bin path are the same as the ones in the lua directory. I ran diff and got nothing. For instance: % *diff ~/context/tex/texmf-context/scripts/context/lua/luatools.lua ~/context/tex/texmf-linux/bin/luatools* I copied them anyways: *%cp mtxrun.lua ~/context/tex/texmf-linux/bin/mtxrun % cp luatools.lua ~/context/tex/texmf-linux/bin/luatools * and: *%which mtxrun* /home/ciro/context/tex/texmf-linux/bin/mtxrun * *then: * **%mtxrun --verbose --scripts mtx-fonts --list *MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | MtxRun | executing: luatex --luaonly mtx-fonts.lua --list MtxRun | mtx-fonts.lua:11: *attempt to index global 'resolvers' (a nil value)* Ciro On Sun, Jun 14, 2009 at 1:14 PM, Hans Hagen pra...@wxs.nl wrote: Ciro Soto wrote: I ran the selfupdate: /home/ciro/context/tex/texmf-linux/bin/mtxrun MtxRun | *unable to locate new script* ok, so that point in th edirection of a path problem I added script/context/lua to my path: better do a cp mtxrun.lua...binpath.../mtxrun cp luatools.lua ...binpath.../luatools (no suffix on unix) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] finding out what font are available
-- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sun, Jun 14, 2009 at 6:22 AM, Hans Hagen pra...@wxs.nl wrote: Ciro Soto wrote: another try: *mtxrun --script mtx-fonts --list *./mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value) do you run an older copy of mtxrun or luatools? if so, try mtxrun --selfupdate luatools --selfupdate or copy the scripts from script/context/lua to you bin path maybe some older tex in your bin path? also: * mtxrun --script fonts --list* ../fonts.lua:11: attempt to index global 'resolvers' (a nil value) what is fonts.lua ? worst of all, my current book is not working now: there must be something completely wrong with your system if you install the minimals and then run the setuptex script the minimals should work in complete isolation and well ... work Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] finding out what font are available
I did run luatools --generate. I get:* luatools --verbose --generate *LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c LuaTools | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c LuaTools | configuration saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua LuaTools | configuration compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc LuaTools | locating list of /home/ciro/context/tex/texmf LuaTools | scanning path /home/ciro/context/tex/texmf LuaTools | 2888 files found on 94 directories with 64 uppercase remappings LuaTools | preparing files for /home/ciro/context/tex/texmf LuaTools | files saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua LuaTools | files compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc LuaTools | LuaTools | runtime: 0.165 seconds * mtxrun --verbose --script fonts --list* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua' Thank you Hans, Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sat, Jun 13, 2009 at 3:45 AM, Hans Hagen pra...@wxs.nl wrote: Ciro Soto wrote: I am getting closer to the solution. This is my new environment: % env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context but running the mtxrun I get: % mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua' any suggestion? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:58 PM, Maurício briqueabra...@yahoo.com wrote: still something missing (the fonts script), and the cnf file Any advice? have you run luatools --generate what does luatools --verbose --generate mtxrun --verbose --script fonts --list report - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki
Re: [NTG-context] finding out what font are available
Getting closer: I ran *mktexlsr* and got: mktexlsr: Done. the I ran: *% mtxrun --verbose --script fonts --info* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | using script: mtx-fonts.lua cannot open : No such file or directory what else could I do to get the list of fonts available? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sat, Jun 13, 2009 at 10:05 AM, Ciro Soto c...@kavyata.com wrote: I did run luatools --generate. I get:* luatools --verbose --generate *LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c LuaTools | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c LuaTools | configuration saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua LuaTools | configuration compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc LuaTools | locating list of /home/ciro/context/tex/texmf LuaTools | scanning path /home/ciro/context/tex/texmf LuaTools | 2888 files found on 94 directories with 64 uppercase remappings LuaTools | preparing files for /home/ciro/context/tex/texmf LuaTools | files saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua LuaTools | files compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc LuaTools | LuaTools | runtime: 0.165 seconds * mtxrun --verbose --script fonts --list* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua' Thank you Hans, Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sat, Jun 13, 2009 at 3:45 AM, Hans Hagen pra...@wxs.nl wrote: Ciro Soto wrote: I am getting closer to the solution. This is my new environment: % env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB
Re: [NTG-context] finding out what font are available
another try: *mtxrun --script mtx-fonts --list *./mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value) also: * mtxrun --script fonts --list* ./fonts.lua:11: attempt to index global 'resolvers' (a nil value) worst of all, my current book is not working now: *texexec --pdf rg_wrap.tex* TeXExec | processing document 'rg_wrap.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file rg_wrap.top TeXExec | using randomseed 16 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %-line parsing enabled. (/usr/local/share/texmf/web2c/natural.tcx) entering extended mode (./rg_wrap.tex ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.6.12 int: english/english language: language en is active system : cont-new loaded (/usr/local/share/texmf/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2008.05.21 15:21 MKII FilesVersion: 2009.05.29 23:34 TeXUtil | unable to locate rg_wrap.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 0.134492 please advise what to do. thank you Ciro On Sat, Jun 13, 2009 at 3:10 PM, Ciro Soto c...@kavyata.com wrote: Getting closer: I ran *mktexlsr* and got: mktexlsr: Done. the I ran: *% mtxrun --verbose --script fonts --info* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b MtxRun | locating list of /home/ciro/context/tex/texmf MtxRun | loading files for /home/ciro/context/tex/texmf from /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc MtxRun | using script: mtx-fonts.lua cannot open : No such file or directory what else could I do to get the list of fonts available? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/http://www-personal.engin.umd.umich.edu/%7Ecirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sat, Jun 13, 2009 at 10:05 AM, Ciro Soto c...@kavyata.com wrote: I did run luatools --generate. I get:* luatools --verbose --generate *LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c LuaTools | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c LuaTools | configuration saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua LuaTools | configuration compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc LuaTools | locating list of /home/ciro/context/tex/texmf LuaTools | scanning path /home/ciro/context/tex/texmf LuaTools | 2888 files found on 94 directories with 64 uppercase remappings LuaTools | preparing files for /home/ciro/context/tex/texmf LuaTools | files saved in /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua LuaTools | files compiled to /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc LuaTools | LuaTools | runtime: 0.165 seconds * mtxrun --verbose --script fonts --list* MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c MtxRun | loading configuration file /home/ciro/context/tex/texmf/web2c/texmfcnf.lua MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from /home/ciro/context/tex/texmf
Re: [NTG-context] finding out what font are available
I installed lutex 0.28.0-2 Then I ran the command that Khaled told me, and I got % sudo mtxrun -script fonts --list MtxRun | error unable to identify cnf file MtxRun | error unable to identify cnf file MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | unknown script: fonts still something missing (the fonts script), and the cnf file Any advice? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:17 AM, Matthijs Kooijman matth...@stdin.nlwrote: Hi Ciro, How do I solve the problem then? You should probably just install the luatex package (IIRC you were running Ubuntu, which should ship it, Debian does at least). Gr. Matthijs -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoyHSEACgkQz0nQ5oovr7wHeQCfQXfqBPTydHiM1/+/Gqg8itue 8YAAoNbHtVHYKpGyeIXpPnqbZKGCeChn =ctFN -END PGP SIGNATURE- ___ 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] finding out what font are available
I just installed the minimals from the link given by Mauricio, and followed instructions for the linux installation. I still get: %sudo mtxrun -script fonts --list MtxRun | error unable to identify cnf file MtxRun | error unable to identify cnf file MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | unknown script: fonts BTW, I have the folliwng environment variables related to tex: % env TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache SHELL=/bin/bash TEXMFLOCAL=/usr/share/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ CTXMINIMAL=yes TEXMFFONTS=/usr/share/texmf-fonts TEXMFCNF=/usr/share/texmf/web2c TEXMFMAIN=/usr/share/texmf thank you, Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:58 PM, Maurício briqueabra...@yahoo.com wrote: still something missing (the fonts script), and the cnf file Any advice? http://wiki.contextgarden.net/ConTeXt_Minimals Best, Maurício ___ 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] finding out what font are available
I am getting closer to the solution. This is my new environment: % env | grep -i tex TEXMFOS=/home/ciro/context/tex/texmf-linux TEXMFCACHE=/home/ciro/context/tex/texmf-cache TEXMFPROJECT=/home/ciro/context/tex/texmf-project TEXMFLOCAL=/home/ciro/context/tex/texmf-local PATH=/home/ciro/context/tex/texmf-linux/bin:/home/ciro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/ PWD=/home/ciro/context/tex TEXMFCONTEXT=/home/ciro/context/tex/texmf-context TEXFORMATS=/home/ciro/context/tex/texmf-linux/web2c TEXMFDBS=/home/ciro/context/tex/texmf TEXMFEXTRA=/home/ciro/context/tex/texmf-extra MPMEMS=/home/ciro/context/tex/texmf-linux/web2c HOMETEXMF=/nonexist TEXMF=/home/ciro/context/tex/texmf TEXMFFONTS=/home/ciro/context/tex/texmf-fonts RUBYLIB=/home/ciro/context/tex/texmf-context/scripts/context/ruby: TEXMFCNF=/home/ciro/context/tex/texmf/web2c TEXMFMAIN=/home/ciro/context/tex/texmf OLDPWD=/home/ciro/context but running the mtxrun I get: % mtxrun --script fonts --list MtxRun | unknown script 'fonts.lua' or 'mtx-fonts.lua' any suggestion? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri, Jun 12, 2009 at 5:58 PM, Maurício briqueabra...@yahoo.com wrote: still something missing (the fonts script), and the cnf file Any advice? http://wiki.contextgarden.net/ConTeXt_Minimals Best, Maurício ___ 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] finding out what font are available
How do I solve the problem then? here is what I have: /usr/bin/texi2pdf*/usr/bin/texfont* /usr/bin/texconfig-sys* /usr/bin/texi2dvi*/usr/bin/texfind* /usr/bin/texconfig-dialog* /usr/bin/texindex*/usr/bin/texexec* /usr/bin/texconfig* /usr/bin/texutil* /usr/bin/texmacs* /usr/bin/tex* /usr/bin/textools*/usr/bin/texlinks* /usr/bin/texhash@ /usr/bin/texshow* /usr/bin/texdoctk* /usr/bin/texmfstart* /usr/bin/texdoc* how Do I install texlua? WHere is the download? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Thu, Jun 11, 2009 at 4:30 AM, Matthijs Kooijman matth...@stdin.nlwrote: Hi Ciro, I type: sudo mtxrun -script fonts --list and I get: sudo: unable to execute /usr/bin/mtxrun: No such file or directory Considering that mtxrun exist, I suspect the interpreter of the script does not exist, which is texlua on my system: $ head -1 /usr/bin/mtxrun #!/usr/bin/texlua So the mtxrun script should be run by texlua, which is again a symlink to luatex: $ ls -l /usr/bin/texlua lrwxrwxrwx 1 root root 6 2009-05-07 11:26 /usr/bin/texlua - luatex Perhaps you don't have luatex installed, or you are missing this symlink? Gr. Matthijs -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkowwKYACgkQz0nQ5oovr7zeCgCdGwt3hZS/7NGemZXl8cwZ3oiW nS0An2ZDjG9MaUZPYBoekIAjwbViSv52 =TtML -END PGP SIGNATURE- ___ 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] finding out what font are available
Hi all, what would be the command to list all fonts available in my installation via context? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre ___ 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] I can't find file `TeXGyreChorus-MediumItalic'.
No I don't have it. The only directory I have is: /usr/share/texmf/fonts/opentype/public/lm/ thank you -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Sun, May 31, 2009 at 5:54 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sun, May 31, 2009 at 23:10, Ciro Soto wrote: Wolfgang, thank you for your help. Here is a simple example that generates the error. You can copy and paste the following lines into a tex file and run context on it. % FROM HERE \definepapersize[CD][width=5.5in, height=8.5in] \setuppapersize[CD][letter] \usetypescript[chancery][texnansi] \definetypeface [myfont][cg][calligraphy][chancery][default][encoding=texnansi] You may leave texnansi out. \starttext \dorecurse{2}{\myfont\input tufte \par \input knuth \par} \stoptext %% UP TO HERE Dou you have the file [texmf]/fonts/opentype/public/tex-gyre/texgyrechorus-mediumitalic.otf present in your distribution? (interesting ... linebreaks have changed after processing the document with 12th May ConTeXt in comparison to the last version) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] I can't find file `TeXGyreChorus-MediumItalic'.
I had a file fully functional, but after I did a ctxtool --updatecontext it is not working anymore. it complains with the messages below. I am running in linux Ubuntu 9.04 - the Jaunty Jackalope. How do I fix this problem? thank you Ciro PS: FYI: CtxTools | context version: 2009.05.29 23:34 (/usr/local/share/texmf/tex/context/base/context.tex) ERROR MESSAGE: kpathsea: Running mktexmf TeXGyreChorus-MediumItalic ! I can't find file `TeXGyreChorus-MediumItalic'. * ...nstopmode; input TeXGyreChorus-MediumItalic Please type another input file name ! Emergency stop. * ...nstopmode; input TeXGyreChorus-MediumItalic Transcript written on mfput.log. grep: TeXGyreChorus-MediumItalic.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TeXGyreChorus-MediumItalic' failed to make TeXGyreChorus-MediumItalic.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \*prosefont12ptcgtfcg*:=TeXGyreChorus-MediumItalic at 12.0pt not loadabl e: Metric (TFM) file not found. to be read again \relax \definefontglobal ...dcsname \lastfontname \relax \expandafter \let \expanda... \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 \... ... l.4 \centerline{\booktitlefont \finaltitleA } ? ^C! Interruption. \definefontglobal ...dcsname \lastfontname \relax \expandafter \let \expanda... \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 {...@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.4 \centerline{\booktitlefont \finaltitleA } ? ___ 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] Keeping up-to-date under TeXLive
Hello all, I used Context to write an entire novel in 2005 (under Fedora linux). Since then I didn't do any work in Context until now. I am now coming back to write a second book (under Ubuntu this time), and found myself totally confused with all this new business of luatex, mkii, mkiv, installation, etc. This set of messages touches many of those issues, but it is not organized in such a way that I can follow a step-by-step procedure to use the latest Context. I even question whether I need to use luatex. Could any of the Context gurus give me an advice or provide a document to update my Context in ubuntu? Thank you Ciro -- Have you read THE GUITAR MAKER ? Check it out: http://www.TheGuitarMakerExploration.com On Dec 26, 2007 6:14 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Dec 26, 2007 1:56 AM, Joel C. Salomon wrote: I'm trying to put everything together so potential problems are easily identifiable, and so that a recipe or shell script can perhaps be put on the wiki. On Dec 23, 2007 5:08 AM, Mojca Miklavec wrote: Also, if you already have a working TeX distribution, you can write a few rsync calls yourself. At http://minimals.contextgarden.net/current/ you have: - current ConTeXt - almost-latest binaries - fonts any you can combine the stuff from there in some arbitrary way. So, since I have a working TeX from Ubuntu, I want to put all the new stuff in my TEXMFHOME (A.K.A. ~/texmf). To this end, I could use some help putting the rsync calls together. That's OK, but I would neverthelees suggest you to put the files under TEXMFLOCAL, since TEXMFHOME is usually searched recursively for files and thus much slower (well, it depends on texmf.cnf). (One question though: doesn't Ubuntu provide pretty recent files already, or is that only in unstable versions?) In each case the command will take the form rsync --recursive --perms --compress --checksum --times --links --verbose rsync://something/ ~/texmf/somewhere, which I'll abbreviate in this email as rsync -rvzctlp rs://cg.net/minimals/current/... ~/texmf/... (so lines don't get broken at inconvenient times). The basic ConTeXt stuff gets pulled in, as Mojca suggested, thus: rsync -rvzctlp rs://cg.net/minimals/current/context/current/ ~/texmf/ That's OK. Next, I want to get the up-to-date binaries, for which I'd like to do something like rsync -rvzctlp rs://cg.net/minimals/current/bin/[*]/linux/ ~/texmf/ where I either need to write a separate line for each of {common, context, luatex, metapost, pdftex, xetex}, or have a single command that includes them all. common is taken from TeXLive, so you prabably don't need it. context are usually one-liners + mtxrun texmfstart (the latter two might be needed). rsync -rvzctlp rsync://contextgarden.net'/minimals/current/bin/xetex/linux/bin/ minimals/current/bin/pdftex/linux/bin/ minimals/current/bin/metapost/linux/bin/ minimals/current/bin/luatex/linux/bin/' x Where the only requirement is to have x in PATH before TeXLive binaries. (Note that the trailing slash makes the difference.) Once upon a time you would also need xetex.pool, metapost.mem, pdftex.pool, but they're gone now :) (you may remove bin in the lines above) If you make a single call, it will be faster. (Since I intend to put this all in a shell script, a bit of duplication isn't a problem.) This will put /current/bin/[package]/[system]/bin/[whatever] into ~/texmf/bin/, where I think they belong in an installed system. The location is up to you. Just make sure it's in PATH. The manuals seem to be in a somewhat odd place (under bin!); These are not the manuals, but man pages (OK, that's documentation indeed, but the important thing is to place them parallel to bin in order to make them work). I have texmf-osx-intel/bin/ [xetex, pdftex, ...] texmf-osx-intel/man/man1/ [man pages] I'd use rsync -rvzctlp rs://cg.net/minimals/current/bin/man/ ~/texmf/ That should work if you have the binaries in ~/texmf/bin but no programs should care where they are; this is my own use. In fact, perhaps I should put the man pages where the man system can find them. I'll leave this for another day. NB: I have no idea whether I need the stuff in /current/base or /current/misc, nor where in the texmf tree they would go. No, you don't need that. You have it already. Now, concerning fonts [IMPORTANT]: I would really really love to split them somehow since they're huge (there's only TeX Gyre, LM, Antykwa some AMS, but they still take quite some space), but I have no idea how. Hans has suggestes some non-TDS compliant way. Any ideas wellcome. The *important* warning means: things (locations) may change concerning fonts in the future. The fonts are, like the binaries, in a /current/fonts/[group]/fonts/[format]/... tree, and the installed system should have them in
Re: [NTG-context] smaller symbol
Thank you Taco and Mojca. I had tried with \guillemotright and \guillemotleft based on a latex manual I found in the web. Since it didn't work, I then tried the \ll and \gg combination. Thank you Taco for the right syntax of the keywords. CiroOn 12/27/05, Mojca Miklavec [EMAIL PROTECTED] wrote: On 12/26/05, Ciro Soto wrote: Invisible Friends:I am trying to use \ll and \gg instead of quotation marks.The problem is that they are too big for my taste.What would be the easiest way to make them, say 0.75\bodyfontsize ?I guess that \leftguillemot instead of \ll already solves theproblem, but if you really want to scale them, it's most elegant to doit this way:\installlanguage[es] [leftquotation={\scale[height=.75ex]{\leftguillemot}}, rightquotation={\scale[height=.75ex]{\rightguillemot}}] % .75\bodyfontsize is way too big % or the ugly \fakeleftguillemot instead of \leftguillemot, as Taco proposed \mainlanguage[es]\starttext\quotation{To quote or not to quote,} that's the question!\stoptext(Even if you don't need to scale them, this is the way how to getguillemots instead of double commas.) The only problem is that they're scaled so that baseline remains whereit is: quotation marks are placed too low because of that. So youprobably want to do raise them a bit as well:\raise.25ex\hbox{\scale[height=.5ex]{\rightguillemot}} Mojca -- All problems are at the interface. Each one of them has a solution.from: The Guitar Maker: An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. http://www.TheGuitarMakerExploration.com/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] spanish symbols for interrogation and exclamation
I think using a definition like \question (or \pregunta if we use a spanish keyword) would be useful. ciroOn 12/26/05, Hans Hagen [EMAIL PROTECTED] wrote: Henning Hraban Ramm wrote: How do I write the spanish interrogation symbol that is up-side down? also How do I write the spanish exclamation symbol that is also up- side down? thank you Better in matters of logical markup would be a definition like \quotation, say \exclamation or \question, but I don't know if there are languages other than Spanish that need additional signs/formatting for those...interesting suggestion, we can use the delimited text mechanism for it(core-mis);what do the spanish users think of if?Hans___ ntg-context mailing listntg-context@ntg.nlhttp://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] smaller symbol
Invisible Friends: I am trying to use \ll and \gg instead of quotation marks. The problem is that they are too big for my taste. What would be the easiest way to make them, say 0.75\bodyfontsize ? thank you Ciro PS: thank you for the help with the upside down question marks... ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] spanish symbols for interrogation and exclamation
I didn't understand Hans's instructions. What should I do? Mojka's solution worked fine. I used \def\qd{\questiondown} to shorten the keyword. c On 12/23/05, Hans Hagen [EMAIL PROTECTED] wrote: Mojca Miklavec wrote:Ciro Soto wrote:Hi team: How do I write the spanish interrogation symbol that is up-side down? also How do I write the spanish exclamation symbol that is also up-side down? thank you ciro\enableregime[utf] % for utf-8, may be something else as well(depending on editor)\starttextYou can write \exclamdown\ or � and \questiondown\ or � \stoptextthat's not comfortable for spanish users, so ... let's hook it intospecifics:\starttext\startlanguagespecifics[fr]\definetextmodediscretionary :{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{:}:} \definetextmodediscretionary ;{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{;};}\definetextmodediscretionary ?{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{?}?}\definetextmodediscretionary ! {\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{!}!}\stoplanguagespecifics% goes to enco-ffr\startlanguagespecifics[es]\definetextmodediscretionary ? {\prewordbreak\questiondown} \definetextmodediscretionary ! {\prewordbreak\exclamdown}\stoplanguagespecificsspanish|?| spanish|!|\hyphenatedword{\es spanish|?|\relax}\hyphenatedword{\es spanish|!|\relax}\hyphenatedword{spanish|?|\relax} \hyphenatedword{spanish|!|\relax}\hyphenatedword{\fr spanish|?|\relax}\hyphenatedword{\fr spanish|!|\relax}\stoptext\mainlanguage[es] Hey Mojca, does this look better|?|(the |??| is always available) i'll add this to the distributionHans___ntg-context mailing listntg-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] spanish symbols for interrogation and exclamation
Hi team: How do I write the spanish interrogation symbol that is up-side down? also How do I write the spanish exclamation symbol that is also up-side down? thank you ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Mini-survey: What do you do with ConTeXt?
I wrote my novel using ConTeXt. Inside figures with metapost, the cover layout with Scribus. See http://www.TheGuitarMakerExploration.com Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnote twiks
no,no. My problem is with the V that appears in the text, not in the footnote! thank you, though. c On 8/26/05, Olivier [EMAIL PROTECTED] wrote: Quoting Ciro Soto : -- was [EMAIL PROTECTED] on Aug 25, 2005 at 10:56:05PM -- Twik 1: My font is too slanted and the asterisk (*) is printed too close to the last word in the sentence. I would use {\/asdfasdf} instead of {asdfasdf}. At least this is the correction suggested in the TeXbook iirc. Example: Charles IV \footnote[]{asdfasdf} will print an asterisk touching the V letter. Olivier -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker: An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: October 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] footnote twiks
Hello, I need two more twiks for my footnotes: I am using asterisk instead of numbers or letter for the footnotes. Twik 1: My font is too slanted and the asterisk (*) is printed too close to the last word in the sentence. Example: Charles IV \footnote[]{asdfasdf} will print an asterisk touching the V letter. How do I instruct context to give me some room between the V and the asterisk? Second twik: How to control the distance between the page text and the rule line that separates the footnote and the page text? I tried the distance=, th e height= arguments in the setupfootnotes, but they don't do what I want. thank you -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker: An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: October 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] footnotes with one *
I looked at two context manuals and can't find the setting to get footnotes with * instead of a letter or a number. I need 4 footnotes in 4 different pages, and I would like them all of them with one sigle * thank you Ciro - * like this -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker: An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: October 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnotes with one *
Thank you for your replies. They helped. I need two more twiks... Twik 1: My font is too slanted and the asterisk (*) is printed too close to the last word in the sentence. Example: Charles IV \footnote[]{asdfasdf} will print an asterisk touching the V letter. How do I instruct context to give me some room before printing the asterisk? Second twik: How to control the distance between the page text and the line that separates the footnote and the page text? I tried the distance=, the height= arguments in the setupfootnotes, but they don't do what I want. thank you Ciro On 8/22/05, Brooks Moses [EMAIL PROTECTED] wrote: At 05:57 AM 8/22/2005, Taco Hoekwater [EMAIL PROTECTED] wrote: I think like this: \defineconversion[starred][*] \setupfootnotes[conversion=starred] Untested, but should work It doesn't quite work. If you give a single argument to \defineconversion, it expects the conversion to be a command that takes an argument. Since you haven't taken an argument, the number gets typeset after the asterisk. Also, the asterisk needs to be in math mode to get positioned correctly, I think. Correcting for both of those gives this, which works: \def\gobble#1{} \defineconversion[starred][\mathematics{*}\gobble] \setupfootnotes[conversion=starred] However, that's somewhat of a hack; better is to set up the footnotes to reset the counter on each page, and then use one of ConTeXt's predefined conversion sets that starts with an asterisk but follows it with other symbols. That way, if one changes the file so that there end up being two footnotes on the same page, they won't both get asterisks (which would be confusing). That can be done quite simply, like so: \setupfootnotes[way=bypage,conversion=set 2] Set 2 uses a \dag and then \ddag as the symbols after *, which is fairly standard typographic practice. If you prefer to do a sequence of *, **, ***, and instead, try something like this: \defineconversion [asterisks] [\mathematics{*}, \mathematics{**}, \mathematics{***}, \mathematics{}, \mathematics{\dag}, \mathematics{\ddag}] \setupfootnotes[way=bypage,conversion=asterisks] - Brooks ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker: An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: October 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] extra pages after backmatter
Hello, I am getting 2 extra pages after the backmatter. Is there any way delete them? thank you Ciro \starttex \starfrontmatter \input frontmatter.tex \stopfrontmatter \startbodymatter \input a_file.tex \stopbodymatter \startbackmatter \input backmatter.tex \stopbackmatter \stoptext -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker: An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: October 2005. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] how to create many blank pages
I need to create a book with many blank pages (with its header footer texts). Is there any easy way to create, say, 300 blank pages one after the other, wihout using \page 300 times? I guess what I need is to know how to loop within context. thank you Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] fontsite 500 CD
I've read about the fontsite CD (in the Bill Mcclain page) and I wonder if it is worth to buy it, and whether there are other similar alternative to get such large number of fonts. thank you Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] oldstyle figures
Hi Idris, this didn't work for me: \usetypescript [URWGaramond][\defaultencoding] \usetypescript [map] [latin-modern-os] [\defaultencoding] \setupbodyfont [urwgaramond,11pt] \starttext 123456 \stoptext Any help? thank you ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] paul tremblay's pages
I wonder what happened with the nice pages in http://www.geocities.com/paulhtremblay/context_xml/page2.html they are gone now... and no re-direction exists. Ciro -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: October 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] bi-lingual book
I am thinking in producing a book in two languages. One language will be in the verso side of the paper sheet, and the second language will be in the rector side. Trying to be as mirror images so the reader could (if so desired) learn one language from the other. Questions: 1) Is there a way to do it with two files (one for langauge 1, another for language 2) or do I have to put all in one file? 2) Would it be easier to write two pdfs file and do a composition afterward? 3) How to control the length of pages in each language individually, to match the content of the recto/verso pages. Any general advice? thank you Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] chancery font
Idris, thank you very much for your explanations... they are very helpful. regarding ttf translation, I have in my system (I guess it came with texlive2004) a little software ttf2pt1 that does the job. unix ttf2pt1 -b fontname.ttf and it produces the two files: fontname.afm, fontname.pfb which then I used with your cooking instructions for garamond... BTW, how do you use a ttf font directly in context? thank you Ciro On Apr 3, 2005 2:45 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: = Original Message From [EMAIL PROTECTED], mailing list for ConTeXt users ntg-context@ntg.nl = My problem goes beyond fonts. What I think I need is a simple explanation of the TeX-like package system. For instance: I see tetex,pdftex,contex, latex,web2c,...and so on, but I don't understand their interrelation/dependency. teTeX, fpTeX, gwTeX, and MiKTeX are os-dependent distrbutions. LaTeX and ConTeXt are os-independent macropackages. Web2C is the Pascal-to-C translator that allows compilation of TeX on Unix, Windows, etc. /web2c is the directory that contains configuration files and os-dependent format files. But I don't know why it's called /web2c Why the livetex tree is like it is? What is needed for a context user? ConTeXt has become so detailed and powerful, and changes so fast, that the os-dependent distrbutions can't keep up. I predict that one day ConTeXt will be completely independent of TeXLive. Some of the problems many of us have been facing ultimately boil down to the growing, but not yet complete, independence of ConTeXt from TeXLive. Personally, I think this a good thing, because ConTeXt is really a stand-alone system in the final analysis. mswincontext.zip is _almost_ there; maybe Hans could use volunteers to build and maintain independent Mac and Unix packages a la mswincontext.zip. Then we could contribute to a test/torture suite to make sure that everything runs identically on all os's. Each of us may have pet issues that concern us (I have my aleph work for example, there are fonts, xml, etc). What are the steps to upgrade context with a cont-tmf.zip and a texlive2004? Would it be possible to create an shell script that automize all this? I would get the tetex package from pragma, install it in its own tree, define your path so that your ConTeXt bin is searched BEFORE TeXLive's, and have your shell script initialize your tree (maybe there are instructions in the teTeX package). I modified my setuptex.bat so that my ConTeXt tree would search my TeXLive tree as well; I suppose you could do the same with setuptex.csh. Where are fonts registered/stored/mapped/encoded? There is a document somewhere on the TeX Directory Structure (tds), I think. Look in /texmf/doc/tds Most books on TeX,latex, etc, only explain how to use them, but not the 'system administration' part, which must of us have to learn as well. There is an old book, Making TeX Work, that aimed to do just this. But it's 11 years old and woefully out of date. BTW, I used Idris instructions (without step4 because my texfont works) and I have installed three different fonts so far. Actually, I converted TTF fonts to pfb/afm, then used the Idris steps, and I am happy. How did you convert ttfpfb? I did this once using FontLab and I lost all my macron accents:-( But texfont and pdfetex work with ttf files so there is no need to convert:-) Now I hace to learn how to build typescript files, and learn where to put them, What I did was just get one complete working typescript and model my other typescripts on that one. If type-ugm is working for you, just study that one. Five steps: % raw fonts %Names %Synonyms %maps %typefaces Note that you can mix and match fonts to create your own complete typefaces. I am enclosing a typescript I did for Times New Roman and Arial (type-tnr.tex) that I posted a few weeks ago. About placing type-* files: You can put them anywhere in your TeX path; I put mine, along with some other private configuration files, in /texmf-local/tex/generic/private, but you can put them anywhere you like under your TeX path. and the mapping/encoding business. I think you don't have to worry about this too much, except that texfont defaults to texnansi, while the fonts that come with TeXLive are mostly ec. So you should avoid use of \char as much as possible in your macros, and stick to character control sequences like \circumflex. Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: Aug. 2005. ___ ntg-context mailing list ntg-context@ntg.nl
Re: [NTG-context] chancery font
Idris solution didn't work. I got: TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004 processing aborted : unknown tex root which seems to be an installation problem... BUT Willi's solutions worked when I use encoding=ec (not texnansi)... thank you Ciro On Apr 2, 2005 12:52 PM, Willi Egger [EMAIL PROTECTED] wrote: Hi Ciro, AFAIK chancery has no typeface associated. So you need to do that yourself \usetypescript[chancery][texnansi] \definetypeface [myfont][cg][calligraphy][chancery][default][encoding=texnansi] \setupbodyfont[myfont,cg,12pt] KR Willi Ciro Soto wrote: When I try the commands \usetypescript, \setupbodyfont, etc,etc I can't find the right combination of switches to make use of the Zapf Chancery or Garamond fonts. All other fonts work find (bookman, modern, palatino, etc). I am using Linux/fedoraCore3, texlive2004, and: TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeXk, 3.141592-1.20a-2.2 (Web2C 7.5.3) context : ver: 2005.01.31 cont-en : ver: 2005.01.31 fmt: 2005.2.28 mes: english Please don't ask me to read the manuals, I've read them, but still ... thank you... Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: Aug. 20 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] chancery font
Idris, thank you for your interest. I don't have setuptex in my linux system... maybe this is a windows utility. Concerning Garamond, I see bunch of files in my system: ls ./texmf-local/fonts/afm/urw/garamond/ ugmri8a.afm ugmr8a.afm ugmmi8a.afm ugmm8a.afm and there are references to garamond fonts in the type-* files, but I don't know how to activate it. I think I have a configuration problem in my texlive2004 plus the difficulty of handling fonts (as always)... I'll keep trying and let you know if find how to activate them... Also, I followed instructions to install verdana (magazine009) but couldn't make it work either... so, the problem is likely to be in my installation... Ciro On Apr 2, 2005 2:21 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: On Sat, 2 Apr 2005 13:29:16 -0500, Ciro Soto [EMAIL PROTECTED] wrote: Idris solution didn't work. I got: TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004 processing aborted : unknown tex root Don't know if this is related to your own installation but I get this kind of message if I do not setuptex c:\your context tex_root before running the utilities. Did you get Garamond working? Where is it? At least things are working now:-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: Aug. 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] chancery font
(untested, but hopefully you get the idea...) adam unfortunately, I have a mental mess with the font business in tex. How can one keep track with so many directories, encodings, file types, maps, etc... I am tired of trying to undestand. Manuals are useless because they are outdated, trees are changed and need texhash, plus, on top, one needs to learn the syntax for Context to use fonts. I've been spending days trying to install a verdana font, and no matter what I do, it doesnt' work, and I think the same is happening with the garamond. I have no lesss than 3000 font files in my computer, but so far, only a handful are available in context. At this point, I really wish I had a graphical tool to install and use a font, without going through all the --always changing-- steps... I guess, some day, someone will clear this up for once... ciro Ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to cook Garamond
Idris, I forgot to give you my thanks for posting the steps... I'll try with my verdana font. ciro On Apr 2, 2005 10:13 PM, Ciro Soto [EMAIL PROTECTED] wrote: Idris ... great... my garamond is working now. A couple of things ... for a real novice like me... you need to tell where the type-* file should be located, and whether we need to do a texhash after moving the type-* file. On Apr 2, 2005 7:15 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear syndicate, [Garamond is a nice font. Now that there is a free version, this would be a nice default font to add to the next ConTeXt distribution. In the meantime:] How to cook Garamond (my apologies to the experts for the verbosity): 1. Download ftp://dante.ctan.org/tex-archive/fonts/urw/garamond.zip (actually, you only need the pfb and afm files, unless your texfont does not work); 2. place ONLY the afm and pfb files in an empty temporary directory; 3. from /temp, run texfont --ma --in --ve=urw --co=garamond --show you may verify the installation of your font by examining texnansi-urw-garamond.pdf. 4. If texfont does not work, you will have to do more work- the zip package contains tfms etc, and here is a map file you will need: =texnansi-urw-garamond.map== % You need to add the following line to pdftex.cfg: % % map +texnansi-urw-garamond.map % % Alternatively in your TeX source you can say: % % \pdf{+texnansi-urw-garamond.map} % % In ConTeXt you can best use: % % \loadmapfile[texnansi-urw-garamond.map] texnansi-raw-ugmm8a GaramondNo8-Med 4 ugmm8a.pfb texnansi.enc texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 ugmmi8a.pfb texnansi.enc texnansi-raw-ugmr8a GaramondNo8-Reg 4 ugmr8a.pfb texnansi.enc texnansi-raw-ugmri8a GaramondNo8-Ita 4 ugmri8a.pfb texnansi.enc = If texfont works, ignore step 4; 5. Now write to file the following typescript: ==type-ugm.tex== % raw fonts \starttypescript[serif] [garamond] [texnansi] \definefontsynonym[Garamond] [ugmr8a] [encoding=texnansi] \definefontsynonym[GaramondItalic][ugmri8a] [encoding=texnansi] \definefontsynonym[GaramondBold] [ugmm8a] [encoding=texnansi] \definefontsynonym[GaramondBoldItalic][ugmmi8a] [encoding=texnansi] \stoptypescript %Names \starttypescript [serif] [garamond] [name] \setups[font:fallback:serif] \definefontsynonym[Serif] [Garamond] \definefontsynonym[SerifBold] [Garamond-Bold] \definefontsynonym[SerifItalic][Garamond-Italic] \definefontsynonym[SerifBoldItalic][Garamond-BoldItalic] \stoptypescript %Synonyms \starttypescript [serif] [garamond] [texnansi] \definefontsynonym [Garamond] [\typescriptthree-ugmr8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-Bold] [\typescriptthree-ugmri8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-Italic] [\typescriptthree-ugmm8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-BoldItalic] [\typescriptthree-ugmmi8a] [encoding=\typescriptthree] \stoptypescript % maps \starttypescript [map] [garamond] [texnansi] \loadmapfile[texnansi-urw-garamond.map] \stoptypescript% % typefaces \starttypescript [URWGaramond] \definebodyfontenvironment [urwgaramond] [default] [interlinespace=2.8ex] \definetypeface [urwgaramond] [rm] [serif] [garamond] [default] [encoding=texnansi] \definetypeface [urwgaramond] [ss] [sans] [helvetica] [default] [encoding=texnansi] \definetypeface [urwgaramond] [mm] [math] [palatino] [default] [encoding=texnansi] \definetypeface [urwgaramond] [tt] [mono] [modern] [default] [encoding=texnansi] \stoptypescript === If there are better/more aesthetic choices for sans and math, let me know-) 6. Test it out: === % output=pdf interface=en \starttext \usetypescriptfile[type-ugm] \usetypescript[URWGaramond] %\setupbodyfont[urwgaramond,12pt] \definetypeface [garamond][rm][serif][garamond][default][encoding=texnansi] \switchtotypeface[garamond] \input knuth \stoptext === You try \setupbodyfont instead of \definetypeface. Have fun with Garamond! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto
Re: [NTG-context] How to cook Garamond
Idris ... great... my garamond is working now. A couple of things ... for a real novice like me... you need to tell where the type-* file should be located, and whether we need to do a texhash after moving the type-* file. On Apr 2, 2005 7:15 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear syndicate, [Garamond is a nice font. Now that there is a free version, this would be a nice default font to add to the next ConTeXt distribution. In the meantime:] How to cook Garamond (my apologies to the experts for the verbosity): 1. Download ftp://dante.ctan.org/tex-archive/fonts/urw/garamond.zip (actually, you only need the pfb and afm files, unless your texfont does not work); 2. place ONLY the afm and pfb files in an empty temporary directory; 3. from /temp, run texfont --ma --in --ve=urw --co=garamond --show you may verify the installation of your font by examining texnansi-urw-garamond.pdf. 4. If texfont does not work, you will have to do more work- the zip package contains tfms etc, and here is a map file you will need: =texnansi-urw-garamond.map== % You need to add the following line to pdftex.cfg: % % map +texnansi-urw-garamond.map % % Alternatively in your TeX source you can say: % % \pdf{+texnansi-urw-garamond.map} % % In ConTeXt you can best use: % % \loadmapfile[texnansi-urw-garamond.map] texnansi-raw-ugmm8a GaramondNo8-Med 4 ugmm8a.pfb texnansi.enc texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 ugmmi8a.pfb texnansi.enc texnansi-raw-ugmr8a GaramondNo8-Reg 4 ugmr8a.pfb texnansi.enc texnansi-raw-ugmri8a GaramondNo8-Ita 4 ugmri8a.pfb texnansi.enc = If texfont works, ignore step 4; 5. Now write to file the following typescript: ==type-ugm.tex== % raw fonts \starttypescript[serif] [garamond] [texnansi] \definefontsynonym[Garamond] [ugmr8a] [encoding=texnansi] \definefontsynonym[GaramondItalic][ugmri8a] [encoding=texnansi] \definefontsynonym[GaramondBold] [ugmm8a] [encoding=texnansi] \definefontsynonym[GaramondBoldItalic][ugmmi8a] [encoding=texnansi] \stoptypescript %Names \starttypescript [serif] [garamond] [name] \setups[font:fallback:serif] \definefontsynonym[Serif] [Garamond] \definefontsynonym[SerifBold] [Garamond-Bold] \definefontsynonym[SerifItalic][Garamond-Italic] \definefontsynonym[SerifBoldItalic][Garamond-BoldItalic] \stoptypescript %Synonyms \starttypescript [serif] [garamond] [texnansi] \definefontsynonym [Garamond] [\typescriptthree-ugmr8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-Bold] [\typescriptthree-ugmri8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-Italic] [\typescriptthree-ugmm8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-BoldItalic] [\typescriptthree-ugmmi8a] [encoding=\typescriptthree] \stoptypescript % maps \starttypescript [map] [garamond] [texnansi] \loadmapfile[texnansi-urw-garamond.map] \stoptypescript% % typefaces \starttypescript [URWGaramond] \definebodyfontenvironment [urwgaramond] [default] [interlinespace=2.8ex] \definetypeface [urwgaramond] [rm] [serif] [garamond] [default] [encoding=texnansi] \definetypeface [urwgaramond] [ss] [sans] [helvetica] [default] [encoding=texnansi] \definetypeface [urwgaramond] [mm] [math] [palatino] [default] [encoding=texnansi] \definetypeface [urwgaramond] [tt] [mono] [modern] [default] [encoding=texnansi] \stoptypescript === If there are better/more aesthetic choices for sans and math, let me know-) 6. Test it out: === % output=pdf interface=en \starttext \usetypescriptfile[type-ugm] \usetypescript[URWGaramond] %\setupbodyfont[urwgaramond,12pt] \definetypeface [garamond][rm][serif][garamond][default][encoding=texnansi] \switchtotypeface[garamond] \input knuth \stoptext === You try \setupbodyfont instead of \definetypeface. Have fun with Garamond! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: Aug. 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to cook Garamond
Idris, I just noticed that your type-ugm.tex file has the italic and bold faces swapped. Just to let you know. Ciro On Apr 2, 2005 7:15 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear syndicate, [Garamond is a nice font. Now that there is a free version, this would be a nice default font to add to the next ConTeXt distribution. In the meantime:] How to cook Garamond (my apologies to the experts for the verbosity): 1. Download ftp://dante.ctan.org/tex-archive/fonts/urw/garamond.zip (actually, you only need the pfb and afm files, unless your texfont does not work); 2. place ONLY the afm and pfb files in an empty temporary directory; 3. from /temp, run texfont --ma --in --ve=urw --co=garamond --show you may verify the installation of your font by examining texnansi-urw-garamond.pdf. 4. If texfont does not work, you will have to do more work- the zip package contains tfms etc, and here is a map file you will need: =texnansi-urw-garamond.map== % You need to add the following line to pdftex.cfg: % % map +texnansi-urw-garamond.map % % Alternatively in your TeX source you can say: % % \pdf{+texnansi-urw-garamond.map} % % In ConTeXt you can best use: % % \loadmapfile[texnansi-urw-garamond.map] texnansi-raw-ugmm8a GaramondNo8-Med 4 ugmm8a.pfb texnansi.enc texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 ugmmi8a.pfb texnansi.enc texnansi-raw-ugmr8a GaramondNo8-Reg 4 ugmr8a.pfb texnansi.enc texnansi-raw-ugmri8a GaramondNo8-Ita 4 ugmri8a.pfb texnansi.enc = If texfont works, ignore step 4; 5. Now write to file the following typescript: ==type-ugm.tex== % raw fonts \starttypescript[serif] [garamond] [texnansi] \definefontsynonym[Garamond] [ugmr8a] [encoding=texnansi] \definefontsynonym[GaramondItalic][ugmri8a] [encoding=texnansi] \definefontsynonym[GaramondBold] [ugmm8a] [encoding=texnansi] \definefontsynonym[GaramondBoldItalic][ugmmi8a] [encoding=texnansi] \stoptypescript %Names \starttypescript [serif] [garamond] [name] \setups[font:fallback:serif] \definefontsynonym[Serif] [Garamond] \definefontsynonym[SerifBold] [Garamond-Bold] \definefontsynonym[SerifItalic][Garamond-Italic] \definefontsynonym[SerifBoldItalic][Garamond-BoldItalic] \stoptypescript %Synonyms \starttypescript [serif] [garamond] [texnansi] \definefontsynonym [Garamond] [\typescriptthree-ugmr8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-Bold] [\typescriptthree-ugmri8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-Italic] [\typescriptthree-ugmm8a] [encoding=\typescriptthree] \definefontsynonym [Garamond-BoldItalic] [\typescriptthree-ugmmi8a] [encoding=\typescriptthree] \stoptypescript % maps \starttypescript [map] [garamond] [texnansi] \loadmapfile[texnansi-urw-garamond.map] \stoptypescript% % typefaces \starttypescript [URWGaramond] \definebodyfontenvironment [urwgaramond] [default] [interlinespace=2.8ex] \definetypeface [urwgaramond] [rm] [serif] [garamond] [default] [encoding=texnansi] \definetypeface [urwgaramond] [ss] [sans] [helvetica] [default] [encoding=texnansi] \definetypeface [urwgaramond] [mm] [math] [palatino] [default] [encoding=texnansi] \definetypeface [urwgaramond] [tt] [mono] [modern] [default] [encoding=texnansi] \stoptypescript === If there are better/more aesthetic choices for sans and math, let me know-) 6. Test it out: === % output=pdf interface=en \starttext \usetypescriptfile[type-ugm] \usetypescript[URWGaramond] %\setupbodyfont[urwgaramond,12pt] \definetypeface [garamond][rm][serif][garamond][default][encoding=texnansi] \switchtotypeface[garamond] \input knuth \stoptext === You try \setupbodyfont instead of \definetypeface. Have fun with Garamond! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- === All problems are at the interface. Each one of them has a solution. from: The Guitar Maker, An Exploration of Wisdom, Design and Love. A novel by C. A. Soto Aguirre. Pub. Date: Aug. 2005. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context