Re: [NTG-context] TABLE in Header ?
On 18-7-2010 4:14, Vnpenguin wrote: Hi, It's possible to put TABLE within header ? I'm looking for an example in Wiki but I can not found yet. sure, best put the table in a buffer and then call that buffer (actually, your page can be a table itself ... see example in page-plg.*) 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] two problems for bib module
Hi all, I have the following problems when I use the bib module. 1. For the cite of 'authoryear', how to make it being clickable link? This is a minimum example: %%% %% filename: test.tex \setupinteraction[state=start] \setupbibtex[database=ref] \setupcite[authoryear] \setuppublications[refcommand=authoryear] \starttext A: \cite[zixuwuyou]. \title{References} \placepublications[criterium=all] \stoptext %%% %% filename: ref.bib @article{zixuwuyou, title={{Several problems for bib module}}, author={Zhou, Y. and Suri, S. and Yanry, L.}, journal={Journal of Bala bala}, volume={46}, number={6}, pages={833--857}, year={1999}, publisher={Bala Bala} } 2. In .bib file for Chinese (maybe cjk more exact) references, because the 'and' separator can not work, we have to use some Chinese punctuations as separator, such as Chinese comma. In this case, the cite of author's et.al. can not work. The following is an example (needed AdobeSongStd-Light.otf). %% filename: test.tex \starttypescript[serif][zhfont] \definefontsynonym[western][name:latinmodernromanregular] \definefontfallback[song][name:adobesongstd][0x00400-0x2FA1F] \definefontsynonym[fbsong][western][fallbacks=song] \definefontsynonym[Serif][fbsong] \definefontsynonym[SerifItalic][fbsong] \stoptypescript \starttypescript[myfonts] \definetypeface[myfonts][rm][serif][zhfont] \stoptypescript \usetypescript[myfonts] \setupbodyfont[myfonts,rm,11pt] \setupinteraction[state=start] \setupbibtex[database=ref] \setupcite[authoryear][andtext={,}] \setuppublications[refcommand=authoryear,sorttype=bbl] \starttext A: \cite[谢2008] \title{References} \placepublications[criterium=all] \stoptext %% filename: ref.bib @article{谢2008, title={中国工业生产率的增长与收敛}, author={谢千里,罗斯基,张轶凡}, journal={经济学(季刊)}, volume={7}, number={3}, pages={809--826}, year={2008} } -- Best regards, Li Yanrui (李延瑞) ___ 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] Float objects problem (was TABLE in Header ?)
On Mon, Jul 19, 2010 at 09:21, Hans Hagen pra...@wxs.nl wrote: On 18-7-2010 4:14, Vnpenguin wrote: Hi, It's possible to put TABLE within header ? I'm looking for an example in Wiki but I can not found yet. sure, best put the table in a buffer and then call that buffer (actually, your page can be a table itself ... see example in page-plg.*) Hans Thanks, It works with TABLE within header. But I have another problem with float image. In fact, I have a logo in a cell of my TABLE which is found in header. Here is the code : %%== \startsetups[myheader] \bTABLE[setups=mytable-header] \bTR \bTD[nr=2] \placefigure[here,force]{none}{\externalfigure[logo][width=22mm]} \eTD \bTD {\tfb Foobar} \eTD \bTD[nr=2] Right1\\ Right2 \\ Right3\eTD \eTR \bTR \bTD {\tfa Title \\ Sub-title} \eTD \eTR \eTABLE \stopsetups \setupheadertexts[{\setups[myheader]}] %% I got some page OK with this logo[1]. But there are also some bad pages where I can not found my logo at all [2], or there are many logo in the page [3]. Is this problem of float objects ? How to fix this ? All files of my test are downloadable at : https://my.vnoss.net/pub/context/ ConTeXt source file : https://my.vnoss.net/pub/context/test.tex PDF created by context : https://my.vnoss.net/pub/context/test.pdf I use ConTeXt 2010.06.23 on Windows XP. E:\tex context --version MTXrun | main context file: C:/context/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2010.06.23 12:45 Thank you in advance, Links: [1] https://my.vnoss.net/pub/context/screenshot-ok.png [2] https://my.vnoss.net/pub/context/screenshot-ko-1.png [3] https://my.vnoss.net/pub/context/screenshot-ko-2.png ___ 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] Float objects problem (was TABLE in Header ?)
On 19-7-2010 12:25, Vnpenguin wrote: On Mon, Jul 19, 2010 at 09:21, Hans Hagenpra...@wxs.nl wrote: On 18-7-2010 4:14, Vnpenguin wrote: Hi, It's possible to put TABLE within header ? I'm looking for an example in Wiki but I can not found yet. sure, best put the table in a buffer and then call that buffer (actually, your page can be a table itself ... see example in page-plg.*) Hans Thanks, It works with TABLE within header. But I have another problem with float image. In fact, I have a logo in a cell of my TABLE which is found in header. Here is the code : %%== \startsetups[myheader] \bTABLE[setups=mytable-header] \bTR \bTD[nr=2] \placefigure[here,force]{none}{\externalfigure[logo][width=22mm]} don't use placefloat in a table, just \externalfigure - 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] Publishing matlab figures
Hello, I'm used to use LaTeX for scientific publishing mainly because many conferences offers an article template in this language. I'd like to use Context to typeset my thesis, but I miss one important feature from LaTeX. Psfrag package can be used to replace selected marks in an eps figure (generated by Matlab) with a text typesets with TeX engine. There is also an alternative package which converts thess psfragged figures to pdf and full work can be processed by pdftex. Is there any similar way how to do this in Context? It would really help me. I can of course use a workaround with preparing pictures with LaTeX and using generated pdfs lately, but it is not an ideal solution. greetings Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ 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] mode *last in mkiv
Hm, I have no clue on how enable *last mode in mkiv \starttext \startmode[*last] LAST \stopmode # context --final test.tex doesn't work -- 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 ___
[NTG-context] underbar/overbar to long with one character in mkiv
Hi, there was an earlier issue with \underbar{b} http://archive.contextgarden.net/message/20091109.094902.baf77ffc.en.html which seems somewhat related to my problem. When providing only one character as argument to \underbar or \overbar and a following space (or paragraph ending) the line is also under/over that space. Is this intended? Example: \starttext \underbar{b} \overbar{b} \underbar{b} $\underbar{b} = \overbar{b} = \underbar{b}$ \stoptext A fix for this would be to use \underbars{b} or \overbars{b} instead, btw. Best wishes, Stefan ___ 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] Publishing matlab figures
I would like to advise you just one word : stay with LaTeX finish your thesis! After that you can_play_ with ConTeXt if you want :) 2010/7/19 Jan Pohanka xhpoha...@gmail.com: Hello, I'm used to use LaTeX for scientific publishing mainly because many conferences offers an article template in this language. I'd like to use Context to typeset my thesis, but I miss one important feature from LaTeX. Psfrag package can be used to replace selected marks in an eps figure (generated by Matlab) with a text typesets with TeX engine. There is also an alternative package which converts thess psfragged figures to pdf and full work can be processed by pdftex. Is there any similar way how to do this in Context? It would really help me. I can of course use a workaround with preparing pictures with LaTeX and using generated pdfs lately, but it is not an ideal solution. greetings Jan ___ 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] Publishing matlab figures
On Mon, Jul 19, 2010 at 6:08 PM, Vnpenguin vnpeng...@vnoss.org wrote: I would like to advise you just one word : stay with LaTeX finish your thesis! After that you can_play_ with ConTeXt if you want :) +1 -- 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] mode *last in mkiv
Am 19.07.10 13:30, schrieb luigi scarso: Hm, I have no clue on how enable *last mode in mkiv \starttext \startmode[*last] LAST \stopmode The '*last' mode is enabled when context needs the maximal number of runs for your document. \definetwopasslist{last} \starttext \gettwopassdata{last} \iftwopassdatafound \savetwopassdata{last}{1}{\number\numexpr\twopassdata+1\relax} \else \savetwopassdata{last}{1}{1} \fi \doifnotmode{*last}{not }the last run \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mode *last in mkiv
On Mon, Jul 19, 2010 at 7:24 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 19.07.10 13:30, schrieb luigi scarso: The '*last' mode is enabled when context needs the maximal number of runs for your document. \definetwopasslist{last} \starttext \gettwopassdata{last} \iftwopassdatafound \savetwopassdata{last}{1}{\number\numexpr\twopassdata+1\relax} \else \savetwopassdata{last}{1}{1} \fi \doifnotmode{*last}{not }the last run \stoptext Wolfgang Hm. From core-sys.mkiv: \appendtoks \ifcase\@@svn %% 0 : unknown \or \setsystemmode\v!first % 1 : first run \or %% 2 : successive run \or \setsystemmode\v!first % 3 : first and only run \or \setsystemmode\v!last% 4 : (extra) last run \fi \to \everysetupsystem I suppose that last=4 runs But the max number of runs is 8 , if I've understood mtx-context.lua So \starttext %% %% content here %% \startmode[LAST]\myNullMacro\stopmode% \stoptext # context mydocument.tex context --mode=LAST mydocument.tex ensure that the code inside \startmode[LAST]...\stopmode is really seen the last pass -- 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 ___
[NTG-context] slightly OT: tablets
Hi all, this is slightly OT, but maybe someone here has a helpful suggestion: since the announcement of Apple's iPad, tablets have become the rage. I am somewhat underwhelmed by this type of computer, but I see one area where it might be interesting to have one of those babies, and that's presentations. What I'm dreaming about: a tablet that would be able to show my manuscript (of course, a pdf produced with ConTeXt) on it's own screen and drive a presentation (again, pdf) on an external screen/digital projector. That way, I would need only one technical device, no paper etc. for my presentations. I even called Apple, but they said there is no app yet for doing this on an iPad. Do any of you have any insights: is there anything on the market yet that would make this possible? Is it at all feasible? Does it sound like a reasonable idea? All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] associating setuptex.bat with cmd shortcut
Hi everyone, at the end of the context essentials installation on Windows, it says When you want to use context, you need to initialize the tree with: C:\context\tex\setuptex.bat C:\context\tex You can associate this command with a shortcut to the cmd prompt. What does that mean, and how do I do that (associating the command with a shortcut to cmd)? Sorry, haven't had to do anything serious on Windows for years... Thanks, Michael ___ 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] mode *last in mkiv
Am 19.07.10 19:37, schrieb luigi scarso: # context mydocument.tex context --mode=LAST mydocument.tex ensure that the code inside \startmode[LAST]...\stopmode is really seen the last pass It is seen at the last run but also the first, second ... because you enable just a self defined mode 'LAST'. 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] slightly OT: tablets
On Mon, Jul 19, 2010 at 7:51 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: Hi all, this is slightly OT, but maybe someone here has a helpful suggestion: since the announcement of Apple's iPad, tablets have become the rage. I am somewhat underwhelmed by this type of computer, but I see one area where it might be interesting to have one of those babies, and that's presentations. What I'm dreaming about: a tablet that would be able to show my manuscript (of course, a pdf produced with ConTeXt) on it's own screen and drive a presentation (again, pdf) on an external screen/digital projector. That way, I would need only one technical device, no paper etc. for my presentations. I even called Apple, but they said there is no app yet for doing this on an iPad. Do any of you have any insights: is there anything on the market yet that would make this possible? Is it at all feasible? Does it sound like a reasonable idea? All best What about ASUS Eee PC T101MT-WHI012M http://www.e-videoshoppingtv.it/frontend/evideoshopping/default.aspx?idvideo=9774idcat=666asus_t101_from=prod -- 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] mode *last in mkiv
On Mon, Jul 19, 2010 at 7:56 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 19.07.10 19:37, schrieb luigi scarso: # context mydocument.tex context --mode=LAST mydocument.tex ensure that the code inside \startmode[LAST]...\stopmode is really seen the last pass It is seen at the last run but also the first, second ... because you enable just a self defined mode 'LAST'. yes but the second context, ie context --mode=LAST mydocument.tex should change nothing from the first context, so it's really the last (run only one time) I mean that in # context mydocument.tex context mydocument.tex context mydocument.tex context mydocument.tex all but the first run exactly one time, while the first can be 5 runs and so *last is not the last one. (of course one can put nasty things inside \startmode[LAST]...\stopmode etc etc etc) -- 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] slightly OT: tablets
Hi Thomas, you can even do presentations of PDFs with an iPod touch. You will need a dock connector/ TV out cable (http://support.apple.com/kb/ ht1454). In iOS 4, you have direct support of PDFs, i.e. you can copy PDFs directly to your iPod. Before that, you needed a separate app to view PDFs. As for PDF features, you'll be somewhat limited as to what the viewers support. For instance, movies within PDFs won't work. Also, I don't think there is a way to use clickers to control the iPod/ iPad. Matthias On Jul 19, 2010, at 1:51 PM, Thomas A. Schmitz wrote: Hi all, this is slightly OT, but maybe someone here has a helpful suggestion: since the announcement of Apple's iPad, tablets have become the rage. I am somewhat underwhelmed by this type of computer, but I see one area where it might be interesting to have one of those babies, and that's presentations. What I'm dreaming about: a tablet that would be able to show my manuscript (of course, a pdf produced with ConTeXt) on it's own screen and drive a presentation (again, pdf) on an external screen/digital projector. That way, I would need only one technical device, no paper etc. for my presentations. I even called Apple, but they said there is no app yet for doing this on an iPad. Do any of you have any insights: is there anything on the market yet that would make this possible? Is it at all feasible? Does it sound like a reasonable idea? All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : 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] slightly OT: tablets
Hi Matthias, that's good to know, but for me, the killer app would be to have both my manuscript and the presentation on the same device (and an iPod would just be too small for that). So the question is: could you see pdf A on the screen and drive pdf B with the TV out cable? Apple told me this was not possible. I can live with the other restricitions, I think. Thomas On Jul 19, 2010, at 8:34 PM, Matthias Weber wrote: Hi Thomas, you can even do presentations of PDFs with an iPod touch. You will need a dock connector/ TV out cable (http://support.apple.com/kb/ht1454). In iOS 4, you have direct support of PDFs, i.e. you can copy PDFs directly to your iPod. Before that, you needed a separate app to view PDFs. As for PDF features, you'll be somewhat limited as to what the viewers support. For instance, movies within PDFs won't work. Also, I don't think there is a way to use clickers to control the iPod/iPad. Matthias ___ 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] slightly OT: tablets
On Jul 19, 2010, at 8:14 PM, luigi scarso wrote: What about ASUS Eee PC T101MT-WHI012M http://www.e-videoshoppingtv.it/frontend/evideoshopping/default.aspx?idvideo=9774idcat=666asus_t101_from=prod Well, that's a netbook/tablet hybrid, not really what I'm looking for. I already have a netbook. 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] Float objects problem (was TABLE in Header ?)
On Mon, Jul 19, 2010 at 12:31, Hans Hagen pra...@wxs.nl wrote: \startsetups[myheader] \bTABLE[setups=mytable-header] \bTR \bTD[nr=2] \placefigure[here,force]{none}{\externalfigure[logo][width=22mm]} don't use placefloat in a table, just \externalfigure Super! Thank you very much Hans! ___ 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] slightly OT: tablets
On Mon, Jul 19, 2010 at 9:00 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On Jul 19, 2010, at 8:14 PM, luigi scarso wrote: What about ASUS Eee PC T101MT-WHI012M http://www.e-videoshoppingtv.it/frontend/evideoshopping/default.aspx?idvideo=9774idcat=666asus_t101_from=prod Well, that's a netbook/tablet hybrid, not really what I'm looking for. I already have a netbook. Adobe Reader without compromise -- 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] associating setuptex.bat with cmd shortcut
On Mon, Jul 19, 2010 at 19:52, Michael Goerz go...@physik.fu-berlin.de wrote: Hi everyone, at the end of the context essentials installation on Windows, it says When you want to use context, you need to initialize the tree with: C:\context\tex\setuptex.bat C:\context\tex You can associate this command with a shortcut to the cmd prompt. What does that mean, and how do I do that (associating the command with a shortcut to cmd)? Sorry, haven't had to do anything serious on Windows for years... I have a shortcut of cmd.exe on my desktop (WinXP) and I add after cmd.exe like following : C:\WINDOWS\system32\cmd.exe /K C:\context\tex\setuptex.bat So when I run this shortcut I have already ConTeXt env. HTH, ___ 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] mode *last in mkiv
Am 19.07.10 20:26, schrieb luigi scarso: On Mon, Jul 19, 2010 at 7:56 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com mailto:schuster.wolfg...@googlemail.com wrote: Am 19.07.10 19:37, schrieb luigi scarso: # context mydocument.tex context --mode=LAST mydocument.tex ensure that the code inside \startmode[LAST]...\stopmode is really seen the last pass It is seen at the last run but also the first, second ... because you enable just a self defined mode 'LAST'. yes but the second context, ie context --mode=LAST mydocument.tex should change nothing from the first context, so it's really the last (run only one time) I mean that in # context mydocument.tex context mydocument.tex context mydocument.tex context mydocument.tex all but the first run exactly one time, while the first can be 5 runs and so *last is not the last one. (of course one can put nasty things inside \startmode[LAST]...\stopmode etc etc etc) what is so important that you can include it only in the last run? 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] mode *last in mkiv
On Mon, Jul 19, 2010 at 9:21 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: what is so important that you can include it only in the last run? Wolfgang well, in the end nothing. I mean: nothing that I can't do with an ad-hoc program like MyAnalyzePdfandLog and --batch option, ie #context --batch mydoc.tex; MyAnalyzePdfandLog mydoc.pdf mydoc.log -- 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] mode *last in mkiv
Am 19.07.10 22:00, schrieb luigi scarso: On Mon, Jul 19, 2010 at 9:21 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com mailto:schuster.wolfg...@googlemail.com wrote: what is so important that you can include it only in the last run? well, in the end nothing. I mean: nothing that I can't do with an ad-hoc program like MyAnalyzePdfandLog and --batch option, ie #context --batch mydoc.tex; MyAnalyzePdfandLog mydoc.pdf mydoc.log why don't you use then a ctx file which process first the document and then MyAnalyze... 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] mode *last in mkiv
On Mon, Jul 19, 2010 at 10:09 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: why don't you use then a ctx file which process first the document and then MyAnalyze... yes I know. The point is: while the *first mode is clear and can be managed inside context, the concept of last run is problematic. If one wants to be sure that this tex code will be parsed only at the last run then the tex code must be enclose inside a \startmode[LAST]\stopmode and processed with #context mydoc.tex context --mode=LAST mydoc.tex (let's forget of errors for the moment) But if the tex code modify mydoc then the first context mydoc is superfluous. So in the end the tex code must do nothing of relevant, and hence it can be replaced by an external program MyAnalyze which in general must have as input the input source mydoc.tex, the output file mydoc.pdf and the log mydoc.log and processed with #context --batch mydocument.tex ; MyAnalyze mydoc.tex mydoc.pdf mydoc.log to take care of errors. -- 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] associating setuptex.bat with cmd shortcut
On Mon, Jul 19, 2010 at 3:20 PM, Vnpenguin vnpeng...@vnoss.org wrote: On Mon, Jul 19, 2010 at 19:52, Michael Goerz go...@physik.fu-berlin.de wrote: at the end of the context essentials installation on Windows, it says When you want to use context, you need to initialize the tree with: C:\context\tex\setuptex.bat C:\context\tex You can associate this command with a shortcut to the cmd prompt. What does that mean, and how do I do that (associating the command with a shortcut to cmd)? I have a shortcut of cmd.exe on my desktop (WinXP) and I add after cmd.exe like following : C:\WINDOWS\system32\cmd.exe /K C:\context\tex\setuptex.bat Ah, it's the /K switch that I wasn't aware of. Thanks so much! Michael ___ 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 ___