[NTG-context] 3SIDE imposition schema weirdness
Hi, i'm a little bit puzzled by the results of the following test file, using the 3SIDE imposition schema from Willi ( http://wiki.contextgarden.net/Imposition#Additional_schemas ). The results consists in pages 1|2|3 on the recto of the sheet, and pages 4|5|6 on the verso. * Is it really the intended result ? * If so, I don't understand how can \dosetuparrangement{3}{1}{6}{4}{2} give 1|2|3 // 4|5|6 . What's the rationale ? Why no page 5 among the arguments of \dosetuparrangement ? * What if one wants to fold the resulting brochure ? How to adapt the code (besides by try and error) for the resulting arrangement to be 3|6|1 // 2|4|5 ? Thanks in advance, cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 3SIDE imposition schema weirdness
Am 2009-06-10 um 11:47 schrieb Nicolas Girard: The results consists in pages 1|2|3 on the recto of the sheet, and pages 4|5|6 on the verso. * Is it really the intended result ? Yes. This schema is only for paper-saving; as I wrote in the wiki, I wanted to print 3 small planner pages on one A4 page. Sorry, can't help you with the code. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 3SIDE imposition schema weirdness
http://wiki.contextgarden.net/User:Wolfgang_Schuster#Brochures Wolfgang Am 10.06.2009 um 11:47 schrieb Nicolas Girard: Hi, i'm a little bit puzzled by the results of the following test file, using the 3SIDE imposition schema from Willi ( http://wiki.contextgarden.net/Imposition#Additional_schemas ). The results consists in pages 1|2|3 on the recto of the sheet, and pages 4|5|6 on the verso. * Is it really the intended result ? * If so, I don't understand how can \dosetuparrangement{3}{1}{6}{4}{2} give 1|2|3 // 4|5|6 . What's the rationale ? Why no page 5 among the arguments of \dosetuparrangement ? * What if one wants to fold the resulting brochure ? How to adapt the code (besides by try and error) for the resulting arrangement to be 3|6|1 // 2|4|5 ? Thanks in advance, cheers, Nicolas ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 3SIDE imposition schema weirdness
2009/6/10 Wolfgang Schuster schuster.wolfg...@googlemail.com: http://wiki.contextgarden.net/User:Wolfgang_Schuster#Brochures Hi Wolfgang, well, it seems quite interesting ! Would you allow me to put your code in the Imposition page, or could you consider doing so ? Nevertheless, I couldn't make your code work ; I get: Fatal error: catcode push/pop mismatch. Fix this! \wait= Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Limited with rule?
Hi all, I've been trying to create a horizontal rule of limited width, using MkIV. My best approach so far is using a \framed with only a bottom frame: \framed[frame=off,bottomframe=on,width=.5\textwidth]{} However, this is not quite elegant. Context provides two commands for drawing lines, \hairline and \thinrule (which seem to do the same from looking at their definition in pack-rul.mkiv, though \hairline does not seem to respond to \setupthinrules for some reason I cannot discern...). However, \setupthinrules accepts a lot of options (including height and depth, which get passed to \hrule, but there is no width option (nor does there seem any way to get \thinrule to pass a width to \hrule). Another attempt to put a frameless \framed around the \hairline (which gets as wide as the containing box) failed as well. The line kept getting vertical, even when I sprinkeled some \dontleavehmod or \pars around... Any suggestions on how to do this? Gr. Matthijs signature.asc Description: Digital signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Limited with rule?
Matthijs Kooijman wrote: Hi all, I've been trying to create a horizontal rule of limited width, using MkIV. My best approach so far is using a \framed with only a bottom frame: \framed[frame=off,bottomframe=on,width=.5\textwidth]{} \blackrule[width=10cm,height=1pt,depth=1pt,color=red] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \typebuffer with typing style
Hi Peter, \setuptyping[option=TEX] This is what I am using now, but this changes the global settings and requires resetting them afterwards. Not so pretty. I was hoping for a better method to achieve this, but I'm starting to doubt there is one currently. I've been trying to give \typebuffer a second argument with options or a typing style, but I haven't been so succesful so far... However, from looking at the definition of \dotypebuffer makes me wonder a bit if my understanding of TeX macros is faulty, or the code is weird: \def\dotypebuffer[#1][#2]% {\iffirstargument \dobuffer{17}{#1}\dotypefilebuffer \else \dobuffer{17}{#2}\dotypefilebuffer \fi} What I see here is the there is an argument 17 passed, which is not used by \dobuffer at all. Also, why is this 17 ? Secondly, there is a use of #2 in this definition, but only when there is no first argument (and thus, no second argument either). Is this a leftover that could be replaced with {}, or am I missing something? Gr. Matthijs signature.asc Description: Digital signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Limited with rule?
Hi Hans, \blackrule[width=10cm,height=1pt,depth=1pt,color=red] That seems to work, thanks! Is there any particular difference between all these line commands (\hairline, \thinrule, \blackrule), apart from the options they support? Are they meant for different situations, or is there some other reason why they exist next to each other? Gr. Matthijs signature.asc Description: Digital signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Argument of \doswitchtotypeface has an extra }
Peter Münster wrote: Hello, Here I get the error: \starttext bla\footnote{\useURL[bla][http://bla/]\from[bla]} \stoptext I use \useURL inside the footnote, because in my real code, I put \useURL and \from together in a macro. i'll make them unexpandable although normally such commands are not used that way it does not hurt - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \typebuffer with typing style
On Wed, 10 Jun 2009, Matthijs Kooijman wrote: \setuptyping[option=TEX] This is what I am using now, but this changes the global settings and requires resetting them afterwards. Not so pretty. I was hoping for a better method to achieve this, but I'm starting to doubt there is one currently. 2 ideas: - With \setuptyping[file][option=TEX] the global setting is only for \typefile or \typebuffer. - Use grouping, for example: \def\myTypeBuffer#1{\bgroup \setuptyping[...] \typebuffer[#1] \egroup} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] startcombination alignment problem
Hi, I want to put three graphics by this way: [graphic 1] [graphic 2] [graphic 3] where graphic 3 is centered. I use combination, but graphic 3 puts me in left [graphic 1] [graphic 2] [graphic 3] How can I solve that? Thanks in advance, Xan. PS: Please, CCme. I put the code: \placefigure [here] [figura-area] {Camins sobre $w$} {\startcombination[2*1] { \starttikzpicture[scale=1] % Els punts \filldraw (0,-4) circle (2pt); \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = 0.141 \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = -0.141 % Les línies entre els punts \draw (-0.4216,3.9603) -- (0.4216,3.9603); \draw plot[domain=-3.141:-0.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \draw plot[domain=0.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \filldraw (0,-4) circle (2pt); % perquè me quedi el punt damunt. % Els combings % Dibuixo: % amb y la línia recta que uneix els dos punts, directament % per x faig un funció del sinus (sin nx + ax = k) \draw plot[domain=0:0.4216,smooth,variable=\t] ({-0.857727*\t -sin (7.31228*\t r) },{18.8812*\t -4 }); \draw plot[domain=0:0.4216,smooth,variable=\t] ({+0.857727*\t +sin (7.31228*\t r) },{18.8812*\t -4 }); % el sentit d'omega \draw[decorate,decoration={markings,mark=at position .9 with {\arrow[blue,line width=1mm]{}}}] plot[domain=-3.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); % Els punts de les cel·les % Calcul els combings per a y= 0 i y=1 \filldraw (-1.181475, 0) circle (2pt); \filldraw (1.181475, 0) circle (2pt); %\filldraw (1.161048, 1) circle (2pt); %\filldraw (-1.161048, 1) circle (2pt); % Els noms \draw (0, -4.3) node {$1 \in G$}; \draw (2.5, -3) node {$w$}; \draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; \draw (1.65, -0.3) node {$\sigma_i(j)$}; % Els noms dels camins %\draw (1, 0.3) node {$a$}; %\draw (3, 0.3) node {$b$}; %\draw (3.7, 1) node {$c$}; %\draw (3, 1.7) node {$d$}; %\draw (1, 1.7) node {$e$}; %\draw (0.3, 1) node {$f$}; %\draw (2.3, 1) node {$g$}; % PROVES %\draw[out=45,in=-45] (0,0) to (0.5,8); %\draw[color=blue,-] (0,0) .. controls (0.1,2) .. (0.2,3) .. controls (0.3,4) and (0.4,6) .. (0.5,8); %\draw (0,0) arc (-90:90:3 and 4); %\draw (0,0) arc (270:90:3 and 4); %\draw[color=green] plot[domain=-3.141:3.141,smooth,variable=\t] ({4*sin(\t + (.1 * rand) r)},{4*cos(\t r)}); %\draw (0,0) arc (-90:81.82:2 and 4); %\draw[decorate,decoration={random steps,segment length=2mm, amplitude=2pt}] (0,0) arc (-90:97.18:3.5 and 4); %\draw[very thin,color=gray] (-5.1,-5.1) grid [step=1] (5.9,5.9); %\draw[-] (-5.2,0) -- (6.2,0) node[right] {$x$}; %\draw[-] (0,-5.2) -- (0,5.2) node[above] {$y$}; % r = \frac{-1}{3} x + 3 %\filldraw (3,2) circle (2pt); %\filldraw (-3,4) circle (2pt); %\draw (-6,5) -- (6,1); %\draw (1, 3.5) node {$r$}; \stoptikzpicture} {Les seccions de $\pi(w(i))$.} { \starttikzpicture[scale=1] % Els punts \filldraw (0,-4) circle (2pt); \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = 0.141 \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = -0.141 % Les línies entre els punts \draw (-0.4216,3.9603) -- (0.4216,3.9603); \draw plot[domain=-3.141:-0.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \draw plot[domain=0.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \filldraw (0,-4) circle (2pt); % perquè me quedi el punt damunt. % Els combings % Dibuixo: % amb y la línia recta que uneix els dos punts, directament % per x faig un funció del sinus (sin nx + ax = k) \draw plot[domain=0:0.4216,smooth,variable=\t] ({-0.857727*\t -sin (7.31228*\t r) },{18.8812*\t -4 }); \draw plot[domain=0:0.4216,smooth,variable=\t] ({+0.857727*\t +sin (7.31228*\t r) },{18.8812*\t -4 }); % el sentit d'omega \draw[decorate,decoration={markings,mark=at position .9 with {\arrow[blue,line width=1mm]{}}}] plot[domain=-3.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); % Els punts de les cel·les % Calcul els combings per a y= 0 i y=1 \filldraw (-1.181475, 0) circle (2pt); \filldraw (1.181475, 0) circle (2pt); %\filldraw (1.161048, 1) circle (2pt); %\filldraw (-1.161048, 1) circle (2pt); % Els noms \draw (0, -4.3) node {$1 \in G$}; \draw (2.5, -3) node {$w$}; \draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; \draw (1.65, -0.3) node {$\sigma_i(j)$}; % Els noms dels camins %\draw (1, 0.3) node {$a$}; %\draw (3, 0.3) node {$b$}; %\draw (3.7, 1) node {$c$}; %\draw (3, 1.7) node {$d$}; %\draw (1, 1.7) node {$e$}; %\draw (0.3, 1) node {$f$}; %\draw (2.3, 1) node {$g$}; \stoptikzpicture} {El camí $\theta_{i,j}$.} \stopcombination \startcombination[1*1] { \starttikzpicture[scale=1] % Els punts \filldraw (0,-4) circle (2pt); \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = 0.141 \filldraw (-0.4216,3.9603)
Re: [NTG-context] Limited with rule?
Matthijs Kooijman wrote: Hi Hans, \blackrule[width=10cm,height=1pt,depth=1pt,color=red] That seems to work, thanks! Is there any particular difference between all these line commands (\hairline, \thinrule, \blackrule), apart from the options they support? Are they meant for different situations, or is there some other reason why they exist next to each other? thinrule and hairline kind of work together with text (and spacing) while black rule is dumber but on the other hand has key values - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] startcombination alignment problem
Hey, I know now: Nested combinations: combination[1*2] combination[2*1] combination[1*1] (this is only a sketch) Thanks, Xan. En/na Xan ha escrit: Hi, I want to put three graphics by this way: [graphic 1] [graphic 2] [graphic 3] where graphic 3 is centered. I use combination, but graphic 3 puts me in left [graphic 1] [graphic 2] [graphic 3] How can I solve that? Thanks in advance, Xan. PS: Please, CCme. I put the code: \placefigure [here] [figura-area] {Camins sobre $w$} {\startcombination[2*1] { \starttikzpicture[scale=1] % Els punts \filldraw (0,-4) circle (2pt); \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = 0.141 \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = -0.141 % Les línies entre els punts \draw (-0.4216,3.9603) -- (0.4216,3.9603); \draw plot[domain=-3.141:-0.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \draw plot[domain=0.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \filldraw (0,-4) circle (2pt); % perquè me quedi el punt damunt. % Els combings % Dibuixo: % amb y la línia recta que uneix els dos punts, directament % per x faig un funció del sinus (sin nx + ax = k) \draw plot[domain=0:0.4216,smooth,variable=\t] ({-0.857727*\t -sin (7.31228*\t r) },{18.8812*\t -4 }); \draw plot[domain=0:0.4216,smooth,variable=\t] ({+0.857727*\t +sin (7.31228*\t r) },{18.8812*\t -4 }); % el sentit d'omega \draw[decorate,decoration={markings,mark=at position .9 with {\arrow[blue,line width=1mm]{}}}] plot[domain=-3.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); % Els punts de les cel·les % Calcul els combings per a y= 0 i y=1 \filldraw (-1.181475, 0) circle (2pt); \filldraw (1.181475, 0) circle (2pt); %\filldraw (1.161048, 1) circle (2pt); %\filldraw (-1.161048, 1) circle (2pt); % Els noms \draw (0, -4.3) node {$1 \in G$}; \draw (2.5, -3) node {$w$}; \draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; \draw (1.65, -0.3) node {$\sigma_i(j)$}; % Els noms dels camins %\draw (1, 0.3) node {$a$}; %\draw (3, 0.3) node {$b$}; %\draw (3.7, 1) node {$c$}; %\draw (3, 1.7) node {$d$}; %\draw (1, 1.7) node {$e$}; %\draw (0.3, 1) node {$f$}; %\draw (2.3, 1) node {$g$}; % PROVES %\draw[out=45,in=-45] (0,0) to (0.5,8); %\draw[color=blue,-] (0,0) .. controls (0.1,2) .. (0.2,3) .. controls (0.3,4) and (0.4,6) .. (0.5,8); %\draw (0,0) arc (-90:90:3 and 4); %\draw (0,0) arc (270:90:3 and 4); %\draw[color=green] plot[domain=-3.141:3.141,smooth,variable=\t] ({4*sin(\t + (.1 * rand) r)},{4*cos(\t r)}); %\draw (0,0) arc (-90:81.82:2 and 4); %\draw[decorate,decoration={random steps,segment length=2mm, amplitude=2pt}] (0,0) arc (-90:97.18:3.5 and 4); %\draw[very thin,color=gray] (-5.1,-5.1) grid [step=1] (5.9,5.9); %\draw[-] (-5.2,0) -- (6.2,0) node[right] {$x$}; %\draw[-] (0,-5.2) -- (0,5.2) node[above] {$y$}; % r = \frac{-1}{3} x + 3 %\filldraw (3,2) circle (2pt); %\filldraw (-3,4) circle (2pt); %\draw (-6,5) -- (6,1); %\draw (1, 3.5) node {$r$}; \stoptikzpicture} {Les seccions de $\pi(w(i))$.} { \starttikzpicture[scale=1] % Els punts \filldraw (0,-4) circle (2pt); \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = 0.141 \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t r)},{4*cos(\t r)}); a t = -0.141 % Les línies entre els punts \draw (-0.4216,3.9603) -- (0.4216,3.9603); \draw plot[domain=-3.141:-0.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \draw plot[domain=0.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); \filldraw (0,-4) circle (2pt); % perquè me quedi el punt damunt. % Els combings % Dibuixo: % amb y la línia recta que uneix els dos punts, directament % per x faig un funció del sinus (sin nx + ax = k) \draw plot[domain=0:0.4216,smooth,variable=\t] ({-0.857727*\t -sin (7.31228*\t r) },{18.8812*\t -4 }); \draw plot[domain=0:0.4216,smooth,variable=\t] ({+0.857727*\t +sin (7.31228*\t r) },{18.8812*\t -4 }); % el sentit d'omega \draw[decorate,decoration={markings,mark=at position .9 with {\arrow[blue,line width=1mm]{}}}] plot[domain=-3.141:3.141,smooth,variable=\t] ({3*sin(\t r)},{4*cos(\t r)}); % Els punts de les cel·les % Calcul els combings per a y= 0 i y=1 \filldraw (-1.181475, 0) circle (2pt); \filldraw (1.181475, 0) circle (2pt); %\filldraw (1.161048, 1) circle (2pt); %\filldraw (-1.161048, 1) circle (2pt); % Els noms \draw (0, -4.3) node {$1 \in G$}; \draw (2.5, -3) node {$w$}; \draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; \draw (1.65, -0.3) node {$\sigma_i(j)$}; % Els noms dels camins %\draw (1, 0.3) node {$a$}; %\draw (3, 0.3) node {$b$}; %\draw (3.7, 1) node {$c$}; %\draw (3, 1.7) node {$d$}; %\draw (1, 1.7) node {$e$}; %\draw (0.3, 1) node {$f$}; %\draw (2.3, 1) node {$g$}; \stoptikzpicture} {El camí $\theta_{i,j}$.} \stopcombination \startcombination[1*1] { \starttikzpicture[scale=1] % Els punts \filldraw
[NTG-context] minimals and TeXShop
The directives in the ContextGarden for working with the minimals in TeXShop are not working for me on MacOSX. I installed the minimals in ~/TeX/context/beta and then set the TeXShop engine script to: export TEXROOT=~/TeX/context/beta/tex export PATH=$TEXROOT/texmf-osx-ppc/bin:$PATH export TEXMFCACHE=$TEXROOT/texmf-cache context $1 This corresponds to the recipe step 3 of TeXShop installation and configuration. The result in TeXShop's console window is disappointing: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Prefixing to the engine script with the recommended: ~/TeX/context/beta/tex/setuptex does not help. In fact $TEXROOT appears not to have been set, witnessed by the following output: Setting /Users/hans/TeX/context/beta/tex as TEXROOT. TEXROOT after ~/TeX/context/beta/tex/setuptex = MTXrun | unknown script 'context.lua' or 'mtx-context.lua' What now? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals and TeXShop
Hi Hans van der Meer,Some time ago there was an analogous question on the issue but I cannot find the thread right now…So I send you the PDF file where everything is explained in 10 steps.I hope this will be useful.Best regards: OK install-minimal-ok-1.pdf Description: Adobe PDF document On 10 juin 09, at 19:04, Hans van der Meer wrote:The directives in the ContextGarden for working with the minimals in TeXShop are not working for me on MacOSX.[…]___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with bibtex and @incollection
En/na Taco Hoekwater ha escrit: Xan wrote: Thanks a lot and I hope that this will be fixed soon. New bib module version uploaded to contextgarden, with your fix applied. Thanks, Taco In http://source.contextgarden.net/tex/context/bib/bibl-ams.tex appears that the last modification was in 2006 !!!? Xan. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with bibtex and @incollection
Xan wrote: En/na Taco Hoekwater ha escrit: Xan wrote: Thanks a lot and I hope that this will be fixed soon. New bib module version uploaded to contextgarden, with your fix applied. Thanks, Taco In http://source.contextgarden.net/tex/context/bib/bibl-ams.tex appears that the last modification was in 2006 !!!? Shows you shouldn't believe everything that is written down ;) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] minimals missing etex?
After loading context stable minimals with the following script: #!/bin/bash curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh mkdir tex ln -s $HOME/Library/texmf tex/texmf-local sh ./first-setup.sh --context=current first-setup.log source ./tex/setuptex I get this message on ETEX in the call to first-setup.sh. ...hans/TeX/context/stable/tex/texmf-osx-ppc/bin/mtxrun:8707: attempt to concate nate a nil value (/Users/hans/TeX/context/stable/tex/texmf-context/tex/context/base/ cont-en.tex ( /Users/hans/TeX/context/stable/tex/texmf-context/tex/context/base/ context.tex SORRY CONTEXT NOW NEEDS ETEX ) ) Is there something wrong here? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] startcombination alignment problem
Am 10.06.2009 um 18:26 schrieb Xan: Hi, I want to put three graphics by this way: [graphic 1] [graphic 2] [graphic 3] where graphic 3 is centered. I use combination, but graphic 3 puts me in left [graphic 1] [graphic 2] [graphic 3] How can I solve that? The same question was asked in the past by someone else and your should find it together with the answer in the mail archive, search for \startcombination or \bTD[nx=2] ... 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Re-play: URL colors are gone
Hello, Sorry for asking again, but it is crucial for my work. Why urls are not colored in mkiv? Best, Vyatcheslav Hello, I use \useURL[abc] [http://abc.com] [] [http://abc.com] but in mkiv it is typeset without color. \setupinteraction[state=start,color=blue] does not help. Regards, Vyatcheslav ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MS Word/HTML examples needed
Hello, Seems that my GUI-based Word-to-Text converter didn't gain much attention, but that's OK. I'm expected to write an article about it for the upcoming conference, so I want to ask everybody to send me any documents (MS Word/HTML) that are to be converted into TeX. I expect to test my application against real-world problems, and present an article about it. Looking for cooperation. My previous post: http://archive.contextgarden.net/message/20090527.220508.5dcc0fb8.en.html Best, Vyatcheslav ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 3SIDE imposition schema weirdness
Am 10.06.2009 um 11:47 schrieb Nicolas Girard: * If so, I don't understand how can \dosetuparrangement{3}{1}{6}{4}{2} give 1|2|3 // 4|5|6 . What's the rationale ? Why no page 5 among the arguments of \dosetuparrangement ? The placement of the pages is defined \pusharrangedpageTHREESIDE, the values above mean: • number of columns: 3 • number of rows: 1 • total number of pages: 6 (ConTeXt collects 6 pages and arrange them before they are written to the pdf file but in Willi's code 3 had been enough) • number of crop marks in x direction: 4 (columns + 1) • number of crop mark in y direction: 2 (rows + 1) * What if one wants to fold the resulting brochure ? How to adapt the code (besides by try and error) for the resulting arrangement to be 3|6|1 // 2|4|5 ? The page order in a brochure is 5|6|1 and 2|3|4. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 3SIDE imposition schema weirdness
Am 10.06.2009 um 14:53 schrieb Nicolas Girard: Hi Wolfgang, well, it seems quite interesting ! Would you allow me to put your code in the Imposition page, or could you consider doing so ? Do as you want. Nevertheless, I couldn't make your code work ; I get: There was a \unprotect missing at the start of the code, I added it. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MS Word/HTML examples needed
On Jun 10, 2009, at 11:21 PM, Vyatcheslav Yatskovsky wrote: Hello, Seems that my GUI-based Word-to-Text converter didn't gain much attention, but that's OK. I'm expected to write an article about it for the upcoming conference, so I want to ask everybody to send me any documents (MS Word/HTML) that are to be converted into TeX. I expect to test my application against real-world problems, and present an article about it. Looking for cooperation. Just as a heads-up: I was and am very interested. However, your first message didn't really tell us very much. You basically said windows only, download at... I don't use windows, so there wasn't anything I could do. What technology do you use to convert documents? Any chance of porting it to other platforms? How difficult will it be to add other features (let's say: footnotes)? Thanks, and best wishes for your work 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MS Word/HTML examples needed
Hi, On Wed, 10 Jun 2009 15:21:00 -0600, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Hello, Seems that my GUI-based Word-to-Text converter didn't gain much attention, but that's OK. Sorry, I did not catch that post earlier... but I'm very interested indeed! My minimal needs involve entire documents with footnotes, basically the current features of odt2txt: http://www.freewisdom.org/projects/python-markdown/odt2txt Unfortunately that script is a bit buggy... but a reliable word2context script with just those features alone would be a boon. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___