Re: [NTG-context] Anyone could help me with this error in filter module?

2014-07-28 Thread Aditya Mahajan
ons] \starttextrule{Solucions} \startpython \stoppython \stoptextrule \stopmode \stoptext Another option is (untested): \defineexternalfilter [python] [ filtercommand={...}, before={\starttextrule{Solutions}}, after={\stoptextrule}, ] \startmode[soluti

Re: [NTG-context] Anyone could help me with this error in filter module?

2014-07-28 Thread Wolfgang Schuster
to do in this case is to use the \startmode or \startnotmode commands. \usemodule[filter] \defineexternalfilter [python] [filtercommand={python \externalfilterinputfile\space > \externalfilteroutputfile},cache=force] \starttext \startmode[solucions] \starttextrule{Solucions}

Re: [NTG-context] filter module: before print, it puts new line

2014-07-28 Thread Xan
gt; \starttext > > > Resol les equacions següents i comprova'n la solució > \startitemize[a,columns] > \item $3x + 2 = 35$ > \item $11x – 18 = 4$ > \item $56x + 33 = -23$ > \item $5x + 25 = 125$ > \stopitemize > > \starttextrule{Solucions} > > \st

[NTG-context] filter module: before print, it puts new line

2014-07-28 Thread Xan
5$ \item $11x – 18 = 4$ \item $56x + 33 = -23$ \item $5x + 25 = 125$ \stopitemize \starttextrule{Solucions} \startitemize[a,text] \item \startpython from sympy.solvers import solve from sympy import Symbol from sympy import Eq x = Symbol('x') for solucio in solve(Eq(3*x + 2, 35), x):

Re: [NTG-context] problem between textrule and setupindenting ?

2014-05-06 Thread Hans Hagen
On 5/3/2014 9:34 AM, Bertrand Masson wrote: Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time

[NTG-context] problem between textrule and setupindenting ?

2014-05-03 Thread Bertrand Masson
Hello, In the following code, the second ruleis indented. How to remove this indentation ? %code% \setuppapersize[A5] \setupindenting[small,yes] \setuptextrules[inbetween=\noindentation] \starttext \starttextrule{introduction} Once upon a time \unknown \stoptextrule \stoptext %code% Many thanks

Re: [NTG-context] MKII & MKIV difference between \textrule

2012-09-16 Thread Hans Hagen
not that convinced if that correction always looks right (i've reenabled it but it might become an option) And apparently the command \starttextrule ... \stoptextrule doesn't work (this was explain in the cont-entp.pdf page 204) in either mkii & mliv. This does work

Re: [NTG-context] MKII & MKIV difference between \textrule

2012-09-15 Thread Alessandro Perucchi
On 15 sept. 2012, at 09:28, Wolfgang Schuster wrote: > > Remove "[top]" from \starttextrule. All possible combinations are: > > (...) Hello Wolfgang, Thanks, now I understand how this command works. So probably it would be good to correct the documentation accordingly

Re: [NTG-context] MKII & MKIV difference between \textrule

2012-09-15 Thread Wolfgang Schuster
Am 14.09.2012 um 23:50 schrieb Alessandro Perucchi : >>> And apparently the command \starttextrule ... \stoptextrule doesn't work >>> (this was explain in the cont-entp.pdf page 204) in either mkii & mliv. >> >> This does work for me:

Re: [NTG-context] MKII & MKIV difference between \textrule

2012-09-14 Thread Alessandro Perucchi
Xt Process Management 0.60 mtx-context | mtx-context | main context file: /Users/ptitvert/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2012.09.11 20:36 > >> And apparently the command \starttextrule ... \stoptextrule doesn't work >>

Re: [NTG-context] MKII & MKIV difference between \textrule

2012-09-14 Thread Wolfgang Schuster
lesparameter\c!rulecolor] {\hrule\s!depth\directtextrulesparameter\c!rulethickness\s!height\zeropoint\s!width\availablehsize}}} {\pack_textrule_with_text{#1}}% \ifvmode \prevdepth\zeropoint \fi} > And apparently the command \starttextrule ... \stoptextrule doesn'

[NTG-context] MKII & MKIV difference between \textrule

2012-09-13 Thread Alessandro Perucchi
s too near the text, and I need to add something like \blank[halfline] to have a similar behavior as mkii. And apparently the command \starttextrule ... \stoptextrule doesn't work (this was explain in the cont-entp.pdf page 204) in either mkii & mkiv. Am I missing something? S

Re: [NTG-context] Title in textrule

2011-04-12 Thread Flavien Lambert
s the {\em doudouk}. Other \quote {unknown} instruments are >> used on his \kap{cd} \quote {Passion}. >> \textrule >> > > From pack-rul,mkiv > > %D \startbuffer > %D \setuptextrules > %D [width=90pt,distance=12pt,rulecolor=blue, > %Dbodyfont=small,styl

Re: [NTG-context] Title in textrule

2011-04-12 Thread Aditya Mahajan
k-rul,mkiv %D \startbuffer %D \setuptextrules %D [width=90pt,distance=12pt,rulecolor=blue, %Dbodyfont=small,style=\sc,color=red] %D %D \starttextrule{Ship Building Tools} %D \nl \setuptolerance[tolerant] \input materie %D \stoptextrule %D \stopbuffer %D %D \bgroup \typebuffer \getbuffer \eg

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen
l\chardef\showmathmodern\zerocount \fi \gdef\showmathcharacters% nearly \showcharacters {\par \bgroup \ifcase\showmathmodern\or\ifx\modern\undefined\chardef\showmathmodern\zerocount\fi\fi \setuptextrules[\c!bodyfont=,\c!style=] \starttextrule{math characters -- \currentmathcollection} \w

Re: [NTG-context] about \starttextrule{Title}

2009-10-16 Thread Dalyoung
Dear Hans, After updating the minimal, it works fine. Thank you so much. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

Re: [NTG-context] about \starttextrule{Title}

2009-10-13 Thread Hans Hagen
Dalyoung wrote: Dear Hans, I compiled following code using LuaTeX and the "title" is not appeared in the top hairline while it is appeared when I compile it using ConTeXt. \starttext \starttextrule{Title} \input knuth \stoptextrule \stoptext I am using minimal under OSX and LuaTe

[NTG-context] about \starttextrule{Title}

2009-10-13 Thread Dalyoung
Dear Hans, I compiled following code using LuaTeX and the "title" is not appeared in the top hairline while it is appeared when I compile it using ConTeXt. \starttext \starttextrule{Title} \input knuth \stoptextrule \stoptext I am using minimal under OSX and LuaTeX: this

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
p \stopstandardmakeup \startsymbolset[name] \stopsymbolset \startsynchronization \stopsynchronization \starttable[text|name] \stoptable \starttables[text|name] \stoptables \starttabulate[text][settings] \stoptabulate # \startTEXpage \stopTEXpage # \starttext \stoptext # \starttextbackground \stoptext

Re: [NTG-context] \definestartstop with arguments

2007-07-13 Thread Peter Rolf
hout #2] \fi [whatever before] #3 [whatever after] } \let\stopFOO\relax % or define the [whatever after] stuff here This is the basic construct, the rest is parameter evaluation and some additional whatever. HTH, Peter > My current startstop definition is > > \definestart

[NTG-context] \definestartstop with arguments

2007-07-13 Thread Vyatcheslav Yatskovsky
inestartstop[usecase][before={\starttextrule{Use Case: Logging-On}\startpacked\startmypar{\bf User Intentions}\mypar{\bf System Responsibilities}\stopmypar}, after={\stoppacked\stoptextrule}] Best, Vyatcheslav ___ If

[NTG-context] \definestartstop with arguments

2007-07-13 Thread Vyatcheslav Yatskovsky
Hello, I want to convert my following code into a custom \start \stop pair. \starttextrule{Use Case: Logging-On}\startpacked Text \stoppacked\stoptextrule It seems to me that using \definestartstop[usecase][...] command is the most approprate, but I cannot get how to achieve different

Re: [NTG-context] textrules

2006-10-21 Thread Thomas A. Schmitz
s a \domiddletextrule that does > > inbetween > > inbetween > > but this is not interfaced with \textrule. It only becomes active > inside a \starttextrule. > > \starttextrule{whatever} > \input knuth > \textrule > \input knuth > \

Re: [NTG-context] textrules

2006-10-20 Thread Hans Hagen
ystery >> thickens: what is before? :-) >> > > > \textrule[top] does > > before > --- (rule) > inbetween > > \textrule[bottom] does > > inbetween > -- > after > > \textrule with no argumet is equal to \textrule[bottom] >

Re: [NTG-context] textrules

2006-10-19 Thread Aditya Mahajan
\textrule with no argumet is equal to \textrule[bottom] There is a \domiddletextrule that does inbetween inbetween but this is not interfaced with \textrule. It only becomes active inside a \starttextrule. \starttextrule{whatever} \input knuth \textrule \input knuth \stoptex

[NTG-context] starttextrule different from manual

2006-08-11 Thread Hans van der Meer
The manual says (p.204):\starttextrule[.1.]{.2.}...\stoptextrule.1. top bottom.2. textBut parameter [.1.] is not picked up and the code in core-rul.tex is:\def\starttextrule#1%instead of the expected \def\starttexrule{\dosingleargument\dostarttextrule} etc.Is this a deliberate change from the