Re: [NTG-context] Differences for \Vert in mkii and mkiv
Dear Aditya, I am sorry I overlooked you answer… I just saw that you have answered my message regarding the \Vert symbol. Thank you and please pardon me. I tried to modify the mapping of 0x2016 to 0xFF605, but since I don't understand the way or where 0xFF605 is constructed, I didn't get any result. 0x2016 is described in char-def.lua, and in font-agl.lua. FF605 is referred to only in math-vfu.lua. Maybe if Hans has a little time, he can explain where the double vertical bar is constructed: the problem is that these bars are scaled swelled (or English) rules rather than bars as in Latin Modern. Since more and more people are going to use only mkiv, this issue can be annoying for mathematical typesetting. Best regards: OK On 19 janv. 2011, at 17:44, Aditya Mahajan wrote: On Tue, 18 Jan 2011, Otared Kavian wrote: Dear Aditya, dear Hans, I noticed a serious difference between what one gets for \left\Vert in mkii and in mkiv. Probably this is due to the fact that in mkiv the glyph for \Vert is constructed in a different manner, but as far as I know from what I see in the mathematical printed materials, the correct one, or the expected one, is the output from mkii. I don't know why the glyphs are different. In MkIV, the virtual font is mapping 0x2016 to 0xFF605, but I don't know how FF605 is created. Is there a way to redefine locally \Vert (or \|) so that in mkiv one gets the same output as with mkii? Not locally. You could change math-vfu.lua to change the mapping, but I don't completely understand how those work (with the virtual glyphs like FF605) Aditya ___ 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 ___ ___ 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] error updating beta WAS: beta
Just uploaded latest beta and on context --make en got the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Are there still missing files? Hans van der Meer ___ 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] beta/problem with layers
Am 01.02.2011 um 13:33 schrieb Andreas Harder: Am 01.02.2011 um 12:11 schrieb Wolfgang Schuster: Am 01.02.2011 um 11:43 schrieb Andreas Harder: Hi, it seems there go something wrong with layers. With the last beta context postpones font loading till \starttext. As there is no font loaded the layer content is not visible, move \starttext at the begin of the file and you can see the layer text. Thanks Wolfgang, I forgot about that. Even though it’s not so obvious because other commands like \setupheadertexts don’t have this problem, for all the curious people here is a small example where you can see the problem in another context. \starttext \tt\setbox0=\hbox{boxed text}\ss unboxed text \box0 \stoptext You would now expect both texts are printed sans serif but the first was saved in a box and use not the font which was active when you stored it in the box, the same happens with \setlayer because the commands stores the content too in a \hbox and since there was no font available when you put it in the box nothing is shown. Besides moving \setlayer after \starttext you can just load a font before the \setlayer settings, e.g. \setupbodyfont[modern] \definelayer[…] \setlayer[…]{…} \starttext … \stoptext or you use \startproduct which is normally always written as first line and acts \starttext which preloads then the Latin Modern fonts, e.g. \startproduct \definelayer[…] \setlayer[…]{…} \startbodymatter … \stopbodymatter \stopproduct The bodymatter enviroment isn’t necessary here because it’s always enabled when you other sectionblockenvironment is used but it’s useful to have something which separates the preamble from the text. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
On Wed, Feb 2, 2011 at 11:18 AM, Hans van der Meer h.vanderm...@uva.nl wrote: Just uploaded latest beta and on context --make en got the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Are there still missing files? Hans van der Meer not here from minimals -- 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] error updating beta WAS: beta
Confirmed - I got the same error yesterday evening on my linux system (after a successful installation in the afternoon on OS X). Jörg On 2/2/11 11:25 AM, luigi scarso wrote: On Wed, Feb 2, 2011 at 11:18 AM, Hans van der Meerh.vanderm...@uva.nl wrote: Just uploaded latest beta and on context --make en got the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Are there still missing files? Hans van der Meer not here from minimals ___ 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] \useURL broken in mkiv
Dear Hans, It seems that with ConTeXt beta 2011-01-31, the command \useURL is broken in mkiv, while it works fine in mkii (it worked fine until 2011-01-26 in mkiv). Here is a minimal example begin bug-useURL.tex \starttext See Prgma's site \useURL{http://www.pragma-ade.nl/} \stoptext end bug-useURL.tex and here is the error message: \nextoptionalcommandnop -\doquadrupleemptyNOPone \douseurl to be read again I hope these are useful to fix the issue. Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
Could it be because it is named catc-ini.lua instead of catc-ini.mkiv? Or has it to be loaded as an explicit lua-file? Hans van der Meer On 2 feb 2011, at 11:34, Jörg Hagmann wrote: Confirmed - I got the same error yesterday evening on my linux system (after a successful installation in the afternoon on OS X). Jörg On 2/2/11 11:25 AM, luigi scarso wrote: On Wed, Feb 2, 2011 at 11:18 AM, Hans van der Meerh.vanderm...@uva.nl wrote: Just uploaded latest beta and on context --make en got the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Are there still missing files? Hans van der Meer not here from minimals ___ 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 ___ ___ 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] error updating beta WAS: beta
On Wed, Feb 2, 2011 at 11:43 AM, Hans van der Meer h.vanderm...@uva.nl wrote: Could it be because it is named catc-ini.lua instead of catc-ini.mkiv? Or has it to be loaded as an explicit lua-file? no. What about $ mktexlsr $ kpsewhich catc-ini.mkiv ? -- 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] including pdf
Sorry to chime in do anyone know if there's a solution? Thanks a lot Best -a- On Jan 31, 2011, at 3:37 PM, Andrea Valle wrote: Hi list! I have to create the proceedings of a conference. I'm collecting A4 pdfs (from word/latex templates), and I have to stick them together, adding cover, toc etc Now, I've used copypages. The fact is that the included pdfs do not bleed over all the page, their inclusion seems to depend on some dimension I'm not able to control via setuplayout. So, I tested startpagefigure. Works fine but I can include (well, I'm able to) a single page. More, it seems that numbers of page disappear (while I need them) Any hints? Thanks a lot -a- ___ 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] mtxrun issue in new beta
Hi, I get mtxrun:12090: bad argument #1 to 'gsub' (string expected, got nil) with texexec (mtxrun --usekpse) in current beta. Best, Florian ___ 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] error updating beta WAS: beta
Strange, doing (running MacOSX 10.6.6, beta is the directory in which context is installed): 102 beta: mktexlsr mktexlsr: Updating /Users/hans/TeX/ConTeXt/beta/ls-R... mktexlsr: Done. 103 beta: kpsewhich catc-ini.mkiv /Users/hans/TeX/ConTeXt/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv 104 beta: File is there. Checked again that context --make en runs into the same error. Hans van der Meer On 2 feb 2011, at 11:45, luigi scarso wrote: kpsewhich catc-ini.mkiv ___ 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] \useURL broken in mkiv
Am 02.02.2011 um 11:35 schrieb Otared Kavian: Dear Hans, It seems that with ConTeXt beta 2011-01-31, the command \useURL is broken in mkiv, while it works fine in mkii (it worked fine until 2011-01-26 in mkiv). Here is a minimal example begin bug-useURL.tex \starttext See Prgma's site \useURL{http://www.pragma-ade.nl/} \stoptext You’re using it the wrong way. \useURL[pragma][http://www.pragma-ade.nl/] \starttext See Pragma’s site \url[pragma]. \stoptext For more ways look here: http://wiki.contextgarden.net/url 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] including pdf
Am 02.02.2011 um 11:46 schrieb Andrea Valle: Sorry to chime in do anyone know if there's a solution? Do you have a example! Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
On Wed, Feb 2, 2011 at 11:57 AM, Hans van der Meer h.vanderm...@uva.nl wrote: Strange, doing (running MacOSX 10.6.6, beta is the directory in which context is installed): 102 beta: mktexlsr mktexlsr: Updating /Users/hans/TeX/ConTeXt/beta/ls-R... mktexlsr: Done. 103 beta: kpsewhich catc-ini.mkiv /Users/hans/TeX/ConTeXt/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv 104 beta: File is there. Checked again that context --make en runs into the same error. delete the cache and $ mtxrun --generate -- 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] including pdf
Ok, let's reformulate partially If I have: \setuppapersize[A4] \setuppagenumbering[location=left, state=start] \starttext \copypages[pdf/Test.pdf][scale=1000] \stoptext Looking at the resulting pdf, it seems that the original pdf is mirrored (apart from half a line at the bottom of the paper, trunked). Ok. But there are not page numbers (I guess they are coverd by the imported pdf) Now, so sum up my problem is: - given a certain number of A4 pdf - how to collect them in a unique pdf - with successive page numbers - and with refs, so that I can automagically create a TOC Thanks, best -a- On Feb 2, 2011, at 12:03 PM, Wolfgang Schuster wrote: Am 02.02.2011 um 11:46 schrieb Andrea Valle: Sorry to chime in do anyone know if there's a solution? Do you have a example! Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
Did remove texmf-cache and ran mtxrun --generate. Still get on context --make en the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Please type another input file name: (will be away 1 or 2 hours, sorry not able to answer immediately) Hans van der Meer On 2 feb 2011, at 12:05, luigi scarso wrote: On Wed, Feb 2, 2011 at 11:57 AM, Hans van der Meer h.vanderm...@uva.nl wrote: Strange, doing (running MacOSX 10.6.6, beta is the directory in which context is installed): 102 beta: mktexlsr mktexlsr: Updating /Users/hans/TeX/ConTeXt/beta/ls-R... mktexlsr: Done. 103 beta: kpsewhich catc-ini.mkiv /Users/hans/TeX/ConTeXt/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv 104 beta: File is there. Checked again that context --make en runs into the same error. delete the cache and $ mtxrun --generate -- 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 ___ ___ 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] mtxrun --find-file
Why does --find-file gives an error: 106 beta: mtxrun --find-file catc-ini.mkiv ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to call field '?' (a table value) 107 beta: mtxrun --find-file catc-ini ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to call field '?' (a table value) 108 beta: Hans van der Meer ___ 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] mtxrun --find-file
On Wed, Feb 2, 2011 at 12:29 PM, Hans van der Meer h.vanderm...@uva.nl wrote: Why does --find-file gives an error: 106 beta: mtxrun --find-file catc-ini.mkiv ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to call field '?' (a table value) 107 beta: mtxrun --find-file catc-ini ...rs/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/bin/mtxrun:14558: attempt to call field '?' (a table value) 108 beta: a bug, I suppose. You can use $ mtxrun --find-path catc-ini.mkiv -- 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] error updating beta WAS: beta
On 2-2-2011 11:18, Hans van der Meer wrote: Just uploaded latest beta and on context --make en got the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Are there still missing files? no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
Hans Hagen pra...@wxs.nl writes: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv -- Peter ___ 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] error updating beta WAS: beta
On 2-2-2011 1:41, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv this can already be done (just install with the --engine=luatex flag) the main issue is that mtxrun also replaces the ruby texmfstart script and texexec is launched via mtxrun; so mtxrun needs to be able to deal with mkii situations where kpse is used for lookups later on; as the installer uses the --tree option, and as mkiv has an abstract notion of the texroot, some hoops have to be jumped through to get it working for both machineries - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
2011/2/2 Hans Hagen pra...@wxs.nl On 2-2-2011 1:41, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv this can already be done (just install with the --engine=luatex flag) the main issue is that mtxrun also replaces the ruby texmfstart script and texexec is launched via mtxrun; so mtxrun needs to be able to deal with mkii situations where kpse is used for lookups later on; as the installer uses the --tree option, and as mkiv has an abstract notion of the texroot, some hoops have to be jumped through to get it working for both machineries You mentioned earlier that texexec could be replaced by mtxrun completely, that only a bit is missing. Would this solve the problem? Regards, Vedran Miletić ___ 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] error updating beta WAS: beta
On 2-2-2011 3:01, Vedran Miletić wrote: 2011/2/2 Hans Hagenpra...@wxs.nl On 2-2-2011 1:41, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv this can already be done (just install with the --engine=luatex flag) the main issue is that mtxrun also replaces the ruby texmfstart script and texexec is launched via mtxrun; so mtxrun needs to be able to deal with mkii situations where kpse is used for lookups later on; as the installer uses the --tree option, and as mkiv has an abstract notion of the texroot, some hoops have to be jumped through to get it working for both machineries You mentioned earlier that texexec could be replaced by mtxrun completely, that only a bit is missing. Would this solve the problem? it would solve the ruby dependency but pdftex/xetex need kpse Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
On Wednesday 02 February 2011 14:58:25 Hans Hagen wrote: some hoops have to be jumped through to get it working for both machineries ¡Olé! ___ 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] beta/problem with layers
On Wed, 2 Feb 2011, Wolfgang Schuster wrote: Besides moving \setlayer after \starttext you can just load a font before the \setlayer settings, e.g. \setupbodyfont[modern] \definelayer[…] \setlayer[…]{…} \starttext … \stoptext Perhaps a redirection like \setlayer[...]{\setups{layersetup}} might also work (untested). or you use \startproduct which is normally always written as first line and acts \starttext which preloads then the Latin Modern fonts, e.g. There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust solution so that \setuplayer[...]{...} \starttext ... \stoptext just works. The bodymatter enviroment isn’t necessary here because it’s always enabled when you other sectionblockenvironment is used but it’s useful to have something which separates the preamble from the text. One could also use \starttext ... \stoptext here. Aditya___ 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] beta/problem with layers
On 2-2-2011 4:07, Aditya Mahajan wrote: There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust solution so that well, it depends ... how many use lm for documents? as Wolfgang mentioned, setting a layer will use the current font which might not be the same as one sets later; btw, setting the size of style will trigger a load - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] including pdf
On Wed, 2 Feb 2011, Andrea Valle wrote: Ok, let's reformulate partially If I have: \setuppapersize[A4] \setuppagenumbering[location=left, state=start] \starttext \copypages[pdf/Test.pdf][scale=1000] \stoptext Looking at the resulting pdf, it seems that the original pdf is mirrored (apart from half a line at the bottom of the paper, trunked). Ok. But there are not page numbers (I guess they are coverd by the imported pdf) You can add a layer on top and set page numbers in the layer. Now, so sum up my problem is: - given a certain number of A4 pdf - how to collect them in a unique pdf - with successive page numbers - and with refs, so that I can automagically create a TOC For a quick solution, you can try the cut-n-paste module[1]. It does not create a TOC, so you will have to do that by hand (or a helper macro). \usemodule[cut-n-paste] \newcount\colledpages \definecutNpaste[collection][n=1,text={\setups[page]},location=(OverlayWidth/2,1cm)] \startsetups[page] \doglobal\increment{\collectedpages}% \collectedpages \stopsetups \starttext \processcollection[name=paper1.pdf] \processcollection[name=paper2.pdf] \processcollection[name=paper3.pdf] \stoptext The location of the text is controled by the location key. This can be any valid metapost coordinate. The module is actually meant for convert two column pdfs to one column pdfs (for reading on an ebook device), so it an overkill for just merging pages. You can however control how many pages to insert, (using start and stop keys), and draw a grid on the page (grid=yes), and trim the page (more complicated). But, as I said earlier, the simplest way is to just insert the page number in a layer. Aditya [1]:https://github.com/adityam/cut-n-paste ___ 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] beta/problem with layers
On Wed, 2 Feb 2011, Hans Hagen wrote: On 2-2-2011 4:07, Aditya Mahajan wrote: There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust solution so that well, it depends ... how many use lm for documents? Don't know, but I am pretty sure that layers are used all over the place. In most of my documents, I set the layers in an evironment file, which is often loaded before \starttext. as Wolfgang mentioned, setting a layer will use the current font which might not be the same as one sets later; Oh, that is a bigger problem. That means that the first thing in a style should be font loading... if nothing else then just \setupbodyfont[11pt]. Perhaps \setlayer (or even \hbox!!) should issue a warning if the fonts have not been loaded yet. Aditya ___ 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] beta/problem with layers
On 2-2-2011 5:46, Aditya Mahajan wrote: Perhaps \setlayer (or even \hbox!!) should issue a warning if the fonts have not been loaded yet. hm, that should be doable maybe we can hook that into everyhbox / everyvbox in general, setlayer is not so much preamble as content code .. we could think of some extra wrappers, like \startstyledefinitions \stopstyledefinitions \startcontentdefinitions \stopcontentdefinitions \starttext \stoptext although fonts are not yet loaded, ex and em do work because nullfont gets the 12pt lm values (one can add \setupbodyfont[modern] to a cont-sys.mkiv of course) 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] Speech bubbles
Evening all: Has anyone got a nicer \speechbubble definition up their sleeve? Here is not-nice one, so you know the floor: \define [1] \speechBubble {\blank \framed [width=.6\textwidth ,autowidth=force,align={flushleft}, background=color, backgroundcolor=darkblue, foreground=color, foregroundcolor=white, frame=off,corner=0,backgroundoffset=5pt,] {#1} ~~~ \tfd \startcolor[darkblue]{'} \stopcolor \tfa \blank} Called with things like: \speechBubble {They could be above or below the frequency we can hear, so called infra-sound or ultra-sound, or the amplitude could be just too small: so not enough power in the radiating pathway for the detector to respond.} I guess there are some people with xs metapost skills out there... But is there as simple way to get a nice curved pointer left or right from the bottom of that rounded rectangle frame? ___ 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] beta/problem with layers
On 2-2-2011 5:46, Aditya Mahajan wrote: On Wed, 2 Feb 2011, Hans Hagen wrote: On 2-2-2011 4:07, Aditya Mahajan wrote: There is no point in not loading the fonts in the begining if one would then have to come up with clever ways to force loading of a font. I hope that there is a more robust solution so that well, it depends ... how many use lm for documents? Don't know, but I am pretty sure that layers are used all over the place. In most of my documents, I set the layers in an evironment file, which is often loaded before \starttext. as Wolfgang mentioned, setting a layer will use the current font which might not be the same as one sets later; Oh, that is a bigger problem. That means that the first thing in a style should be font loading... if nothing else then just \setupbodyfont[11pt]. Perhaps \setlayer (or even \hbox!!) should issue a warning if the fonts have not been loaded yet. How about: \unprotect \def\dozerostagepreloadfonts {\definedfont[\s!file:lmmono10-regular sa 1]} \def\zerostagepreloadfonts {\writestatus\m!fonts{beware: no fonts are loaded yet so content will not show up}% \glet\zerostagepreloadfonts\dozerostagepreloadfonts \zerostagepreloadfonts} \everyhbox{\zerostagepreloadfonts} \everyvbox{\zerostagepreloadfonts} \def\resetpreloadfonts {\global\let\zerostagepreloadfonts \relax \global\let\firststagepreloadfonts \relax \global\let\secondstagepreloadfonts\relax \global\let\thirdstagepreloadfonts \relax \global\let\fourthstagepreloadfonts\relax \global\everyhbox\emptytoks \global\everyvbox\emptytoks \resetnullfont} \protect \setbox0\hbox{xxx} \starttext test \box0 \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
More weird things I am afraid. Experimenting somewhat, I removed the texmf-cahce and did mtxrun --generate. The first messages is: /Users/hans/TeX/ConTeXt/beta and its permissions are: drwxrwxr-x 7 hans staff 238 2 feb 17:48 beta/ idem of the parent directory: drwxr-xr-x 13 hans staff 442 2 feb 10:36 ../ 120 beta: mtxrun --generate shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Something wrong here? Something I can/should repair? Hans van der Meer On 2 feb 2011, at 12:24, Hans van der Meer wrote: Did remove texmf-cache and ran mtxrun --generate. Still get on context --make en the error: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.76 \loadmarkfile{catc-ini} Please type another input file name: (will be away 1 or 2 hours, sorry not able to answer immediately) Hans van der Meer On 2 feb 2011, at 12:05, luigi scarso wrote: On Wed, Feb 2, 2011 at 11:57 AM, Hans van der Meer h.vanderm...@uva.nl wrote: Strange, doing (running MacOSX 10.6.6, beta is the directory in which context is installed): 102 beta: mktexlsr mktexlsr: Updating /Users/hans/TeX/ConTeXt/beta/ls-R... mktexlsr: Done. 103 beta: kpsewhich catc-ini.mkiv /Users/hans/TeX/ConTeXt/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv 104 beta: File is there. Checked again that context --make en runs into the same error. delete the cache and $ mtxrun --generate -- ___ 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] error updating beta WAS: beta
On Wed, Feb 2, 2011 at 13:41, Peter Münster pmli...@free.fr wrote: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv Yes, I like this idea. I don't care about mkii, nor pdftex. ___ 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] error updating beta WAS: beta
Vnpenguin vnpeng...@vnoss.org writes: On Wed, Feb 2, 2011 at 13:41, Peter Münster pmli...@free.fr wrote: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv Yes, I like this idea. I don't care about mkii, nor pdftex. In the first place, this idea was meant to make Hans' life easier. (not the user's life... ;-) -- Peter ___ 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] error updating beta WAS: beta
On 2 feb 2011, at 20:08, Peter Münster wrote: Vnpenguin vnpeng...@vnoss.org writes: On Wed, Feb 2, 2011 at 13:41, Peter Münster pmli...@free.fr wrote: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv Yes, I like this idea. I don't care about mkii, nor pdftex. In the first place, this idea was meant to make Hans' life easier. (not the user's life... ;-) I strongly support the idea of freezing mkii, apart from repairing obvious bugs in the existing codebase. It will free precious resources and save valuable time. Moreover imho concentrating on mkiv not hampered by compatability issues because of mkii, can only add to its stability. (It is just like evolution or maybe call it progress. Imagine both our primate ancestors and the dinosaurs being maintained at the same time? Where would we be? ;-) Hans van der Meer ___ 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] error updating beta WAS: beta
On Wed, Feb 2, 2011 at 8:07 PM, Hans van der Meer h.vanderm...@uva.nl wrote: More experiments, I am not one to be so easily defeated by software. Retrieved some old beta's, each time I start a context run then it results in the loadfilemarkerror. But I can find several formats lying around: /Users/hans/TeX/ConTeXt/beta/tex/texmf-cache/luatex-cache/context/c180539b697aa06758debbc1182817e4/formats/cont-en.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-cache/luatex-cache/context/c180539b697aa06758debbc1182817e4/formats/cont-nl.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/pdftex/cont-en.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/pdftex/cont-nl.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/xetex/cont-en.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/xetex/cont-nl.fmt Apparently none of them found! Vide this first message: MTXrun | warning: no format found, forcing remake (commandline driven) It's a Mac OS system (sorry, I though it was linux). Can you try the latest minimals under /Users/hans/LuaTeX (just to be sure to avoid conflicts) ? -- 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] error updating beta WAS: beta
On 2-2-2011 8:08, Peter Münster wrote: Vnpenguinvnpeng...@vnoss.org writes: On Wed, Feb 2, 2011 at 13:41, Peter Münsterpmli...@free.fr wrote: no, i'm still trying to get mkii and mkiv working at the same time with a fundamental different setup strategy .. getting there Or perhaps 2 completely different distributions? mkii: frozen, only some fixes from time to time mkiv: no more mkii files, no more pdftex, just pure mkiv Yes, I like this idea. I don't care about mkii, nor pdftex. In the first place, this idea was meant to make Hans' life easier. (not the user's life... ;-) as there is not much code written for mkii the burden for me is not that large; also, now that the codebase is completely split, there is less danger of changes in one affecting the other also, there are mkii users out there, including collegues, so it won't be dropped installing mkiv only is already possible for a while ok, we can have less files if we make a zip split, something that might happen at some point (i need to adapt my assembling script then) for a moment i considered base/mkii base/mkiv base/common but it might not be worth the effort, Hans (who after many hours finally managed to get a beta of one of his favourite programs working on suse 11.3 as it kept crashing linux on 11.2 but well, it's beta for a reason) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] error updating beta WAS: beta
On 2-2-2011 8:07, Hans van der Meer wrote: More experiments, I am not one to be so easily defeated by software. Retrieved some old beta's, each time I start a context run then it results in the loadfilemarkerror. But I can find several formats lying around: /Users/hans/TeX/ConTeXt/beta/tex/texmf-cache/luatex-cache/context/c180539b697aa06758debbc1182817e4/formats/cont-en.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-cache/luatex-cache/context/c180539b697aa06758debbc1182817e4/formats/cont-nl.fmt best wipe the cache as the latest version uses a different hash so the oldest path is obsolete /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/pdftex/cont-en.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/pdftex/cont-nl.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/xetex/cont-en.fmt /Users/hans/TeX/ConTeXt/beta/tex/texmf-osx-64/web2c/xetex/cont-nl.fmt looks ok Apparently none of them found! Vide this first message: MTXrun | warning: no format found, forcing remake (commandline driven) hm, the latest beta? export TEXLIVE=/usr/local/texlive/2010 export TEXPRIVATE=$HOME/TeX/My-TeXLib export TEXMINIMAL=$HOME/TeX/ConTeXt/beta export TEXPATH=$TEXMINIMAL/tex/texmf-osx-64/bin export TEXMFDBS=$TEXMINIMAL #$TEXMINIMAL/tex/setuptex export TEXMF=$TEXMINIMAL Note: inserting the hashed out line doesn't make a difference. you can check what mtxrun --generate returns as variables right at the start also, configuration of mkiv happens in texmfcnf.lua (see contextcnf.lua for the future version of it, but that's for Mojca to decide) 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] embedding swfs in pdfs
Any experts out there - with access to code (or the ability to assemble such code) that can do what acropro ( advanced options) offers on embedding swfs? -load in swf at x,y location relative to a fixed 1026 by 768 px background -set size correctly (native size of swf) -set poster frame (provided at fixed location) -load in a folder or directory full of assets (several subfolders are involved) -set up the launch settings for the swf So needs more than InDesign CS5 currently offers. Not just loading in a freestanding swf movie clip. THX Ian ___ 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] embedding swfs in pdfs
On Wed, Feb 2, 2011 at 9:44 PM, Ian Lawrence physics.wande...@gmail.com wrote: Any experts out there - with access to code (or the ability to assemble such code) that can do what acropro ( advanced options) offers on embedding swfs? -load in swf at x,y location relative to a fixed 1026 by 768 px background -set size correctly (native size of swf) -set poster frame (provided at fixed location) -load in a folder or directory full of assets (several subfolders are involved) -set up the launch settings for the swf I've done something http://meeting.contextgarden.net/2010/talks/2010-09-17-luigi-flash/ but I need more samples -- 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] beta/problem with layers
Am 02.02.2011 um 16:07 schrieb Aditya Mahajan: The bodymatter enviroment isn’t necessary here because it’s always enabled when you other sectionblockenvironment is used but it’s useful to have something which separates the preamble from the text. One could also use \starttext ... \stoptext here. I don’t think \starttext after \startproduct is good style. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] embedding swfs in pdfs
Hi Luigi, I found your stuff on context garden...looks like a sound start. I'm really interested in getting external swfs loaded in. I have both some legacy 'sealed unit' swfs where everything is all in one file, and some still being built, which have the assets external. simple/ sealed (~ several hundred, probably): https://spt.box.net/shared/static/xmz4vh0k4l.swf with assets (~75 of these): http://supportingphysics.org/spt/temp/SPT_14-16_Ra_01_PN_LE12_04_MakingaLens.swf The former are of varying dimensions, the latter are all one size - and yes, it still has (conceptual) errors in it. So I have plenty of real-life examples. I think the swfs with assets will be a tough one to crack... On 2 Feb 2011, at 20:53, luigi scarso wrote: On Wed, Feb 2, 2011 at 9:44 PM, Ian Lawrence physics.wande...@gmail.com wrote: Any experts out there - with access to code (or the ability to assemble such code) that can do what acropro ( advanced options) offers on embedding swfs? -load in swf at x,y location relative to a fixed 1026 by 768 px background -set size correctly (native size of swf) -set poster frame (provided at fixed location) -load in a folder or directory full of assets (several subfolders are involved) -set up the launch settings for the swf I've done something http://meeting.contextgarden.net/2010/talks/2010-09-17-luigi-flash/ but I need more samples -- 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 ___ ___ 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] error updating beta WAS: beta
On 2-2-2011 10:00, Hans van der Meer wrote: Looking at these variables doesn't look good, I suspect: MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/Users/hans/Bin' MTXrun | resolvers: variable 'SELFAUTODIR' set to '/Users/hans' MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '/Users' MTXrun | resolvers: variable 'TEXMFCNF' set to '' MTXrun | resolvers: variable 'TEXMF' set to '/Users/hans/TeX/ConTeXt/beta' MTXrun | resolvers: variable 'TEXOS' set to 'hans' MTXrun | resolvers MTXrun | resolvers: unknown configuration file '/Users/texmf-local/texmfcnf.lua' MTXrun | resolvers: unknown configuration file '/Users/texmf-local/web2c/texmfcnf.lua' MTXrun | resolvers: unknown configuration file '/Users/texmf/texmfcnf.lua' MTXrun | resolvers: unknown configuration file '/Users/texmf/web2c/texmfcnf.lua' MTXrun | resolvers: unknown configuration file '/Users/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers: warning: no lua configuration files found If for example TEXOS has to be the name of an operating system or machine, than it is far beyond the mark. And /Userstexmf-local... ?? These are not users in the system! How and where are these variables acquired? texos is only used to guess the texmf-[texos]/bin path so, indeed, if you don't conform to the minimal structure it is not that meaningful anyhow, you have no configuration file in a known place so you can try to set it yourself (TEXMFCNF=path_to_your_cnffile) you cannot expect the minimals to work with arbitrary tree setups normally this problem is just a side effect of putting binaries in a spot that the SELF* variables cannot relate to you can have extra bins of course, for instance I have (as i need to test it): texmf-mswin texmf-mswin-new texmf-mswin-texlive and set up my console with: SET PATH=%MYTEXROOT%\texmf-mswin-live\bin;%PATH% SET PATH=%MYTEXROOT%\texmf-mswin\bin;%PATH% SET PATH=%MYTEXROOT%\texmf-mswin-new\bin;%PATH% so, the newest bins are taken first (under texroot are also the regular minimal paths as wel as texmf-mine that has some dev files) ... so there are plenty of ways to extend the minimals also, I have a couple of dev paths added to the regular paths and do that in a local extra texmfcnf.lua file (multiple files are supported) 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] JS in widgets still not working with mkiv
Dear Hans Everything I use around widgets works now, except JavaScript. Please find attached a minimal example (js.tex). I don't see any errors running mkiv and the PDF is generated, but when I enter for example \'a into the field I am expecting to get á (as you can see with mkii), but it just inserts the keys I pressed, eg. \'a. I've attached two PDF's, one made with mkii and one with mkiv. The input with the mkii PDF works as expected, the mkiv PDF does not work like expected. Can you have a look at this? Best wishes Adam jsmkii.pdf Description: jsmkii.pdf jsmkiv.pdf Description: jsmkiv.pdf \setupinteraction[state=start] \starttext \setupfield [ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=18pt,width=80pt,align=middle,background=screen,backgroundscreen=.90,frame=off] [height=18pt,width=80pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off,regionin=JS(Initialize_TeX_Key),afterkey=JS(Convert_TeX_Key),validate=JS(Convert_TeX_String)] \definefield [Email] [line] [ShortLine] [] [pragma at wxs.nl] \field [Email] [your email] \stoptext ___ 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] Latest beta, simpleslides, and font loading
In the latest beta if I use the simplefonts module, the font database is regenerated at each run! For example, this file For example with this file: \usemodule [simplefonts][size=10pt] \setmainfont[Cambria] \setmathfont[Cambria] \starttext \input knuth \stoptext the font database is regenerated at each run. If I replace the simplefonts setup with \setupbodyfont[cambria,10pt] the database is not regenerated. Any idea what is going wrong? (In my actual document, I am using system fonts, I would like to use simpleslides module rather than write my own typescript). Aditya ___ 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] Latest beta, simpleslides, and font loading
Am 03.02.2011 um 08:16 schrieb Aditya Mahajan: In the latest beta if I use the simplefonts module, the font database is regenerated at each run! For example, this file For example with this file: \usemodule [simplefonts][size=10pt] \setmainfont[Cambria] \setmathfont[Cambria] \starttext \input knuth \stoptext the font database is regenerated at each run. If I replace the simplefonts setup with \setupbodyfont[cambria,10pt] the database is not regenerated. Any idea what is going wrong? Here is a minimal example: \starttext \doiffontpresentelse{cambria}{yes}{no} \doiffontpresentelse{unknown}{yes}{no} \stoptext Simplefonts tries a lot of name combinations (e.g. cambriaregular) with the \doiffontpresentelse command to look if a font exists to find all styles (regular, italic etc.) and now when when a entry in the database with this name does not exist (second test above for 'unknown') context regenerates the database. (In my actual document, I am using system fonts, I would like to use simpleslides module rather than write my own typescript). Is this a option for you: \definetypeface[mainface][rm][specserif][DejaVu Serif][default] \definetypeface[mainface][ss][specsans] [DejaVu Sans] [default] \setupbodyfont[mainface] 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___