Re: [NTG-context] Sanskrit Devanagari characters
On Thu, 23 Jun 2011, Kip Warner wrote: On Thu, 2011-06-23 at 06:36 +0200, Khaled Hosny wrote: ConTeXt MkIV (assuming it is what you use) has no proper support for Devanagari or other Indic scripts. Since you need only few words, you can produce them externally (say ConTeXt MkII with XeTeX or Inkscape) and include the resultant PDF as inline figure. It's an inelegant, albeit workable solution - but perhaps the only way. Thanks for your help. If you really have to do it this way the dev version of the filter module [1] supports pre and postambles (@Mojca: you needed these for gnuplot module). You can use: \usemodule[filter] \defineexternalfilter[mkii] [filter={texexec --xtx --result=\externalfilteroutputfile }, output=\externalfilterbasefile.pdf, directory=output, continue=yes, readcommand=\readMKII] \define[1]\readMKII {\dontleavehmode\externalfigure[#1][location=lohi]} \startmkiipreamble \enableregime[utf-8] % I don't know how to setup typescripts with xetex % The rending is wrong. I think that one needs to enable % some language specific ligatures \font\devnagari="Lohit-Hindi" at 12pt \starttext \startTEXpage[foregroundstyle=\devnagari] \stopmkiipreamble \startmkiipostamble \stopTEXpage \stoptext \stopmkiipostamble \starttext Check if this works. \startmkii \startlines जाति न पूछो साधु की, पूछ लीजिए ग्यान। मोल करो तलवार के, पड़ा रहन दो म्यान।। \stoplines \stopmkii \stoptext % \inlinemkii does not currently work with pre- and postamble Aditya [1]: https://github.com/adityam/filter/blob/dev/___ 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] deleting wiki pages
May I simply delete http://wiki.contextgarden.net/Install_Mark_IV and remove references? There are some other pages on the list that need very heavy revisions, but I will list those later. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] deleting wiki pages
On 24-6-2011 10:33, Mojca Miklavec wrote: May I simply delete http://wiki.contextgarden.net/Install_Mark_IV and remove references? There are some other pages on the list that need very heavy revisions, but I will list those later. yes, looks obsolete (and indeed there are some more pages that mention installation that make no sense now that we have minimals as a reference) 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] Using Mkiv
Mojca Miklavec gmail.com> writes: > If you want to use TeX Live, install TeX Live 2011 > (http://www.tug.org/texlive/pretest.html). Else go for ConTeXt > minimals. > > Mojca > I installed Texlive 2011 and I'm getting the same error. I tried mtxrun --generate and I'm getting this error: MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin' MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr' MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.' MTXrun | resolvers: variable 'TEXMFCNF' set to '' MTXrun | resolvers: variable 'TEXMF' set to '' MTXrun | resolvers: variable 'TEXOS' set to '/usr' MTXrun | resolvers MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using Mkiv
On 24-6-2011 1:21, H. Hodges wrote: Mojca Miklavec gmail.com> writes: If you want to use TeX Live, install TeX Live 2011 (http://www.tug.org/texlive/pretest.html). Else go for ConTeXt minimals. Mojca I installed Texlive 2011 and I'm getting the same error. I tried mtxrun --generate and I'm getting this error: .. what installer is used? - 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] bad argument #1 to 'gsub'
On 24-6-2011 3:57, Kip Warner wrote: Hey folks, This code, as far as I remember, was working fine a few days ago but now craps out with: system> begin file Source/Handbook.tex at line 1 system> begin file Source/Environment at line 2 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil). system> tex> error on line 1 in file Source/Handbook.tex: LuaTeX error ... what version? todays beta? 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] beta
Hi, todays beta will report all loaded files in the log files, inclduign lookup methods 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] Using Mkiv
Hans Hagen wxs.nl> writes: > .. what installer is used? > I'm not sure what you're referring to, but I typed ./install-tl to install texlive. ___ 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] Metafun shifting pictures - again
On 24-6-2011 8:32, dalyoung wrote: Dear Hans, Thank you for the suggestion to use "setbounds". And sorry to send you a untested sample file which is not working. However, I couldn't succeed because of my lack of knowledge on "setbounds, boundingbox". Instead, I try to use "addto" and get a wanted result. There is a better way to do that, but it is not easy for me to find a better way right now. \startbuffer[dominos] vardef dominoV (expr m) = numeric corner_rad ; path DominoFace ; corner_rad := 1/12 ; DominoFace := (1,0) -- (1,1) -- (corner_rad,1) {left} .. {down} (0,1-corner_rad) ... (0,corner_rad) {down} .. {right}(corner_rad,0) ... (2-corner_rad,0){right} .. {up} (2,corner_rad) ... (2,1-corner_rad){up}.. {left} (2-corner_rad,1) -- (1,1) ; DominoFace rotated 270 enddef ; def shiftX(expr d) = currentpicture := currentpicture shifted (-xpart urcorner currentpicture - d, 0) ; enddef ; numeric d ; d := 1cm ; draw dominoV(6) scaled d ; shiftX(d/10) ; draw dominoV(5) scaled d ; shiftX(d/10) ; draw dominoV(4) scaled d ; shiftX(d/10) ; draw dominoV(3) scaled d ; \stopbuffer \starttext \processMPbuffer[dominos] \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] Using Mkiv
>> .. what installer is used? >> > I'm not sure what you're referring to, but I typed ./install-tl to > install texlive. Where did you fetch the installation files from? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using Mkiv
On Fri, Jun 24, 2011 at 14:02, Mojca Miklavec wrote: >>> .. what installer is used? >>> >> I'm not sure what you're referring to, but I typed ./install-tl to >> install texlive. > > Where did you fetch the installation files from? And also: did you adjust path afterwards? What does "which context" report you? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using Mkiv
Mojca Miklavec gmail.com> writes: > > Where did you fetch the installation files from? > > And also: did you adjust path afterwards? What does "which context" report > you? > > Mojca > I used the link you posted upthread and did rsync from the czech republic mirror. which context: /usr/bin/context. I'm not sure what to add to the path. So far, I've added PATH=$PATH:/usr/local/texlive/2011/bin/x86_64-linux MANPATH=/usr/local/texlive/2011/texmf/doc/man INFOPATH=/usr/local/texlive/2011/texmf/doc/info TEXMFCACHE=/tmp PATH=$PATH/usr/bin/luatex PATH=$PATH/usr/bin/context TEXMF={/tex/texmf,/tex/texmf-local} ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using Mkiv
> I used the link you posted upthread and did rsync from the czech republic > mirror. > > which context: /usr/bin/context. That's not what you want. You should use the location of your TeX Live 2011 pretest installation, which you apparently know, but: > PATH=$PATH:/usr/local/texlive/2011/bin/x86_64-linux Put it at the *beginning* of your PATH variable! Each directory in the PATH is examined in order for executables, which means in your case that, since /usr/bin is obviously part of the default PATH, your shell finds /usr/bin/context and stops searching there. Hence it executes /usr/bin/context and does not see your new installation. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using Mkiv
On 24-6-2011 2:27, H. Hodges wrote: Mojca Miklavec gmail.com> writes: Where did you fetch the installation files from? And also: did you adjust path afterwards? What does "which context" report you? Mojca I used the link you posted upthread and did rsync from the czech republic mirror. which context: /usr/bin/context. I'm not sure what to add to the path. So far, I've added PATH=$PATH:/usr/local/texlive/2011/bin/x86_64-linux MANPATH=/usr/local/texlive/2011/texmf/doc/man INFOPATH=/usr/local/texlive/2011/texmf/doc/info TEXMFCACHE=/tmp PATH=$PATH/usr/bin/luatex PATH=$PATH/usr/bin/context TEXMF={/tex/texmf,/tex/texmf-local} changing TEXMF for a texlive is probably asking for problems 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] Using Mkiv
Arthur Reutenauer normalesup.org> writes: > Put it at the *beginning* of your PATH variable! > > Arthur > Ok, it works now. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using Mkiv
On Fri, Jun 24, 2011 at 3:07 PM, H. Hodges wrote: > Arthur Reutenauer normalesup.org> writes: > > >> Put it at the *beginning* of your PATH variable! >> >> Arthur >> > > Ok, it works now. and your previous example with background ? -- 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] Using Mkiv
luigi scarso gmail.com> writes: > > On Fri, Jun 24, 2011 at 3:07 PM, H. Hodges gmail.com> wrote: > > Arthur Reutenauer normalesup.org> writes: > > > > > >> Put it at the *beginning* of your PATH variable! > >> > >> Arthur > >> > > > > Ok, it works now. > and your previous example with background ? Yes, that works as well. Thanks a lot. ___ 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] justify
Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are increased or decreased as necessary. The IE reference says “it is the most sophisticated form of justification for Latin alphabets.” 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] justify
On Fri, 24 Jun 2011, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are increased or decreased as necessary. The IE reference says “it is the most sophisticated form of justification for Latin alphabets.” I don't see it at http://www.w3.org/TR/css3-text/ http://www.w3.org/TR/css3-text/#text-justify 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] justify
On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: > Incredible: > > http://www.css3.com/css-text-justify/ : > > newspaper: spacing between letters and words are increased or decreased as > necessary. The IE reference says “it is the most sophisticated form of > justification for Latin alphabets.” > I don't see it at http://www.w3.org/TR/css3-text/ -- 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] justify
On Fri, Jun 24, 2011 at 5:42 PM, Aditya Mahajan wrote: > On Fri, 24 Jun 2011, luigi scarso wrote: > >> On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: >>> >>> Incredible: >>> >>> http://www.css3.com/css-text-justify/ : >>> >>> newspaper: spacing between letters and words are increased or decreased >>> as >>> necessary. The IE reference says “it is the most sophisticated form of >>> justification for Latin alphabets.” >>> >> I don't see it at >> http://www.w3.org/TR/css3-text/ > > http://www.w3.org/TR/css3-text/#text-justify yes, but there is not the newspaper attribute -- 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] justify
On 24-6-2011 5:45, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:42 PM, Aditya Mahajan wrote: On Fri, 24 Jun 2011, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen wrote: Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are increased or decreased as necessary. The IE reference says “it is the most sophisticated form of justification for Latin alphabets.” I don't see it at http://www.w3.org/TR/css3-text/ http://www.w3.org/TR/css3-text/#text-justify yes, but there is not the newspaper attribute i see it in a table at: http://www.css3.com/css-text-justify/ 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] bad argument #1 to 'gsub'
On Fri, 2011-06-24 at 13:27 +0200, Hans Hagen wrote: > what version? todays beta? > > Hans Hey Hans, 2011.06.23. Adam suggested to me: > There where major changes to mtxrun and I have problems as well, we > are working on it. > > In the meantime please use the version 2011.06.21: > https://launchpad.net/~reviczky/+archive/ppa/+build/2583194 Hopefully that will work, since right now it can't run anything: $ context --version resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/contextcnf.lua' resolvers | resolving | loading configuration file '/usr/share/texmf/web2c/contextcnf.lua' resolvers | caches | created: /home/kip/.texmf-var mtxrun | unknown script 'context.lua' or 'mtx-context.lua' -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] interpunct is not shown like \cdot in mathmode
Am 24.06.2011 01:20, schrieb Aditya Mahajan: > On Fri, 24 Jun 2011, yoraxe wrote: > >> Hey. >> >> Trying to use the interpunct · as a dot operator (normally \cdot), I >> noticed, that it is not shown correctly in math mode. Since the >> interpunct has different applications in different languages, in text >> mode its appearance seems to be okay. >> But isn't it possible to change its functionality to a multiplication >> sign in math mode? > > You are using 0x00B7 (middle dot). For multiplication, you should use > 0x22C5 (dot operator). Oh, I see. Thank you. Yoraxe ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography is not working
Am 24.06.2011 01:15, schrieb Aditya Mahajan: > On Fri, 24 Jun 2011, yoraxe wrote: > >> Am 24.06.2011 00:12, schrieb Aditya Mahajan: >>> On Thu, 23 Jun 2011, Hans Hagen wrote: >>> On 23-6-2011 10:16, yoraxe wrote: > Strange is, that it worked a month ago. afaik nothing really changes with the bibliographic system this month >>> >>> It could be a \write18 problem. Is a \jobname.bbl file generated? >> >> Yes, it is, but it is empty. > > So that is the problem. Try manually running > > bibtex > > to see if a correct .bbl file is generated. I got the following error message: This is BibTeX, Version 0.99d (TeX Live 2011) The top-level auxiliary file: bibtest.aux I couldn't open style file cont-no.bst ---line 2 of file bibtest.aux : \bibstyle{cont-no : } I'm skipping whatever remains of this command I found no style file---while reading file bibtest.aux (There were 2 error messages) I don't know, why it doesn't find 'cont-no.bst'. It is in the standard folder: /home/context/tex/texmf-context/bibtex/bst/context. bibtest.aux contains: \citation{*} \bibstyle{cont-no} \bibdata{bib} Yoraxe >> Checking the texmf.cnf it is set: >> shell_escape= t >> Referring to the wiki, that means that \write18 in enabled. > > IIUC, MkIV reads the value from texmfcnf.lua not texmf.cnf. The wiki > refers to old information, before texmfcnf.lua was introduced. > >>> Last I checked, TL2010 came with a horribly broken texmfcnf.lua so >>> enabling >>> \write18 for MkIV was non-trivial. >> >> kpsewhich didn't find a file named texmfcnf.lua. > > 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] justify
On Fri 24 Jun 2011, Hans Hagen wrote: > newspaper: spacing between letters and words are increased or decreased > as necessary. The IE reference says “it is the most sophisticated form > of justification for Latin alphabets.” This appears to be the original source: http://msdn.microsoft.com/en-us/library/ms531172(v=vs.85).aspx According to http://www.cs.tut.fi/~jkorpela/www/justify.html text-justify is a Microsoft extension, and it's not listed in http://www.w3.org/TR/CSS/ . So only Internet Explorer users can experience the incredible sophistication of having their text letterspaced :-). Pont ___ 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] Sanskrit Devanagari characters
On Fri, 2011-06-24 at 03:06 -0400, Aditya Mahajan wrote: > If you really have to do it this way the dev version of the filter > module [1] supports pre and postambles (@Mojca: you needed these for > gnuplot module). You can use: > > \usemodule[filter] > > \defineexternalfilter[mkii] > [filter={texexec --xtx > --result=\externalfilteroutputfile }, >output=\externalfilterbasefile.pdf, >directory=output, >continue=yes, >readcommand=\readMKII] > > \define[1]\readMKII > {\dontleavehmode\externalfigure[#1][location=lohi]} > > \startmkiipreamble >\enableregime[utf-8] >% I don't know how to setup typescripts with xetex >% The rending is wrong. I think that one needs to enable >% some language specific ligatures >\font\devnagari="Lohit-Hindi" at 12pt >\starttext >\startTEXpage[foregroundstyle=\devnagari] > \stopmkiipreamble > > \startmkiipostamble >\stopTEXpage >\stoptext > \stopmkiipostamble > > \starttext > > Check if this works. > > \startmkii > \startlines > जाति न पूछो साधु की, पूछ लीजिए ग्यान। > मोल करो तलवार के, पड़ा रहन दो म्यान।। > \stoplines > \stopmkii > > \stoptext > % \inlinemkii does not currently work with pre- and postamble > > Aditya > > [1]: https://github.com/adityam/filter/blob/dev/ Hey Aditya. That's pretty convuluted and a bit too much for one or two words of Sanskrit in a document. I think I'll hold off until there is native straightforward support. Thanks anyways. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] tex file as input (was: bad argument #1 to 'gsub')
Hi Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html (having some "file.tex" in folder "test") \starttext \input test/file \stoptext gives: ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil). system > tex > error on line 2 in file input.tex: LuaTeX error ... Tested on minimals 2011.06.24 16:57. Using "\input test/file.tex" works though. Adam ___ 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] tex file as input (was: bad argument #1 to 'gsub')
On Fri, 2011-06-24 at 23:14 +0100, Reviczky, Adam wrote: > Hi > > Here's a minimal example to follow up: > http://www.ntg.nl/pipermail/ntg-context/2011/060169.html > > (having some "file.tex" in folder "test") > > \starttext > \input test/file > \stoptext > > gives: > ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: > bad argument #1 to 'gsub' (string expected, got nil). > system > tex > error on line 2 in file input.tex: LuaTeX error ... > > Tested on minimals 2011.06.24 16:57. > > Using "\input test/file.tex" works though. > > Adam I tried adding the extension suffix and it's still busted. =( -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] tex file as input (was: bad argument #1 to 'gsub')
On Fri, 2011-06-24 at 23:43 +0100, Reviczky, Adam wrote: > Upgrade to the version 2011.06.24 and it should work. > I've attached you your example, with the ".tex" temporary fix (works > fine for me). Hey Adam, it works with the .tex suffix. I can remove that tomorrow or whenever that's patched. In the mean time, it's not a big deal to work around. However, I have a question about one of the component files you edited, Source/Preface/Preface.tex. This is what yours looks like: \startcomponent Preface \product Handbook \startchapter{Preface} Foo \stopcomponent This is what mine looked like: \startchapter{Preface} Foo ConTeXt ingests both of them without problem. Is there any reason for the more verbose method you gave? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] tracefiles error
Hi tracefiles seems to be broken. \starttext Hello world! \stoptext context --tracefiles hello.tex gives: ! Undefined control sequence. system > tex > error on line 4 in file test.tex: Undefined control sequence ... By using latest minimals 2011.06.24 16:57. Adam ___ 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] tracefiles error
On 25-6-2011 1:26, Reviczky, Adam wrote: Hi tracefiles seems to be broken. \starttext Hello world! \stoptext context --tracefiles hello.tex gives: ! Undefined control sequence. system> tex> error on line 4 in file test.tex: Undefined control sequence ... By using latest minimals 2011.06.24 16:57. ah, an obsolete feature, I'll remove it (there is so much tracing nowadays under tracker and directive control that this flag makes not much sense any more). 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] tracefiles error
> ah, an obsolete feature, I'll remove it (there is so much tracing > nowadays under tracker and directive control that this flag makes not > much sense any more). Thought so. Thanks. Adam ___ 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] tracefiles error
On Sat, 2011-06-25 at 01:41 +0200, Hans Hagen wrote: > ah, an obsolete feature, I'll remove it (there is so much tracing > nowadays under tracker and directive control that this flag makes not > much sense any more). > > Hans Thanks Hans. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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] tex file as input (was: bad argument #1 to 'gsub')
On 25-6-2011 12:14, Reviczky, Adam wrote: Hi Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html (having some "file.tex" in folder "test") \starttext \input test/file \stoptext gives: ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil). system> tex> error on line 2 in file input.tex: LuaTeX error ... Tested on minimals 2011.06.24 16:57. Using "\input test/file.tex" works though. fixed in next beta - 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] beta
Hi Hans, Updating through the minimals to the latest beta (ConTeXt version 2011.06.25 01:48) presents a few problems: 1) mkii does not work anymore: typesetting \starttext Hello Hans! \stoptext results in sh: /context-minimal/tex/texmf-context/scripts/context/ruby/texexec.rb: Permission denied 2) There is now a problem with \footnote: for instance with mkiv \starttext \chapter{Testing a chapter\footnote{Actually for testing footnotes in a chapter header\dots}} \section{Testing a section\footnote{Actually for testing footnotes in a section header\dots}} \stoptext does not show the footnote numbers in the footnotes area. 3) In mathmode with some fonts some arrows are not showed: example with mkiv \setupbodyfont[libertine,12pt] \starttext \startformula L : E \longrightarrow F, \qquad x \mapsto f(x), \stopformula \stoptext While talking about maths and mkiv, the issue I reported about bounds of integrals is still present. Best regards: OK On 24 juin 2011, at 13:28, Hans Hagen wrote: > Hi, > > todays beta will report all loaded files in the log files, inclduign lookup > methods > > 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 > ___ ___ 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 ___