Re: [NTG-context] Utopia and Fourier fonts
On Mon, Sep 29, 2008 at 10:22 PM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > Am 29.09.2008 um 20:35 schrieb Mikael Persson: > >> On Mon, Sep 29, 2008 at 11:56 AM, Wolfgang Schuster >> <[EMAIL PROTECTED]> wrote: >>> >>> Am 29.09.2008 um 11:31 schrieb Mikael Persson: >>> On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > Am 28.09.2008 um 21:21 schrieb Aditya Mahajan: > > Some comments: > * As a mathematician I was a bit tired of the computer modern > fonts (I > really like them, but I see them to often), so I decided to go > with > the utopia/fourier fonts. This forced me to work with mkii, > since I > did not get these fonts to work with mkiv (This is still a > problem, I > am not sure how to go on with it for future documents). looks quite nice, i also like the font size >>> >>> Thanks. What about getting these fonts to work in mkiv? Must >>> there be >>> some change in the fonts? Some files in ConTeXt? (they were >>> perfectly >>> working in older mkii) >> >> Fourier and Uptopia should work with mkiv. I will check why they >> are >> not >> working at present. > > Utopia use "encoding-filename" and MkIV needs the "filename" to > load > the fonts. > > Here is a complete typescript for utopia (without fake slanted and > caps style). > > \starttypescript [serif] [utopia] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [Utopia-Regular] > \definefontsynonym [SerifItalic] [Utopia-Italic] > \definefontsynonym [SerifBold] [Utopia-Bold] > \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] > \stoptypescript > > \starttypescript [serif] [utopia] > \definefontsynonym [Utopia-Regular][file:putr8a] > [features=default] > \definefontsynonym [Utopia-Italic] [file:putri8a] > [features=default] > \definefontsynonym [Utopia-Bold] [file:putb8a] > [features=default] > \definefontsynonym [Utopia-BoldItalic] [file:putbi8a] > [features=default] > \stoptypescript > > \starttypescript [utopia] > \definetypeface [\typescriptone] [rm] [serif] [utopia] [default] > \stoptypescript > > \endinput > > Wolfgang Thank you Wolfgang, but this does not work for me with latest minimals. (I have downloaded utopia(+fourier) and they show up in mkii.) I put your lines in a file and add \setupbodyfont[utopia][ec/8r/...] %tried several and also without this last [] \starttext test \stoptext LuaTeX just compiles and replaces these fonts by lm. luatools putr8a.pfb gives the resulting location of the pfb file so it actually finds the font. Do I misuse it? >>> >>> Try my test file (I saved the typescript above in type-utopia.tex). >>> >>> \usetypescriptfile[type-utopia] >>> >>> \usetypescript[utopia] >>> \setupbodyfont[utopia] >>> >>> \starttext >>> >>> \tf ABC abc 123 \par >>> \it ABC abc 123 \par >>> \bf ABC abc 123 \par >>> \bi ABC abc 123 \par >>> >>> \stoptext >>> >>> Wolfgang >> >> Mojca did send me a list with the necessary files for fourier+utopia. >> I put them in >> >> http://www.math.chalmers.se/~mickep/fourierandutopia.zip >> >> if someone wants to test. I also attach a small (I guess noncomplete) >> typescript file type-myfourier.tex (the myfourier not to clash with >> something previously defined) and a file ftest.tex which indeed gives >> the fourier fonts, but with the error as in >> http://www.math.chalmers.se/~mickep/ftest.pdf mentioned in a previous >> mail. >> >> I guess this is not the correct way to write typescripts for these >> fonts in mkiv, but I dont know how to :( >> >> Best regards, Mikael >> >> PS: Thank you Mojca for giving this list of files and also explain >> which of the otf/ttf/type1 files that needs typescripts. > > Math fonts are not available in 'ec' encoding, you have to use 'default' > and why do you use the tfm files for Utopia, the afm files are enough. > > Here is my version: > > \starttypescript [serif] [utopia] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [Utopia-Regular] > \definefontsynonym [SerifItalic] [Utopia-Italic] > \definefontsynonym [SerifBold] [Utopia-Bold] > \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] > \stoptypescript > > \starttypescript [serif] [utopia] > \definefontsynonym [Utopia-Regular][file:putr8a] > [features=default] > \definefontsynonym [Utopia-Italic] [file:putri8a] > [features=default] > \definefontsynonym [Utopia-Bold] [file:putb8a] > [features=default] > \definefontsynonym [Utopia-BoldItalic] [file:putbi8a] > [features=default] > \stoptypescript > > \starttypescript [math] [fourier] [name] > \defi
Re: [NTG-context] mplib errors
Hi Taco, I did "kpsewhich mp-tool.mp" and it came up with "/usr/local/texlive/ 2007/texmf-context/metapost/context/base/mp-tool.mp". That file has in my system creation+modification date "01-04-08 02:14" and was last opened "03-07-08" so this must be it. Came straight from unpacking the context distribution zip. This should have been cont-tmf.zip created "05-08-08 17:13". The other mp-tool.mp in my system is /usr/local/texlive/2007/texmf- dist/metapost/context/base/mp-tool.mp. I also checked this one and found it has creation+modification date "06-02-08 12:52" and was last opened "06-02-08 12:52". So this one was apparently never used by me after installing texlive2007. I think this proves the file in my case is indeed the "01-04-08 02:14" one. Hans van der Meer On 29 sep 2008, at 22:10, Taco Hoekwater wrote: > > > Hi, > > To both of you: > > Hans van der Meer wrote: > /usr/local/texlive/2007/texmf-context/metapost/context/base/mp- tool.mp > > Olivier wrote: > >>> /usr/share/texmf/metapost/context/base/mp-tool.mp > > Can you guys check if these are the correct versions of mp-tool.mp ? > The problem could be as basal as mp finding older versions of the > metafun files (from before the mkiv support). > > > Best wishes, > Taco > (who assumes Olivier is on intel/amd, not powerpc) > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mplib errors
On Mon, Sep 29, 2008 at 9:44 PM, Olivier <[EMAIL PROTECTED]> wrote: > Hi Luigi, > > > > \starttext > > > \startMPcode > > > path p ; p := fullcircle scaled 4cm ; > > > fill p withcolor red ; > > > fill p shifted(2cm,0cm) withcolor blue ; > > > \stopMPcode > > > \stoptext > > > > > I have prepended > > \setupcolors[state=start] > > This is indeed required to get the color yes, I didn't like greys circles... > but my problem is that the > graphic do not get typeset at all! As can be seen from the log file > Just to be sure, in attachment my pdf I found really easy to install minimals under ubuntu (just download first-setup.sh), so I can have one sandbox of mkiv+luatex stable and one for beta . Why don't you give it a try ? (don't forget to update to latest luatex) -- luigi test-oliver.pdf Description: Adobe PDF document ___ 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] mplib errors
Olivier wrote: > > What is the executable that is triggered by a call to mplib? > (I would like to check I have it installed, not only mpost.) There isn't one, it is all internal to luatex's executable. There are no external executables and no config files involved, and that is what makes these errors so weird (well, that and the fact that it only seems to happen to Hans and you). Confused, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] figure placement
Jelle Huisman wrote: > Jelle Huisman wrote: When I try to do something with \placefigure I get a "floatblocks : order disturbed" error and no figure placed. >>> >>> Please make a example because this works for me: > > I solved my immediate problem by using a separate layout with a slightly > bigger text area: the image doesn't float to the next page any longer. > I'm still curious to know what went wrong, but since my setup is rather > complicated I need some time to make a good minimal example. (I'll put > it on my to do list...) when a float does not fit it's pushed on a stack, and due to the way we flush it may end up later in the order (esp when a next float does fit on the page); in that case context will renumber the floats Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] French punctuation : tests
On Thu, Sep 25 2008, Olivier Guéry wrote: > * There should't be space between two sign. Test 2 Hello Olivier, IMHO, "frenchpunctuation" should just care about the additional spaces before some punctuation signs, that are the French typographic mainstream. Neither more, nor less. Two or three signs like "!!!" are anyway rare exceptions and perhaps grammatically even not allowed. For such exceptions one can use for example "\string!", if no space is wanted. I would like to see the rules as simple as this: - before ":", ";", "?", "!" and "»" add some tiny nobreakspace (for example half an inter-word space and stretchable) - if the author has already added a space (or nbsp) character before such sign, gobble it and use the tiny nbsp - same thing after "«" > * The space before the footnote sign is too big (it's clearer with > othe fonts). Test 4 For me, no special treatment should be triggered with "frenchpunctuation" or \language[fr]. Footnote signs are just a matter of taste and style. > \mainlanguage [fr] \language[fr] > \setcharacterspacing [frenchpunctuation] Perhaps, it would make sense, to make one test file for \mainlanguage[fr] and another another one for \setcharacterspacing[frenchpunctuation] ? > 1 The « ; » signs shouldn’t be at the beginning of a line, there must be > space before all sign (look at the rules here : > http://wiki.contextgarden.net/frenchpunctuation) :\crlf To test, that the space is not breakable, one can use: \start \hsize1pt bla: bla : bla : bla~: bla? bla ? bla ? bla~? bla! bla ! bla ! bla~! bla; bla ; bla ; bla~; «bla» « bla » « bla » «~bla~»\par \stop Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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] Utopia and Fourier fonts
Am 29.09.2008 um 20:35 schrieb Mikael Persson: > On Mon, Sep 29, 2008 at 11:56 AM, Wolfgang Schuster > <[EMAIL PROTECTED]> wrote: >> >> Am 29.09.2008 um 11:31 schrieb Mikael Persson: >> >>> On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster >>> <[EMAIL PROTECTED]> wrote: Am 28.09.2008 um 21:21 schrieb Aditya Mahajan: Some comments: * As a mathematician I was a bit tired of the computer modern fonts (I really like them, but I see them to often), so I decided to go with the utopia/fourier fonts. This forced me to work with mkii, since I did not get these fonts to work with mkiv (This is still a problem, I am not sure how to go on with it for future documents). >>> >>> looks quite nice, i also like the font size >> >> Thanks. What about getting these fonts to work in mkiv? Must >> there be >> some change in the fonts? Some files in ConTeXt? (they were >> perfectly >> working in older mkii) > > Fourier and Uptopia should work with mkiv. I will check why they > are > not > working at present. Utopia use "encoding-filename" and MkIV needs the "filename" to load the fonts. Here is a complete typescript for utopia (without fake slanted and caps style). \starttypescript [serif] [utopia] \setups[font:fallback:serif] \definefontsynonym [Serif] [Utopia-Regular] \definefontsynonym [SerifItalic] [Utopia-Italic] \definefontsynonym [SerifBold] [Utopia-Bold] \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] \stoptypescript \starttypescript [serif] [utopia] \definefontsynonym [Utopia-Regular][file:putr8a] [features=default] \definefontsynonym [Utopia-Italic] [file:putri8a] [features=default] \definefontsynonym [Utopia-Bold] [file:putb8a] [features=default] \definefontsynonym [Utopia-BoldItalic] [file:putbi8a] [features=default] \stoptypescript \starttypescript [utopia] \definetypeface [\typescriptone] [rm] [serif] [utopia] [default] \stoptypescript \endinput Wolfgang >>> >>> Thank you Wolfgang, but this does not work for me with latest >>> minimals. (I have downloaded utopia(+fourier) and they show up in >>> mkii.) I put your lines in a file and add >>> \setupbodyfont[utopia][ec/8r/...] %tried several and also without >>> this last [] >>> \starttext >>> test >>> \stoptext >>> >>> LuaTeX just compiles and replaces these fonts by lm. >>> >>> luatools putr8a.pfb gives the resulting location of the pfb file >>> so it >>> actually finds the font. >>> >>> Do I misuse it? >> >> Try my test file (I saved the typescript above in type-utopia.tex). >> >> \usetypescriptfile[type-utopia] >> >> \usetypescript[utopia] >> \setupbodyfont[utopia] >> >> \starttext >> >> \tf ABC abc 123 \par >> \it ABC abc 123 \par >> \bf ABC abc 123 \par >> \bi ABC abc 123 \par >> >> \stoptext >> >> Wolfgang > > Mojca did send me a list with the necessary files for fourier+utopia. > I put them in > > http://www.math.chalmers.se/~mickep/fourierandutopia.zip > > if someone wants to test. I also attach a small (I guess noncomplete) > typescript file type-myfourier.tex (the myfourier not to clash with > something previously defined) and a file ftest.tex which indeed gives > the fourier fonts, but with the error as in > http://www.math.chalmers.se/~mickep/ftest.pdf mentioned in a previous > mail. > > I guess this is not the correct way to write typescripts for these > fonts in mkiv, but I dont know how to :( > > Best regards, Mikael > > PS: Thank you Mojca for giving this list of files and also explain > which of the otf/ttf/type1 files that needs typescripts. Math fonts are not available in 'ec' encoding, you have to use 'default' and why do you use the tfm files for Utopia, the afm files are enough. Here is my version: \starttypescript [serif] [utopia] \setups[font:fallback:serif] \definefontsynonym [Serif] [Utopia-Regular] \definefontsynonym [SerifItalic] [Utopia-Italic] \definefontsynonym [SerifBold] [Utopia-Bold] \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] \stoptypescript \starttypescript [serif] [utopia] \definefontsynonym [Utopia-Regular][file:putr8a] [features=default] \definefontsynonym [Utopia-Italic] [file:putri8a] [features=default] \definefontsynonym [Utopia-Bold] [file:putb8a] [features=default] \definefontsynonym [Utopia-BoldItalic] [file:putbi8a] [features=default] \stoptypescript \starttypescript [math] [fourier] [name] \definefontsynonym [MathRoman] [Utopia-Regular] \definefontsynonym [MathItalic][futmii] \definefontsynonym [MathSymbol][futsy] \definefontsynonym [MathExtension] [fourier-mex] \loadmapfile[fourier.map]
Re: [NTG-context] mplib errors
Hi Taco, > Hans van der Meer wrote: > > >>> /usr/local/texlive/2007/texmf-context/metapost/context/base/mp-tool.mp > > Olivier wrote: > > >> /usr/share/texmf/metapost/context/base/mp-tool.mp > > Can you guys check if these are the correct versions of mp-tool.mp ? > The problem could be as basal as mp finding older versions of the > metafun files (from before the mkiv support). My mp-tool.mp file is the same as http://minimals.contextgarden.net/current/context/latest/metapost/context/base/mp-tool.mp that is contains if not known mpversion : string mpversion ; mpversion := "0.641" ; fi ; and %Dversion=1998.02.15, > (who assumes Olivier is on intel/amd, not powerpc) I'm indeed working on a Debian system with intel plateform. (But Hans' config is not that different : some sort of Unix with TeXlive distrib.) The texlive packages I'm using are those of Norbert Preining, last version. What is the executable that is triggered by a call to mplib? (I would like to check I have it installed, not only mpost.) Again, everything else in conTeXt works well (otf direct from file names, lua scripting, etc). Olivier ___ 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] modes questions
Alan Stone wrote: > On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > >> Alan Stone wrote: >>> (2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a >>> modelist ( re: question 1.2 ) ? >> best use ctx files instead, like in >> >> == somefile.ctx === >> >> >> >> >> >> >> texengine=luatex >> interface=en >> >> >> >> proofing >> somestyle.tex >> >> >> >> >> >> texexec --ctx=somefile >> > > How about the other texexec options, i implement them stepwise, i leave out those no longer relevant and all --pdf* ones will be done with ctx files instead - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with text floating around tikz picture
Mojca Miklavec wrote: > Hello, > > I'm forwarding the author's answer back to the mailing list. If anyone > has some nice idea about possible solutions, let us/him know ... > I don't remember how I was solving such problems so far, but I know > that I have always been missing: > > % maybe even some external file with extremely long code > \starttikzpicture{picture name} > > \stoptikzpicture > > \placefigure{some figure}{\usetikzpicture{picture name}} > > If that was implemented, maybe \usetikzpicture could be inside an hbox? > > Mojca > > On Mon, Sep 29, 2008 at 3:12 PM, Till Tantau wrote: >> Hi! >> >> the problem is caused by the fact that a tikz/pgf picture is a \hbox, but >> with \leavevmode before it. This turned out to be necessary to ensure that >> tikzpictures behave the same way for all backend drivers. >> >> Certainly the added \hbox is a correct solution to this problem since it >> gets tex back into the right "mode"... >> >> I don't really know how to change this in an elegant manner since existing >> code will now assume that tikzpictures are always set in horizontal mode, so >> any change could have desastrous consequences for existing documents. maybe you can use (in the context variant) \ifinsidefloat (true when inside a floating body, so just then put an hbox around it) (sometimes putting \dontleavehmode in front also helps) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mplib errors
Hi, To both of you: Hans van der Meer wrote: >>> /usr/local/texlive/2007/texmf-context/metapost/context/base/mp-tool.mp Olivier wrote: >> /usr/share/texmf/metapost/context/base/mp-tool.mp Can you guys check if these are the correct versions of mp-tool.mp ? The problem could be as basal as mp finding older versions of the metafun files (from before the mkiv support). Best wishes, Taco (who assumes Olivier is on intel/amd, not powerpc) ___ 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] mplib errors
Olivier: What system do you use? I am using MacOSX and in july this year I mailed about the error below: >> mplib : making format: metafun.mp, name: /Users/hans/TeX/ >> luatex-cache/context/60e9a4b67d8fc84c21043806bb9e2fb8/formats/cont- >> en-metafun.mem >> mplib : loading format: metafun.mp, name: /Users/hans/TeX/ >> luatex-cache/context/60e9a4b67d8fc84c21043806bb9e2fb8/formats/cont- >> en-metafun.mem >> report >> mp terminal: (/usr/local/texlive/2007/texmf-context/ >> metapost/context/base/mp-tool.mp >> ! Missing `=' has been inserted. >> >> , >> l.51 vardef mpversioncmp(expr s, >> c) = >> ! Missing `=' has been inserted. >> >> ) >> l.55 vardef mpversionlt (expr s) Sounds familiar? If you are also working on MacOSX(10.5.x) then I should expect the problem to be platform specific. I had some discussions with Taco Hoekwater about this problem, but we never solved it and I have no inkling of its cause. Since I am not well enough acquainted with the code behind mplib and friends, I had to fall back on using MKII and putting MKIV aside. But I guess the solution to this problem is pressing, since we cannot have one platform falling out on ConTeXt. Hans van der Meer On 29 sep 2008, at 17:55, Olivier wrote: > Dear all, > > I'm using ConTeXt MkIV on Debian with the following version: > > ConTeXt ver: 2008.05.21 15:21 MKIV fmt: 2008.8.4 int: english/ > english > > Everything seems to work well (I am able to run lua code, use otf font > facilities, etc...) but the mplib mechanism. Indeed, running through > the following simple file : > > \starttext > \startMPcode > path p ; p := fullcircle scaled 4cm ; > fill p withcolor red ; > fill p shifted(2cm,0cm) withcolor blue ; > \stopMPcode > \stoptext > > provokes the following logging : > > mplib : loading format: metafun.mp, name: > /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/ > formats/cont-en-metafun.mem > mplib : version mismatch: mp_parent_version <> 2008.05.21 > 15:21 > mplib : making format: metafun.mp, name: > /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/ > formats/cont-en-metafun.mem > mplib : loading format: metafun.mp, name: > /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/ > formats/cont-en-metafun.mem > report >> mp terminal: > (/usr/share/texmf/metapost/context/base/mp-tool.mp > ! Missing `=' has been inserted. > > , > l.51 vardef mpversioncmp(expr s, > c) = > etc... > > The format metafun.mp is not good at first, but seems to be > regenerated > dynamically with success ? > > Is this a known issue ? Any hints on what's going on ? > > Olivier > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] passing buffer to lua functions
Dear all, I'm trying to implement a very simple filter mechanism in lua like this: \def\test#1{% \startlua local pipe, str pipe = io.popen("./my_filter '\luaescapestring{#1}'", "r") str = pipe:read("*a") tex.print(str) pipe:close() \stoplua } \test{% line 1 line 2 } The issue I have is that the argument of test has its line breaks removed in the process (i.e. the filter my_filter sees a single line argument). How to prevent this while keeping the lua escape at the same time? (I know I can implement such a thing with executecommand and using buffers written to files, but I would like to avoid writing on the hard disk.) Olivier ___ 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] mplib errors
Hi Luigi, > > \starttext > > \startMPcode > > path p ; p := fullcircle scaled 4cm ; > > fill p withcolor red ; > > fill p shifted(2cm,0cm) withcolor blue ; > > \stopMPcode > > \stoptext > > > I have prepended > \setupcolors[state=start] This is indeed required to get the color but my problem is that the graphic do not get typeset at all! As can be seen from the log file report >> mp terminal: (/usr/share/texmf/metapost/context/base/mp-tool.mp ! Missing `=' has been inserted. , l.51 vardef mpversioncmp(expr s, c) = ! Missing `=' has been inserted. ) [...a long list of such errors omitted...] there is an issue with loading mp-tool.mp Could it be that something related to mplib is not package in Norbert Preining's packages? Is there a particular file that I should look for? > BTW, no problems with > MtxRun | current version: 2008.08.05 18:47 > This is LuaTeX, Version snapshot-0.29.0-2008071816 > > and with beta > MtxRun | current version: 2008.09.24 18:41 > This is LuaTeX, Version snapshot-0.29.0-2008071816 Thanks for the information, Olivier ___ 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] mplib errors
On Mon, Sep 29, 2008 at 5:55 PM, Olivier <[EMAIL PROTECTED]> wrote: > Dear all, > > I'm using ConTeXt MkIV on Debian with the following version: > > ConTeXt ver: 2008.05.21 15:21 MKIV fmt: 2008.8.4 int: english/english > > Everything seems to work well (I am able to run lua code, use otf font > facilities, etc...) but the mplib mechanism. Indeed, running through > the following simple file : > > \starttext > \startMPcode > path p ; p := fullcircle scaled 4cm ; > fill p withcolor red ; > fill p shifted(2cm,0cm) withcolor blue ; > \stopMPcode > \stoptext > I have prepended \setupcolors[state=start] BTW, no problems with MtxRun | current version: 2008.08.05 18:47 This is LuaTeX, Version snapshot-0.29.0-2008071816 and with beta MtxRun | current version: 2008.09.24 18:41 This is LuaTeX, Version snapshot-0.29.0-2008071816 -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Utopia and Fourier fonts
On Mon, Sep 29, 2008 at 11:56 AM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > Am 29.09.2008 um 11:31 schrieb Mikael Persson: > >> On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster >> <[EMAIL PROTECTED]> wrote: >>> >>> Am 28.09.2008 um 21:21 schrieb Aditya Mahajan: >>> >>> Some comments: >>> * As a mathematician I was a bit tired of the computer modern >>> fonts (I >>> really like them, but I see them to often), so I decided to go >>> with >>> the utopia/fourier fonts. This forced me to work with mkii, >>> since I >>> did not get these fonts to work with mkiv (This is still a >>> problem, I >>> am not sure how to go on with it for future documents). >> >> looks quite nice, i also like the font size > > Thanks. What about getting these fonts to work in mkiv? Must > there be > some change in the fonts? Some files in ConTeXt? (they were > perfectly > working in older mkii) Fourier and Uptopia should work with mkiv. I will check why they are not working at present. >>> >>> Utopia use "encoding-filename" and MkIV needs the "filename" to load >>> the fonts. >>> >>> Here is a complete typescript for utopia (without fake slanted and >>> caps style). >>> >>> \starttypescript [serif] [utopia] >>>\setups[font:fallback:serif] >>>\definefontsynonym [Serif] [Utopia-Regular] >>>\definefontsynonym [SerifItalic] [Utopia-Italic] >>>\definefontsynonym [SerifBold] [Utopia-Bold] >>>\definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] >>> \stoptypescript >>> >>> \starttypescript [serif] [utopia] >>>\definefontsynonym [Utopia-Regular][file:putr8a] >>> [features=default] >>>\definefontsynonym [Utopia-Italic] [file:putri8a] >>> [features=default] >>>\definefontsynonym [Utopia-Bold] [file:putb8a] >>> [features=default] >>>\definefontsynonym [Utopia-BoldItalic] [file:putbi8a] >>> [features=default] >>> \stoptypescript >>> >>> \starttypescript [utopia] >>>\definetypeface [\typescriptone] [rm] [serif] [utopia] [default] >>> \stoptypescript >>> >>> \endinput >>> >>> Wolfgang >> >> Thank you Wolfgang, but this does not work for me with latest >> minimals. (I have downloaded utopia(+fourier) and they show up in >> mkii.) I put your lines in a file and add >> \setupbodyfont[utopia][ec/8r/...] %tried several and also without >> this last [] >> \starttext >> test >> \stoptext >> >> LuaTeX just compiles and replaces these fonts by lm. >> >> luatools putr8a.pfb gives the resulting location of the pfb file so it >> actually finds the font. >> >> Do I misuse it? > > Try my test file (I saved the typescript above in type-utopia.tex). > > \usetypescriptfile[type-utopia] > > \usetypescript[utopia] > \setupbodyfont[utopia] > > \starttext > > \tf ABC abc 123 \par > \it ABC abc 123 \par > \bf ABC abc 123 \par > \bi ABC abc 123 \par > > \stoptext > > Wolfgang Mojca did send me a list with the necessary files for fourier+utopia. I put them in http://www.math.chalmers.se/~mickep/fourierandutopia.zip if someone wants to test. I also attach a small (I guess noncomplete) typescript file type-myfourier.tex (the myfourier not to clash with something previously defined) and a file ftest.tex which indeed gives the fourier fonts, but with the error as in http://www.math.chalmers.se/~mickep/ftest.pdf mentioned in a previous mail. I guess this is not the correct way to write typescripts for these fonts in mkiv, but I dont know how to :( Best regards, Mikael PS: Thank you Mojca for giving this list of files and also explain which of the otf/ttf/type1 files that needs typescripts. type-myfourier.tex Description: TeX document ftest.tex Description: TeX document ___ 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] Has anybody used asymptote without LaTeX?
Dear All, And how to embed .prc files into the .pdf document? I have made a standalone embedder some time ago, reproducing capabilities of movie15 LeTeX package and somewhat extending them. If anybody is interested it can be put in "shipable" state. Sincerely, Michail ___ 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] linux minimals
On Mon, Sep 29, 2008 at 5:16 PM, Thomas A. Schmitz wrote: > Hi minimalists, > > is there a reason why luatex in linux is still at version > 0.28.0-2008071500? There must have been some mistake made by accident and the version was tagged as being 0.29, so it never got updated/recompiled. I wanted to recompile the binaries right away, but svn up on the server just returned me svn: In directory 'bin/tex/linux-64/current/pdftex/bin' svn: Can't copy 'bin/tex/linux-64/current/pdftex/bin/.svn/tmp/text-base/pdftex.svn-base' to 'bin/tex/linux-64/current/pdftex/bin/.svn/tmp/pdftex.tmp.tmp': No space left on device and then I stopped experimenting for a while. I need to try to clean up some stuff first. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] linux minimals
On Sep 29, 2008, at 5:50 PM, Taco Hoekwater wrote: > Yes, it is because 0.29.0 is somewhat broken (0.30.0 tomorrow). > > Best wishes, > Taco Ah OK! Thanks Taco, good luck with the next build! Thomas ___ 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] mplib errors
Dear all, I'm using ConTeXt MkIV on Debian with the following version: ConTeXt ver: 2008.05.21 15:21 MKIV fmt: 2008.8.4 int: english/english Everything seems to work well (I am able to run lua code, use otf font facilities, etc...) but the mplib mechanism. Indeed, running through the following simple file : \starttext \startMPcode path p ; p := fullcircle scaled 4cm ; fill p withcolor red ; fill p shifted(2cm,0cm) withcolor blue ; \stopMPcode \stoptext provokes the following logging : mplib : loading format: metafun.mp, name: /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/formats/cont-en-metafun.mem mplib : version mismatch: mp_parent_version <> 2008.05.21 15:21 mplib : making format: metafun.mp, name: /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/formats/cont-en-metafun.mem mplib : loading format: metafun.mp, name: /home/olivier/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/formats/cont-en-metafun.mem report >> mp terminal: (/usr/share/texmf/metapost/context/base/mp-tool.mp ! Missing `=' has been inserted. , l.51 vardef mpversioncmp(expr s, c) = etc... The format metafun.mp is not good at first, but seems to be regenerated dynamically with success ? Is this a known issue ? Any hints on what's going on ? Olivier ___ 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] linux minimals
Thomas A. Schmitz wrote: > Hi minimalists, > > is there a reason why luatex in linux is still at version > 0.28.0-2008071500? On OS X, I now have 0.29.0-2008072211, and this > seems the latest version on supelec as well. Yes, it is because 0.29.0 is somewhat broken (0.30.0 tomorrow). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] linux minimals
Hi minimalists, is there a reason why luatex in linux is still at version 0.28.0-2008071500? On OS X, I now have 0.29.0-2008072211, and this seems the latest version on supelec as well. All best Thomas ___ 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] modes questions
On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Alan Stone wrote: > > (2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a > > modelist ( re: question 1.2 ) ? > > best use ctx files instead, like in > > == somefile.ctx === > > > > > > > texengine=luatex > interface=en > > > > proofing > somestyle.tex > > > > > > texexec --ctx=somefile > How about the other texexec options, re: http://linux.die.net/man/1/texexec ? Which ones go where in the ctx file + what is their syntax ? -- Best, Alan Ubuntu 8.04 Hardy Heron (Desktop) * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english (ConTeXt minimals installation) * texexec --lua foo ___ 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] Texlive2008 and updating context
On Mon, Sep 29, 2008 at 4:03 PM, Otared Kavian wrote: > > When you need a tester on Mac for your cleaned-up peocedures, please > let me know Hello Otared, tlmgr update --all should now fix symlinks (apart from the fact that if I want to update, every fifth package fails to update on average, so I need to restart updating every few minutes). Theoretically that command followed by rsync-drived updates should work OK now. I took another look. By "now" I mean that in less than 30 hours tlmgr update --list should return you bin-context version >= 10774. At the moment of writing this it's still bin-context: local: 9789, source: 10592 If already the first command starts complaining about non-existent texlive.tlpsrc as it did here, I had to do something else: tlmgr option location http://mirror.ctan.org/systems/texlive/tlnet/2008 -- Norbert has another script almost ready to put TeX Live packages with ConTeXt betas & latest luatex binaries on the garden, but I have some other urgent things to do in the following days. After that I'll try to finish the script ASAP. After those scripts are ready, something like tlmgr -location http://texlive.contextgarden.net/current update --all should do all the required steps (though it will be far less efficient than rsync which only downloads the changes, not the entire package). TL team argued that updates will not be that frequent anyway, and that people have broadband connections anyway (true in most cases). Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Texlive2008 and updating context
On 29 sept. 08, at 14:59, Mojca Miklavec wrote: >> […] > > And also clean up --updatecontext procedure. > > I need to finish several things in the following days, but will come > back to it. The confusing info spread all over the wiki definitely > needs to be cleaned up. > > Mojca Hi Mojca, That's why I didn't put on the wiki the dirty tricks to fix the problems when trying to update mkiv… When you need a tester on Mac for your cleaned-up peocedures, please let me know Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Utopia and Fourier fonts
On Mon, Sep 29, 2008 at 11:56 AM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > Am 29.09.2008 um 11:31 schrieb Mikael Persson: > >> On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster >> <[EMAIL PROTECTED]> wrote: >>> >>> Am 28.09.2008 um 21:21 schrieb Aditya Mahajan: >>> >>> Some comments: >>> * As a mathematician I was a bit tired of the computer modern >>> fonts (I >>> really like them, but I see them to often), so I decided to go >>> with >>> the utopia/fourier fonts. This forced me to work with mkii, >>> since I >>> did not get these fonts to work with mkiv (This is still a >>> problem, I >>> am not sure how to go on with it for future documents). >> >> looks quite nice, i also like the font size > > Thanks. What about getting these fonts to work in mkiv? Must > there be > some change in the fonts? Some files in ConTeXt? (they were > perfectly > working in older mkii) Fourier and Uptopia should work with mkiv. I will check why they are not working at present. >>> >>> Utopia use "encoding-filename" and MkIV needs the "filename" to load >>> the fonts. >>> >>> Here is a complete typescript for utopia (without fake slanted and >>> caps style). >>> >>> \starttypescript [serif] [utopia] >>>\setups[font:fallback:serif] >>>\definefontsynonym [Serif] [Utopia-Regular] >>>\definefontsynonym [SerifItalic] [Utopia-Italic] >>>\definefontsynonym [SerifBold] [Utopia-Bold] >>>\definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] >>> \stoptypescript >>> >>> \starttypescript [serif] [utopia] >>>\definefontsynonym [Utopia-Regular][file:putr8a] >>> [features=default] >>>\definefontsynonym [Utopia-Italic] [file:putri8a] >>> [features=default] >>>\definefontsynonym [Utopia-Bold] [file:putb8a] >>> [features=default] >>>\definefontsynonym [Utopia-BoldItalic] [file:putbi8a] >>> [features=default] >>> \stoptypescript >>> >>> \starttypescript [utopia] >>>\definetypeface [\typescriptone] [rm] [serif] [utopia] [default] >>> \stoptypescript >>> >>> \endinput >>> >>> Wolfgang >> >> Thank you Wolfgang, but this does not work for me with latest >> minimals. (I have downloaded utopia(+fourier) and they show up in >> mkii.) I put your lines in a file and add >> \setupbodyfont[utopia][ec/8r/...] %tried several and also without >> this last [] >> \starttext >> test >> \stoptext >> >> LuaTeX just compiles and replaces these fonts by lm. >> >> luatools putr8a.pfb gives the resulting location of the pfb file so it >> actually finds the font. >> >> Do I misuse it? > > Try my test file (I saved the typescript above in type-utopia.tex). > > \usetypescriptfile[type-utopia] > > \usetypescript[utopia] > \setupbodyfont[utopia] > > \starttext > > \tf ABC abc 123 \par > \it ABC abc 123 \par > \bf ABC abc 123 \par > \bi ABC abc 123 \par > > \stoptext > > Wolfgang I'm sorry, but I get this error: %%% define font | font with name putr8a is not found define font | unknown font putr8a, loading aborted ! Font \*utopia12ptrmtfrm*:=file:putr8a*features=default, at 12pt not loadable: metric data not found or bad. \relax \definefontglobal ...dcsname \lastfontname \relax \expandafter \let \expanda... \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... ... l.4 \setupbodyfont[utopia] %%% I'm very confused. I guess it means it is looking for some tfm files. Some questions: 1) Do one still (with mkiv) need tfm files? 1a) if not, do I need to do anything to "install" the font file. luatools putr8a.pfb gives the right file, but mtxrun --script fonts --list do not list it. 1b) Is there a difference with the need of tfm files for opentype/type1/ttf fonts? 2) If I use the old fourier.map file I can get the utopia fonts working somehow with luatex (then it is mapped via futr8r.tfm). I also get the fourier math fonts in the pdf, BUT then I still get the problem explained in http://archive.contextgarden.net/message/20070830.154143.005528b8.en.html (see http://www.math.chalmers.se/~mickep/ftest.pdf ) Mikael ___ 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://contextgarde
Re: [NTG-context] Utopia and Fourier fonts
On Mon, Sep 29, 2008 at 3:34 PM, Mikael Persson wrote: > On Mon, Sep 29, 2008 at 11:56 AM, Wolfgang Schuster wrote: > > I'm very confused. I guess it means it is looking for some tfm files. > Some questions: > > 1) Do one still (with mkiv) need tfm files? Yes and no. Type1 fonts don't carry enough information about the fonts themselves. Hans sometimes uses afm files instead of tfm, but probably not for math. > 1b) Is there a difference with the need of tfm files for > opentype/type1/ttf fonts? OpenType and TrueType fonts don't need tfm files, but for math you still need them. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with text floating around tikz picture
Hello, I'm forwarding the author's answer back to the mailing list. If anyone has some nice idea about possible solutions, let us/him know ... I don't remember how I was solving such problems so far, but I know that I have always been missing: % maybe even some external file with extremely long code \starttikzpicture{picture name} ... \stoptikzpicture \placefigure{some figure}{\usetikzpicture{picture name}} If that was implemented, maybe \usetikzpicture could be inside an hbox? Mojca On Mon, Sep 29, 2008 at 3:12 PM, Till Tantau wrote: > Hi! > > the problem is caused by the fact that a tikz/pgf picture is a \hbox, but > with \leavevmode before it. This turned out to be necessary to ensure that > tikzpictures behave the same way for all backend drivers. > > Certainly the added \hbox is a correct solution to this problem since it > gets tex back into the right "mode"... > > I don't really know how to change this in an elegant manner since existing > code will now assume that tikzpictures are always set in horizontal mode, so > any change could have desastrous consequences for existing documents. > > Sorry, > Till > > > Am 22.09.2008 um 20:13 schrieb Mojca Miklavec: > >> On Mon, Sep 22, 2008 at 8:03 PM, Marcin Borkowski >> <[EMAIL PROTECTED]> wrote: >>> >>> Hi again;), >>> >>> this won't work: >>> >>> \placefigure[right]{none}{\starttikzpicture >>> \draw (0,0) -| (2,2) -| (0,0) -- (2,2) >>> (2,0) -- (0,2) >>> (1,1) circle(1); >>> \stoptikzpicture} >>> (some text...) >>> >>> The tikzpicture apparently extends to the whole text width, resulting in >>> an overfull box (and nasty paragraph formatting). Putting it into an >>> \hbox helps, so I know what to do; the question is, _why_ this works >>> that way? ___ 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] Texlive2008 and updating context
On Mon, Sep 29, 2008 at 2:06 PM, Alan BRASLAU wrote: > Yes, please, it is confusing. > On the Wiki different instructions appear > in several places (mkIV, minimals, TeXlive, debian...). > It would be quite nice if somebody who understands > this all could clean-up the instructions, And also clean up --updatecontext procedure. I need to finish several things in the following days, but will come back to it. The confusing info spread all over the wiki definitely needs to be cleaned up. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Anyone wants [another] "I love ConTeXt" T-shirt?
Dear ConTeXt fans, I'm goint to buy another bunch of T-shirts tomorrow and we will reprint them with "I love ConTeXt", in another (hopefully better) printing technique*. If anyone wants [another] T-shirt (or long sleeves) in whatever color that's available in the shop (dark works best), please let me know the size(s) and color(s). [Two tiny photo samples attached.] I'll send them out once in November for 6 EUR + shippment costs (or I can bring them to some conference, like DANTE meeting in Vienna or BachoTeX or ...). Hopefully I'll have the DVDs with videos ready by then as well, so that I will be able to send DVDs to anyone interested in the same package. Thanks to everyone, Mojca - * When we were printing T-shirts for the ConTeXt conference, the printshop has promissed screenprinting and due to most-people-were-on-holidays did digital transfers without elastane, so they will reprint us T-shirts on their costs (we still need to buy T-shirts though). I'm sorry for the bad quality, but exchanging them all would be somehow impractical. To sum up: if anyone wants a better quality or simply another T-shirt in any color, let me know ASAP. <><>___ 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] Has anybody used asymptote without LaTeX?
Hi Yue, On Mon, Sep 29, 2008 at 1:57 PM, Yue Wang <[EMAIL PROTECTED]> wrote: > Hi, Zhichu: > > $n$ years ago ($n\geq 2$), some user had successfully embed a u3d > format file into pdf using ConTeXt with the instruction from Hans. I > think the module is still there. Maybe you can have a look. In fact > u3d and prc are similar, maybe you can try the same way. But I have no > idea how to create a asy-tex interface like tex-mp [Moreover, I prefer > to extend mp to 3-dimension, I look at the c code, it is not > impossible:)]. Yes, I know that Renaud Aubin has u3d usable by ConTeXt. That's very impressive. I will check that if I can get Asymptote compiled and work with ConTeXt, although I don't think that necessary because labeled figures often appears in 2D version. If metapost could provide 3D figures, that will be great. But I don't think Hans and Taco like that idea because prc isn't a standard yet maybe. > > Yue Wang > > ___ > 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 > ___ > -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ 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] Texlive2008 and updating context
Yes, please, it is confusing. On the Wiki different instructions appear in several places (mkIV, minimals, TeXlive, debian...). It would be quite nice if somebody who understands this all could clean-up the instructions, in particular, structure the information in a clearer fashion. Thanks. Alan On Monday 29 September 2008 12:49:24 Mojca Miklavec wrote: > I just forgot to add: the situation with updates is a bit confusing at > the moment, but that's not your fault. Hopefully it will improve soon. > > Mojca > > On Mon, Sep 29, 2008 at 12:47 PM, Mojca Miklavec > > <[EMAIL PROTECTED]> wrote: > > On Mon, Sep 29, 2008 at 9:38 AM, Mehdi Omidali wrote: > >> Hi everyone, > >> I have followed any thread about updating context (on Texlive2008 on > >> ubuntu) and no success yet. After running > >> sudo ctxtools --updatecontext > > > > This command doesn't necessary do what you always desire: it puts > > ConTeXt to texmf-local. This means that any further updates that you > > might try to make with tlmgr (TeX Live manager) will be shielded by > > your local copy. That's OK, but you need to be aware that you then > > have two copies of ConTeXt on your computer, and the one in > > texmf-local will be used. > > > > And there is something that might bite you with this as well. TeX Live > > is currently configured so that luatools & mtxrun binaries are taken > > from texmf-dist/scripts. If the rest of files comes from texmf-local, > > you might end in troubles/incompatibilities between the two versions. > > You probably need to fix symlinks of luatools and mtxrun manually. > > > >> and > >> luatools --generate > >> everything went smooth. But after > >> > >> texexec --make --luatex en > >> > >> I got the following > >> > >> Should I create the cache path /home/mehdi? [yes|no] [no] > >> > >> and after pressing Enter I got > >> > >> fatal error: there is no valid (writable) cache path defined > > > > You need to update LuaTeX binary as well. See > > http://wiki.contextgarden.net/Running_Mark_IV. But there are still > > some issues. Namely, you need to fix symlinks of luatools and mtxrun > > to point to the proper file. And you might need to remove files in > > texmf-local that belong to ConTeXt as a result of "ctxtools > > --updatecontext" (it's up to you which tree you want to use; I > > overwrite files in texmf-dist with some care). > > > > Mojca > > ___ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context webpage : > http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > ___ 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] Texlive2008 and updating context
Thanks Mojca, I have lutex 0.29 and tried to just copy files from cont-tmf to texmf-dist but I also got an error that it can not find context.tex. Could you please tell me which files do you copy to texmf-dist. Seems that it is a better choice for now. Thanks On 9/29/08, Mojca Miklavec <[EMAIL PROTECTED]> wrote: > I just forgot to add: the situation with updates is a bit confusing at > the moment, but that's not your fault. Hopefully it will improve soon. > > Mojca > > On Mon, Sep 29, 2008 at 12:47 PM, Mojca Miklavec > <[EMAIL PROTECTED]> wrote: >> On Mon, Sep 29, 2008 at 9:38 AM, Mehdi Omidali wrote: >>> Hi everyone, >>> I have followed any thread about updating context (on Texlive2008 on >>> ubuntu) and no success yet. After running >>> sudo ctxtools --updatecontext >> >> This command doesn't necessary do what you always desire: it puts >> ConTeXt to texmf-local. This means that any further updates that you >> might try to make with tlmgr (TeX Live manager) will be shielded by >> your local copy. That's OK, but you need to be aware that you then >> have two copies of ConTeXt on your computer, and the one in >> texmf-local will be used. >> >> And there is something that might bite you with this as well. TeX Live >> is currently configured so that luatools & mtxrun binaries are taken >> from texmf-dist/scripts. If the rest of files comes from texmf-local, >> you might end in troubles/incompatibilities between the two versions. >> You probably need to fix symlinks of luatools and mtxrun manually. >> >>> and >>> luatools --generate >>> everything went smooth. But after >>> >>> texexec --make --luatex en >>> >>> I got the following >>> >>> Should I create the cache path /home/mehdi? [yes|no] [no] >>> >>> and after pressing Enter I got >>> >>> fatal error: there is no valid (writable) cache path defined >> >> You need to update LuaTeX binary as well. See >> http://wiki.contextgarden.net/Running_Mark_IV. But there are still >> some issues. Namely, you need to fix symlinks of luatools and mtxrun >> to point to the proper file. And you might need to remove files in >> texmf-local that belong to ConTeXt as a result of "ctxtools >> --updatecontext" (it's up to you which tree you want to use; I >> overwrite files in texmf-dist with some care). >> >> Mojca >> > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > ___ 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] Texlive2008 and updating context
On Mon, Sep 29, 2008 at 9:38 AM, Mehdi Omidali wrote: > Hi everyone, > I have followed any thread about updating context (on Texlive2008 on > ubuntu) and no success yet. After running > sudo ctxtools --updatecontext This command doesn't necessary do what you always desire: it puts ConTeXt to texmf-local. This means that any further updates that you might try to make with tlmgr (TeX Live manager) will be shielded by your local copy. That's OK, but you need to be aware that you then have two copies of ConTeXt on your computer, and the one in texmf-local will be used. And there is something that might bite you with this as well. TeX Live is currently configured so that luatools & mtxrun binaries are taken from texmf-dist/scripts. If the rest of files comes from texmf-local, you might end in troubles/incompatibilities between the two versions. You probably need to fix symlinks of luatools and mtxrun manually. > and > luatools --generate > everything went smooth. But after > > texexec --make --luatex en > > I got the following > > Should I create the cache path /home/mehdi? [yes|no] [no] > > and after pressing Enter I got > > fatal error: there is no valid (writable) cache path defined You need to update LuaTeX binary as well. See http://wiki.contextgarden.net/Running_Mark_IV. But there are still some issues. Namely, you need to fix symlinks of luatools and mtxrun to point to the proper file. And you might need to remove files in texmf-local that belong to ConTeXt as a result of "ctxtools --updatecontext" (it's up to you which tree you want to use; I overwrite files in texmf-dist with some care). Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] figure placement
Jelle Huisman wrote: When I try to do something with \placefigure I get a "floatblocks : order disturbed" error and no figure placed. Please make a example because this works for me: I solved my immediate problem by using a separate layout with a slightly bigger text area: the image doesn't float to the next page any longer. I'm still curious to know what went wrong, but since my setup is rather complicated I need some time to make a good minimal example. (I'll put it on my to do list...) Thanks, Jelle ___ 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] Texlive2008 and updating context
I just forgot to add: the situation with updates is a bit confusing at the moment, but that's not your fault. Hopefully it will improve soon. Mojca On Mon, Sep 29, 2008 at 12:47 PM, Mojca Miklavec <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 9:38 AM, Mehdi Omidali wrote: >> Hi everyone, >> I have followed any thread about updating context (on Texlive2008 on >> ubuntu) and no success yet. After running >> sudo ctxtools --updatecontext > > This command doesn't necessary do what you always desire: it puts > ConTeXt to texmf-local. This means that any further updates that you > might try to make with tlmgr (TeX Live manager) will be shielded by > your local copy. That's OK, but you need to be aware that you then > have two copies of ConTeXt on your computer, and the one in > texmf-local will be used. > > And there is something that might bite you with this as well. TeX Live > is currently configured so that luatools & mtxrun binaries are taken > from texmf-dist/scripts. If the rest of files comes from texmf-local, > you might end in troubles/incompatibilities between the two versions. > You probably need to fix symlinks of luatools and mtxrun manually. > >> and >> luatools --generate >> everything went smooth. But after >> >> texexec --make --luatex en >> >> I got the following >> >> Should I create the cache path /home/mehdi? [yes|no] [no] >> >> and after pressing Enter I got >> >> fatal error: there is no valid (writable) cache path defined > > You need to update LuaTeX binary as well. See > http://wiki.contextgarden.net/Running_Mark_IV. But there are still > some issues. Namely, you need to fix symlinks of luatools and mtxrun > to point to the proper file. And you might need to remove files in > texmf-local that belong to ConTeXt as a result of "ctxtools > --updatecontext" (it's up to you which tree you want to use; I > overwrite files in texmf-dist with some care). > > Mojca > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Utopia and Fourier fonts
Am 29.09.2008 um 11:31 schrieb Mikael Persson: > On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster > <[EMAIL PROTECTED]> wrote: >> >> Am 28.09.2008 um 21:21 schrieb Aditya Mahajan: >> >> Some comments: >> * As a mathematician I was a bit tired of the computer modern >> fonts (I >> really like them, but I see them to often), so I decided to go >> with >> the utopia/fourier fonts. This forced me to work with mkii, >> since I >> did not get these fonts to work with mkiv (This is still a >> problem, I >> am not sure how to go on with it for future documents). > > looks quite nice, i also like the font size Thanks. What about getting these fonts to work in mkiv? Must there be some change in the fonts? Some files in ConTeXt? (they were perfectly working in older mkii) >>> >>> Fourier and Uptopia should work with mkiv. I will check why they are >>> not >>> working at present. >> >> Utopia use "encoding-filename" and MkIV needs the "filename" to load >> the fonts. >> >> Here is a complete typescript for utopia (without fake slanted and >> caps style). >> >> \starttypescript [serif] [utopia] >>\setups[font:fallback:serif] >>\definefontsynonym [Serif] [Utopia-Regular] >>\definefontsynonym [SerifItalic] [Utopia-Italic] >>\definefontsynonym [SerifBold] [Utopia-Bold] >>\definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] >> \stoptypescript >> >> \starttypescript [serif] [utopia] >>\definefontsynonym [Utopia-Regular][file:putr8a] >> [features=default] >>\definefontsynonym [Utopia-Italic] [file:putri8a] >> [features=default] >>\definefontsynonym [Utopia-Bold] [file:putb8a] >> [features=default] >>\definefontsynonym [Utopia-BoldItalic] [file:putbi8a] >> [features=default] >> \stoptypescript >> >> \starttypescript [utopia] >>\definetypeface [\typescriptone] [rm] [serif] [utopia] [default] >> \stoptypescript >> >> \endinput >> >> Wolfgang > > Thank you Wolfgang, but this does not work for me with latest > minimals. (I have downloaded utopia(+fourier) and they show up in > mkii.) I put your lines in a file and add > \setupbodyfont[utopia][ec/8r/...] %tried several and also without > this last [] > \starttext > test > \stoptext > > LuaTeX just compiles and replaces these fonts by lm. > > luatools putr8a.pfb gives the resulting location of the pfb file so it > actually finds the font. > > Do I misuse it? Try my test file (I saved the typescript above in type-utopia.tex). \usetypescriptfile[type-utopia] \usetypescript[utopia] \setupbodyfont[utopia] \starttext \tf ABC abc 123 \par \it ABC abc 123 \par \bf ABC abc 123 \par \bi ABC abc 123 \par \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unicode characters
Am 29.09.2008 um 11:21 schrieb Alan Stone: > On Fri, Sep 26, 2008 at 4:35 PM, Idris Samawi Hamid <[EMAIL PROTECTED] > > wrote: > On Fri, 26 Sep 2008 07:09:28 -0600, Alan Stone > <[EMAIL PROTECTED]> wrote: > > > Please explain "use fallbacks". > > http://archive.contextgarden.net/message/20080611.094746.07de5882.en.html > > >>> \definefontfallback [whatever] [Slanted] [0x0060-0x007F] > >>> \definefontfallback [whatever] [Bold] [0x0080-0x00FF, > 0x00A0-0x00AF] > >>> \definefontfallback [whatever] [BoldSlanted] [0x00C0-0x00C7] > >> > >> What's the meaning of the third parameter? Unicode ranges? > >> > >takes chars 0x0060-0x007F from Slanted (whatever it resolves to) > > And what are these thingies: 0x0060-0x007F ? Unicode values [1], in the example above all characters with a code between 0x0060 (grave accent) till 0x0070 (latin small letter p) are taken from the current font for the slanted style. [1] http://www.unicode.org/charts/PDF/U.pdf Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Utopia and Fourier fonts (was: Experience on writing a thesis with MKIV)
On Sun, Sep 28, 2008 at 9:34 PM, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > > Am 28.09.2008 um 21:21 schrieb Aditya Mahajan: > > Some comments: > * As a mathematician I was a bit tired of the computer modern > fonts (I > really like them, but I see them to often), so I decided to go with > the utopia/fourier fonts. This forced me to work with mkii, since I > did not get these fonts to work with mkiv (This is still a > problem, I > am not sure how to go on with it for future documents). looks quite nice, i also like the font size >>> >>> Thanks. What about getting these fonts to work in mkiv? Must there be >>> some change in the fonts? Some files in ConTeXt? (they were perfectly >>> working in older mkii) >> >> Fourier and Uptopia should work with mkiv. I will check why they are >> not >> working at present. > > Utopia use "encoding-filename" and MkIV needs the "filename" to load > the fonts. > > Here is a complete typescript for utopia (without fake slanted and > caps style). > > \starttypescript [serif] [utopia] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [Utopia-Regular] > \definefontsynonym [SerifItalic] [Utopia-Italic] > \definefontsynonym [SerifBold] [Utopia-Bold] > \definefontsynonym [SerifBoldItalic] [Utopia-BoldItalic] > \stoptypescript > > \starttypescript [serif] [utopia] > \definefontsynonym [Utopia-Regular][file:putr8a] > [features=default] > \definefontsynonym [Utopia-Italic] [file:putri8a] > [features=default] > \definefontsynonym [Utopia-Bold] [file:putb8a] > [features=default] > \definefontsynonym [Utopia-BoldItalic] [file:putbi8a] > [features=default] > \stoptypescript > > \starttypescript [utopia] > \definetypeface [\typescriptone] [rm] [serif] [utopia] [default] > \stoptypescript > > \endinput > > Wolfgang Thank you Wolfgang, but this does not work for me with latest minimals. (I have downloaded utopia(+fourier) and they show up in mkii.) I put your lines in a file and add \setupbodyfont[utopia][ec/8r/...] %tried several and also without this last [] \starttext test \stoptext LuaTeX just compiles and replaces these fonts by lm. luatools putr8a.pfb gives the resulting location of the pfb file so it actually finds the font. Do I misuse it? Mikael > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Experience on writing a thesis with MKIV
On Sun, Sep 28, 2008 at 8:23 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Mikael Persson wrote: > >> The thesis is available at > > maybe we should collect such links on a wiki page > >> http://www.math.chalmers.se/~mickep/mp-thesis-final.pdf >> >> and a short presentation of the third paper >> >> http://www.math.chalmers.se/~mickep/pres.pdf > >> Some comments: >> * At our university the thesis should be printed on the (not really >> standard) G5 paper. No problem in defining and using it with ConTeXt. > > just curious ... is it used more often or just at your universiy; it's > no problem to add an extra papersize definition > >> * The bibliography uses Taco's module. I am happy of being able to >> have different bibliographies in one file. >> * As a mathematician I was a bit tired of the computer modern fonts (I >> really like them, but I see them to often), so I decided to go with >> the utopia/fourier fonts. This forced me to work with mkii, since I >> did not get these fonts to work with mkiv (This is still a problem, I >> am not sure how to go on with it for future documents). > > looks quite nice, i also like the font size > >> * Typesetting math worked very smoothly. There is one place where I >> hade to add some negative vertical space (I could not reproduce this >> in a minimal file). >> * I'm very happy with the way MetaPost and ConTeXt work together. >> * The presentation is inspired by Thomas A. Schmitz' files at >> http://www.tug.org/pracjourn/2006-2/schmitz/ (thanks!) > > >> * The presentation uses Wolfram's Mathematica fonts which I find being >> very clear. > > looks nice indeed; are there open type variants of those? > By the way, the Mathematica fonts can be downloaded from (type1 and ttf) http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.en.html I'm not sure if that is helpful for anyone, since there are no metric files or whatever (they go with the TeX tree that is shipped with Mathematica) Mikael ___ 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] Unicode characters
On Fri, Sep 26, 2008 at 4:35 PM, Idris Samawi Hamid <[EMAIL PROTECTED]>wrote: > On Fri, 26 Sep 2008 07:09:28 -0600, Alan Stone > <[EMAIL PROTECTED]> wrote: > > > Please explain "use fallbacks". > > http://archive.contextgarden.net/message/20080611.094746.07de5882.en.html *>>> \definefontfallback [whatever] [Slanted] [0x0060-0x007F] >>> \definefontfallback [whatever] [Bold] [0x0080-0x00FF,0x00A0-0x00AF] >>> \definefontfallback [whatever] [BoldSlanted] [0x00C0-0x00C7] >> >> What's the meaning of the third parameter? Unicode ranges?* >> >takes chars 0x0060-0x007F from Slanted (whatever it resolves to) And what are these thingies: 0x0060-0x007F ? -- Best, Alan Ubuntu 8.04 Hardy Heron (Desktop) * ConTeXt ver: 2008.09.16 19:49 MKIV fmt: 2008.9.20 int: english/english (ConTeXt minimals installation) * texexec --lua foo ___ 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] Texlive2008 and updating context
Hi everyone, I have followed any thread about updating context (on Texlive2008 on ubuntu) and no success yet. After running sudo ctxtools --updatecontext and luatools --generate everything went smooth. But after texexec --make --luatex en I got the following Should I create the cache path /home/mehdi? [yes|no] [no] and after pressing Enter I got fatal error: there is no valid (writable) cache path defined LuaTools | LuaTools | runtime: 69.494 seconds TeXExec | no lua compilations needed TeXExec | TeXExec | tex engine path: /home/mehdi/.texlive2008/texmf-config/web2c/luatex TeXExec | TeXExec | TeXExec | runtime: 70.993183 Thanks. ___ 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 ___