Re: [NTG-context] tikz error upgrading to texlive version (artix)
On Thu, Mar 30, 2023 at 4:01 PM Xavier B. via ntg-context < ntg-context@ntg.nl> wrote: > Hi, > > I use artix linux (a fork of arch with systemd alternative init systems). > I get the same error for TL2023 in Windows, with additional output: Please don't say '\def cs{...}', say '\def\cs{...}'. I've inserted an inaccessible control sequence so that your definition will be completed without mixing me up too badly. mtx-context | fatal error: return code: 1 > During the texlive package, I get this error: > > return { > > > ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex", > ["lastcontext"]="\n \n \\inaccessible \n > \n \"\n\\pgfmath@catcodes ->\\catcode `\\==12 \\catcode `\\,=12 \\catcode > `\\|=12 \\catcode `\\&=12 \\let \"\n >\\pgfmath@char@quote \n\\pgfmathparse > ->\\begingroup \\pgfmath@catcodes \n > \\pgfmath@quickparsefalse \\ifpgfmathfloat \\let \\pgfmath@parse@next > =\\pgfmathfloatparsenumber \\else \\let \\pgfmath@parse@next > =\\pgfmathparse@ \\fi \\pgfmath@parse@next \n \\pgfmathparse > \n {1cm}\\ifpgfmathmathunitsdeclared \\pgf@x > \\pgfmathresult mu\\relax \\else \\pgf@x \\pgfmathresult pt\\relax \\fi > \n\\pgfmath@next #1#2->#2\n \n...\nl.926 > \\pgfsetxvec{\\pgfpoint{1cm}{0cm}}\n ", > ["lastluaerror"]="?", > ["lasttexerror"]="! Missing control sequence inserted", > ["linenumber"]=926, > ["offset"]=10, > } > > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > > pgfcorepoints.code.tex hasn't changed from TeXLive 2022. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Ajami script
On Sun, Jan 1, 2023 at 2:14 PM BPJ via ntg-context wrote: It's a bit confusing because the word ʿajamī simply means anything written > in a non-Arabic language with Arabic script. Africa is certainly not the > only place where that term has been used. It is also the case that Arabic > script has been used to write West African languages for very many > centuries. There is no way that guy can have grown up there and not know > that so I don't understand what this article is up to. Possibly this is a > separate adaptation using its own conventions for writing the local > language. Probably just pop-sci sensationalism coupled with some rather > severe mis-/non-understanding on the part of the article author. > I grew up in Northern New Mexico and now live in Canada, so know that "educational" efforts which suppressed non-European languages and writing systems were too often imposed on indigenous peoples in N. America. It would not surprise me to learn that some West African kids were never exposed to "anything written in a non-Arabic language with Arabic script". -- George N. White III ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Problem getting lmtx version up
On Thu, 15 Jul 2021 at 19:47, jdh wrote: > > > # > # I followed all instruction for downloading context-lmtx, then did the > rsync > # procedures, then a another > # > # $ sudo sh ./install.h > # > # I get the following error: > > /opt/context-lmtx $ sudo sh ./install.sh > Error: /opt/context-lmtx/bin/mtxrun: /lib/aarch64-linux-gnu/libm.so.6: > version `GLIBC_2.29' not found (required by /opt/context-lmtx/bin/mtxrun) > > # My system has GLIBC 2.28, but I don't know how to upgrade it for RPis > It is good practice to mention your platform in problem reports. For this error, your best source of help will be RPi and OS forums. Once you find a solution it may help others to post the details (including the forum that provided the solution) here. -- George N. White III ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt
On Fri, Apr 19, 2013 at 11:12 AM, Troy Henderson thend...@gmail.com wrote: Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste of time now that we have otf. This makes me believe that I will eventually HAVE to purchase (and by purchase I really mean re-purchase) the OTF versions in order to use my Lucida fonts. This is a bit discouraging. Troy We just purchased the OTF versions. I'd rather have TeX developers focus on getting OTF support right than preserving legacy capabilities. For years we have been able to format old docs with current TeX systems. Now I just hope the old docs will work without too many changes using OTF versions of the fonts. ___ 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 ___ -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] epub
On Fri, Feb 17, 2012 at 9:57 AM, Jörg Hagmann joerg.hagm...@unibas.ch wrote: On Feb 17, 2012, at 12:44 PM, Hans Hagen wrote: the alternative is to use html tags and of course there is a limited set which in turn means all kind of 'class' attributes and additional css which might as well not be supported by an ereader device .. the same is true for math ... not supported by most ereaders so one ends up with fake math via css which looks horrible etc etc Medical students hate formulae. They will be happy if I can't include them. Jörg Not sure that makes better doctors. It is sad that using maths in documents still requires extra work from authors and limits choice of formats. Given the difficulties with using proper maths notation, authors too often throw a whack of words into an attempt to express a concept that could be more accurately conveyed by a simple equation. I suppose it is time to start collecting examples of epub docs with maths and filing bugs against readers that don't handle them properly. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] gnuplot
On Fri, Aug 19, 2011 at 4:47 AM, Xenia yor...@googlemail.com wrote: [...] I tried following this instruction: http://wiki.contextgarden.net/Gnuplot#Unix_or_Mac But then I got: - $ ./prepare ./prepare: 47: aclocal: not found Some part of the preparation process failed. Please refer to INSTALL for details. - And in INSTALL and INSTALL.gnu the first step is to do $ ./configure but I only have a configure.in and configure.vms -file. I'm quite confused. Most likely you are missing some of the build tools. Look for a package called build-essential. You may need to add some -dev packages for various libraries needed by gnuplot. You might check the dependencies for debian gnuplot and make sure you have the -dev versions of all the libraries. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Any MacTeX users here?
On Sat, Jun 25, 2011 at 3:09 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, I would like to have a rough estimate about the number of MacTeX users that also use ConTeXt minimals (I use MacTeX for compiling LaTeX documents and often also use it for a month or two ... until it starts diverging too much with Minimals). [...] One problem that I'm not sure about is how to treat multiple installation on the same machine. The other one is the need for quick switches between distributions without GUI (I have a script texdist in /usr/local/bin, but I'm not sure if that one is up to date.) I use MacTeX (but really only TeX Live as I seldom use the GUI tools in MacTeX) for LaTeX and ConTeXt when it works; when ConTeXt in MacTeX breaks I switch to Minimals. I use a command-line tool, environment modules (experimental tcl version from http://modules.sourceforge.net/), to switch between TeX distros. This adjusts the environment in the current shell. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] a tiny set of documents for introduction to ConTeXt (for MacTeX)
On Tue, May 31, 2011 at 1:34 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, In the preparation for TL 2011 Richard Koch asked about the following: We install some documentation about ConTeXt, LuaTeX, and XeTeX in /Applications/TeX, mainly for people who only know LaTeX but would like to get a feel for later developments. That documentation needs to be up to date. At the moment there is the following document in there: The language mix Abstract During the third ConTEXt conference that ran in parallel to EuroTEX 2009 in The Hague we had several sessions where mkiv was discussed and a few upcoming features were demonstrated. The next sections summarize some of that. It's hard to predict the future, especially because new possibilities show up once LuaTEX is opened up more, so remarks about the future are not definitive. One document for XeTeX contains two paragraphs, demonstrating usage of Arabic, Hebrew and Japanese: \newfontfamily{\A}{Geeza Pro} \newfontfamily{\H}[Scale=0.9]{Lucida Grande} \newfontfamily{\J}[Scale=0.85]{Osaka} Here are some multilingual Unicode fonts: this is Arabic text: {\A السلام عليكم}, this is Hebrew: {\H שלום}, and here's some Japanese: {\J 今日は}. The idea is to have a simple, yet powerful example showing some capabilities of ConTeXt, together with source code. One example is too limited -- very user has different projects in mind. I remember the quote from someone at Adobe after they saw some ConTeXt documents we didn't know you could do that with PDF. I find this important for promotion of ConTeXt to new users. The question is: does anyone have any good ideas what to put there? I used to send people who wanted to find out what ConTeXt can do to http://www.pragma-ade.com/showcase.pdf, but it doesn't work for me on linux, only windows (the Mac here isn't on the network). -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] newbie questions
On Tue, May 31, 2011 at 12:38 PM, Sanja C. san...@rocketmail.com wrote: Hi ConTeXt community. While looking for free (preferably open-source) tools which I could use for typesetting a planned internal newsletter-booklet for a non-profit organization (to be released in printed form in regular intervals - each issue with new content of course, but same/similar style), I came across ConTeXt. I usually use Inkscape and various WYSIWYG word processing software for designing and layouting flyers/leaflets/etc., but in this case (many pages, varying and regularly updated content, consistent style) I'm afraid those tools simply don't cut in in terms of professional-quality typesetting capabilities and content//style separation. So programmatic typesetting might be the answer. I thought of LaTeX first, but I read from various sources that using ConTeXt might be easier for typesetting book-like things, especially if you want to design your own styles. Before I delve in deeper, though, I would like to ask you (the ConTeXt community) some questions: a) Is the ConTeXt project alive? The newest PDF documentation I could find seems to be from 2007; most of it is dated 2003 or older. It is very active, as you will soon see from the list traffic. b) Do you think that ConTeXt is an appropriate tool for the use case I described (be honest please ;-)), and easy enough to learn for someone with almost no TeX experience? The requirements are: - Support for elaborate, colorful, graphics-heavy design, which I would preferably create in Inkscape and then export as vector graphics (or port to ConTeXt's own graphics language) as necessary. - Ability to write a style *once* (with reasonable effort), and outsource it to an external file (or files), so that for each new release of the newsletter, only a simple content TeX file (or files) with minimal amount of markup is required (which e.g. even a non-tech-savvy writer/editor could edit) - Ability to easily include pictures in the content, and let the typesetting engine automatically position them (either in the main text area with text floating around them, or in special margin areas). c) Are there any full-featured examples of design-heavy booklets/magazines/etc created with ConTeXt., for which the full source code is publicly available? That would be *really* helpful in order to assess how much work would be required, and also to learn how exactly it's done in practice. Have a look at http://pragma-ade.com/showcase.pdf. If you can find a sufficiently insecure system (the Windows XP system at my work qualifies) you will be able to browse into the sample documents. I think the Magazines entry deals with complex layouts. I'm involved with a scientific report series. We hired a professional who did the initial design in Pagemaker. We then implemented this in ConTeXt, mostly for the maths support, but the page layout was superior too. The implementation was a big job, but the professional did a lot of the work and was very pleased at the quality of the result. It was not as hard as writing the LaTeX style we now use (because authors already use LaTeX for journal articles but found it difficult to get context working). For projects that don't need maths we tend to use In Design or other commercial tools, partly because printers understandably don't like dealing with unknown software. It takes some time to train the printers to trust ConTeXt or LaTeX produced documents, and then the company goes under or is bought out by a bigger company and you have to start over. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] compresslevel and png graphics (mkiv)
On Wed, May 25, 2011 at 11:40 AM, Hans Hagen pra...@wxs.nl wrote: On 25-5-2011 2:43, Peter Rolf wrote: Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only around 3% reduction this time). To my surprise the size of the final PDF was about 2.3MB. After adding '\pdfcompresslevel9' the size went down to 1.48MB. Still not what I wanted... Normally I convert such images to pdf first (using acrobat or gs) simply because inclusion of pdf is much faster. I too convert images to pdf first, but my mainly because I can control the details of the conversion to get the best result for each (type of) image. Some images are well suited to jpeg compression, others are better with reduced color space and lossless compression. The ability to directly include images in whatevertext should be seen as a convenience, but not a basis for a workflow where the final product has requirements for minimal size, color rendition, etc. There are many free image to pdf tools that all do the easy cases adequately but don't give the level of control needed for the difficult cases. SVG is different because much of it is based on a graphics model that resembles PDF. Some SVG documents translate directly to PDF, but others, e.g., markers, may blow up when translated. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] MkIV : MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
On Mon, May 23, 2011 at 3:13 PM, Mathieu DUPONT mathieudup...@hotmail.com wrote: I followed all these steps to install MkIV on a Mac and to run it with either Smultron or TexShop : http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation However it works fine with Smultron (but I am more used to TexShop to run TeX files), with TexShop I get : MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Even after running the following command line : luatools --generate it doesn't help at all. Thanks for any hint, Mathieu Not near my Mac system, but I seem to recall there was a change in the name of the directory for the programs from texmf-osx-intel to texmf-osx-64 so you would need to adjust the PATH setting from that given in the wiki. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] bibliography: current status, Wiki page Bibliography, [[error 2]] and bibltx
On Fri, May 20, 2011 at 12:50 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear ConTeXt folks, I am trying to use the module bib, but I only get [[error 2]] displayed. I see the same result from context bibtest. I was just trying the bib support with a fresh minimals. At some point, I read that the bib module is no longer needed, so I tried without the \usemodule lines and got the same result. Then I replaced the \completepublications and get something better, but ref. [1] is blank: %orig: \usemodule[bib] %orig: \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \placepublications[criterium=all] %orig:\completepublications \stoptext I am following the Wiki page Bibliography [1], which suggests the following example (adapted by me). \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext I copied the file `sample.bib` @STRING{hh = {Hans Hagen}} @ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, } @ARTICLE{hh2010a, author = hh, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, } @ARTICLE{hh2010b, author = hh, title = {Grouping in Hybrid Environments}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {67-71}, keywords = {context}, } @BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's Reference}, publisher = {Addison-Wesley}, year = {1991}, author = {Victor Eijkhout}, address = {London}, keywords = {general}, } from the bib module to the directory. Unfortunately I only get »[[error 2]]« displayed. Please find all files attached. Regarding `bibltx` the bib manual does also contain it [2][3]. Searching the Wiki for it, it says that it was dropped in version 2006.04.06 [4]. Thanks, Paul [1] http://wiki.contextgarden.net/Bibliography [2] http://modules.contextgarden.net/bibman [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ [4] http://wiki.contextgarden.net/Context_2006.04.06 ___ 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 ___ -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] lm otf math
On Thu, May 12, 2011 at 11:43 AM, Hans Hagen pra...@wxs.nl wrote: On 12-5-2011 3:42, Aditya Mahajan wrote: On Thu, 12 May 2011, Martin Schröder wrote: 2011/5/12 Hans Hagen pra...@wxs.nl: \starttext $e=mc^2$ Shouldn't that be something like e=mc²? No. IIRC, we had a discussion sometime ago whether we should treat ¹,², etc as valid superscripts in math mode, and decided against it. how about an article (for the maps/tugboat) about good math coding practices in these unicode times Or a new book: Joy of ConTeXt (for those who remember Spivak's Joy of TeX). Authors are going to provide tex sorce files that use e=mc² (and unless someone does SEO to ensure they find the afore mentioned article) will consider it a bug when it doesn't work. Other sources of confusion come when authors use a fixed font to edit and try to match glyphs (using Windows CharMap or BabelMap): you get 45˚N when it should be 45°N), or use auctex+preview in which $e=mc^2$ gives $e=mc^²$ in the emacs window. There is a need for a TeXCharTool that does BabelMap stuff but provides annotations describing appropriate TeX usages and can be searched using legacy TeX markup (e.g., to assist with converting old docs to unicode). -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] bibliography basics
On Thu, Apr 14, 2011 at 11:40 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.04.2011 um 15:20 schrieb Hagmann Jörg: I haven't used bibliographies before and have a few basic questions. I am using mkiv, current version: 2011.04.03 22:32. [...] 2. Where can I get documentation? Can Taco's bib-module documentation still be used? (In my experiments in some cases, not in others). The manual is now available at the wiki: http://modules.contextgarden.net/bibman In TeX Live 2010, texdoc bibmod finds a 284752 byte bibmod-doc.pdf that is identical to the one available from the above URL. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Pi, Theta symbols are not rendered
On Mon, Apr 25, 2011 at 2:59 AM, Anand Raj anand.s...@gmail.com wrote: The symbols like Pi, Theta are not rendered properly. I see this regularly when multiple versions of the same font are installed on a system (so common that MacOSX FontBook.app provides checks for duplicate fonts). You need to provide enough detail (host OS, commands used to format the document) and a minimal example so someone can reproduce your problem. Have you tried viewing the output with other viewers and/or platforms? -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Mon, Aug 23, 2010 at 4:53 AM, Xan dxpubl...@telefonica.net wrote: Thanks George of confirming the bug. In my opinion, the context package has to be ready for running. No intervention of user should be needed. For the other hand, I have problems running luatools, so we have a bug: or the first or the second. Many packages require some user configuration before they can be used. Some hide this and do the configuration in the background the first time they are run, which assumes that the configuration is very robust (as you can see, luatools may not yet qualify as a robust tool). I do think the requirement to run luatools should be made more visible to users, e.g., by having the context wrapper script make some checks before attempting to run mtxrun, or by changing mtxrun itself (the advantage of making changes in the wrapper is that they can be more distro specific and point to /usr/share/doc/context/README.MarkIV). As for the 2nd part of the problem, we don't have enough information to know why luatools --generate isn't working for you. I'm not sure exactly what you have tried to get it working, but it would be helpful if you can do the following: 1. document the current status: run (as normal user) luatools --variables, then use the value of TEXMFCACHE for: ls -lR TEXMFCACHE (e.g., paste in the value shown for TEXMFCACHE) 2. check that the luatex caches have suitable permissions, or just delete them and try to recreate using a normal user login. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Fri, Aug 20, 2010 at 6:41 AM, Peter Schorsch trala...@freenet.de wrote: Hi, I am also using Context on ubuntu - and it works fine here. There is one small change I like to do: luatools --generate is creating ~/luatex-cache. As this cache is not hidden it appears on the desktop. Is it possible to change that directory into a hidden directory e.g. ~/.luatex-cache? Yes -- see /usr/share/doc/context/README.MarkIV -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Sun, Aug 22, 2010 at 2:23 PM, Aditya Mahajan adit...@umich.edu wrote: On Sun, 22 Aug 2010, Xan wrote: I file a bug: https://bugs.launchpad.net/ubuntu/+source/context/+bug/622253 Please, provide any comments you want. What you have reported there is not a bug. After installing ConTeXt, you need to run (luatools --generate) as a normal user; only then mtx-contex.lua will be found. The need to run luatools --generate is not sufficiently visible (it is in README.MarkIV). Any package that requires user configuration steps should have a mechanism to inform the user that such steps are required. I suspect the damage was already done by the time the OP tried luatools --generate , and was perhaps made worse by running the command from a root prompt. In your case, running luatools --generate does not help, and that is the bug. You are right, but with a system like context it is sometimes better to avoid stressing the tools by following standard procedures. The OP ended up with /etc/texmf/web2c/pdftex, which suggests that MkII and/or fmtutil tried to install formats under /etc/texmf/web2c. It may be too much to expect luatools to recover when things are not where they belong and files under $HOME are not owned by the user. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Sat, Aug 21, 2010 at 11:58 AM, Xan dxpubl...@telefonica.net wrote: Al 21/08/10 00:30, En/na George N. White III ha escrit: O When I run luatools --generate (as normal user) there are no errors. I don't have /etc/texmf/web2c/pdftex on my system. On debian/ubuntu /etc/texmf/web2c is for configuration files, but perhaps some program tried to put formats and logs there instead of the proper /var/lib/texmf: $ locate texmf/web2c/pdftex /var/lib/texmf/web2c/pdftex /var/lib/texmf/web2c/pdftex/amstex.fmt /var/lib/texmf/web2c/pdftex/amstex.log /var/lib/texmf/web2c/pdftex/cont-en.fmt /var/lib/texmf/web2c/pdftex/cont-en.log /var/lib/texmf/web2c/pdftex/etex.fmt /var/lib/texmf/web2c/pdftex/etex.log /var/lib/texmf/web2c/pdftex/latex.fmt /var/lib/texmf/web2c/pdftex/latex.log /var/lib/texmf/web2c/pdftex/mptopdf.fmt /var/lib/texmf/web2c/pdftex/mptopdf.log /var/lib/texmf/web2c/pdftex/pdfetex.fmt /var/lib/texmf/web2c/pdftex/pdfetex.log /var/lib/texmf/web2c/pdftex/pdflatex.fmt /var/lib/texmf/web2c/pdftex/pdflatex.log /var/lib/texmf/web2c/pdftex/pdftex.fmt /var/lib/texmf/web2c/pdftex/pdftex.log So I don't know what have to do!!! It is hard to say without more information. You appear to have a /etc/texmf/web2c/pdftex directory. I suspect this directory was created erroneously when making formats, in which case it would contain .fmt and .log files. This may mean that one of the tools used to generate formats has a bug -- perhaps only triggered when run using the root account, which is usually disabled on ubuntu, but this is only conjecture. If you have current hardware with ample disk and RAM you could probably sort out the problem by installing a fresh Ubuntu in a VM, repeating the steps you took to get into this unhappy state but checking after each step to figure out exactly when the configuration goes astray. You can also experiment with various repair strategies to see what works before trying to repair your main installation. I actually tried this, and was not able to cause context to fail. Using sudo luatools --generate results in cache files that are owned by root but still readable by a regular user. Running luatools, fmtutil, etc. from root still didn't produce /etc/texmf/web2c/pdftex so I'm at a loss to figure out how that could happen. It would be nice to know how it happened so steps can be taken to prevent others from ending up in the same predicament. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Thu, Aug 19, 2010 at 9:13 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 19 Aug 2010, Xan wrote: Al 19/08/10 12:52, En/na George N. White III ha escrit: On Thu, Aug 19, 2010 at 7:15 AM, Xandxpubl...@telefonica.net wrote: Hi, I have installed context package [http://packages.ubuntu.com/hu/lucid/context] in ubuntu. In theory it's the MKIV package. But when I run context I get: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' How can I fix it? Did you run luatools --generate? Yes I dit it. The output is: # luatools --generate '/home/xane/luatex-cache/context/' ^ r...@negre:~# Wait... are you running luatools --generate as root? Don't do that. Run it as a normal user. Good catch! I missed that. To repair the damage the OP will need to run something like: sudo chmod -R xane:xane ~/luatex-cache to restore ownership to the OP. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Fri, Aug 20, 2010 at 6:41 PM, Xan dxpubl...@telefonica.net wrote: Yes I dit it. The output is: # luatools --generate '/home/xane/luatex-cache/context/' ^ r...@negre:~# Wait... are you running luatools --generate as root? Don't do that. Run it as a normal user. Aditya I have errors with normal user: x...@negre:~$ luatools --generate LuaTools | fileio: variable 'SELFAUTOLOC' set to '/usr/bin' LuaTools | fileio: variable 'SELFAUTODIR' set to '/usr' LuaTools | fileio: variable 'SELFAUTOPARENT' set to '/' LuaTools | fileio: variable 'TEXMFCNF' set to '{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}' LuaTools | fileio: loading configuration file /usr/share/texmf/web2c/texmf.cnf LuaTools | fileio: preparing 'configuration' for '/usr/share/texmf/web2c' LuaTools | fileio: 'configuration' saved in '/home/xan/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/trees/f7d1b3c25487ab1e1035aff1c53b90da.lua' LuaTools | fileio: 'configuration' compiled to '/home/xan/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/trees/f7d1b3c25487ab1e1035aff1c53b90da.luc' LuaTools | fileio: locating list of '/home/xan/.texmf-config' LuaTools | fileio: tex locator '/home/xan/.texmf-config' not found LuaTools | fileio: locating list of '/home/xan/.texmf-var' LuaTools | fileio: tex locator '/home/xan/.texmf-var' not found LuaTools | fileio: locating list of '/home/xan/texmf' LuaTools | fileio: tex locator '/home/xan/texmf' not found LuaTools | fileio: locating list of '/etc/texmf' LuaTools | fileio: tex locator '/etc/texmf' found LuaTools | fileio: hash '/etc/texmf' appended LuaTools | fileio: locating list of '/var/lib/texmf' LuaTools | fileio: tex locator '/var/lib/texmf' found LuaTools | fileio: hash '/var/lib/texmf' appended LuaTools | fileio: locating list of '/usr/local/share/texmf' LuaTools | fileio: tex locator '/usr/local/share/texmf' found LuaTools | fileio: hash '/usr/local/share/texmf' appended LuaTools | fileio: locating list of '/usr/share/texmf' LuaTools | fileio: tex locator '/usr/share/texmf' found LuaTools | fileio: hash '/usr/share/texmf' appended LuaTools | fileio: locating list of '/usr/share/texmf-texlive' LuaTools | fileio: tex locator '/usr/share/texmf-texlive' found LuaTools | fileio: hash '/usr/share/texmf-texlive' appended LuaTools | fileio: scanning path '/etc/texmf' /usr/bin/luatools:5169: cannot open /etc/texmf/web2c/pdftex/: Permission denied x...@negre:~$ When I run luatools --generate (as normal user) there are no errors. I don't have /etc/texmf/web2c/pdftex on my system. On debian/ubuntu /etc/texmf/web2c is for configuration files, but perhaps some program tried to put formats and logs there instead of the proper /var/lib/texmf: $ locate texmf/web2c/pdftex /var/lib/texmf/web2c/pdftex /var/lib/texmf/web2c/pdftex/amstex.fmt /var/lib/texmf/web2c/pdftex/amstex.log /var/lib/texmf/web2c/pdftex/cont-en.fmt /var/lib/texmf/web2c/pdftex/cont-en.log /var/lib/texmf/web2c/pdftex/etex.fmt /var/lib/texmf/web2c/pdftex/etex.log /var/lib/texmf/web2c/pdftex/latex.fmt /var/lib/texmf/web2c/pdftex/latex.log /var/lib/texmf/web2c/pdftex/mptopdf.fmt /var/lib/texmf/web2c/pdftex/mptopdf.log /var/lib/texmf/web2c/pdftex/pdfetex.fmt /var/lib/texmf/web2c/pdftex/pdfetex.log /var/lib/texmf/web2c/pdftex/pdflatex.fmt /var/lib/texmf/web2c/pdftex/pdflatex.log /var/lib/texmf/web2c/pdftex/pdftex.fmt /var/lib/texmf/web2c/pdftex/pdftex.log -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Thu, Aug 19, 2010 at 7:15 AM, Xan dxpubl...@telefonica.net wrote: Hi, I have installed context package [http://packages.ubuntu.com/hu/lucid/context] in ubuntu. In theory it's the MKIV package. But when I run context I get: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' How can I fix it? Did you run luatools --generate? I have 10.04. I use MKIV on Ubuntu 10.04 amd64, but from TeX Live 2010-pretest installed using the CTAN installer, not from .deb packages. A CTAN install can co-exist with a package install as long as you don't let the installer create symbolic links, so you can install TeX Live 2010-pretest without damage to the Ubuntu packages. If you have good network access to one of the pretest archive sites then installing TeX Live 2010-pretest may be your best route as you get newer versions of luatex, etc. Many people have much better network access to Ubuntu archives than they do to CTAN, in which case the Ubuntu packages may be the only viable option. For more debugging, follow the checks for versions, shadowing, etc. from http://wiki.contextgarden.net/Debian_installation, in particular, the Postscript: Mark IV section, which does mention running luatools --generate as well as manually creating cont-en.fmt. Regards, Xan. ___ 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 ___ -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Ubuntu and Context MKIV
On Thu, Aug 19, 2010 at 2:07 PM, Xan dxpubl...@telefonica.net wrote: Al 19/08/10 15:48, En/na George N. White III ha escrit: On Thu, Aug 19, 2010 at 8:51 AM, Xandxpubl...@telefonica.net wrote: Al 19/08/10 12:52, En/na George N. White III ha escrit: On Thu, Aug 19, 2010 at 7:15 AM, Xandxpubl...@telefonica.net wrote: Hi, I have installed context package [http://packages.ubuntu.com/hu/lucid/context] in ubuntu. In theory it's the MKIV package. But when I run context I get: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' How can I fix it? Did you run luatools --generate? Yes I dit it. The output is: # luatools --generate LuaTools | fileio: variable 'SELFAUTOLOC' set to '/usr/bin' LuaTools | fileio: variable 'SELFAUTODIR' set to '/usr' LuaTools | fileio: variable 'SELFAUTOPARENT' set to '/' LuaTools | fileio: variable 'TEXMFCNF' set to '{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}' LuaTools | fileio: loading configuration file /usr/share/texmf/web2c/texmf.cnf [...] Looks OK to me -- at least it finds /usr/share/texmf/web2c/texmf.cnf and then looks in Ubuntu/Debian directories (/etc/texmf, /var/lib/texmf, etc). The next step is to run the checks from the wiki's Debian page (program versions, ability to find files, etc.). Did you have any previous TeX or ConTeXT installed on this system -- a common source of problems is intermingling multiple TeX systems (as opposed to keeping each one in a separate tree, which allows you to switch between a number of different systems). Once you have verified that the right files are found you may want to file a bug report against the Ubuntu package. I have installed - texlive - context - pgf packages. That's all. So what's the problem? It seems perfect, isn't? So there should be not be any conflicts with some other TeX disto. Are you able to run the various checks in the Debian wiki page? I have the same packages on my (amd64) system and context is working. Are you using 32-bit or the 64-bit Ubuntu, gnome or kde? When I run luatools --generate I get more files: LuaTools | fileio: scanning path '/usr/share/texmf' LuaTools | fileio: 8540 files found on 612 directories with 310 uppercase remappings LuaTools | fileio: scanning path '/usr/share/texmf-texlive' LuaTools | fileio: 17385 files found on 2747 directories with 722 uppercase remappings maybe some package dependency was missed. I use TL2010-pretest from CTAN, but ended up with texlive because something else (kile?) depends on it, so it is quite possible something dependency was left out in your installation. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Using ConTeXt for a thesis?
On Sat, Dec 19, 2009 at 9:55 AM, Manuel P. ayeye.sysfo...@gmail.com wrote: Hi everyone! This is my first post here. I've a limited (but sufficient) experience with LaTeX (I've written several work-related documents with it) and now I have to write my undergraduate thesis (the deadline is mid-january 2010). I've been fairy impressed by a book typesetted with ConTeXt, so I used it for some documents and liked the idea and the configurability. The possibility of having a unique and personalized look-and-feel for every document is very appealing to me, and I have already began to assemble a style for the thesis. However, I've a very limited experience with it and I wonder: is ConTeXt the right choice in my circumstances? Can it be used without a degree in typography? I can't write half thesis and then stumble on some obscure (to me) typesetting problem, things have to be smooth and I need to concentrate on content (but I still find desiderable a good unique look). When I have a problem I try my best to resolve it by myself, but given the limited time I can't learn and investigate everything, so if I'll write my thesis in ConTeXt in some (desperate) cases I'll need your help. What do you think? I was the first person at my institution to use a computer to type my thesis (with a daisywheel printer that was essentially a modified typewriter) in the days before TeX was accessible to students. When you follow an existing process you benefit from the efforts of those who have gone before, but when you do things in a new way you may find that your efforts get more rigorous scrutiny. I have heard of cases where some of the institution's rules for thesis formats are not enforced because it is too hard to do that using MS Word, but the same exceptions are not granted to TeX users. ConTeXt has been used, but different institutions have different rules and expectations. At many institutions there is already a LaTeX thesis style ready to go, but I have heard of problems when these were used outside science, e.g, because the science people don't use footnotes the same way as for other fields. FInd out if LaTeX is used at your institution (even if you choose ConTeXt, the LaTeX style can serve to document fonts and other details. Find out who enforces the institution's standards and discuss your plans with them -- they may be able to help you identify particular trouble spots in advance so you can get more specific help/advice while there is time to change plans. Thank you all! PS: I live in Italy, sorry for my probably imperfect english! ___ 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 ___ -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] typo in bibl-tra.mkii: firstiftwoarguments -- firstoftwoarguments
ConTeXt ver: 2009.09.11 18:14 MKII fmt: 2009.9.13 int: english/english Using MkII documents with bibliographies fail because \firstiftwoarguments is undefined. Guessing this was meant to be firstoftwoarguments seems to work: $ diff -C3 bibl-tra.mkii.orig bibl-tra.mkii *** bibl-tra.mkii.orig 2009-09-11 08:59:47.0 -0300 --- bibl-tra.mkii 2009-09-13 07:51:39.0 -0300 *** *** 1183,1189 \def\doifbibreferencefoundelse#1% {\preloadbiblist \doifdefinedelse{pbdk-#1} ! {\firstiftwoarguments} {\showmessage\m!publications{5}{#1 is unknown}% \secondoftwoarguments}} --- 1183,1189 \def\doifbibreferencefoundelse#1% {\preloadbiblist \doifdefinedelse{pbdk-#1} ! {\firstoftwoarguments} {\showmessage\m!publications{5}{#1 is unknown}% \secondoftwoarguments}} -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Perfect Mac OS X Installation?
On Sat, Apr 4, 2009 at 10:03 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Apr 4, 2009, at 11:35 AM, Markus Hubig wrote: Hi @all, i've done a fresh install of ConTeXt Minimals on my Mac OS X box. Now I like to put my setup steps into a small script so my brother can use it. It wold be nice if someone can give me some comments ... maybe I missed something, maybe I did something stupid! - Markus Your script is clever, but in my experience, you can simplify the process. I have a TeXLive install and the ConTeXt minimals on my OS X box. In order to use them, I have two configuration files. Here's the one for the minimals (which is named .minicontext): PATH=/Users/tas/context/tex/texmf-osx-intel/bin:$PATH export PATH export TEXMFCACHE=/Users/tas/context/tex/texmf-cache export TEXMFCNF=/Users/tas/context/tex/texmf/web2c export TEXMF={/Users/tas/texmf,/Users/tas/context/tex/texmf-project,/Users/tas/context/tex/texmf-fonts,/Users/tas/context/tex/texmf-local,/Users/tas/context/tex/texmf-context,/Users/tas/context/tex/texmf-extra,/Users/tas/context/tex/texmf} export LUAINPUTS={/Users/tas/context/tex/texmf-context/scripts/context/lua,/Users/tas/context/tex/texmf-context/tex/context/base,/Users/tas/texmf/scripts/context/lua} I simply run source ~/.minicontext, and my system is set up. The syntax is for zsh; if you're running bash or (heaven forbid!) tcsh, you may have to adapt it slightly; and of course, adapt the path variables to your own needs. There is a tool designed specifically for this sort of adjustment to the environment, called environment modules: http://modules.sourceforge.net/ http://www.nersc.gov/nusers/resources/software/os/modules.html This was standard kit on SGI Irix -- now that we are replacing the SGI workstations with MacOSX at work I use the (experimental) tcl version.The big advantage of using environment modules is that it reliably restores the default environment. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] font switching questions
On Thu, Mar 19, 2009 at 12:24 PM, Taco Hoekwater t...@elvenkind.com wrote: Alan Stone wrote: The most important thing I understand from reading the fonts manual and the ConTeXt manual's old and new font chapter for the n-th time (lost count), is that explaining fonts and their use is not a piece cake. As such, every effort in trying to explain it in a way that's understandable to non initiated people can only be appreciated and welcomed. Any remaining inclarity in any published documentation is by definition unexpected by the author of that documentation. So if something is unclear, you really have to mention specifically what it is exactly that is unclear. Otherwise, no progress will ever be made... When I write, I try to guess the level of understanding/background of the reader. With fonts (also graphics) it isn't appropriate to provide all the background in a TeX documentation, so what is needed is a some pointers to the required background material. I do expect a reader who comes without the required background to find things they don't understand, but the way to handle that is to send them to the appropriate references. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] Simplified input for natural tables
On Sun, Mar 8, 2009 at 4:10 PM, John Devereux j...@devereux.me.uk wrote: [...] I find that writing documents for context - once you get used to it - is much nicer than using a wordprocessor. But the process of entering tables remains tedious and error prone, compared to e.g. the Word equivalent that many will be used to. Many of my tables are results from some numerical computation, I usually write a short program to print the data in the required ConTeXt/LaTeX format. The others I try to find some similar existing table and update the text. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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] The most Tex friendly distribution?
On Mon, Sep 15, 2008 at 12:14 PM, Armando Martins [EMAIL PROTECTED] wrote: Any idea about the most Tex-friendly Linux distribution, please? Thomas Schmitz told me OpenSuse (which I 've been using for a year...) is not that Tex-friendly... You need to say a bit more about your circumstances and goals. 90% of TeX should work well (excepting experimental bits like luatex, xetex, and ConTeXt MKiV which may need some tweaks) on all current platforms, but if you are constrained by site policy to use binary packages provided by your distribution, that is an entirely different problem from whether you can use TeX Live from CTAN. If you rely heavily on .dvi and want a viewer (e.g., kpdf) that is integrated with your desktop, then your options are more limited, but you should think about switching to a PDF workflow (because it is well supported outside the TeX community, there are more and better tools for PDF than for DVI). -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] The most Tex friendly distribution?
On Thu, Sep 18, 2008 at 11:55 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Sep 18, 2008, at 7:30 AM, Peter Münster wrote: You're right, but I've to protect suse a bit: this was only an issue with a very new MKIV (new logic how to use TEXINPUTS), and suse could really not know about that. TEXINPUTS was quite useful, because every user could put his own personal directory in it, and there did not need to be an ls-R file. TeX Live 2008 has TEXMFHOME set to $HOME/texmf in the default configuration file (configured so ls-R is not needed). Well, no offense, I used to be a big fan of SuSE myself (still like it a lot, but their package manager really needs work). But: I just double-checked, and TEXINPUTS is still set on my 11.0 system - even though I don't have any SuSE-provided TeX-system installed. That's really unpardonable. I can understand why they want to set it for their own TeXLive packages, but not on a virgin system without any TeX component. For an inexperienced user who wants to install TeXLive from DVD or via the net installer, this will be a major obstacle. So I think the point remains valid: SuSE is not a TeX-friendly distribution. Having TEXINPUTS set when TeX is not installed is not nice, but it is really a trivial issue. Someone who uses SuSE should post a note explaining how to remove TEXINPUTS (hopefully in a way that will survive updates) and file a bug report with SuSE. Distributions are can only be as TeX friendly as their users -- otherwise you get what is needed to build program documents and no more. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] showcase on mac?
On Sun, Sep 28, 2008 at 8:40 AM, Frans Goddijn [EMAIL PROTECTED] wrote: Willi Egger helped me get a minimal install working on my mac and I'm working on a collection of columns illustrated with pictures. It's been a while since I used Context so I want to download some basic manuals to refresh my memory and learn new things. On my Windows machine I can view/navigate and download manuals from the http://www.pragma-ade.nl/showcase.pdf page, but on my mac this doesn't work. In the Safari browser, nothing happens if I click on the manuals link. In Firefox, the showcase PDF is downloaded and I can open it. After allowing the file to go full screen, I get error messages for the links there was an error opening this document/ the file cannot be found', execpt on the quit link ;-) Is there a simple thing I should change to make it work on the mac as well? works for me with 10.5.5 safari, although there are so many manuals that I can't tell which is which. Time to get a bigger office so I can fit a bigger screen. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Miktex
On Wed, Oct 1, 2008 at 5:57 PM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Wed, Oct 1, 2008 at 9:06 PM, David Arnold wrote: Mojca, Thanks. On: http://blog.miktex.org/post/2008/05/ConTeXt-support.aspx At the bottom of the list, these seem to be the errors that another user reports. Please keep me informed. I need to have mptopdf working for my students in the Miktex tree. I'm just as lost as others are. I have no idea what's wrong. I suspect it's about spaces in filenames, but need to try it out. Since mptopdf works for me, it isn't about spaces. It looks like the mptopdf program could be better replaced by another simple script: Try: C:\Testingpdftex mptopdf \processMPfile{example.1} This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) [MP to PDF] (example.1{C:/windows/profiles/gwhite/Local Settings/Application Da ta/MiKTeX/2.7/pdftex/config/pdftex.map}) [1] C:\windows\profiles\gwhite\Local Settings\Application Data\MiKTeX\2.7\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm100 0.pkC:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmex10.pfbC:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmmi10.pfbC:/Program Files/MiKTeX 2. 7/fonts/type1/bluesky/cm/cmmi7.pfbC:/Program Files/MiKTeX 2.7/fonts/type1/blu esky/cm/cmr10.pfbC:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmr7.pfb C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmsy10.pfbC:/Program File s/MiKTeX 2.7/fonts/type1/bluesky/cm/cmsy7.pfbC:/Program Files/MiKTeX 2.7/font s/type1/bluesky/ams/msbm10.pfb Output written on example.pdf (1 page, 32785 bytes). Transcript written on example.log. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Newbie Problem With ConTeXt/MacTeX-2008 Distribution
On Sat, Sep 27, 2008 at 12:51 PM, Stanley Hudson [EMAIL PROTECTED] wrote: Trying out ConTeXt on a Macbook with the MacTeX -2008 Distribution. The following compiles on ConTeXt live at the Garden, but does not work locally. \usemodule[pre-05] \starttext \TitlePage{A Sample Presentation} \Topics{Informative Talk} \Topic{First item} Some information goes here \Topic{Second Item} More information goes here \stoptext This is what I get: TeXExec | processing document '/Users/tom/Desktop/stuff/razzle/ firstfile.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file firstfile.top TeXExec | using randomseed 1382 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. (/usr/local/texlive/2008/texmf/web2c/natural.tcx) entering extended mode (/Users/tom/Desktop/stuff/razzle/firstfile.tex ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2008.9.27 int: english/ english [...] systems : system commands are disabled [...] Topic : - First item system : Topic not found/processed [MP firstfile-mpgraph.3999] ! Missing number, treated as zero. to be read again \endcsname \@@amvbox ... -\pagebackgroundvoffset +\endcsname \c!topoffset \relax \box \... argument ...ght\c!left }\interactionmenu [right] \getvalue {\??am right\c!r... \firstofoneargument #1-#1 \next2 #1,-\docommand {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.8 \Topic{Second Item} ? Any suggestions on what is wrong? I get the same error using TL2008 on linux, so it looks like a bug in context. All is not lost, however, as your file does work using MKiV with the context minimal distro: $ context t [...] MtxRun | run 2: luatex --fmt=/Data/opt/tex/context/linuxtex/texmf-cache/luatex-cache/context/e94a94633d1c5da1888b5ba67f423e84/formats/cont-en --lua=/Data/opt/tex/context/linuxtex/texmf-cache/luatex-cache/context/e94a94633d1c5da1888b5ba67f423e84/formats/cont-en.lua ./t (t.tex ConTeXt ver: 2008.08.15 09:41 MKIV fmt: 2008.9.27 int: english/english [...] mkiv lua stats : runtime - 8.756 seconds, 3 processed pages, 3 shipped pages, 0.343 pages/second - So the solution lies somewhere between 2008.05 MkII and 2008.08 MkIV. Simpler documents do work using 2008.05 MkII in TL2008, but if you are starting out you may do better to focus on MkIV. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Texlive 2008 on Windows (Vista)
On Tue, Sep 9, 2008 at 8:12 PM, Mohamed Bana [EMAIL PROTECTED] wrote: Is anyone actually testing texlive 2008 on vista? Or is it just me :) Is Vista that different? On WINE, with TL installed to C:\texlive\2008, I got a little further, after editing context.cmd because wine set %~dp0% to the current path: @echo off setlocal REM set ownpath=%~dp0% set ownpath=C:\texlive\2008\bin\win32\ texlua %ownpath%mtxrun.lua --script context %* endlocal Having done this, I still see not found errors: $ context --make [... locating, loading ...] MtxRun | using script: C:/texlive/2008/texmf-dist/scripts/context/lua/mtx-contex t.lua MtxRun | running command: luatools --make --compile cont-enFile not found MtxRun | running command: luatools --make --compile cont-nlFile not found MtxRun | running command: luatools --make --compile mptopdfFile not found Have you tried using luatools to see if mtx-context.lua is found? It should be a trivial exercise to just move your TeXLive to a path without the space. Somewhere the changes to the registry are mentioned and are minimal, just the PATH setting, Also, watch for problems with settings left from old TeX installs (many MiKTeX users have TEXINPUTS). -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] ConTeXt and TeXlive 2008
On Sat, Sep 6, 2008 at 4:49 PM, Marcin Borkowski [EMAIL PROTECTED] wrote: I've just downloaded and installed the long-expected TeXlive 2008:). My question is: is it's ConTeXt up-to-date? What about ConTeXt upgrades? (TeXlive 2008 can upgrade it's packages automatically; does anyone know how long will it take for new ConTeXt versions to propagate to TeXlive?) It would be much more convenient not to have two distinct TeX installations: one for LaTeX and one for ConTeXt... Thanks in advance Do you need MKIV? I fear it is too new and changing too rapidly for TL, even with updates. I've just been trying to get my ConTeXt stuff working, so while I can't comment on the plans of ConTeXt's authors, I can tell you what works for me, namely, MKII but not MKIV The latter says it can't find lm fonts. The version of luatex in TL2008 is: $ which luatex /usr/local/texlive/2008/bin/i686-pc-linux-gnu/luatex $ luatex --version | head -1 This is LuaTeX, Version snapshot-0.25.4-2008081616 From the linux minimals: $ luatex --version This is LuaTeX, Version snapshot-0.28.0-2008071500 MKIV from minimal is working for me (Fedora 8 32-bit). The environment modules system makes it easy to have multiple TeX systems installed. The current luatex version (from http://foundry.supelec.fr/projects/luatex) is 0.29. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] TeX Live and ConTeXt MKIV installation and maintenance
On Thu, Jul 10, 2008 at 6:37 PM, Aditya Mahajan [EMAIL PROTECTED] wrote: Is it possible to test texlive without uninstalling texlive2007 installed by a system package manager? Last time I tried texlive 2008, mkiv setup was reading texmf.cnf that came with system installed tl2007, and therefore could not find the correct files. I want to test tl2008, but at the moment cannot afford to uninstall tl2007. I have two versions of TL2007 (Red Hat's and one I maintain from the svn repo) and have been testing TL2008 without removing. TL is designed to work from a self-contained tree, but there are a few potential problems to watch for: 0. Some Windows GUI environments may store the information gleaned from the TeX configuration when they are first installed, so you need to check which versions are being used and be prepared to use command-line stuff if your editor makes bad choices. This can also be an issue with some *x GUI environments whre the app is started by the GUI and doesn't see changes to the path made in your current shell. 1. the default on is to have texlive//texmf* trees with texlive/texmf-local available to all the versions. If you have put updates to TL2007 in your texmf-local, they may be older versions than those in TL2008. The same applies to updates in $HOME/texmf. 2. on *x be careful not to have the installer create symbolic links, e.g., in /usr/bin. You can then select the version you want by adjusting the PATH variable. On *X I recommend the environment modules tools to manage your PATH. This is available in some linux distros, and comes with SGI Irix. Another approach that works on WIn32 and *x is to write a script that sets the path and loads a shell. Then you can use that for command-line processing, or start emacs from the command-line to use AUCTeX. 3. formats and configs may end up in $HOME/.texlive, which is OK if you are using only one install for a given year, but can cause problems if you end up with two installs for the same TL version. The solution is to make sure you use the tool-sys versions to put configs and formats into the system directories. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] distro info
On Mon, Jun 30, 2008 at 5:20 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Mon, Jun 30, 2008 at 7:27 AM, Jesse Alama wrote: Mojca Miklavec writes: On Sat, Jun 14, 2008 at 6:35 PM, Jesse Alama wrote: Thomas A. Schmitz writes: The basis for my own comments in this thread do not lie in a preference for graphical tools, but rather for a straightforward way to stay up-to-date with the whole of ConTeXt in a way that ctxtools does not currently provide. A command-line interface for that would be great, and so would a graphical tool. That's not a general solution, but if you need it for yourself, you can put the following to some file and execute it whenever you want: rsync -av rsync://contextgarden.net/minimals/current/context/beta/ /path/to/your/texmf/ rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/linux/bin/ /path/to/your/binaries/ etc. There's a limited set of folders that you need to update, and it will only update new files, you don't need to update everything. Two questions: 1. What's the difference between getting the texmf tree using rsync, It only downloads newer files you can fetch binaries as you suggest, and using ctxtools --updatecontext? Are those equivalent? It downleady the whole zip every time you call it. 2. It looks like the subdirectories that I want are common context luatex man metapost if I want to follow only luatex development. (The only subdirectories that aren't in that list are mswin, which doesn't apply to me, and pdftex and xetex.) I'd like to just put this on top of my TeXLive (2007) distribution. What I did to enable current context with my TL is: 1. create a seaprate texmf-ctx tree that is populated from the .zip archive 2. create a parallel bin/i386-linux-l directory and put it before /usr/local/texlive/2007/bin/i386-linux in the path. Note that this should have symbolic links to the scripts in the texmf-ctx tree to ensure that the current scripts are used. 3. copy the updated binaries to the bin/i386-linux-l directory What about trying to install TeX Live 2008? It desperately needs testers at the moment, and all that you will need to do to stay up to date is fetching: - luatex - context itself - maybe luatool mtxrun Once I copy thse binaries to my TeXLive binary directory, what's the next step? Do I need to rebuild the ConTeXt format, for example? Yes. It is important to catch as many problems in TL2008 as we can now, and it is intended to have a current ConTeXt. When you use free tools there is some moral duty to help make them good, not only for your own benefit, for for others. Fresh eyes often spot problems that experienced users overlook. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] ConTeXt on MikTeX broken
On Tue, May 6, 2008 at 11:57 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Tue, May 6, 2008 at 4:29 PM, George N. White III wrote: On Sat, May 3, 2008 at 7:00 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: some time ago some MikTeX users have complained that ConTeXt doesn't work on MikTeX. It seems to be a problem with MikTeX itself since this workaround seems to solve the problem, at least temporary: ruby C:\Program Files\MiKTeX 2.7\scripts\context\ruby\texmfstart.rb texexec I'm not so quick to blame MiKTeX -- I suspect texmfstart.rb would need to provide some path searching tailored to MiKTeX. It seems to rely on $0 with a tetex/texlive directory structure where SELFAUTOPARENT can be used. Christian has indeed replied that he uses the binary version of texmfstart from CTAN (which is a bit older that the one on PRAGMA). But I still don't understand what can go wrong in the middle of nothing, without any major changes. So there is either a problem in MikTeX or in ConTeXt. The only criticism of MiKTeX is that it is silly to distribute a broken package, but then it is up to ConTeXt users to report breakage and, ideally, supply fixes. I completely agree. Except that I have no MikTeX any more. And I don't have the slightest idea what could have caused the problem. I don't see any serious changes in the texmfstart code that could break the 3-week-old version, while it has worked OK before. Mea culpa. I should have forced Hans to fix it during BachoTeX ... :) I will try to misuse some windows computer next week to see if I can find any bugs (but it's difficult to test since one cannot simply modify the ruby script as on other platforms). You can replace texmfstart.exe with a .cmd script:: C: type texmfstart.cmd @ruby c:/PROGRA~1/MIKTEX~1.7/scripts/context/ruby/texmfstart.rb %* C: ruby c:/PROGRA~1/MIKTEX~1.7/scripts/context/ruby/texmfstart.rb texexec.rb cont-sample2e TeXExec | processing document 'cont-sample2e' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file cont-sample2e.top TeXExec | using randomseed 780 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.8-alpha-20080323 (MiKTeX 2.7) entering extended mode (cont-sample2e.tex ConTeXt ver: 2008.01.28 21:28 MKII fmt: 2008.2.18 int: english/english language: language en is active system : cont-new loaded (C:\Program Files\MiKTeX 2.7\tex\context\base\cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2008.01.28 21:28 MKII FilesVersion: 2008.04.18 14:17 TeXUtil | parsing file cont-sample2e.tui TeXUtil | shortcuts : 297 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 30 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 0.641 c: texmfstart texexec.rb --make TeXExec | using search method 'kpsewhich' TeXExec | updating file database . ... ... .. . [...] TeXExec | generating mps format metafun mpost: Invalid command-line option [The command line can be captured by renaming mpost.exe to mpostbin.exe and making a script: type mpost.cmd mpostbin %* This shows: mpostbin -alias=metafun -initialize -tcx=natural.tcx --8bit metafun [...] With this, I can format simple documents. The mpost problem seems to be with the --8bit option, which comes from tex.rb. (But apparently there are not many MikTeX users on the list anyway. Else more would have complained.) Don't complain, just switch to a platform/distro where ConTeXt works and use mpm (since few others provide updates with the speed and convenience of MiKTeX). I think MiKTeX should remain focusing on the packages and binaries, and rely on upstream to fix broken packages. I agree. But I have thought that some change in MikTeX might have occurred in the meantime. The problem with mpost suggests some tweaks are still needed to handle differences between linux and miktex command lines. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] acroread and reload a PDF
On Wed, Apr 23, 2008 at 3:43 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Apr 22, 2008, at 11:57 PM, zs wrote: I recommend you to use evince viewer. I suppose, its output is even nicer than acroread's one. C-R reloads are supported. ZS While I like and use evince on linux, I must also say that it's still not a very good viewer. Just to give you an example: When talking about evince, it is important to check which rendering libraries are used. I have documents that render correctly on my debian box with at least one of the available evince packages (linked to poppler 0.6.4), but not on Red Hat Fedora 8 (linked to poppler-0.6.2), where some fonts are shown with ?. While writing documents, I tend to use either apparition, which is fast (as long as it is running on the local machine -- it can be very slow over a network), or Emacs DocView just makes a png image of each page -- often enough to make sure some TeX fragment is working properly. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Bibliographic Databases
On Thu, Apr 17, 2008 at 11:19 AM, Robin Kirkham [EMAIL PROTECTED] wrote: Dear all, I want to set up a shared bibliographic reference database for my research group, and I'm looking at software like refbase http:// refbase.sourceforge.net/ or refdb http://refdb.sourceforge.net/ to replace the somewhat random collection of personal BibTeX .bib files we have. Does anyone have any experience or advice to offer in using such things, and hooking them up to ConTeXt? Most of these systems will of course emit a .bib file which will obviously work, but will any emit the .bbl so I can forget about BibTeX? Will luatex one day connect to a bib database and fetch the details of a cited reference? Is there a ConTeXt approved way forward for this sort of thing? I can tell you a few things that don't work! In our lab we have both TeX and Word users. Many of them had been using a DOS package called papyrus, using a special markup that could be translated to tex (.bbl) files. Nothing we found was really satisfactory, so we bought EndNote, which could import from papyrus via refer format and can export to almost bibtex. One problem is that EndNote uses unicode, so we end up with è, etc. that must be translated for some user's versions of bibtex. The database now has a nearly infinite variety of different quote marks: `a`, 'a', ``a'', a, etc. depending on how the entry was made (many are pasted from online or pdf sources). EndNote is really designed for individual users, although sold in bulk. If 2 people open the same database on a shared drive they end up with a corrupt database. In my view, a bibliographic database needs to store each reference in the source or original format, whether bibtex, refer, or one of the newer forms, and provide translators and version tracking, so each file can have forks for different uses (e.g., ascii vs unicode char. sets) and edits can be preserved for the next user. In practice, people just dump selected refs to a bib file, make the .bbl file, and fix problems there, so fixes rarely make it back to the master database. If they did, we would still have accents and quote marks being switched back and forth depending on who last used the entry. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] bib module and pdftex 1.40.7: Virtual memory exhausted using MiKTeX-2.7
Consider the trivial test file: - % example from: http://wiki.contextgarden.net/Bibliography % Format using: % $ texexec --once t-cont % $ bibtex t-cont % $ texexec t-cont \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=xampl] \starttext As \cite[article-full] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext - Following instructions: - texexec --once bibdemo TeXExec | processing document 'bibdemo' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | writing option file bibdemo.top TeXExec | using randomseed 595 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.141592-1.40.7 (MiKTeX 2.7) entering extended mode (bibdemo.tex ConTeXt ver: 2008.01.28 21:28 MKII fmt: 2008.2.18 int: english/english [] Output written on bibdemo.pdf (2 pages, 42919 bytes). Transcript written on bibdemo.log. pdftex: Virtual memory exhausted while trying to reserve 8 bytes for table ???. TeXExec | runtime: 2.828 --- I don't see this on my linux machines with older versions of ConTeXt and pdftex. Simple LaTeX documents and ConTeXt documents that don't use the bib module don't give the error, so it looks like the bib module reveals a bug in pdftex-1.40.n, for some n larger than 3. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] migrating to ConTeXt
On 12/24/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Sat, 22 Dec 2007, Gour wrote: 5) I read LaTeX in proper ConTeXt pdf, but I'm interested is there some helper to convert classical LaTeX book (book class) to ConTeXt? I've two books which I'm considering to publish as one (~1000p) in the future, so any help in conversion would be nice. I do this quite often (ConTeXt - LaTeX), so I am just writing my thoughts about this. A general purpose translator from ConTeXt to LaTeX is VERY difficult, because of the nature of both macro languages. However, it is relatively simple to convert a subset of one to the other. Currently, I write most of my papers in ConTeXt. For the final version of the paper, most journals want LaTeX. I know my style of writing ConTeXt, and can easily convert 95% percent of it to LaTeX using regular expressions (and have been thinking of exploring gema in more detail: http://gema.sourceforge.net/). It is easier to do the rest by hand rather than writing a script that takes care of all the corner cases. Usually it takes me around 2 hours to convert a (30-40 page) paper from ConTeXt to LaTeX. Since this needs to be done only once every six months or so, I have not spent too much time trying to optimize my approach. I think that the same will be true for conversion from LaTeX to ConTeXt. However, I would suggest that you start by writing some ConTeXt documents by hand, before you automate the conversion. This way, you will know what you want to achieve from a conversion script. This is consistent with my experience. I suggest that anyone considering such conversions creating a simple test document with one example of each construct you use. I took Lamport's sample2e.tex, added a figure and a table, and then made a context version which is part of my test suite for new tex installations. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Header unwanted on first page
On Dec 1, 2007 7:03 AM, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Hi all, I can't seem to see something which is certainly obvious! I have this in my setups: \setupheadertexts [section] \setupheader [style=\ss\xii] \setuphead[section][style=bold] I don't want the header to appear on the first page, I tried various solutions but failed so far. I use: \noheaderandfooterlines \setupheadertexts[text][XX][YY] -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] kpse.rb bad guess for distribution (web2c vs miktex)
I use MiKTeX's package manager to install updates on linux TeXLive. I put mpm in /opt/miktex/bin, which causes kpse.rb to deduce that distribution=miktex (rather than web2c). Here is a trivial patch that adds a test for mswin: $ diff -C 3 kpse.rb.orig kpse.rb *** kpse.rb.orig2007-01-11 11:52:06.0 -0400 --- kpse.rb 2007-11-23 12:59:11.0 -0400 *** *** 64,71 # @@distribution = 'miktex' if ENV['PATH'] =~ /miktex[\\\/]bin/o ! if ENV['PATH'] =~ /(.*?)miktex[\\\/]bin/i then ! @@distribution = 'miktex' unless $1 =~ /(texmf\-mswin[\/\\]bin|bin[\/\\]win32)/i end @@re_true = /yes|on|true|1/i --- 64,71 # @@distribution = 'miktex' if ENV['PATH'] =~ /miktex[\\\/]bin/o ! if (Config::CONFIG['host_os'] =~ /mswin/) (ENV['PATH'] =~ /(.*?)miktex[\\\/]bin/i) then ! @@distribution = 'miktex' unless $1 =~ /(texmf\-mswin[\/\\]bin|bin[\/\\]win32)/i end @@re_true = /yes|on|true|1/i -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Getting the default pdf fonts working on texlive 2007
On 10/26/07, Berend de Boer [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Guys, Just had sometime to update to texlive 2007 from the DVD that was on the shelf for quite some time. But as usual, the default postscript fonts don't work. Since I gave away my NeXT system, I no longer have Adobe fonts. Linux has (some version of) the URW fonts, so that is what I use. Most of the font support in TL is for LaTeX. ConTeXt started out using plain tex mechanism and then took a different approach. Look for mfont.pdf on the ConTeXt site (I don't see it in TeX Live). It explains how to generate the missing map files as well as the typescript. You might look into XeTeX and (eventually) luatex, which are supposed to make it easier to use system fonts. Setup: default texlive 2007. No cont-sys.tex. I used updmap --edit to change LW35 to ADOBEkb. Here my test file: == \setupbodyfont [postscript,11pt] Try just [pos,11pt]. I get: (using the MKiV context with the svn version of TL, so your results may not be quite the same, but this stuff shouldn't have changed much. [...] fonts : using map file: ec-urw-times {/Data/opt/tex/texlive/svn/Master/../../../MKiV/tex/texmf-fonts/fonts/map/pdfte x/context/ec-urw-times.map} fonts : using map file: ec-urw-helvetica {/Data/opt/tex/texlive/svn/Master/../../../MKiV/tex/texmf-fonts/fonts/map/pdfte x/context/ec-urw-helvetica.map} fonts : using map file: ec-urw-courier {/Data/opt/tex/texlive/svn/Master/../../../MKiV/tex/texmf-fonts/fonts/map/pdfte x/context/ec-urw-courier.map} fonts : using map file: original-youngryu-tx {/Data/opt/tex/texlive/svn/Master/texmf-cont/fonts/map/pdftex/context/original- youngryu-tx.map} [1.1] systems : end file test at line 10 ){/Data/opt/tex/texlive/svn/Master/texmf-dist/fonts/enc/dvips/base/8r.enc}/Da ta/opt/tex/texlive/svn/Master/texmf-dist/fonts/type1/urw/helvetic/uhvr8a.pfb/ Data/opt/tex/texlive/svn/Master/texmf-dist/fonts/type1/urw/times/utmr8a.pfb Output written on test.pdf (1 page, 13169 bytes). -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] luatex on debian
debian (unstable,testing?) users can get a snapshot release of luatex in apt package form. This works for me, but there are a few things that needed slight adjustment, so I wanted to report them here to encourage others to start testing it. I needed to set TEXMF=/etc/texmf. Luatools doesn't seem to handle the {..} in the variables that are combined in TEXMF. Also, when it didn't find AlProTex.sty, the message indicated that it couldn't find AlProTeX.sty ('x'--'X')! For testing, you can just set some simplified TEXMF, e.g.,: export TEXMF={$HOME/texmf,/usr/local/texmf,/usr/share/texmf-texlive,/usr/share/texmf} or you can edit /etc/texmf/texmf.d/05TeXMF.cnf to simplify things like: TEXMFDIST = /usr/share/texmf-{texlive,tetex} In my case, I no longer have texmf-textex, so this became just TEXMFDIST = /usr/share/texmf-texlive Then run: update-texmf and luatools --generate You can check the TEXMF variable with: $ luatools --expand-var TEXMF More tests to make sure the configuration is working: $ luatools msam7.afm /usr/share/texmf-texlive/fonts/afm/bluesky/ams/msam7.afm Then build the format: $ luatools --ini --verbose --compile cont-en and compile something: $ texexec --luatex foo TeXExec | processing document 'foo' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file foo.top TeXExec | using randomseed 967 TeXExec | tex engine: luatex TeXExec | tex format: cont-en This is luaTeX, Version 3.141592-beta-0.11.2-2007092410 (Web2C 7.5.6) (./foo.tex ConTeXt ver: 2007.09.28 16:52 MKIV fmt: 2007.10.12 int: english/english [...] -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Too small { in the fourier font
On 8/30/07, Mikael Persson [EMAIL PROTECTED] wrote: Hi all, when using the fourier font I get the wrong size of the opening { in the \startcases \stopcases environment. The following small example shows the problem and it fails both at my place and at http://live.contextgarden.net/ I wonder if this is the missing design size in lm fonts problem. Using ConTeXt ver: 2007.08.23 the sizes look OK for me. \usetypescript[fourier][ec] \setupbodyfont[fourier,10pt] \starttext \startformula f(x)= \startcases \NC 1 \MC x0\NR \NC 0 \MC x0\NR \stopcases \stopformula \stoptext I run the minimal ConTeXt, from 8th of august: ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2007.8.26 int: english/english Moreover, if I comment the first lines out above, the opening { is stretched correctly (in latin modern). Any ideas? Best regards, Micke P ___ 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 ___ -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Too small { in the fourier font
On 8/30/07, Mikael Persson [EMAIL PROTECTED] wrote: Update: This seems to be a problem that is introduced after 20070403. I am running that version at work (minimal installation on linux there aswell), and there it looks OK with the fourier fonts. There have been some major changes in font handling. It turned out that the lm fonts didn't define a design size but apparently it didn't matter until quite recently, and then more recently a workaround was added. I wouldn't be surprised to see the problem in other fonts either because they use lm for some glyphs or because they were created using the same toolchain. Another problem is given by $\hat f$. In the older one it looks OK, but in the newer the hat is placed wrongly. New minimal example that shows both these problems: \usetypescript[fourier][ec] \setupbodyfont[fourier,10pt] \starttext \startformula \hat f(x)= \startcases \NC 1 \MC x0\NR \NC 0 \MC x0\NR \stopcases \stopformula \stoptext Any ideas? I don't want to switch back to ver 20070407 if it is not necessary... I'd try the latest version first. Normally I have my systems configured with a separate texmf-cont tree that I link to cont-tmf-date so I can very quickly switch versions. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] plain tex, context and latex
On 8/27/07, Liesbeth van der Plas [EMAIL PROTECTED] wrote: Really!. That's really a disadvantage of Latex! I thought Knuth's primitives plus macro's were together 'plain tex' and thus untouched in both Context and Latex. No -- in some cases there are real conflicts, but in this case, you might get away with just pasting lines 598--632 from plain.tex, bracketed with \makeatletter and \makeatother (which will also be needed around your table). \documentclass{minimal} \makeatletter \newif\ifus@ [EMAIL PROTECTED] [...] [EMAIL PROTECTED] \makeatother \begin{document} \input tufte \makeatletter $$\vbox{\settabs 3\columns \+This isa srangeexample \cr \+of displayedthree-columnformat.\cr}$$ \makeatother \end{document} Thanks for your help. The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well? What part of amstex?The math-ams module defines characters, but I'm not sure about some of the advanced layout stuff. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] lost after upgrade
On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Le 27 août à 12:38:38 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: | Hi all, | Yesterday I issued: | ctxtools --updatecontext | and everything seemed as usual. | But when trying to compile a standard file, I get: | ... | ConTeXt ver: 2007.08.20 22:17 MKII fmt: 2007.8.21 int: english/english | | language: language en is active | system : cont-new loaded | (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex | | FatalError : Your format does not match the base files! | | FormatVersion : 2007.08.20 22:17 MKII | FilesVersion: 2007.08.27 09:11 | ... | | and it fails. I tried to go to all the steps described in the wiki (for | texlive install), no joy :-( | Try | kpsewhich cont-en.fmt | or |locate cont-en.fmt (after running updatedb) | It should point you to [something]/we2c/pdftex/cont-en.fmt | Remove all the .fmt files inside that folder | ([something]/we2c/*/*.fmt): well, at least cont-en, you may leave the | latex format files untouched if any. | Then run | texexec --make --all | and try again. Thanks Mojca, But strangely I got the same message after rebuilding! Then I remove again the fmt files and try ctxtools --updatecontext again; same thing again! I also tried with another file, no more success! Did you do the step of finding and removing all the old .fmt files? On my system, fmtuil-sys puts the cont-en.fmt formats in texmf-var/web2c/pdftex/ and texmf-var/web2c/xetex/, but the context tools put them under texmf-config, so it is all easy to end up with multiple versions of the .fmt files. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] lost after upgrade
On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Le 27 août à 17:29:24 George N. White III [EMAIL PROTECTED] écrit notamment: | Did you do the step of finding and removing all the old .fmt files? | On my system, fmtuil-sys puts the cont-en.fmt formats in | texmf-var/web2c/pdftex/ and texmf-var/web2c/xetex/, | but the context tools put them under texmf-config, so it | is all easy to end up with multiple versions of the .fmt files. OK, things are back to normal now after I removed cont-en.fmt and cont-nl.fmt from my home ~/.texlive2007/texmf-var/web2c/pdftex and /xetex, I still don't see where this problem came from as it is not the first time I did an update. The format files in ~/.texlive2007 are generated by fmtutil --all. I try to remember to use fmtutil-sys --all so they go in texmf-var. The files were not recreated by texexec --make --all. I doubt texexec knows about ~/.texlive2007 -- that was done so individual users on multi-user systems could make personal formats without the need for the intervention of an adminstrator. For safety you might want to disable context in the fmtutil configuration. I tend to do a fair bit of pdftex testing so it is convenient to get the cont-en format when I build the others. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] Learning ConTeXt
On 8/20/07, Saji Njarackalazhikam Hameed [EMAIL PROTECTED] wrote: [...] And then there is the wiki: http://wiki.contextgarden.net Highly recommended. I think the best way to learn is by trying to make the document you want in ConTeXt and asking questions to the mailing list when you cannot figure out how to do it. Another strategy is to find a document that can serve as a template for what you need. The wiki provides examples of fragments to do a particular task, and there are lots of examples of complete documents available, including the pdftex manual and various slide presentations. * Istvan Hollerbach [EMAIL PROTECTED] [2007-08-20 12:24:04 +0200]: Hi Everybody, I want to learn ConTeXt, but 'cont-enp.pdf' and 'mp-cb-en.pdf' do not explain many things in detail, for example the parameters of command \setuplayout on the page 24 of cont-enp.pdf. Or am I careless? How shall I start to learn? And how shall I go on learning? Best regards, Istvan Hollerbach -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] starting out with MKiV -- oversized math fonts
On 8/19/07, Peter Münster [EMAIL PROTECTED] wrote: Or undersized bodyfont, since the bodyfont is smaller with luatex, than with pdftex. You are right -- it appears that \setupbodyfont[NNpt] only affects the math font, and that the default is 12pt. If I use NN=10, the fonts agree. A convenient way to check is \showfontstrip. So, how do I get 12pt body font using MKiV? -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] makempy (pstoedit - gs) hangs
On 7/30/07, Arthur Reutenauer [EMAIL PROTECTED] wrote: I have patched 'pstoedit.dll' version 3.44 (0x6B674: 0x20 -- 0x25) and so it works with gs 8.57 for me! (Yes, that 2-bit patch ;-) Great! In the mean time I exchanged mail with the author of pstoedit (thanks to someone who forwarded my previous mail to him ;-) and it should be fixed in the next release of pstoedit (3.45). Actually the problem was (of course) a bit more complicated than what I first described and there was a reason why getorigfont should call itself recursively; and why it wouldn't work with newer versions of gs (I can explain it in case anyone is interested). I'm interested, but it is good to post the explanation so it becomes part of the public record google can find. Problems like this have a way of cropping up many times -- it will be a few years before all linux distros have updated to the new version, and some will make backports of the patch. The next people who encounter this will benefit from seeing the explanation so they can make the fix in somewhat different versions of pstoedit.. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] makempy (pstoedit - gs) hangs
On 7/28/07, Wolfgang Werners-Lucchini [EMAIL PROTECTED] wrote: Hallo! Downgrading to gs version 8.11 does NOT help, but downgrading to 8.11 AND changing the makempy methode from pdf to ps helps! gs 8.57 hangs with ps too. If an ps guru can interpret the gs error message, I will send this of list!? The way to proceed is to come up with a minimal ps or pdf file that triggers the bug. It might help to pinpoint the problem if you can compare a mpy-foo-mpgraph.pdf that break pstoedit -f mpost with a different mpy-bla-mpgraph.pdf (or .ps) that works. Since pstoedit mucks with ghostscript's SYSTEMDICT it isn't surprising that problems arise for newer gs versions. Maybe it is time for ghostscript to get an mpost driver. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] PNG output
On 7/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process this via texexec --pdf to get a PDF file. I tried to convert the resulting PDF file via gswin32c to png but the resulting PNG output is not so good. Are you using the current version of gs? There have been changes to the font rendering over the years, so you want to try a current version. A quick way to get a second opinion is to install the emacs+auctex bundle for Win32 to see how you like the preview images. What does not so good mean -- there are lots of parameters to adjust anti-aliasing, color models, and resolution with gs, but I'm not sure about things like gamma. ImageMagick's convert may provide an easier interface. If you are using pk fonts you may encounter problems if the fonts resolution isn't compatible with the output resolution. Then I read dvipng could do the job, which means I have to produce dvi output via texexec --dvi but than I get complaints from dvips that it cannot find the file tex.pro for the specials. However a png file is produced. Help appreciated In the long run, using pdf has the advantage that the tools are supported by a much wider community than the small set of people who have heard of .dvi format. The number of people who would be affected by a problem in gs rendering is orders of magnitude larger than the number who would notice a problem with dvipng. The latter group can always switch to pdf and gs, while the former group doesn't have viable alternatives. As a result, assuming the problem is not related to TeX-specific font formats, it is very likely that gs can do what you need today and that future version on future platforms will also work. If you are still having problems, provide a minimal example (.tex source and .png image) along with the software versions so others can try to reproduce the problem. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] PNG output
On 7/12/07, zs [EMAIL PROTECTED] wrote: Try this: gs -sDEVICE=png16m -r200 -sOutputFile=formula.png -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4\ -dMaxBitmap=5000 formula.pdf You may play with -r parameter. You can also make a big picture and downsize it with proper interpolation. These incantations come from ghostscript's Use.htm document.. If you don't need color, you can try -sDEVICE=pnggray. Note that this uses anti-aliasing, which looks better on a screen but may cause problems on typical laserprinters (some may refuse to print, others will try to render the grays by dithering). On Thu, 12 Jul 2007 21:28:32 +0200 (CEST) [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process this via texexec --pdf to get a PDF file. I tried to convert the resulting PDF file via gswin32c to png but the resulting PNG output is not so good. Then I read dvipng could do the job, which means I have to produce dvi output via texexec --dvi but than I get complaints from dvips that it cannot find the file tex.pro for the specials. However a png file is produced. Help appreciated TIA Wim ___ 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 ___ -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] texexec+mpost cmr10 vs CMR10 trouble using dvips backend
On 4/16/07, Sanjoy Mahajan [EMAIL PROTECTED] wrote: can also try to create the pd file by hand with dvips -Ppdf test, that gave a correct output on my system. Thanks, that works. I guess -Ppdf tells it to use map files that find the type1 fonts, so cmr in the metapost figures is replaced by the lmodern .pfb. Oh, that's not what happens: it instead finds the cmr10.pfb and includes it correctly. So the final document uses lmodern for the page number (from the ConTeXt src file) and cmr10 for the 'hello' from the metapost figure. This is a hint that the underlying problem is related to map files. With the lm-rep maps the cm hello should become lmodern. Though I'm a bit scared of -Ppdf from years ago when I think it caused encoding problems. A few characters didn't show up correctly in the pdf file, but only when using non-cmr fonts. I think that was fixed long ago, but I rarely use .dvi anymore. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec+mpost cmr10 vs CMR10 trouble using dvips backend
On 4/15/07, Sanjoy Mahajan [EMAIL PROTECTED] wrote: If you set prologues := 1 in the mp file, that should help. That still gave Courier fonts after including fig.1 in test.ps. In a new metapost (texlive2007) you can even generate an image with the font included by using prologues := 3. That worked. [I'm using MetaPost 0.993 (Web2C 7.5.6) from the Debian texlive2007-2 packages.] From p.24 of the corresponding mpman.pdf manual: It is worth noting that the default value prologues:=0 is sufficient for graphics included in TEX-based documents. Does that need a slight exception added to it? Or have I misconfigured something in the toolchain from .tex + .mp to .ps? By the way, the figure works fine with prologues := 0 if I include it (using epsf.tex) in a plain-TeX document. Your ConTeXt example is using the default latin modern fonts. The reason the mpost files work with plain TeX is that the cm fonts are being used by plain tex, so the fonts are already defined in the .ps file when the font commands in the figure file are found. So I think there's something slightly off about what ConTeXt is doing. On my systems I have modified the map files to use the lm-rep map files (so cm fonts are replaced by lm fonts). Your example works for me with TL2007 on FC5 in both plain tex and context. In context, I see: TeXUtil | tuo file saved This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2007.04.15:1332' - t.ps tex.prolm-ec.enclm-rep-cmrm.encfinclude.protexps.prospecial.pro. lmr10.pfblmr12.pfb[1./fig.1] TeXExec | runtime: 6.214806 The resulting .ps file has: %%BeginFont: CMR10 %!PS-AdobeFont-1.0: LMRoman10-Regular 1.010 while for plain tex (using dvips -P pdf ...): This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2007.04.15:1327' - pt.ps tex.proalt-rule.prolm-rep-cmrm.encfinclude.protexps.pro special.pro. lmr10.pfb[1fig.1] For debian, the procedure for changing updmap.cnf has been debianized, but it is mentioned in the README for the lmodern package (watch out for a typo in the example entry: test -- text). If you do this, you might want to include the following: $ cat lm-subset-ams.map # AMS fonts not provided by lm-rep # needed with the lm-rep maps to avoid duplicate entries from the ams maps # msbm msbm5 MSBM5 msbm5.pfb msbm6 MSBM7 msbm7.pfb msbm7 MSBM7 msbm7.pfb msbm8 MSBM7 msbm7.pfb msbm9 MSBM10 msbm10.pfb msbm10 MSBM10 msbm10.pfb -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt, XeTeX, ect was Re: OpenType in Windows
On 4/5/07, Andrea Valle [EMAIL PROTECTED] wrote: I'm a bit confused. Still can't have a clear frame of -TeX stuff. What does this exactly mean (from wikipedia)? XeTeX works well with both LaTeX and ConTeXt. In the beginning there was tex, a program. I know people who create documents using low-level tex markup, but most people rely on a macro package to define high-level markup. In the early days, tex was often used with a simple macro package called plain. Then, for people with nice minicomputers, Lamport wrote a macro package called LaTeX, which was used with the same tex program and remains popular today. ConTeXt includes yet another macro package, but is really a system with lots of useful tools. Along with the tex program, there was a system to create fonts, but meanwhile other font fomats have become widely adopted, and people have found ways to use these commercial fonts and formats with tex, but for the most part, fonts used with tex are separate from the system fonts and configuring a new font for use with tex is not a simple process. These days people rarely use the (current version of) the original tex program because we have pdftex, which can be used to format documents using the plain or latex or context macros to create .pdf directly as well as .dvi files, and xetex, which can also be used with the same list of macro packages to create .pdf or .xdv (replacement for .dvi). The main advantage of xetex is that it supports system fonts directly. It is, however, new, so there could be glitches. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=latex has lots of useful information The xetex web site has examples and a FAQ. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] OpenType in Windows
On 4/4/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, I heard that Mac users can typeset in ConTeXt with OpenType fonts. Is it possible on Windows platform? (either in MiKTeX or TeXLive?) This uses xetex. It works for sure if you count running the linux version of TeX Live 2007 in a virtual machine, and very likely will work in native Win32, but I haven't tried it. Note that maths still uses the conventional math fonts (e.g., Type 1). -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] pdfetex 1.40.1 + ghosscript problem? More findings
On 1/20/07, Michal Kvasnicka [EMAIL PROTECTED] wrote: Good evening. I found some more puzzling things. I write them here fore anybody who may be interested. :-) I tried to typeset a document using two font families: TrueType Gentium by SIL, and Adobe OpenType Myriad. First I converted Myriad to Type1 using fontforge, then I prepared metrics for all fonts with TeXFont using ec-lm encoding. I found this: (1) Any ConTeXt document produced by pdfetex 1.40.1 (even this one: \setupoutput[pdf] \starttext \input tufte \stoptext makes my GhostScript (gs Ghostscript 8.15.3 under SuSE Linux 10.1) die with this error: Warning: An error occurred while reading an XREF table. The file has been damaged. This may have been caused by a problem while converting or transfering the file. Ghostscript will attempt to recover the data. ERROR: /undefined in /BXlevel etc. There was a gs bug (#688787 /undefined in /BXlevel) for this error, but in that case the pdf file really was corrupt although the user said it worked with Adobe Reader. I tried your first test on Fedora Core 5 with TL2007 (test inst iso from 20070115) which also has a gs-8.15 version, and don't get an error. [EMAIL PROTECTED] TL2007]$ cat cont-try.tex \setupoutput[pdf] \starttext \input tufte \stoptext [EMAIL PROTECTED] TL2007]$ texmfstart texexec cont-try [...] This is pdfTeXk, Version 3.141592-1.40.1 (Web2C 7.5.6) \write18 enabled. %-line parsing enabled. (/mnt/hdb/opt/tex/texlive/2005/texmf/web2c/natural.tcx) entering extended mode (./cont-try.tex ConTeXt ver: 2006.08.08 21:51 fmt: 2007.1.14 int: english mes: english [...] [EMAIL PROTECTED] TL2007]$ pdffonts cont-try.pdf name type emb sub uni object ID --- --- --- - ORKXYQ+LMRoman12-Regular Type 1 yes yes yes 5 0 [EMAIL PROTECTED] TL2007]$ pdfinfo cont-try.pdf Title: cont-try Subject: Keywords: Author: Creator:ConTeXt - 2006.08.08 21:51 Producer: pdfTeX-1.40.1 CreationDate: Sat Jan 20 15:29:21 2007 ModDate:20070120 Tagged: no Pages: 1 Encrypted: no Page size: 595.276 x 841.89 pts (A4) File size: 26205 bytes Optimized: no PDF version:1.5 -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt output commercial printing houses: Thanks!
On Mon, 26 Jul 2004, Brooks Moses wrote: At 11:15 PM 7/26/2004, you wrote: On Sat, Jul 24, 2004 at 03:21:39PM -0500, Bill McClain wrote: - Also, I don't know whether it is possible to downsample images in PDF's that you generate from ConTeXt. If it is, avoid it. That raises an important question: if downsampling is done, is it obvious what ConTeXt commands cause it to happen? There's, to my knowledge, no engine in pdfTeX for downsampling images; there certainly be one coded in ConTeXt. Thus, I'd be fairly confident in guessing that it is indeed, fairly obvious, on grounds that there are no commands which do that. As a general principle, it makes no sense for pdftex to provide image manipulation capabilities. Such capabilities are useful to a much wider audience than the users of pdftex, so there are lots of tools to do image resampling and format conversions. All that pdftex should do is support inclusion of pdf. The limited support for including png images is a convenience, but if you are being careful you would want to make pdf images. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Arabic-utf-8 (plus a sample)
On Sat, 5 Jun 2004, Idris Samawi Hamid wrote: Hi gang, For Arabic we use a Latin transcription in Aleph/(e-)Omega (or even ArabTeX) unless one of the encoding filters like utf-8 is used. Even for utf-8 files, however, it would be very useful to be able to convert a utf-8 file to Latin transcription for further processing by Aleph/(e-)Omega. For example, adding diacritics is much easier to do in Latin than in an Arabic script editor because Latin transcription is one-dimensional and adding diacritics to Arabic is a 2-dimen affair. The best thing would be a perl script but I don't know perl at all (except to run some some precreated scripts). If someone out of the kindness of their heart could write a short and simple script for just seven characters I could do the rest myself and present it back here. Can you use (or extend) GNU recode? It does include support for utf-8 and several TeX encodings. From the manual: It is easy for a programmer to add a new charset to `recode'. All it requires is making a few functions kept in a single `.c' file, adjusting `Makefile.am' and remaking `recode'. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TaBle example fails
On Tue, 30 Mar 2004, Christopher G D Tipper wrote: I am learning the TaBle package and I get the following from a verbatim example from the manual. ConTeXt uses heavily modified macros. There is \ObeyTableBarAndQuote, but you still need to use the ConTeXt versions of the macros. See core-tab.tex. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TaBlE Issues
On Tue, 2 Mar 2004, Nikolai Weibull wrote: * George N. White III [EMAIL PROTECTED] [Mar 01, 2004 18:30]: You need the printed manual for the TaBlE package, which will suggest something alone the lines: Hm, and this manual has to be ordered? No downloads? Yes, AFAIK: http://www.pctex.com/additional.html#tablemacro \starttable[|l|lp(120pt)|] \NC Something \NC Long description ... \input tufte \NC\AR \stoptable Great. One problem however, what if you wan't all space not consumed by the previous columns? Too much to ask? Too much to ask me. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] live ConTeXt
On Tue, 17 Feb 2004, Piotr Kopszak wrote: As there are plenty of live linux distributions on CDs I was wondering if there is one that includes ConTeXt. It should be relatively easy to make one based on KNOPPIX (my computer is too weak though). Please, let me know if you find one. ConTeXt often needs little fixes, so a simple way to install updates and generate new efmt files is needed. Thus it isn't really practical to rely entirely on a CD-based distro, and in any case, you need something other than ram to write the output files. You will do better to stick with a robust distro like knoppix and find a way to use ConTeXt. XP users can have texmf trees in their hard disk user data area that knoppix can read, but writing to NTFS seems a bit dodgy. Knoppix does, however, include everything you need to create user accounts with specific UID/GID and mount NFS directories, so if you can arrange a suitable NFS server, everything can live there. All this can be done using knoppix.sh to start the necesary services and unpack a new home directory from a user.tbz file. You will need to save a configs.tbz after adding the required group and user passwd entry (vigp, adduser, vipw, etc) and creating an fstab entry for the nfs mount. Here is the relevant section from a tweaked knoppix.sh: echo [1mStarting daemons...[0m for i in ifupdown networking portmap nfs-common sysklogd ; do [ -x /etc/init.d/$i ] /etc/init.d/$i start; done [ -d $1 ] CONFIGS=$1/TEXUSER.tbz [ -f $CONFIGS ] || CONFIGS=/mnt/floppy/TEXUSER.tbz if [ -f $CONFIGS ]; then echo ^[[1mExtracting config archive $CONFIGS...^[[0m tar -jpPxf $CONFIGS ; chown -R UID.GID /home/TEXUSER fi mkdir /mnt/NFS_SERVER mount /mnt/NFS_SERVER The usual config.tbz file will provide modified fstab, group, passwd, etc. files. The TEXUSER.tgz file can provide scripts to add TeX to the user's PATH, etc. Use su TEXUSER to become the new user. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Install again
On Tue, 30 Dec 2003, John Culleton wrote: I installed a fresh TeX installation form the TeXLive installation disk. I did the usual things, like convert Texexec.rme to texexec.ini, move texexec.pl to /usr/TeX/bin/ i386-linux/texexec, run fmtutil and texexex -make --all en nl metafun and the rest. I ran fmtutil --all and texhash. I have done the essentially same for SGI Irix and linux (at home), and also installed pdftex-1.11b from source and a newer cont-all.zip. I do keep my existing texmf-local/context/config/texexe.ini. I can't reproduce the problem on Irix using acroread 4. Bottom line programs that compile clean and operate properly under my old installation (still available) don't do so under the new installation. For example the sample program d-en-all will compile without errors but the interaction is kaput and nothing shows up in the TOC. The exact same files in the exact same directory will however work when I boot up my old partition. I did a diff on the two log files and here is what it shows: 1c1 This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) (format=cont-en 2003.12.30) 30 DEC 2003 15:31 --- This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) (format=cont-en 2003.10.15) 30 DEC 2003 14:34 d-en-all works here (except for the missing graphics): This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2) (format=cont-en 2003.10.14) 31 DEC 2003 08:11 3a4 (/usr/TeX/texmf/web2c/cp8bit.tcx) 7c8 ConTeXt ver: 2003.12.18 fmt: 2003.12.30 int: english mes: english --- ConTeXt ver: 2003.9.25 fmt: 2003.10.15 int: english mes: english ConTeXt ver: 2003.9.26 fmt: 2003.10.14 int: english mes: english Thinking the problem might be with the 2003.12.18 version of ConTeXt, I installed http://www.pragma-ade.com/context/cont-tmf.zip and rebuilt the formats: ConTeXt ver: 2003.12.18 fmt: 2003.12.31 int: english mes: english I also checked the default texexec.ini: $ mv ./context/config/texexec.rme ./context/config/texexec.ini $ texhash . texhash: Updating /user/gwhite/texmf/./ls-R... texhash: Done. The next step would be to compare texexec --verbose for the two configurations, and also the contents of the .tuo and .tui files. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Perl scripts almost unusable under Win32 MiKTeX
On Tue, 23 Dec 2003, Giuseppe Bilotta wrote: Recent ConTeXt updates have rendered some Perl scripts (texshow.pl modules) unusable under MiKTeX because they heavily rely on web2c methods to find binaries and complementary files. And probably under fptex (e.g., TeX Live 2003) if you have spaces in paths (I tried to eliminate spaces in paths when I ran into problems, so I don't know if the subsequent changes have fixed this). Fptex caches the kpathsea lists in shared memory, which is a big performance boost for slower machines on fat32 (but also comes with some caveates -- RTFM). The recent (Dec. 18th??) updates to fptex seem at long last to work properly on Win9x, Win2k, and WinXP. The TeX Live 2003 page has a link to the fptex update page, but the URL for the updates seems to have died with the recent prohibition against symbolic links, so you will want to edit the properties for Maintenance/Add packages to change the command line to use you favorite CTAN mirror, e.g.,: C:\texLive\bin\Win32\TeXSetup.exe --add-package --remote-source-directory ftp://ctan.cms.math.ca/tex-archive/systems/win32/fptex/0.7/. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Update failure: I'm losing my mind
On Thu, 11 Dec 2003, Gary Pajer wrote: C:\Documents and Settings\Gary Pajer\My Documentstexexec --verbose TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003 current path : C:/Documents and Settings/Gary Pajer/My Documents locating ini file : not found by kpsewhich locating ini file : not found by searching locating ini file : no environment variable set locating ini file : not found in own path warning : texexec.ini not found, did you read 'texexec.rme'? It's really not finding it. The thing that surprises me is that no-one else has mentioned this. That's why I keep thinking that I've done something wrong. Maybe trying to run ConTeXt with MikTeX instead of using TeX Live 2003, or trying to run ConTeXt in a Win32 configuration that puts spaces in the paths? We are running ConTeXt under TL2003 (with a newer cont-tmf.zip and pdftex 1.11b) on SGI Irix because the Win32 PC's I tried did not survive the experience. At home I find TL2003 (same updates) works well on linux. The unix systems don't let spaces into paths (and did fail in pre-release testing if I tried to run in a directory like a b). I reported the above problem with the TL2003 pre-release tests. Using the current cont-tmf.zip gets you a TeXExec 4.0 that seems more robust, but that could be because I also abandoned a configuration that puts spaces in the paths (e.g., install to C:\TeXLive and set HOME=C:\Home). One system (Win98) had problems with forward slashes in the argument to perl's backtick, but then the hard disk failed and I've been waiting since Sept. for the warranty replacement to arrive. TeX Live 2003 texexec seems to be hard on PC's -- maybe because when kpathsea fails texexec.pl recursively searches the drive for the ini file. In any case, after the 1st PC died I tried to install TL2003 on another machine which also failed (terminal overheating) while creating formats after installing the fpTeX updates. Maybe cheap PC clones can't tolerate ls-R too many times in a short time period. btw -- before the machine died I did notice that the new version of fpTeX has a 1.11b pdftex. I've been asked to put TL2003 on a ThinkPad running XP -- hope it survives the experience! -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Permission denied
On Wed, 19 Nov 2003, Idris S Hamid wrote: Thnx Ed and Giuseppe 4 your help direction. Question: When backing up to cd is there any way to maintain write-permission upon retransfer to hard disk? I use Nero for back-up. This is getting off-topic I know... I assume you use Win32. Create an archive (.zip) or use a backup utility. I use Norton/Symantec ghost, which can make an image of a disk partition onto a set of CD's, a different drive/partition, or via network on another machine's local disk. There is a utility like windows explorer to view the contents of an image fileset and copy out individual files. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: TeX Live 2003 miseries.
On Thu, 16 Oct 2003, Hans Hagen wrote: At 01:11 15/10/2003, you wrote: 1. the perl scripts were confused by the embedded spaces in the default c:\Program Files\.. install path. In general, ConTeXt does not play well for paths that have embedded spaces. http://www.pragma-ade.com/context/mswintex (just runsetuptex,bat in the path where it is) http://www.pragma-ade.com/context/linuxtex (run setuptex and generate formats) is the minimum that you need for context. For windows the trick is in using irun in the right way, i.e. either use a full path spec or something relative like ../../whatever (which is what i've done there); i didn't test it for program files The other place where spaces cause problems is in the user's HOME directory. TeXLive looks in %HOME%/texmf, and texexec creates a texfilename.tmp with a reference to %HOME%. On my brief foray into WinXP the default HOME location had a space. We are expecting a bunch of Win9x users (currently with 4allTeX) to be converted to WinXP using a departmental standard configuration, and I need a full TeX that will play nicely with that (I did suggest that our users would be better off running linux in vmware). -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia, Canada ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX Live 2003 miseries.
On Mon, 13 Oct 2003, John Culleton wrote: I installed the latest version of TeXLive 2003 (the so-called demo version) and did the fmtutil and texhash bit. When I ran a job for a customer, texexec hung up at the point where a graphic was being loaded. So I went back to last year's texlive in a terrible hurry. That worked fine. What platform? I tried to install various rc's on Win98 and ran into numerous problems: 1. the perl scripts were confused by the embedded spaces in the default c:\Program Files\.. install path. In general, ConTeXt does not play well for paths that have embedded spaces. 2. the perl scripts search the PATH directories and supply a the full pathname of programs (e.g., /texLive/bin/Win32/kpsewhich.exe) to perl's backtick. This failed when running texexec.exe in a command.com window, Replaceing the / with \ helps, but there were too many places to fix in the time available, and meanwhile the disk on the system I was borrowing died (due, I am quite sure, to overextertion caused by the direct searching of the texmf trees for texexec.ini when kpsewhich failed to run). On Mandrake linux 9.0 and SGI Irix 6.5 TeXLive 2003 (full install) works fine (using the current cont-tmf.zip which is a few days newer than the version in TeXLive 2003). The perl scripts have not changed. Earlier, when TeXLive 2003 was still in beta they left out texexec altogether. On unix they just forgot to make some symlinks, the perl scripts were there. On Win32, I used Active State perl.exe to run the scripts. Has anyone else tried Context using graphics on TeXLive 2003? I hate to report a bug to Tug if my experience is unique. OTOH if the iso image is defective in some way I do need to let someone know pronto. I'm not sure about the demo image. If you are using Win32, does texexec.exe find texexec.ini using kpsewhich? -- George N. White III [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: texfont and type-tmf.dat
On Tue, 14 Oct 2003, Nigel King wrote: Why do you whish to reinstall all the supplied fonts? Or do you just want to learn how to use texfont? I simply wish to use the fonts as most others do (I think) and I am unable to because of this bug. The normal context fonts do not exist on Gerben's version. Before Gerben's reorganisation they were made by texfont, this now does not work because of what I believe to be a simple (I do not understand Perl otherwise I would have a go at fixing it) bug in texfont. Maybe I am wrong but I am beginning to find this extremely frustrating (7 months). Once I realised that somebody was working on texfont 1.8 I had hoped for a fix. On all the systems I use, (linux, SGI Irix, Win32 with texLive) you have to run texfont to generate tfm's, vf's and map files for fonts other than CM. The last time I tried to run texfont (from the final TeX Live 2003 inst iso), it tried to use a lower-cased version of the install path, e.g., /opt/texline instead of /opt/texLive. If no developer/Perl expert has Gerbens version of tetex perhaps I could help debug if a version was supplied to me that printed out the full path that texfont was looking for files in. The --fontroot option or kpsewhich lookup appears to be at fault but I have no debugging facilities. Any suggestions (other than giving up) gratefully received. You will have to learn a tiny bit of perl (which is easier than learning TeX). -- George N. White III [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] RME and INI
On Mon, 6 Oct 2003, Pawel Jackowski na Onet wrote: Hi all! TEXEXEC documentation and self documented 'texexec.rme' file says that it should be copied to 'texexec.ini'. First of all; I have two 'texexec.rme' in TeX tree; first in ...TeX/context/config the second in ...TeX/context/perltk Files looks to be identical but and the second location has a priority. But which location is more convenient for texexec config file? You should put 'texexec.ini' in a local tree, e.g., texmf-local, so it is easy to find when you upgrade, e.g., texmf-local/context/config The second question is WHY I have to copy 'texexec.rme' to 'texexec.ini'? If I do so and change some settings in 'texexec.ini' and than run 'texexec --verbose', I can see that settings are still taken from 'texexec.rme'. Could You tell me what is the point in copying RME to INI and when INI file is used instead RME? Did you run mktexlsr? What do you get from: 'kpsewhich -progname=context -format=other text files texexec.ini'? -- George N. White III [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texshow (was: keywords)
On Sat, 4 Oct 2003, Steffen Wolfrum wrote: OK, use only with X11. So I started X11 and entered texshow in xterm: Can't locate Tk.pm in @INC (@INC contains: /usr/local/teTeX/share/texmf.local/context/perltk/ /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl .) at /usr/local/teTeX/share/texmf.local/context/perltk//cont_set.pm line 59. BEGIN failed--compilation aborted at /usr/local/teTeX/share/texmf.local/context/perltk//cont_set.pm line 59. Compilation failed in require at /usr/local/teTeX/share/texmf.local/context/perltk/texshow.pl line 57. BEGIN failed--compilation aborted at /usr/local/teTeX/share/texmf.local/context/perltk/texshow.pl line 57. Does anybody has an advice on how to use actually texshow? Tk.pm is a perl module. It was missing on SGI Irix too. Perl has a tools to automate the installation of modules, but you may need some libraries as well (Tk/Tcl, compression, etc.) which can either be installed under Perl or for use with other applications. You will need the developer tools if you build the module from sources. -- George N. White III [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Re: problems with embedded spaces in file paths (Win32)
On Wed, 17 Sep 2003, Mari Voipio wrote: It does not seem to bother TeXLive ConTeXt that the .tex files are in a path with couple of spaces (like c:\Documents and Settings\Mari\My Documents\ConTeXt\test.tex) as long as TeXLive itself is installed somewhere without spaces. This morning I uninstalled the Sept. 5 rc and installed today's (Sept. 18) rc in C:\TeXLive on a Win98 system with HOME=c:\home to avoid all cases where spaces get into file paths. Again, kpathsea run via the command line found my texexec.ini, but the irun generated texexec.exe failed to find it. This time I modified sub found_ini_file in texexec.pl to replace the / with \ in $kpsewhich. This is rather odd, as in most cases not involving a command line you can use / in file paths. There are probably other places were backtick is used that will require the same change, and they are only to be used for $dosish systems. It is past my bedtime, so I'll have to cut this short. Weather permitting, I'll be out of the office until October, but I'll try to post some reasonable patches at the earliest opportunity. -- George N. White III [EMAIL PROTECTED] ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context