Re: [NTG-context] al...@0, etc, from plain.tex
On 08/09/2010 06:58 AM, Jesse Alama wrote: There's a plain TeX package (bussproofs.sty from CTAN; I realize that the file ends with .sty but it's intended to work in plain TeX) that I'm trying to get working with ConTeXt. I'm stuck at one point though: the package has the statements \def\newcount{\al...@0\count\countdef\insc@unt} \def\newdimen{\al...@1\dimen\dimendef\insc@unt} \def\newskip{\al...@2\skip\skipdef\insc@unt} \def\newbox{\al...@4\box\chardef\insc@unt} ConTeXt has \newcount et al. predefined already. 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] Some Experiences
On 08/09/2010 03:15 AM, James K. Peterson wrote: The ConTeXt stuff is fascinating and I am moving towards it, but I need to do it in baby steps and I need to do it with a concomittant LaTeX installation. So I will eagerly await any sort of a fix for a LaTeX/ConTeXt combined world while I continue to learn and move away for LaTeX. As a long time user of LaTeX, I know its limitations very well and ConTeXt will allow me to do more interesting things. TeXLive 2010 should solve many (if not all) of your problems. 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] al...@0, etc, from plain.tex
On 9-8-2010 8:50, Taco Hoekwater wrote: On 08/09/2010 06:58 AM, Jesse Alama wrote: There's a plain TeX package (bussproofs.sty from CTAN; I realize that the file ends with .sty but it's intended to work in plain TeX) that I'm trying to get working with ConTeXt. I'm stuck at one point though: the package has the statements \def\newcount{\al...@0\count\countdef\insc@unt} \def\newdimen{\al...@1\dimen\dimendef\insc@unt} \def\newskip{\al...@2\skip\skipdef\insc@unt} \def\newbox{\al...@4\box\chardef\insc@unt} ConTeXt has \newcount et al. predefined already. Plain tex also has these. If a style (in this case busproofs) does not check for that it's likely to clash with 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] referenceformat, text
Hans Hagen wrote: On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) Yes, but \in{left}{right}[x] has left and right but I don't see them in the output. ___ 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] How to use local setups in selected components of a project only
Hi all, it has been suggested on this list before, that people should use modes instead of \localenvironment and friends. Unfortunately, I don't seem to get either of them working as expected. Consider the following example: % project.tex \startproject project \environment environ \component compa \component compb \stopproject % environ.tex \startenvironment environ % global setups % ... \startmode[compa] \setuphead[section][number=no] \stopmode \stopenvironment % localenv.tex \startlocalenvironment [compa] \setuphead[section][number=no] \stoplocalenvironment % compa.tex \startcomponent compa %\enablemode[compa] \project project \localenvironment localenv \section{First section} Some text %\disablemode[compa] \stopcomponent % compb.tex \startcomponent compb \project project \section{Second section} More text \stopcomponent Compiling project.tex results in both sections being unnumbered. Compiling just compb.tex yields the expected result. Apparently, the setups of localenv stay in effect for all components processed subsequently. Commenting out \localenvironment and uncommenting \enablemode / \disablemode in compa.tex, however, does not solve the problem either: When I compile just compa.tex, everything works as expected. Compiling preject.tex, however, results in all sections being numbered. Obviously, the call to \enablemode comes too late. What is the recommended approach to such a problem? Do I have to undo local setups manually at the end of a component? Thanks in advance for any advice, Elias ___ 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, text
On 9-8-2010 9:17, Yury G. Kudryashov wrote: Hans Hagen wrote: On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) Yes, but \in{left}{right}[x] has left and right but I don't see them in the output. i see them here so maybe your update went wrong 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] Fwd: complicated layout - impostion
Hi Jan, Indeed a demanding layout. --- As I see it, this will become a two step build: Create two documents containing the recto layout and the verso layout. 1st document made up with \setuparranging [2*4] 2nd document made up with \setuparranging[2UP] In the second step you can combine the two documents into one: \starttext \insertpages [sample1.pdf][width=0pt] \insertpages [sample2.pdf][width=0pt] \stoptext Kind regards Willi Begin forwarded message: Subject: [NTG-context] complicated layout - impostion Date: Fri, 30 Jul 2010 12:00:29 +0200 From: Jan Pohanka xhpoha...@gmail.com Reply-To: mailing list for ConTeXt users ntg-context@ntg.nl To: ntg-context@ntg.nl ntg-context@ntg.nl Hallo, I need to create a document with complicated layout. four A6 pages on one side of A4 sheet (two upper ones with bottom up) two A5 landscape pages on back side of A4 sheet (upper one with bottom up) How can I reach this in Context please? \setuppapersize[A6][A4] \setuparranging[2*4] This code works fine for A6 pages, but I'm not sure how to include also A5 landscape pages. Whole work should end with a document similar to http://www.eprona.com/kdp/data/skladacka2010.pdf 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 ___ ___ 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, text
Hans Hagen wrote: On 9-8-2010 9:17, Yury G. Kudryashov wrote: Hans Hagen wrote: On 9-8-2010 12:22, Yury G. Kudryashov wrote: \NC \in [x] \NC \in {left}[x] \NC \in {}{right}[x] \NC \in {left}{right}[x] \NC \NR I see no left or right in the first string in PDF output. Just 1\t1\t1\t1. sure, as \in has no left and right (nor a setup) Yes, but \in{left}{right}[x] has left and right but I don't see them in the output. i see them here so maybe your update went wrong I don't see them in a fresh install. Probably you have some uncomitted stuff. ___ 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] Placing footnotes in right margin en bloc at bottom of page
Sorry for bringing this up again but ... Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 29.07.10 15:33, schrieb Elias Oltmanns: Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: [...] This is easy: \setupnote[footnote][location=text] \setuptexttexts[margin][][{\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}] %\showframe \starttext text\footnote{one} text\footnote{two} text\footnote{\input tufte\par} text \stoptext Thanks for the snippet. Unfortunately, the footnotes don't seem to make it onto the page though. Would this be due to using ConTeXt MKII by any chance? You need a different setup for the footnote in Mark 2: \setupnote[footnote][width=\rightmarginwidth] I've only just realised that TeX seems to reserve space for the footnotes at the bottom of the main text area. Check the following example: \setupnote[footnote][width=\rightmarginwidth] \setuptexttexts[margin][][{\framed[frame=off,rule=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}] \starttext text\footnote{one} text\footnote{two} text\footnote{And here we have yet another footnote spanning more than one line.} % {\dorecurse{4}{\input tufte\par}} \stoptext I've tried the same with \setupfootnotes and \placefootnotes to no avail. Any hint will be appreciated, Elias ___ 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 acts like \underbars (MkIV only)
Hi, it seems like \underbar acts like \underbars in latest beta MkIV. 2010.05.24 from TL2010 works fine. 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] \underbar acts like \underbars (MkIV only)
On 9-8-2010 2:01, Vedran Miletić wrote: Hi, it seems like \underbar acts like \underbars in latest beta MkIV. 2010.05.24 from TL2010 works fine. example needed - 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] abbreviations as macros (Aditya Mahajan) (Aditya Mahajan)
\defineframedtext[important][style={\switchtobodyfont[24pt]\ImportantStyle}] (which will scale the math font, but not change it to Kurier-Bold). Or you can define a typescript for kurier-bold (see type-otf for examples), and then use \usetypescript[kurier-bold] \defineframedtext[important][style={\switchtobodyfont[kurier-bold,24pt]}] Aditya Hi Aditya, your first solution works very well. You saved my day, thanks a lot! I think Hans tried to explain it to me but I didn't get him. I have read the documentation about typescripts but I did not understand it well. Let's say I have the following simple example: \starttypescript[sans][test] \definefontsynonym[Test] [file:FuturaStd][features=default] \stoptypescript how can I use it in 'usetypescript' now to change the font type? I tried \usetypescript[test] and \usetypescript[sans][test] followed by \defineframedtext[important][style={\switchtobodyfont[test,24pt]}] but it didn't work (to be specific, the font size is ok, but the font type did not change) Armin ___ WEB.DE DSL SOMMER-SPECIAL: Surf Phone Flat 16.000 für nur 19,99 ¿/mtl.!* http://web.de/DSL-Doppel-Flatrate/ ___ 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] Placing footnotes in right margin en bloc at bottom of page
Am 09.08.10 12:28, schrieb Elias Oltmanns: Sorry for bringing this up again but ... Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: Am 29.07.10 15:33, schrieb Elias Oltmanns: Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: [...] This is easy: \setupnote[footnote][location=text] \setuptexttexts[margin][][{\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}] %\showframe \starttext text\footnote{one} text\footnote{two} text\footnote{\input tufte\par} text \stoptext Thanks for the snippet. Unfortunately, the footnotes don't seem to make it onto the page though. Would this be due to using ConTeXt MKII by any chance? You need a different setup for the footnote in Mark 2: \setupnote[footnote][width=\rightmarginwidth] I've only just realised that TeX seems to reserve space for the footnotes at the bottom of the main text area. Check the following example: \setupnote[footnote][width=\rightmarginwidth] \setupnote[footnote][width=\rightmarginwidth,factor=0] 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] al...@0, etc, from plain.tex
On 2010-08-09 08:15:09 +0100, Hans Hagen said: On 9-8-2010 8:50, Taco Hoekwater wrote: On 08/09/2010 06:58 AM, Jesse Alama wrote: There's a plain TeX package (bussproofs.sty from CTAN; I realize that the file ends with .sty but it's intended to work in plain TeX) that I'm trying to get working with ConTeXt. I'm stuck at one point though: the package has the statements \def\newcount{\al...@0\count\countdef\insc@unt} \def\newdimen{\al...@1\dimen\dimendef\insc@unt} \def\newskip{\al...@2\skip\skipdef\insc@unt} \def\newbox{\al...@4\box\chardef\insc@unt} ConTeXt has \newcount et al. predefined already. Plain tex also has these. If a style (in this case busproofs) does not check for that it's likely to clash with more. The package seems to work fine if I just kill those \def's -- thanks! Jesse ___ 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] \underbar acts like \underbars (MkIV only)
Datuma 9. kolovoza 2010. 14:32 Hans Hagen pra...@wxs.nl je napisao/la: On 9-8-2010 2:01, Vedran Miletić wrote: Hi, it seems like \underbar acts like \underbars in latest beta MkIV. 2010.05.24 from TL2010 works fine. example needed Perhaps this helps: http://www.inf.uniri.hr/~vmiletic/context/blah.tex -- 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] Placing footnotes in right margin en bloc at bottom of page
On 9-8-2010 8:55, Wolfgang Schuster wrote: Am 09.08.10 12:28, schrieb Elias Oltmanns: Sorry for bringing this up again but ... Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: Am 29.07.10 15:33, schrieb Elias Oltmanns: Wolfgang Schusterschuster.wolfg...@googlemail.com wrote: [...] This is easy: \setupnote[footnote][location=text] \setuptexttexts[margin][][{\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}] %\showframe \starttext text\footnote{one} text\footnote{two} text\footnote{\input tufte\par} text \stoptext Thanks for the snippet. Unfortunately, the footnotes don't seem to make it onto the page though. Would this be due to using ConTeXt MKII by any chance? You need a different setup for the footnote in Mark 2: \setupnote[footnote][width=\rightmarginwidth] I've only just realised that TeX seems to reserve space for the footnotes at the bottom of the main text area. Check the following example: \setupnote[footnote][width=\rightmarginwidth] \setupnote[footnote][width=\rightmarginwidth,factor=0] or location=none - 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] \underbar acts like \underbars (MkIV only)
On 9-8-2010 10:11, Vedran Miletić wrote: Datuma 9. kolovoza 2010. 14:32 Hans Hagenpra...@wxs.nl je napisao/la: On 9-8-2010 2:01, Vedran Miletić wrote: Hi, it seems like \underbar acts like \underbars in latest beta MkIV. 2010.05.24 from TL2010 works fine. example needed Perhaps this helps: http://www.inf.uniri.hr/~vmiletic/context/blah.tex 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] how to jump to figure and return to the original postion?
On 31-7-2010 5:41, dalyoung wrote: Here I'd like to ask one more thing. I downloaded the example of Euro symbol animation. Both button here and restart worked fine. However, a new pdf file of Euro symbol animation which was madden by recompiling the source not properly working in my macbook. here button works fine while restart lost the position.(just blank window is appeared) I tried a similar step by step drawing and got the same situation. Is it a problem in my machine only? just send me your test file 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] 2 sets of footnotes?
Does the job, thanks to Hans an Hraban! Now, I'll have a look at putting that into the wiki. Martin there you go \definenote [onenote] [location=page,way=bychapter] \definenote [twonote] [location=text,way=bychapter] \starttext \chapter{First} \section {Alpha} test \onenote{alpha one} \twonote {alpha two} \section {Beta} test \onenote{beta one} \twonote {beta two} \subject {Notes} \placenotes[twonote] \chapter{Second} \section {Alpha} test \onenote{alpha one} \twonote {alpha two} \section {Beta} test \onenote{beta one} \twonote {beta two} \subject {Notes} \placenotes[twonote] \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 ___
Re: [NTG-context] Placing footnotes in right margin en bloc at bottom of page
Am 09.08.10 23:14, schrieb Hans Hagen: On 9-8-2010 8:55, Wolfgang Schuster wrote: Am 09.08.10 12:28, schrieb Elias Oltmanns: I've only just realised that TeX seems to reserve space for the footnotes at the bottom of the main text area. Check the following example: \setupnote[footnote][width=\rightmarginwidth] \setupnote[footnote][width=\rightmarginwidth,factor=0] or location=none Elias use MkII and with 'location=none' nothing is shown. 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 ___