Re: [NTG-context] git repo is not updated?
Hi, I see that context minimals is at 2010-06-05 version, hovewer git repo [1] is last updated on 2010-05-29. So, experimental means no more updates :) It's now passed more then 24 ours from my first email and still the git repository is not updated. OK, I'l have a look into it and I will report back. I am interested what you use the git repo for. Patrick ___ 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] Cyrillic in Mark IV
Wolfgang Schuster wrote: Am 06.06.10 09:55, schrieb Yury G. Kudryashov: Hi! How can I typeset Russian in Mark IV? None of the examples from wiki work. I found TeXGyre and (no) Cyrillic thread, but there are no instructions, just Cyrillic doesn't work with TeXGyre anymore. You need a font with cyrillic glyphs, e.g. when you have microsofts core fonts installed this example works: \setupbodyfont[mscore] \starttext Немного русского текста для пробы. \stoptext Thanks, this works but I don't like this font, and it breaks some math symbols. It would be nice to be able to use, for example, the same font LaTeX+babel use by default (btw, is it cm-unicode?). ___ 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] git repo is not updated?
On Mon, Jun 7, 2010 at 9:26 AM, Patrick Gundlach patr...@gundla.ch wrote: Hi, I see that context minimals is at 2010-06-05 version, hovewer git repo [1] is last updated on 2010-05-29. So, experimental means no more updates :) It's now passed more then 24 ours from my first email and still the git repository is not updated. OK, I'l have a look into it and I will report back. I am interested what you use the git repo for. To follow the changes and learn the code. Other repos are more convenient to follow, because each commit is a small step, while in your repo changes are presented in bulk, but it's better then nothing at all. ___ 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] Problems using new beta
Hi all! I am just new to ConTeXt, I have played with it for one week. I have installed standard ConTeXt minimals installation and no other TeX distro is installed on my MS Vista computer. I use also TeXworks editor. On Sunday, after I installed new package, I realized, that my workflow is broken. I received next message in my TeXworks editor, the same for command line: MTXrun | run 1: luatex --fmt=C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en --lua=C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.lui --backend=pdf ./dopis.tex This is LuaTeX, Version beta-0.60.1-2010060523 (Web2C 2010) (rev 3685) \write18 enabled. ! I can't find file `./dopis.tex'. * ./dopis.tex Please type another input file name: I have my documents in C:\Users\Ivo\TeX directory and ConTeXt worked fine until the new sync. When I tried to find what is wrong, I realized strange thing. When I move my document somewhere inside my TEXMF tree (C:\context\tex), it works. For example I copied dopis.tex into c:\context\tex\texmf-project and everything was ok. Maybe it is my mistake, but I am not experienced enough to find it. But it worked before. Maybe this is related to another problem I have. When I compile ConTeXt documents from my user directory, MTXrun said: MTXrun | warning: source mismatch (luv: 768743af5acbbfb6f306763f3da964ca bin: a6c26bf5f4881a58ccc3eed80ae65790), forcing remake MTXrun | fileio: loading configuration file 'C:/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | fileio: loading configuration file C:/context/tex/texmf/web2c/texmf.cnf MTXrun | fileio: preparing 'configuration' for 'C:/context/tex/texmf/web2c' MTXrun | fileio: 'configuration' saved in 'C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53ad5f8b88994bdd02baa17501789699.lua' MTXrun | fileio: 'configuration' compiled to 'C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53ad5f8b88994bdd02baa17501789699.luc' MTXrun | fileio: locating list of '/texmf' and recompiled format every time I run Context. This is very time consuming. But this is not true when I compile documents inside my TEXMF tree, for example in c:\context\tex\texmf-project directory. Any help? I still have some questions about the ConTeXt itself, but first I would like to solve these problems. If you need any additional information I am ready to send it. Thanks. Ivo Solnicky ___ 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] post-commit hook for contextman
Hello, Is it possible, to get email on every commit to http://foundry.supelec.fr/gf/project/contextman ? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] post-commit hook for contextman
Peter Münster wrote: Hello, Is it possible, to get email on every commit to http://foundry.supelec.fr/gf/project/contextman ? Sure. Subscribe to the Lists - contextman-commits mailing list Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] post-commit hook for contextman
On Mon, Jun 07 2010, Taco Hoekwater wrote: Sure. Subscribe to the Lists - contextman-commits mailing list Oh... This was just too obvious, that I couldn't find it! My google-search was really bad: post-commit hook site:foundry.supelec.fr Thanks! Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems using new beta
于 2010年06月07日 16:37, Ivo Solnický 写道: On Sunday, after I installed new package, I realized, that my workflow is broken. The ConTeXt beta was broken, and it should work now. So, you may need to upgrade the whole. ___ 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] Multiple pleas for help (long)
Am 07.06.10 02:03, schrieb Scott Steele: Thanks a lot for all of that! I'm having trouble getting it to run, though. I tried copy/pasting it into the Context Live site but get [...] The mail client messed up my code, here is a slightly modified version: \unprotect \def\v!fancybreak{fancybreak} \def\fb{fb} \getparameters [\fb] [\c!spacebefore=, \c!spaceafter=, \c!align=\v!middle, \c!indentnext=\v!yes] \def\fancybreakparameter #1{\csname\dofancybreakparameter{\fb\currentfancybreak}#1\endcsname} \def\dofancybreakparameter #1#2{\ifcsname#1#2\endcsname#1#2\else\expandafter\dodofancybreakparameter\csname#1\s!parent\endcsname#2\fi} \def\dodofancybreakparameter#1#2{\ifx#1\relax\s!empty\else\dofancybreakparameter#1#2\fi} \unexpanded\def\setupfancybreak {\dodoubleempty\dosetupfancybreak} \def\dosetupfancybreak[#1][#2]% {\ifsecondargument \getparameters[\fb#1][#2]% \else \getparameters[\fb][#1]% \fi} \unexpanded\def\definefancybreak {\dodoubleempty\dodefinefancybreak} \def\dodefinefancybreak[#1][#2]% {\getparameters[\fb#1][\s!parent=\fb,#2]% \setvalue{#1}{\dofancybreak{#1}}} \unexpanded\def\dofancybreak#1% {\begingroup \edef\currentfancybreak{#1}% \everyvbox{\setupalign[\fancybreakparameter\c!align]}% \dowithnextbox {\blank[\fancybreakparameter\c!spacebefore]% \flushnextbox \blank[\fancybreakparameter\c!spaceafter]% \checknextindentation[\fancybreakparameter\c!indentnext] \dorechecknextindentation \endgroup} \normalvbox} \definefancybreak[\v!fancybreak] \protect \starttext \input knuth \fancybreak{$* * *$} \input ward \page \setupindenting[yes,medium] \input knuth \fancybreak{$* * *$} \input ward \stoptext Wolfgang fancybreak.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Script to automatically generate typescripts
Michael Murphy wrote on Thursday, June 03, 2010 6:52 PM: Please send me bug reports / feature requests if you use it! Thank you for this script. I'm sure I'll have good use of it! I just did a quick test with Myriad Pro, and it works nicely. Some minor suggestions for usability: 1. If there is no 'typescripts' directory, the typescript and test-file should be created just in the same directory as the oftsmkr file (so it's easier to use it anywhere outside the texmf-tree). 2. In the test-file, I had to replace '\start' and '\stop' with '\starttext' and '\stoptext' (otherwise it doesn't work on my sytem). 3. The line '\usetypescriptfile [nameofthetypescriptfile]' should be included in the test-file. So the test-file will use the typescript file if it is in the same directory as the test-file. 4. All the '\definefontalternative' definitions which you print in the terminal output could be included in the test-file. So the test-file would work out-of-the-box. Thanks for sharing your script! Best wishes Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems using new beta
Hi, I didn't received answer by mail, so I have to answer this way. Thanks for the help, I updated context and now it works OK. But the problem with recompilation of format file remains. Any idea? Ivo 2010/6/7 Ivo Solnický ivo.solni...@gmail.com Hi all! I am just new to ConTeXt, I have played with it for one week. I have installed standard ConTeXt minimals installation and no other TeX distro is installed on my MS Vista computer. I use also TeXworks editor. On Sunday, after I installed new package, I realized, that my workflow is broken. I received next message in my TeXworks editor, the same for command line: MTXrun | run 1: luatex --fmt=C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en --lua=C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.lui --backend=pdf ./dopis.tex This is LuaTeX, Version beta-0.60.1-2010060523 (Web2C 2010) (rev 3685) \write18 enabled. ! I can't find file `./dopis.tex'. * ./dopis.tex Please type another input file name: I have my documents in C:\Users\Ivo\TeX directory and ConTeXt worked fine until the new sync. When I tried to find what is wrong, I realized strange thing. When I move my document somewhere inside my TEXMF tree (C:\context\tex), it works. For example I copied dopis.tex into c:\context\tex\texmf-project and everything was ok. Maybe it is my mistake, but I am not experienced enough to find it. But it worked before. Maybe this is related to another problem I have. When I compile ConTeXt documents from my user directory, MTXrun said: MTXrun | warning: source mismatch (luv: 768743af5acbbfb6f306763f3da964ca bin: a6c26bf5f4881a58ccc3eed80ae65790), forcing remake MTXrun | fileio: loading configuration file 'C:/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | fileio: loading configuration file C:/context/tex/texmf/web2c/texmf.cnf MTXrun | fileio: preparing 'configuration' for 'C:/context/tex/texmf/web2c' MTXrun | fileio: 'configuration' saved in 'C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53ad5f8b88994bdd02baa17501789699.lua' MTXrun | fileio: 'configuration' compiled to 'C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53ad5f8b88994bdd02baa17501789699.luc' MTXrun | fileio: locating list of '/texmf' and recompiled format every time I run Context. This is very time consuming. But this is not true when I compile documents inside my TEXMF tree, for example in c:\context\tex\texmf-project directory. Any help? I still have some questions about the ConTeXt itself, but first I would like to solve these problems. If you need any additional information I am ready to send it. Thanks. Ivo Solnicky ___ 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] Problems using new beta
On Jun 7, 2010, at 3:19 PM, Ivo Solnický wrote: Hi, I didn't received answer by mail, so I have to answer this way. Thanks for the help, I updated context and now it works OK. But the problem with recompilation of format file remains. Any idea? Ivo If I understood your first message correctly, you are storing your tex documents within your context directory. This is a VERY bad idea because 1. mkiv checks the checksum of your context tree. When it changes, it will regenerate the format, that's what you see happening 2. in case of an update, your files could get deleted or overwritten. ConTeXt (and TeX in general) can be a bit overwhelming at first if you have never used such a system. I don't know how experienced you are with computers in general, but I would suggest you read some introductory material on TeX (though I admit that I just looked around a bit, and couldn't find any simple document which explains the TeX directory structure and how to use it). Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] referenceformat MkIV
taco wrote: Hi, Yury G. Kudryashov wrote: Another problem fixed by my patch: \definereferenceformat[ineq][text=equation] \starttext \placeformula[first] \startformula 1=1\stopformula \ineq[first] \stoptext printed 1, not equation 1. This problem is still there and needs fixing, but I think your patch has a bug (possibly because of the already done other bugfix). After patching, I think \doinatreferenceone should look like this: \def\doinatreferenceone {\ifx\next\bgroup \afterassignment\doinatreferenceonetwo \expandafter\leftreferencetoks \else\ifx\textofreference\empty \leftreferencetoks\emptytoks \expandafter\expandafter\expandafter\dodoinatreferencenone \else \leftreferencetoks{\textofreference}% \expandafter\expandafter\expandafter\doinatreferenceonetwo \fi\fi} Yes, this \doinatreference (with 3 \expandafter) works for me in the latest beta. Could you please replace current \doinatreference with this one? ___ 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] Clipping of text (or something equivalent)
Thanks!! For the hints to existing examples as well as for the very instructive advice to clip to the enlarged unitsquare. 2010/6/7 Hongwen Qiu qiuhong...@gmail.com 于 2010年06月07日 22:47, Erik Margraf 写道: Hi all, I'd like to achieve in context something like I did in the attachment (context.pdf). My idea was (and that's the way how I did this in Inkscape): - Create Text - Double the text - Clip one for the upper half, clip the other for the lower half Actually, you only have to clip one, either the upper half or the lower half, since the latter elements added onto the canvas will mask the former elements. - Connect the two halves. My (probably naive) approach to clipping text in context was: - \starttext \startuniqueMPgraphic{context} draw btex \bf Context etex xyscaled (4.0, 4.0) withcolor .8white ; clip currentpicture to unitsquare; take something like: clip currentpicture to unitsquare scaled 8cm; and you'll know what's the problem. \stopuniqueMPgraphic \null\dontcomplain \uniqueMPgraphic{context} - (Without the clip - line, the string Context is displayed. With clipping, nothing is displayed.) Any hint in the right direction towards clipping or maybe a better way to achieve this is appreciated. Thanks Erik ___ 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 ___ ___ 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] \definetextbackground - problem with footnotes
Hi, I use \definetextbackground to create an environment that is set-off from the main text. This (now) works correctly, except in the particular case when the backgrounded text wraps to a second page and the first page contains a footnote. In this particular case, the footnote also gets the background, which is not the desired behavior. Is this a bug or am I not using \definetextbackground correctly? Alan Minimal example (see also attached pdf): \definetextbackground [example] [location=paragraph, background=color,backgroundscreen=middlegray, leftoffset=0.5cm,rightoffset=0.5cm, topoffset=.25ex,bottomoffset=.25ex, before={\blank[small]\switchtobodyfont[script]}, after={\blank[small]}, frame=off] \starttext \input tufte\footnote{Do we ever get tired of this text?}\par \dorecurse{3} {\input tufte\par} \startexample \input knuth \stopexample \input tufte \stoptext test.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Removing Introduction section number
Vyatcheslav Yatskovsky (2010-06-07 01:23): +1 for \section [number=no] {Introduction} This was my first guess to try, and it is so convinient! :) This is similar to what I was (intuitively) trying out first, when tackling this same problem last week... Couldn't \section[]{} keep accepting the reference label in the square brackets, and support more comma separated options (for case by case option adjustment, as Alan mentioned)? -- -- Rogutės Sparnuotos ___ 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 ___