Re: [NTG-context] packed list only if items > 5

2019-11-14 Thread Tomas Hala
ize \thinrule \mystartitemize %packed \dorecurse{7}{\startitem text\stopitem} \stopitemize \stoptext Best wishes, Tomáš Thu, Nov 14, 2019 ve 09:07:21PM +0100 Pablo Rodriguez napsal(a): # Dear list, # # I have the following sample: # # \startt

Re: [NTG-context] How to repeat the hyphen?

2019-03-25 Thread Sam May
{{\bf#1}}\crlf#2\stopframedtext\stop\par} # > \def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1}\par\thinrule} # > # > \starttext # > \definebreakpoints[czcompound] # > #

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
efault}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1}\par\thinrule} # > # > \starttext # > \definebreakpoints[czcompound] # > # > \let\oldlanguage=\language # > \def\language[#1]{\oldlanguage[#1] # > \ifx\mylanguag

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Taco Hoekwater
dtext\stop\par} > \def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1}\par\thinrule} > > \starttext > \definebreakpoints[czcompound] > > \let\oldlanguage=\language &g

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par} \def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1}\par\thinrule} \starttext

[NTG-context] hairline & rules

2018-06-16 Thread jdh
I want to use a colored hairline, but can't get it working and can't find anything to explain any options or parameters. I've tried \setuptextrules[rulecolor=red,color=red] \hairline or \hairline[color=red] Doesn't work this is a test \thinrule[color

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread John Kitzmiller
> On 8Jul, 2016, at 09:20, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> The code below works with context2016.02.15, but fails with >> context2016.05.19. >> >> Itemize within the defined paragraph (Mypar) no longer puts the thinrule in

Re: [NTG-context] \defineparagraphs

2016-07-08 Thread Wolfgang Schuster
k...@inradius.net <mailto:k...@inradius.net> 8. Juli 2016 um 13:53 The code below works with context2016.02.15, but fails with context2016.05.19. Itemize within the defined paragraph (Mypar) no longer puts the thinrule in the margin (see the third question.) The \ansblank command

[NTG-context] \defineparagraphs

2016-07-08 Thread kitz
The code below works with context2016.02.15, but fails with context2016.05.19. Itemize within the defined paragraph (Mypar) no longer puts the thinrule in the margin (see the third question.) The \ansblank command seems to the second part of Mypar is the margin? Pdf of the success and fail

Re: [NTG-context] \inright

2016-06-25 Thread John Kitzmiller
> John Kitzmiller <mailto:kitz at inradius.net > <https://mailman.ntg.nl/mailman/listinfo/ntg-context>> > 25. Juni 2016 um 16:20 > The following is no longer putting the “answer blank” in the right margin. > > \define\ansblank{\inright{\getnumber[itemgroup:itemize].

Re: [NTG-context] \inright

2016-06-25 Thread Wolfgang Schuster
John Kitzmiller <mailto:k...@inradius.net> 25. Juni 2016 um 16:20 The following is no longer putting the “answer blank” in the right margin. \define\ansblank{\inright{\getnumber[itemgroup:itemize]. \thinrule}} \setupitemgroup [itemize] [n, style=bold,right=\ansblank] \setupitemgroup[i

[NTG-context] \inright

2016-06-25 Thread John Kitzmiller
The following is no longer putting the “answer blank” in the right margin. \define\ansblank{\inright{\getnumber[itemgroup:itemize]. \thinrule}} \setupitemgroup [itemize] [n, style=bold,right=\ansblank] \starttext \startitemize[n] \item A question. \stopitemize \showframe \stoptext When I

Re: [NTG-context] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread Wolfgang Schuster
. \starttext \startfrontmatter \completecontent \chapter{Frontpart} \writebetweenlist[chapter][location=here]{\thinrule} \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread robheus
), when this doesn’t help send a minimal example. \starttext \startfrontmatter \completecontent \chapter{Frontpart} \writebetweenlist[chapter][location=here]{\thinrule} \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
{Incorrect}\startlinenumbering\startalignment[r2l]هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير.هذه رسالة جامعة مانعة ألفها الشيخ الفاضل...\thinrule===You're right. \thinrule has LR unicode characters which is probably why it gets thrown off. So if you turn off global bidi and then either

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Alan BRASLAU
On Sat, 1 Aug 2015 17:35:38 -0600 Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote: Suppose I want to end the last line of every paragraph with a command, say, \thinrule, or a string of dots. Is there a straightforward way to do that? TeX has \everypar but I'm not aware

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
... \thinrule Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla. \stopalignment \stoplinenumbering \section{Correct} \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur adipiscing

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Alan, On Sun, 02 Aug 2015 01:11:38 -0600, Alan BRASLAU alan.bras...@cea.fr wrote: On Sat, 1 Aug 2015 17:35:38 -0600 Idris Samawi Hamid ادريس سماوي حامد idris.ha...@colostate.edu wrote: Suppose I want to end the last line of every paragraph with a command, say, \thinrule, or a string

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 03:24:12 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it can be apprehended! Talal, here is a barbarous workaround using \thinrule: == \setuppapersize[A6] \starttext

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
an explicit \par or through an implicit blank line). My guess, untested, would be \setupparagraph[after=\thinrule] The paragraph environment has no before/after keys Then the wiki is mistaken: http://wiki.contextgarden.net/Command/setupparagraphs The page describes the paragraph*s* environment which

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
=\thinrule] The paragraph environment has no before/after keys Then the wiki is mistaken: http://wiki.contextgarden.net/Command/setupparagraphs The page describes the paragraph*s* environment which isn’t related to \startparagraph. Wolfgang

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
: == snip \setupdirections[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل... \thinrule === You're right

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
\stopparagraph, for otherwise TeX does not know where a paragraph is to end (only where one begins, through an explicit \par or through an implicit blank line). My guess, untested, would be \setupparagraph[after=\thinrule] The paragraph environment has no before/after keys Then the wiki

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
begins, through an explicit \par or through an implicit blank line). My guess, untested, would be \setupparagraph[after=\thinrule] The paragraph environment has no before/after keys and even if it would the after key would be normally applied after the paragraph has needed. Wolfgang

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل... \thinrule === You're right. \thinrule has LR unicode

[NTG-context] ending every paragraph

2015-08-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Suppose I want to end the last line of every paragraph with a command, say, \thinrule, or a string of dots. Is there a straightforward way to do that? TeX has \everypar but I'm not aware of any, say, \endeverypar command. Best wishes Idris -- Idris Samawi Hamid Professor

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Wed, 15 Apr 2015, Thangalin wrote: Pandoc uses thinrule (probably because it spans the page by default) when generating ConTeXt documents. Using only thinrule, how would you go about making a totally sweet (ornamental) horizontal rule, such as those shown at: http://tex.stackexchange.com

Re: [NTG-context] setupthinrules

2015-04-16 Thread Thangalin
Thank you. Here is an example that changes the \thinrule to something fancier: \usemodule[fancybreak] \setupfancybreak[symbol=star] \define\thinrule\fancybreak ___ If your question is of interest to others as well

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Thu, 16 Apr 2015, Thangalin wrote: \define\thinrule\fancybreak Or \definefancybreak[thinrule][symbol=star] I wish there was a custom context-writer for pandoc, where markdown elements were mapped to semantic commands rather than visual commands (pandoc maps **text** to {\bf text

[NTG-context] setupthinrules

2015-04-15 Thread Thangalin
\input knuth \thinrule \input knuth \stoptext This does not produce the expected output; it appears as though the before/after/inbetween commands, as documented on the wiki, have no behaviour. Pandoc uses thinrule (probably because it spans the page by default) when generating ConTeXt documents

[NTG-context] Strange page break before \title

2013-09-06 Thread Xan
Hi, I have this setuptitle: \setuphead[title][before={\page[no]}, after={\startalignment[center] {\dorecurse{30}~}\thinrule{\dorecurse{30}~}% and this document: \starttext \startalignment[center] Nom: \hl[24] Curs: \hl[4] \stopalignment \title{Nom del tema} ... \stoptext Before

Re: [NTG-context] Strange page break before \title

2013-09-06 Thread Wolfgang Schuster
Am 06.09.2013 um 13:09 schrieb Xan dxpubl...@telefonica.net: Hi, I have this setuptitle: \setuphead[title][before={\page[no]}, after={\startalignment[center] {\dorecurse{30}~}\thinrule{\dorecurse{30}~}% \setuphead [title] [page=no, after=\midaligned{\blackrule[width=7cm

[NTG-context] A thinner hrule for headers

2013-03-24 Thread Thomas Kreuzer
Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] replacing hrule with thinrule or hairline results in space below the header text and the line, and the line actually spans two lines. How can I

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
...@rwth-aachen.de wrote: Hello everyone, I'd like to know if it is possible to get a thinner hrule in headers (mkiv). Right now I am using \setupheader[after=\hrule] replacing hrule with thinrule or hairline results in space below the header text and the line, and the line actually

[NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Devendra Ghate
If \thinrule is used in \margintext, context gives error. \hairline works fine. *Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13 *Error Message:* ! Undefined control sequence. system tex error on line 2 in file a.tex: Undefined control sequence ... 1

Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen
On 1/24/2013 10:26 AM, Devendra Ghate wrote: If \thinrule is used in \margintext, context gives error. \hairline works fine. You can add an \unexpanded in pack-mrl.mkiv and remake the format: \unexpanded\def\thinrule

Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen
On 1/24/2013 10:26 AM, Devendra Ghate wrote: **MWE** \starttext %\margintext{\thinrule A margintext with thinrule.} \margintext{\hairline A margintext with hairline.} \stoptext btw, after fixing it this becomes a MNWE as a \margintext without anything following it will never show up

Re: [NTG-context] \startitemize[columns] once again...

2012-11-17 Thread Otared Kavian
. ·· demo · \defineframed[crampy][height=\ht\strutbox,frame=off] \starttext before \thinrule \startitemize[columns,two,joinedup] \item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}}; \item xyz \mathematics{\frac{x^5-3}{x^3+x-2

Re: [NTG-context] \startitemize[columns] once again...

2012-11-16 Thread Marcin Borkowski
if there is an official way to prevent or customize it. If you are desperate to get around it, maybe put the content in a box of fixed height. ·· demo · \defineframed[crampy][height=\ht\strutbox,frame=off] \starttext before \thinrule

Re: [NTG-context] \startitemize[columns] once again...

2012-11-14 Thread Philipp Gesang
height. ·· demo · \defineframed[crampy][height=\ht\strutbox,frame=off] \starttext before \thinrule \startitemize[columns,two,joinedup] \item abc \mathematics{\frac{x^2-x+3}{x^2+x-3}}; \item xyz \mathematics{\frac{x^5-3}{x^3+x-2

[NTG-context] itemize behaviour

2012-07-03 Thread Meer, H. van der
Intro to inner list. \startitemize \startitem one inner list \stopitem \startitem two inner list \stopitem \stopitemize \stopitem \startitem second outer item \stopitem \stopitemize \blank\thinrule\blank \setupitemgroup[itemize][1][unpacked][symbol=4] \setupitemgroup[itemize][2][packed,joinedup][symbol

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 18:09 schrieb Meer, H. van der: Thanks, From your answer I understand that collapsing the preceding vertical space is impossible with \thinrules. \thinrule adds \strut at the begin of the rule which results in vertical space above and below. Wolfgang

Re: [NTG-context] math signs in itemize

2011-09-25 Thread R. Ermers
. Regards, Robert +++ \enableregime[utf] \setuppapersize[A4][A4] \startsectionblockenvironment[bodypart] \setupheader[text][location=text,state=high,strut=yes,after=\vskip-0.8em\thinrule] \setupfootertexts[{\tfx \copyright R. Ermers}][][][{\tfx \copyright R. Ermers}] \setuppagenumber[number=1

Re: [NTG-context] math spacing

2011-03-14 Thread Otared Kavian
:\starttext\startbuffer[MathSpacing]Example with mkiv:With \type{\tfd}:$\tfd Q, Y, N, P, Y, Z, \quad PYR$\blank[big]With \type{\bf}$\bf Q, Y, N, P, Y, Z, \quad PYR$\blank[big]With normal LM math fonts:$Q,Y,N,P,Y,Z, \quad PYR$\stopbuffer\getbuffer[MathSpacing]\blank\thinrule\blankNow with \type

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][after=\hrule] Hi Florian, Maybe this can help you. \setuplayout[header=1cm,headerdistance=1cm] \setupheader[text][after=\vskip-0.8em

Re: [NTG-context] Hairline in header

2011-01-11 Thread 李延瑞
2011/1/11 Florian Wobbe florian.wo...@awi.de: how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][after=\hrule] Hi Florian, Maybe this can help you. \setuplayout[header=1cm,headerdistance=1cm

Re: [NTG-context] Hairline in header

2011-01-10 Thread 李延瑞
2011/1/11 Florian Wobbe florian.wo...@awi.de: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext Hi, how can I move the thinrule further up in this example? I'd like to use \thinrule but still want

Re: [NTG-context] empty page before chapter and part

2010-12-12 Thread Emanuele Sacco
={\defineoverlay[whatever][]}] \setuphead[chapter][before={\pagetype[chapter]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead  [chapter]  [page={yes,header,right}] Wolfgang

Re: [NTG-context] empty page before chapter and part

2010-12-11 Thread Wolfgang Schuster
]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead [chapter] [page={yes,header,right}] Wolfgang ___ If your question is of interest

Re: [NTG-context] Hairline in header

2010-11-04 Thread Wolfgang Schuster
knuth\par} \stoptext or \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks, that's it. Cheers, Lukas On Thu, 04 Nov 2010 10:01:18 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext

[NTG-context] page numbering with make-up-pages

2010-06-17 Thread Vyatcheslav Yatskovsky
control systems faculty Aviation computer-integrated complexes department \stopbuffer \startbuffer[ApprovedByPolukhin] \startalignment[right]\setupnarrower[left=12cm]\startnarrower[left] Approved Deputy Rector for Academics \thinrule\hskip1mm A.Polukhin \hl[2]\thinrule\hskip1mm

[NTG-context] stopcolumns causes new page!!!?

2010-04-11 Thread Xan
\startalignment[middle] {\sc\switchtobodyfont[14pt] Unitat didàctica }\par \thinrule {\switchtobodyfont[40pt] \bf \sc \startcolor[middleblue]Probabilitat\stopcolor}\par \stopalignment \vfill \thinrule \placefigure [force,none] [fig:latex-vs-context-version-etc] {Latex vs ConTeXt information

[NTG-context] Macro with variable number of arguments

2010-02-28 Thread Otared Kavian
Email: #2\crlf\thinrule\blank[small]} \define[3]\myMacroThree{Name: #1\crlf Address: #2 \crlf Email: #3\crlf\thinrule\blank[small]} \starttext \mymacrotwo{hans}{h...@hagen.context.nl} \myMacroThree{Wolfgang}{Paradise of TeX, 2010}{wolfg...@schuster.context.de} \stoptext I think that (or rather I am

Re: [NTG-context] Macro with variable number of arguments

2010-02-28 Thread Wolfgang Schuster
below: \define[2]\myMacroTwo{Name: #1\crlf Email: #2\crlf\thinrule\blank[small]} \define[3]\myMacroThree{Name: #1\crlf Address: #2 \crlf Email: #3\crlf\thinrule\blank[small]} \starttext \mymacrotwo{hans}{h...@hagen.context.nl} \myMacroThree{Wolfgang}{Paradise of TeX, 2010}{wolfg

Re: [NTG-context] Macro with variable number of arguments

2010-02-28 Thread Otared Kavian
On 28 févr. 2010, at 10:17, Wolfgang Schuster wrote: \def\myMacro {\dotriplegroupempty\domyMacro} \def\domyMacro#1#2#3% {\doifelsenothing{#3} {Name: #1\crlf Email: #2\crlf} {Name: #1\crlf Address: #2 \crlf Email: #3\crlf}% \thinrule\blank[small]} Wolfgang Many thanks

Re: [NTG-context] Macro with variable number of arguments

2010-02-28 Thread Hans Hagen
On 28-2-2010 12:44, Otared Kavian wrote: On 28 févr. 2010, at 10:17, Wolfgang Schuster wrote: \def\myMacro {\dotriplegroupempty\domyMacro} \def\domyMacro#1#2#3% {\doifelsenothing{#3} {Name: #1\crlf Email: #2\crlf} {Name: #1\crlf Address: #2 \crlf Email: #3\crlf}% \thinrule

Re: [NTG-context] Section setup

2009-10-17 Thread Wolfgang Schuster
Am 17.10.2009 um 16:58 schrieb Janneman: Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] don't do this, before and after are meant for vertical material like \blank or \thinrule etc. Wolfgang

[NTG-context] Limited with rule?

2009-06-10 Thread Matthijs Kooijman
, \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

Re: [NTG-context] Limited with rule?

2009-06-10 Thread Matthijs Kooijman
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

Re: [NTG-context] Limited with rule?

2009-06-10 Thread Hans Hagen
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

[NTG-context] Bug? thinrule in natural table MKIV

2009-02-05 Thread Bart C. Wise
I put a thinrule in a table as follows: \starttext \bTABLE \bTR\bTD\thinrule\eTD\eTR \eTABLE \stoptext It worked fine under MKII. However, when I switched to MKIV (both current and beta) I got the following error message: ! Missing { inserted. inserted text { to be read

Re: [NTG-context] Bug? thinrule in natural table MKIV

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 15:52 schrieb Bart C. Wise: I put a thinrule in a table as follows: \starttext \bTABLE \bTR\bTD\thinrule\eTD\eTR \eTABLE \stoptext It worked fine under MKII. However, when I switched to MKIV (both current and beta) I got the following error message: [...] Is this a bug

Re: [NTG-context] Beginner help: horizontal line

2008-12-22 Thread Aditya Mahajan
On Mon, 22 Dec 2008, Derek CORDEIRO wrote: Hi, I would like to be able to draw a line in the footer of every page. If I try to use setupfooter with before=\thinrule or before=\hrule I get some unexpected results. I want the line to span only the width of the body but thinrule aligns

Re: [NTG-context] Beginner help: horizontal line

2008-12-22 Thread Derek CORDEIRO
On Mon, Dec 22, 2008 at 9:54 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 22 Dec 2008, Derek CORDEIRO wrote: Hi, I would like to be able to draw a line in the footer of every page. If I try to use setupfooter with before=\thinrule or before=\hrule I get some unexpected results. I

[NTG-context] Dynamic frame height

2008-12-15 Thread Bart C. Wise
the desired results? \starttext \input tufte \blank \framed[ corner=00 ]{ \vbox{ Notes:\crlf \dorecurse{4}{\crlf\thinrule} }} \stoptext Thanks, Bart ___ If your question is of interest

Re: [NTG-context] Dynamic frame height

2008-12-15 Thread Bart C. Wise
to be automatically generated from the remaining space on the page. How do I control the number of lines and the frame height to achieve the desired results? \starttext \input tufte \blank \framed[ corner=00 ]{ \vbox{ Notes:\crlf \dorecurse{4}{\crlf\thinrule} }} \stoptext

Re: [NTG-context] goto(box) and setuplist questions

2008-08-07 Thread Wolfgang Schuster
On Wed, Aug 6, 2008 at 6:07 PM, Alan Stone [EMAIL PROTECTED] wrote: On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: \starttext \framed{text} \thinrule \setuplinewidth[small] \framed{text} \thinrule \setuplinewidth[1cm] \framed{text} \thinrule

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Wolfgang Schuster
} \thinrule \setuplinewidth[small] \framed{text} \thinrule \setuplinewidth[1cm] \framed{text} \thinrule \stoptext and several values for (x) in \startinteractionmenu[myMenu] \placecontent[ criterium=all, alternative=b, %style={\switchtobodyfont[small]\setupinterlinespace

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: \starttext \framed{text} \thinrule \setuplinewidth[small] \framed{text} \thinrule \setuplinewidth[1cm] \framed{text} \thinrule \stoptext I don't see the output difference between \framed{text

[NTG-context] Footer issue

2008-06-05 Thread Diego Depaoli
Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? Cheers -- Diego Depaoli ___ If your question is of interest

Re: [NTG-context] Footer issue

2008-06-05 Thread Hans Hagen
Diego Depaoli wrote: Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? maybe add a \endgraf after the \thinrule

Re: [NTG-context] Footer issue

2008-06-05 Thread Diego Depaoli
2008/6/5 Hans Hagen [EMAIL PROTECTED]: Diego Depaoli wrote: Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? maybe add a \endgraf after the \thinrule Thanks -- Diego Depaoli

Re: [NTG-context] Footer issue

2008-06-05 Thread Hans Hagen
Diego Depaoli wrote: Hi all, why \setupheader[text][after=\thinrule] and \setupfooter[text][before=\textrule] both work, but \setupfooter[text][before=\thinrule] doesn't work? has to do with a new paragraph being started or a previous one being ended

[NTG-context] Keeping a block of text together, without breaking footnotes, etc.

2008-05-15 Thread Daniel Pittman
paragraphs and a yes/no question section of the form. \starttext \dorecurse{10} {\bf Contact Details} \starttabulate[|l|p|] \NC Name: \NC \thinrule \NC \AR \NC Address: \NC \thinrules[n=3] \NC \AR \NC Postcode: \NC \thinrule \NC \AR \NC Email:\NC \thinrule \NC \AR

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
} \tab{text} text # \tbox \tex{text} \textreference[reference]{text} \textrule[top|bottom]{text} \textvariable[name] \thinrule \thinrules[settings] # \tightlayer \title[references]{text} # \to \tooltip[left|right|middle]{text}{text} \translate[name=text] \typ{text} \type{text} \typebuffer[name

Re: [NTG-context] Underline the headertext with a thinrule

2007-05-14 Thread luigi scarso
Sorry, but i'm a bit busy . Some hints are at http://wiki.contextgarden.net/Titles -- luigi If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Underline the headertext with a thinrule

2007-05-13 Thread Bert Trüger
Hi again, luigi, thanks for your tips. I simply want to put a \thinrule underneath the headertext in textwidth. My setup is: \setupheadertexts[chapter][\pagenumber][section][\pagenumber] \setupheader[after=\thinrule] \setuphead[subsubsection][number=no,alternative=text,indenttext=yes,textstyle

Re: [NTG-context] Some questions about context

2007-03-06 Thread Oliver Buerschaper
\setupheadertexts ... Instead of the \hrule command above you could also resort to \thinrule. The global behaviour of \thinrule can then be customized via \setupthinrules ... However, this comes at the cost of introducing additional vertical space between your header text and the rule

Re: [NTG-context] Some questions about context

2007-03-06 Thread Aditya Mahajan
change the actual content of your headers via \setupheadertexts ... Instead of the \hrule command above you could also resort to \thinrule. The global behaviour of \thinrule can then be customized via \setupthinrules ... However, this comes at the cost of introducing additional vertical space

Re: [NTG-context] Some questions about context

2007-03-06 Thread Oliver Buerschaper
For your headers try this: --- \setupheader [text] [after=\hrule] \starttext \input tufte \stoptext --- You can change the actual content of your headers via \setupheadertexts ... Instead of the \hrule command above you could also resort to \thinrule. The global

Re: [NTG-context] breaking framed text across pages

2007-02-23 Thread Mojca Miklavec
-file which inputs matrixes $A$, $B$, initial $N$ and number of iterations, and which plots 3D bars. \startcolumns[n=3] \par\thinrule \par\thinrule \par\thinrule \par\thinrule \par\thinrule \par\thinrule \par\thinrule \par\thinrule \par\thinrule \par\thinrule Why not simply

[NTG-context] breaking framed text across pages

2007-02-21 Thread Vyatcheslav Yatskovsky
is. :( \defineframedtext[assignment][rulethickness=0.7pt, corner=round, bodyfont=11pt, width=\textwidth] \startassignment Write an M-file which inputs matrixes $A$, $B$, initial $N$ and number of iterations, and which plots 3D bars. \startcolumns[n=3] \par\thinrule \par\thinrule \par\thinrule \par

Re: [NTG-context] store counter or variable and reread again

2006-12-31 Thread Thomas Engel
\bTR \bTD \AAnr \eTD \bTD Date: \eTD \eTR \bTR \bTD Name:\eTD \bTD Points: \hfill of \nofPoints \eTD\eTR \bTR \bTD Form: \Klnr \eTD \bTD Mark: \eTD \eTR \bTR \bTD [nc=3, align=low] \tfxx Unterschrift eines Erziehungsberechtigten: \thinrule \eTD \eTR \eTABLE

Re: [NTG-context] store counter or variable and reread again

2006-12-31 Thread Aditya Mahajan
=low] \tfxx Unterschrift eines Erziehungsberechtigten: \thinrule \eTD \eTR \eTABLE} \definelayer[kopf][width=\paperwidth, height=\paperheight] %Klassenarbeiten Kopf \def\AAnr{2. Schulaufgabe Englisch 2006/2007} \def\Klnr{10 \hfill} %\definelogo[SAK] [top][left][command

Re: [NTG-context] making posters with ContexT

2006-05-24 Thread David Antos
\thinspace00\crlf Czech Republic\crlf [EMAIL PROTECTED] \stopcolumns \stopalignment % Logos and rule \noindent \thinrule \kern0.03\textwidth \lower0.039\textwidth\hbox{\externalfigure[cesnet-logo][width=0.16\textwidth]} \kern0.03\textwidth \thinrule \kern0.03\textwidth \lower0.01\textwidth\hbox

[NTG-context] setupthinrules

2006-01-23 Thread Hans van der Meer
to one another I tried \setupthinrules[height=2pt,depth=0pt,interlinespace=medium] \thinrule\godown[1pt]\thinrule But the natural height of the lines then interfers. Setting \godown [negative amount] will work, of course, but seems unnatural to me. At least I feel it condems me

[NTG-context] Header design

2005-10-05 Thread Alexander Lazic
: --- \setuppapersize [A4][A4] \setupcolors[state=start] \setuppagenumbering[location={footer,right}] \setupheadertexts[][section] % Solution from http://archive.contextgarden.net/message/20050515.201803.67299570.html \setupthinrules[color=red,height=1mm] \setupheader[text][after=\thinrule

Re: [NTG-context] Re: itemize

2004-07-28 Thread Hans Hagen
of the first hairline? a bit tricky: par's (\endgraf's interfere in such matters, i.e. you need to invoke the command when the width is (still) known) \setupitemize [2] [a,packed,columns] [before={\thinrule\endgraf}, after={\endgraf\thinrule

Re: [NTG-context] special _______________________ headertexts

2003-09-19 Thread Hans Hagen
At 09:01 19/09/2003 +0200, you wrote: Hi! As usually chick got a problem which seems to have easy answer. Let's say I want to set header/footer text which has the following order: chaptername _ pagenumber I tried \setupheadertexts[\thinrule