Re: [NTG-context] Ubuntu and Context MKIV
On Sat, Aug 21, 2010 at 11:58 AM, Xan 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 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] Typeface - simple example
Hi, finally I figured it out :-) I entered the working example into the wiki: http://wiki.contextgarden.net/Simple_Typescript_Example and linked it into the catogory »Fonts« and at the page »Fonts in LuaTeX« under »2.2.3 Very simple example of typescript«. You know the best where to link it inside your wiki so feel free to change it if you think. Maybe the title also should be changed into »Simple Typescript / Typeface Example«. Hope it will helps other. Ciao ___ 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] textext vs. btex ... etex
On 08/21/2010 04:24 PM, Oliver Buerschaper wrote: Now onto step two: how can I typeset each glyph in the formula individually such that it appears precisely in the right location? I must be misreading something here, but I cannot figure out what 'the right location' means. Best wishes, Taco ___ 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
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!!! 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 ___
Re: [NTG-context] textext vs. btex ... etex
>>> so, if in mkiv you want pieces, you need to textext each snippet that you >>> want as such >> >> Alright... in that case how would I make sure that all glyph positions are >> kept if my TeX material is, say, some complex formula? How could I find the >> baseline with textext? > > see mp.mplib for all those anchor points OK. I found in mp-mplib.mp that rawtextext() does what I was looking for... the baseline is anchored to the current point: --- \setupbodyfont[10pt] \starttext \startMPinclusions pickup pencircle scaled 0.05pt; defaultpen := savepen; picture crosshair; crosshair := image(draw fullcircle scaled 2pt; draw (0,-2pt)--(0,2pt); draw (-2pt,0)--(2pt,0); ); bboxmargin := 0; \stopMPinclusions \startMPpage for item within rawtextext("$(h,g)$"): draw bbox item withcolor 0.8white; draw item; endfor; draw crosshair; \stopMPpage \stoptext --- This solves step one! Now onto step two: how can I typeset each glyph in the formula individually such that it appears precisely in the right location? Thanks, Oliver ___ 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] ConTeXt meeting Lua tutorials
On Sat, Aug 21, 2010 at 1:48 PM, Taco Hoekwater wrote: > Hi all, > > Today I started preparations for my activities at the ConTeXt meeting. > > There are two small lua tutorials in the program, and I am looking > for input on both. There is one that is supposed to be a general > beginner's introduction, and one specifically about fonts. > > For both, I am looking for input on what subjects I should cover? > 1)data description (cfr. http://www.lua.org/pil/10.1.html ) for beginner 2)a luatex program similar to showttf for fonts tutorial -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adding supplemental information to entry in list of figures
On 20-8-2010 6:23, Elias Oltmanns wrote: Hi all, \nolist{}, I understand, is used in headings and presumably in captions as well to exclude parts of the heading / caption from the automatically generated list of contents or floats. Now, my question is what the canonical way would be to add information to an entry in a list of figures that doesn't appear in the caption to that figure; indeed, it might be desirable sometimes to specify the entry in the list of figures independently of the caption, very much like the LaTeX command \caption[entry text]{caption text} does. for sectioning it's \startchapter[title=aa,bookmark=bb,list=cc,marking=dd] ... \stopchapter or in the latest beta \chapter[title=aa,bookmark=bb,list=cc,marking=dd] but for figures etc I haven't done that yet (no big deal as the only thing needed is the interface) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ConTeXt meeting Lua tutorials
Hi all, Today I started preparations for my activities at the ConTeXt meeting. There are two small lua tutorials in the program, and I am looking for input on both. There is one that is supposed to be a general beginner's introduction, and one specifically about fonts. For both, I am looking for input on what subjects I should cover? Since both tutorials will end up as articles/wiki pages, it makes sense to ask everybody on the list for input (but requests by actual attendees will be scored considerably higher). Best wishes, Taco ___ 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 ___