[NTG-context] underbar/underbars interchanged?

2010-03-10 Thread Hans van der Meer
in the meantime? The wording (singular versus plural) indicates to me the opposite of the behaviour shown.By the way, quoting breaks the underline flow!A minimal example:\starttext\underbar{These words are done with \quote{underbar}}\crlf\underbars{These words are done with \quote{underbars}}\crlf

Re: [NTG-context] About Thomas Schmitz My Way

2010-03-10 Thread Hans Hagen
of beer at the next ConTeXt meeting, and he will finally fess up! \def\chapter#1{\parh1#1/h1\par} \def\bTABLE{\partable\crlf} \def\eTABLE{/table\par} \def\bTR{tr} \def\eTR{/tr\crlf} \def\bTD{td} \def\eTD{/td} \prependtoks htmlbody\to\everystarttext \prependtoks/bodyhtml\to\everystoptext

Re: [NTG-context] underbar/underbars interchanged?

2010-03-10 Thread Hans Hagen
the opposite. Or has the role of these macros changed in the meantime? The wording (singular versus plural) indicates to me the opposite of the behaviour shown. By the way, quoting breaks the underline flow! A minimal example: \starttext \underbar{These words are done with \quote{underbar}}\crlf

[NTG-context] XML processing not understood

2010-03-08 Thread Hans van der Meer
} \stopxmlsetups \startxmlsetups xml:title \Title{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:subtitle \Subtitle{\xmlflush{#1}} \stopxmlsetups \def\Filenumber#1{Filenumber = \quotation{#1}\crlf} \def\Title#1{Title = \quotation{#1}\crlf} \def\Subtitle#1{Subtitle = \quotation{#1

[NTG-context] doifnumberelse

2010-03-03 Thread Hans van der Meer
, the context version is: ConTeXt ver: 2010.02.18 14:48 MKIV fmt: 2010.2.20 int: english/ english % test result of \doifnumberelse \def\test#1{#1 is \doifnumberelse{#1}{a number}{not a number}\crlf} \starttext \test{1} % result: 1 is a number \test{a} % result: a is not a number \test{1a

[NTG-context] Macro with variable number of arguments

2010-02-28 Thread Otared Kavian
Hi all, I would like to write a macro which may have sometimes two, sometimes three arguments. The first and the last one are always present, but not necessarily the middle one. The unsatisfactory solution I have now is something like the example below: \define[2]\myMacroTwo{Name: #1\crlf

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] [OT] ASCII text output

2010-02-17 Thread Aditya Mahajan
input and write the desired output I'm wondering if this can be done with ConTeXt itself. Can you show a small example of the corresponding tex source? \def\mcquestionnumber{14} \mcquestionheader A ruby is a gem of corundum coloured by\crlf {$A$}: Rutile\crlf{$B$}: Calcium (Ca)\crlf{$C

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Mojca Miklavec
=2.5em] \crlf % too big \placecontenta [alternative=c,aligntitle=yes,width=2.5em] \chapter{a} \section{a.1} \section{a.2} \chapter{b} \section{b.1} \section{b.2} \stoptext Mojca ___ If your question is of interest

Re: [NTG-context] [dev-context] 2 columns itmize in letter module possible

2010-02-17 Thread Wolfgang Schuster
\item ... \stopitemize \stopsimplecolumns \startletter [subject=Verteiben der Position \quotation{nicht hier {\bf B11r} }, opening=Sehr geehrter Herr nicht Hier\textcomma, closing=Mit freundlichen Grüßen\crlf\crlf\crlf Jörg Hecke] \setupletterstyle[closing][inbetween={\blank[3*line

Re: [NTG-context] [OT] ASCII text output

2010-02-16 Thread Roger Mason
output I'm wondering if this can be done with ConTeXt itself. Can you show a small example of the corresponding tex source? \def\mcquestionnumber{14} \mcquestionheader A ruby is a gem of corundum coloured by\crlf {$A$}: Rutile\crlf{$B$}: Calcium (Ca)\crlf{$C$}: Chromium (Cr)\crlf{$D$}: Iron

Re: [NTG-context] problem with \em in \rightaligned

2010-02-04 Thread Wolfgang Schuster
Am 04.02.10 13:52, schrieb Peter Münster: Hello, The last bla is not emphasised: \starttext \start \em bla\\bla \stop \start \rightaligned{\em bla\\bla} \stop \stoptext Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break

Re: [NTG-context] problem with \em in \rightaligned

2010-02-04 Thread Peter Münster
On Thu, Feb 04 2010, Wolfgang Schuster wrote: \rightaligned{\em bla\\bla} Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break. Right, that's what I do now. I thought, that my construction was supposed to work, because I got used

Re: [NTG-context] problem with \em in \rightaligned

2010-02-04 Thread Wolfgang Schuster
Am 04.02.10 14:29, schrieb Peter Münster: On Thu, Feb 04 2010, Wolfgang Schuster wrote: \rightaligned{\em bla\\bla} Use \startalignment[flushright]...\stopalignment to align more than one line and \crlf to force a line break. Right, that's what I do now. I thought, that my

Re: [NTG-context] last chapter number

2010-01-16 Thread Andreas Harder
the current chapter number. can you try \convertedstructurecounter[chapter][type=last] Hello Wolfgang, I tried, but it only outputs nothing visible. Here a test file \starttext \dorecurse{10}{\chapter{Kapitel #1} \tex{getmarking[chapternumber]} = \getmarking[chapternumber] \crlf \tex

[NTG-context] simple layout

2010-01-12 Thread Wolfgang Werners-Lucchini
\textwidth)|lp(.9\textwidth)|] \NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}} \NC Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts! \NC\AR % \NC Text rechts! \NC\AR \stoptable

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Manuel P.
. \setupcolors[state=start] \setupbackground[background=screen] \setupbackground[state=start] \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground} \blank} - the above \quotebox command, in some cases, sends pdftex

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Khaled Hosny
On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote: \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground} \blank} - the above \quotebox command, in some cases, sends pdftex and luatex (MKII and MKIV

[NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Manuel P.
on MKIV. Unlike MKII. - MKIV, unlike MKII, doesn't setup any background color: \setupcolors[state=start] \setupbackground[background=screen] \setupbackground[state=start] \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Wolfgang Schuster
of this was that background=color is no longer supported because you could use backgroundcolor. \setupcolors[state=start] \setupbackground[background=screen] \setupbackground[state=start] \def\quotebox#1#2 {\blank \midaligned{\startbackground \quotation{\em #1} \crlf --#2 \stopbackground

[NTG-context] \framed inside \startalignment\stopalignment

2009-12-08 Thread Alan BRASLAU
{the entire line} is centered. \stopalignment \blank \startalignment [middle] This is centered.\crlf \inframed {This is now centered.}\crlf This is centered. \stopalignment \stoptext ___ If your question

Re: [NTG-context] rotate a figure

2009-11-19 Thread Alan BRASLAU
=on,width=.5\textwidth]} \placefigure [force,90] {A turned cow} {\externalfigure [cow] [frame=on,width=.5\textwidth]} broken:\crlf \externalfigure [cow] [frame=on,width=.5\textwidth,orientation=90] \externalfigure [cow] [frame=on,height=.5\textwidth,orientation=90] \stoptext % Alan

Re: [NTG-context] rotate a figure

2009-11-19 Thread luigi scarso
] [frame=on,width=.5\textwidth] \rotate [rotation=90] {\externalfigure [cow] [frame=on,width=.5\textwidth]} \placefigure [force,90]        {A turned cow}        {\externalfigure [cow] [frame=on,width=.5\textwidth]} broken:\crlf \externalfigure [cow] [frame=on,width=.5\textwidth,orientation=90

Re: [NTG-context] rotate a figure

2009-11-19 Thread Alan BRASLAU
]} broken:\crlf \externalfigure [cow] [frame=on,width=.5\textwidth,orientation=90] \externalfigure [cow] [frame=on,height=.5\textwidth,orientation=90] \stoptext I always thought that orientation was related to textual flow while rotate to rectangular object \starttext \framed[width=12cm

Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-10 Thread Alan BRASLAU
have also noticed that \placefigure inserts a (line) break, that is, a \placefigure somewhere in the middle of a paragraph adds a break in the line (as would \crlf). Is this to be the expected default behavior, and is there an option to \setupfloat that controls this? If so, would this get

Re: [NTG-context] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Aditya Mahajan
\null \vfill \vfill \startalignment[center] \let\\\crlf \interludefont \setupinterlinespace[big] #1 \endgraf \stopalignment \vfill \vfill \vfill \page} But this is ad-hoc. To integrate this with all styles, this macro should have its own background

Re: [NTG-context] Section setup

2009-10-17 Thread Janneman
___ Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] % or style=something else \starttext \paragraf[ref]{Paragraf title} \input tufte \stoptext Cheers Janneman

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

Re: [NTG-context] Section setup

2009-10-17 Thread Janneman
___ Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] % or style=something else \starttext \paragraf[ref]{Paragraf title} \input tufte \stoptext Cheers Janneman

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-14 Thread richard . stephens
Hello, Is it possible to generate multi-line labels in MetaPost? I have naively tried the following hoping to get a line feed between the two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0)); \defineframed[mplabel][frame=off,align=right

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-13 Thread richard . stephens
Hello, Is it possible to generate multi-line labels in MetaPost? I have naively tried the following hoping to get a line feed between the two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0)); \defineframed[mplabel][frame=off,align=right,width=fit

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-13 Thread Aditya Mahajan
On Thu, 13 Aug 2009, richard.steph...@converteam.com wrote: Hello, Is it possible to generate multi-line labels in MetaPost?  I have   naively tried the following hoping to get a line feed between the   two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0

[NTG-context] Multi-line labels in MetaPost

2009-08-12 Thread richard . stephens
Hello, Is it possible to generate multi-line labels in MetaPost? I have naively tried the following hoping to get a line feed between the two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0)); Thanks, Richard Converteam UK Ltd. Registration Number: 5571739

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-12 Thread Wolfgang Schuster
Am 12.08.2009 um 18:09 schrieb richard.steph...@converteam.com: Hello, Is it possible to generate multi-line labels in MetaPost? I have naively tried the following hoping to get a line feed between the two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0

Re: [NTG-context] hskip and crlf

2009-07-22 Thread Hans Hagen
Flavien Lambert wrote: Dear all, can you explain why the following code does not produce an horizontal spacing for the second line ? I am using MarkIV. \starttext \hskip2em a\crlf \hskip4em a\crlf \stoptext because the par builder will discard the second skip; instead use: \hskip2em a\crlf

Re: [NTG-context] hskip and crlf

2009-07-22 Thread Flavien Lambert
Thanks ! 2009/7/22 Hans Hagen pra...@wxs.nl Flavien Lambert wrote: Dear all, can you explain why the following code does not produce an horizontal spacing for the second line ? I am using MarkIV. \starttext \hskip2em a\crlf \hskip4em a\crlf \stoptext because the par builder

Re: [NTG-context] t-vim: inline typing?

2009-07-20 Thread Aditya Mahajan
-- generic functions local crlf = \n function traceln(str) trace(str .. crlf) io.flush() end table.len = table.getn table.join = table.concat function table.found(tab, str) local l, r, p if string.len(str) == 0 then return false else l, r = 1, table.len(tab

Re: [NTG-context] newbie question (\crlf)

2009-05-27 Thread Wolfgang Schuster
Am 27.05.2009 um 00:49 schrieb Vyatcheslav Yatskovsky: Thanks for all! I have just one notice: to completely simulate \centeredbox, I need \vfill before and after. \define[2]\maketitlepage {\starttextmakeup[align=middle] \vfill{\bfd#1} \blank Version #2\vfill

[NTG-context] newbie question (\crlf)

2009-05-26 Thread Vyatcheslav Yatskovsky
Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext Regards, Vyatcheslav

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext is an hbox ... maybe use: \define[2

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Wolfgang Schuster
Am 26.05.2009 um 18:31 schrieb Hans Hagen: Vyatcheslav Yatskovsky wrote: Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My Manual}{1.0} \stoptext

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Hans Hagen
Wolfgang Schuster wrote: Am 26.05.2009 um 18:31 schrieb Hans Hagen: Vyatcheslav Yatskovsky wrote: Hello, Sorry for a dumb TeX newbie question:: why 'version' does NOT begin from a new line? \define[2]\maketitlepage{\centeredbox{{\bfd #1}\crlf {Version #2}}} \starttext \maketitlepage{My

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Wolfgang Schuster
Am 26.05.2009 um 19:22 schrieb Hans Hagen: sure, although in the case of a real titlepage i nowadays always tend to set up a layer in combination with a makeup me too, it gives more control about the placement of the texts but for the beginning a simple markup env with centered text is

Re: [NTG-context] newbie question (\crlf)

2009-05-26 Thread Vyatcheslav Yatskovsky
Thanks for all! I have just one notice: to completely simulate \centeredbox, I need \vfill before and after. \define[2]\maketitlepage {\starttextmakeup[align=middle] \vfill{\bfd#1} \blank Version #2\vfill \stoptextmakeup} However, what is \starttextmakeup? What is can be

Re: [NTG-context] re-posting example of header at page bottom

2009-05-20 Thread Jos van Gisbergen
] \setupthinrules[color=black] \setuphead[title][style=\titleFont, color=black] \setuphead[chapter] [before=\crlf, % insert empty line before chapter title style=\chapterFont, color=black

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
\hfill right rightrightright} \stopnarrower \crlf \startnarrower[left] \dontleavehmode\lrframe[width=\localhsize] {leftleftleftleft\hfill right rightrightright} \stopnarrower \crlf \CHRONDESC {This happened from June 08 to June 09} {06/08--06/09} {\CHRONDESC {This happened from June 08

Re: [NTG-context] formula-style alignment

2009-05-18 Thread afsmith
\crlf \startnarrower[left] \dontleavehmode\lrframe[width=\localhsize] {leftleftleftleft\hfill right rightrightright} \stopnarrower \crlf \CHRONDESC {This happened from June 08 to June 09} {06/08--06/09} {\CHRONDESC {This happened from June 08 to December 08} {06/08--12/08

[NTG-context] \inmargin followed by \startlines = alignment fault?

2009-05-13 Thread Corsair
Hi guys, I find that the `lines' environment (or description, itemize, etc.) after text in margin does not align right. Consider the following code: \starttext \inmargin{What I want} First line \crlf Second line \vskip 1cm \inmargin{What it renders} \startlines First line Second line

Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Henning Hraban Ramm
for the chapter title at all. My input reads: \Titel{Author}{Title}{Subtitle} The output as chapter title should become like: \vbox{ {\rm\tf Author\crlf} {\ss\bfb Title\crlf} {\ss\bf Subtitle} } In the table of contents I need: Author: Title \hfill pagenumber So, using \startchapter, I define

Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster
] [command=, style=\tfc] \define\ChapterAuthor {\doiftext{\theChapterAuthor} {\rm\tf\theChapterAuthor\crlf\vskip0.25em}} \define\ChapterTitle {{\ss\bfb\theChapterTitle}} \define\ChapterSubTitle {\doiftext{\theChapterSubTitle} {\crlf\vskip0.2em\ss\bf\theChapterSubTitle

[NTG-context] What happened with sectionworld?

2009-04-28 Thread Henning Hraban Ramm
Schuster, 2008-04-15 % start WS \unprotect \resetvalue{\??sw\v!chapter} \startsetups chapter:list \def\\{{\nomarking{\unskip\nolist\crlf}}} \doiftextelse{\sectionworldparameter\c!author} {\expanded{\writetolist[\v!chapter] {\sectionworldparameter\c!author:\space

[NTG-context] Paragraphs in Layers

2009-04-09 Thread Design Department
Why does the following produce a single line when the layer content produces four lines in normal flow? How are paragraphs and new lines produced in layers? I've tried \par, \endgraf, \crlf and \\ without success. \definelayer[TicketSummary] [x=\backspace, y=\topspace width=4in, height=4in

Re: [NTG-context] Paragraphs in Layers

2009-04-09 Thread Design Department
Just tried the following snippet on the live.contextgarden.net with no joy: The layer content appears on a single line, whether I use \par, \\, \endgraf, \crlf or no line ending at all. \definelayer[TicketSummary] [x=\backspace, y=\topspace width=4in, height=4in, repeat

Re: [NTG-context] Paragraphs in Layers

2009-04-09 Thread Wolfgang Schuster
Am 09.04.2009 um 22:14 schrieb Design Department: Just tried the following snippet on the live.contextgarden.net with no joy: The layer content appears on a single line, whether I use \par, \\, \endgraf, \crlf or no line ending at all. To help you I will explain why your setup did not work

Re: [NTG-context] New module simpleslides

2009-04-01 Thread Alan BRASLAU
impressions: 1) \setupTitle[ afterauthor={institute\crlf}, ] But wouldn't it be generally useful to include institute= as standard with institutestyle=, institutecolor=, institutealign=, beforeinstitute=, afterinstitute= 2) \startuniqueMPgraphic{simpleslides:itemize:circle} fill unitcircle

Re: [NTG-context] recurse bug?

2009-03-31 Thread Hans Hagen
Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, The following, using the latest beta, moves the last recurse to the next page: \setuplayout [lines=12] \starttext \pardir TRT \dorecurse{12}{This is a recursive line. \crlf} \stoptext so we get only 11 lines on page 1. Is this a bug

[NTG-context] recurse bug?

2009-03-30 Thread Idris Samawi Hamid ادريس سماوي ح امد
Dear gang, The following, using the latest beta, moves the last recurse to the next page: \setuplayout [lines=12] \starttext \pardir TRT \dorecurse{12}{This is a recursive line. \crlf} \stoptext so we get only 11 lines on page 1. Is this a bug? Best wishes Idris -- Professor Idris

Re: [NTG-context] recurse bug?

2009-03-30 Thread Mohamed Bana
\dorecurse{12}{This is a recursive line. \crlf} \stoptext so we get only 11 lines on page 1. Is this a bug? Best wishes Idris ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
and on the web but could not find anything. I am not yet clear about the logic. When I saw that I could color labels using the \color[red]{red} command by putting it between btex...etex, it seemed to me that any context command would work if put in there. So I tried \crlf to get a linebreak and that did

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
searching a lot in metafun manual and on the web but could not find anything. I am not yet clear about the logic. When I saw that I could color labels using the \color[red]{red} command by putting it between btex...etex, it seemed to me that any context command would work if put in there. So I tried \crlf

[NTG-context] protrusion and \quotation{…}

2009-03-10 Thread Andreas Harder
World}\hfill \quotation{Hello World}\crlf “Hello World”\hfill “Hello World” \blank \de \quotation{Hello World}\hfill \quotation{Hello World}\crlf „Hello World“\hfill „Hello World“ \quote{Hello World}\hfill \quote{Hello World}\crlf ‚Hello World‘\hfill ‚Hello World‘ \blank \setuplanguage [de

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-06 Thread Willi Egger
%%% TeX version \bTABLE \dorecurse{5} {\bTR\expandafter \bTD \recurselevel. \eTD\expandafter \bTD \recurselevel \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} And you think it's a good idea to use \expandafter in your document? TeX version, not context ... :) btw

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-06 Thread Aditya Mahajan
\recurselevel. \eTD\expandafter        \bTD \recurselevel  \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} And you think it's a good idea to use \expandafter in your document? TeX version, not context ... :) btw \expandafer is not so bad, if used moderatly . \expanded

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
\dorecurse{5} {\bTR \bTD \recurselevel. \eTD          \bTD \recurselevel  \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} \stoptext works ok here with latest minimals This is LuaTeX, Version snapshot-0.35.0-2009022702 (Web2C 7.5.7) ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 01:17 schrieb luigi scarso: \starttext %%% TeX version \bTABLE \dorecurse{5} {\bTR\expandafter \bTD \recurselevel. \eTD\expandafter \bTD \recurselevel \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} And you think it's a good idea to use

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
\dorecurse{2} {\recurselevel. \recurselevel\crlf} And you think it's a good idea to use \expandafter in your document? TeX version, not context ... :) btw \expandafer is not so bad, if used moderatly . \expanded is the tool for users to get this result without knowledge about TeX internals

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Aditya Mahajan
\recurselevel  \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} And you think it's a good idea to use \expandafter in your document? TeX version, not context ... :) btw \expandafer is not so bad, if used moderatly . \expanded is the tool for users to get this result

[NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-04 Thread Curious Learn
\crlf} \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

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-04 Thread luigi scarso
} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} \stoptext works ok here with latest minimals This is LuaTeX, Version snapshot-0.35.0-2009022702 (Web2C 7.5.7) ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2009.3.4 int: english/english

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-04 Thread luigi scarso
\dorecurse{5} {\bTR \bTD \recurselevel. \eTD          \bTD \recurselevel  \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} \stoptext works ok here with latest minimals This is LuaTeX, Version snapshot-0.35.0-2009022702 (Web2C 7.5.7) ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt

[NTG-context] centered text in frame does not fit

2009-02-27 Thread dobbels . geert
=3cm, align=center, frame=off, rightframe=on, offset=none] {Mydepname \crlf anotherline} \framed[width=0.510\makeupwidth, height=3cm, frame=off, offset=none] {\crlf \crlf {\bf Descripci\'on Nr: 70/123--634} \crlf {\it Information Document nr. 70/123--634} \crlf Final Version} \framed[width=0.230

Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Cecil Westerhof
system, thus I tried putting t-letterhead.tex in the same directory and also in /usr/share/texmf/tex/context/third. When trying to generate I get: ! Undefined control sequence. l.5 \addressee {Prof.\crlf What is going wrong? -- Cecil Westerhof

Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Cecil Westerhof
, thus I tried putting t-letterhead.tex in the same directory and also in /usr/share/texmf/tex/context/third. When trying to generate I get: ! Undefined control sequence. l.5 \addressee {Prof.\crlf What is going wrong? It was an to old version I used. It was 5.2.4

Re: [NTG-context] line spacing in frame with centered text

2009-01-05 Thread Alan STONE
show you in another example why you value for the interlinespace is to small for characters with depth. \starttext \vbox {\switchtobodyfont[38pt] \setupinterlinespace[line=30pt] \lineskiplimit-\maxdimen Big text\crlf written in\crlf three rows\par} \stoptext Wolfgang

Re: [NTG-context] line spacing in frame with centered text

2009-01-05 Thread Alan STONE
is to small for characters with depth. \starttext \vbox {\switchtobodyfont[38pt] \setupinterlinespace[line=30pt] \lineskiplimit-\maxdimen Big text\crlf written in\crlf three rows\par} \stoptext Wolfgang -- Best, Alan * TeX engine = LuaTeX *ConTeXt minimals ver: 2008.11.10 21

Re: [NTG-context] line spacing in frame with centered text

2009-01-04 Thread Wolfgang Schuster
value for the interlinespace is to small for characters with depth. \starttext \vbox {\switchtobodyfont[38pt] \setupinterlinespace[line=30pt] \lineskiplimit-\maxdimen Big text\crlf written in\crlf three rows\par} \stoptext Wolfgang

Re: [NTG-context] specific document layout with ConTeXt

2008-12-28 Thread Aditya Mahajan
{\getvariable{article}{institute}} { \let\\\crlf \blank[small] \tf\setupinterlinespace \getvariable{article}{institute} } \stopalignment \blank[1.4em] \stopsetups \startsetups IEEE:headerandfooters \doifsomething{\getvariable{article}{bottom

[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

[NTG-context] Building tables at runtime via --mode= option

2008-12-09 Thread Bart C. Wise
\starttext Rounds: \getnumber[Rounds]\crlf TotalCol: \getnumber[TotalCol]\crlf CellWidth: \CellWidth\crlf \bTABLE[align={middle,lohi},strut=no,width=\CellWidth] % Row 1 \bTR[frame=off] \bTD\eTD \bTD[nc

[NTG-context] line of text after a table

2008-11-25 Thread Steffen Wolfrum
[]{}{\externalfigure[cow.pdf]\crlf Data source: .. } 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

Re: [NTG-context] line of text after a table

2008-11-24 Thread Taco Hoekwater
Albrecht Kauffmann wrote: Hi all, would it be able to write a line after a table or figure (e.g.: Data source: ...) that will be handled as a part of the float object? Just do \placefigure[]{}{\externalfigure[cow.pdf]\crlf Data source: .. } Best wishes, Taco

Re: [NTG-context] line of text after a table

2008-11-24 Thread Wolfgang Schuster
[cow.pdf]\crlf Data source: .. } \placefigure[]{}{\placelegend{\externalfigure[cow.pdf]}{Data source: ...}} Regards, Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Wolfgang Schuster
update for the moment use \crlf as replacement. Thanks! Michael -- Example ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.11.17 int: english/ english \setuppapersize[letter][letter] Do you need lettersize for all your letters? \usemodule

Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green
the effect I want? I uploaded a new version, if you have no time update for the moment use \crlf as replacement. Wow, that was incredibly fast. Thank you very much! The new version works as I expected. -- Example ConTeXt ver: 2008.11.10 21:40 MKIV fmt

Re: [NTG-context] Place externalfigure in middle position

2008-11-14 Thread Hans Hagen
\startalignment[middle] Politecnico di Torino \crlf Tesi di laurea specialistica \vfill \setupheads[alternative=middle] \title{Un modello per la generazione dinamica \crlf di paesaggi sonori} \blank[line] Ingegneria del cinema e dei mezzi di comunicazione

[NTG-context] Place externalfigure in middle position

2008-11-13 Thread mattia schirosa
I looking in documentation for a long time, but i didn't find a command to set a image in middle area without using the \placefigure command. Anyone can help me? \starttext \startstandardmakeup     \sc     \startalignment[middle] Politecnico di Torino \crlf Tesi di laurea specialistica

Re: [NTG-context] Place externalfigure in middle position

2008-11-13 Thread Wolfgang Schuster
] Politecnico di Torino \crlf Tesi di laurea specialistica \vfill \setupheads[alternative=middle] \title{Un modello per la generazione dinamica \crlf di paesaggi sonori} \blank[line] Ingegneria del cinema e dei mezzi di comunicazione \blank[line

Re: [NTG-context] MkII vs. MkIV

2008-11-05 Thread Wolfgang Schuster
between the lines. Yes, but ex means different dimensions in pdftex and luatex. For example \starttext 1ex = \the\dimexpr1ex\relax \crlf 2.8ex = \the\dimexpr2.8ex\relax \stoptext gives in MKII 1ex = 5.16667pt 2.8ex = 14.46669pt Interesting! \font\palatino=texnansi-uplr8a at 12pt

Re: [NTG-context] MkII vs. MkIV

2008-11-05 Thread Hans Hagen
dimensions in pdftex and luatex. For example \starttext 1ex = \the\dimexpr1ex\relax \crlf 2.8ex = \the\dimexpr2.8ex\relax \stoptext gives in MKII 1ex = 5.16667pt 2.8ex = 14.46669pt and in MKIV gives 1ex = 5.172pt 2.8ex = 14.4816pt The reason is that what ex means is hardcoded

Re: [NTG-context] MkII vs. MkIV

2008-11-04 Thread Aditya Mahajan
and luatex. For example \starttext 1ex = \the\dimexpr1ex\relax \crlf 2.8ex = \the\dimexpr2.8ex\relax \stoptext gives in MKII 1ex = 5.16667pt 2.8ex = 14.46669pt and in MKIV gives 1ex = 5.172pt 2.8ex = 14.4816pt The reason is that what ex means is hardcoded in MKII but MKIV gets this info from

Re: [NTG-context] ansi codes

2008-10-03 Thread Alan Stone
? Geeks do it with LuaTeX :) I'm not sure if this still works since I have no luatex here, but in theory you can play with something like this: % do whatever you want with it \def\mychar#1#2{#1: #2\crlf} \starttext \ctxlua{ fontname = 'texgyrepagella-regular.otf

Re: [NTG-context] ansi codes

2008-10-01 Thread Mojca Miklavec
, but in theory you can play with something like this: % do whatever you want with it \def\mychar#1#2{#1: #2\crlf} \starttext \ctxlua{ fontname = 'texgyrepagella-regular.otf' tfmdata = fonts.tfm.read_and_define(file: .. fontname, 655360) w = tfmdata.characters for i=0,10

Re: [NTG-context] ansi codes

2008-10-01 Thread Hans Hagen
no luatex here, but in theory you can play with something like this: % do whatever you want with it \def\mychar#1#2{#1: #2\crlf} \starttext \ctxlua{ fontname = 'texgyrepagella-regular.otf' tfmdata = fonts.tfm.read_and_define(file: .. fontname, 655360) w

Re: [NTG-context] French punctuation : tests

2008-09-30 Thread Olivier Guéry
at the rules here : http://wiki.contextgarden.net/frenchpunctuation) :\crlf To test, that the space is not breakable, one can use: \start \hsize1pt bla: bla : bla : bla~: bla? bla ? bla ? bla~? bla! bla ! bla ! bla~! bla; bla ; bla ; bla~; «bla» « bla » « bla » «~bla~»\par \stop Thanks

Re: [NTG-context] French punctuation : tests

2008-09-29 Thread Peter Münster
[frenchpunctuation] ? 1 The « ; » signs shouldn’t be at the beginning of a line, there must be space before all sign (look at the rules here : http://wiki.contextgarden.net/frenchpunctuation) :\crlf To test, that the space is not breakable, one can use: \start \hsize1pt bla: bla : bla : bla~: bla? bla

Re: [NTG-context] who eats my spaces (was: chapter setup / table of contents)

2008-09-25 Thread Wolfgang Schuster
Am 27.04.2008 um 23:45 schrieb Henning Hraban Ramm: Coming back to my old thread. Here's my latest chapter setup: --- 8 --- \unprotect \resetvalue{\??sw\v!chapter} \startsetups chapter:list \def\\{{\ \nomarking{\nolist\crlf}}} \doiftextelse{\sectionworldparameter\c!author

Re: [NTG-context] problem with frenchpunctuation

2008-08-29 Thread Hans Hagen
] «\type{bla}»\crlf « \type{bla}»\crlf «bla »\crlf « bla»\crlf « bla »\crlf bla: bla\crlf bla : bla \stoptext looks ok to me at the context conference we discussed regression tests (there is already a framework for that) ... so, how about you making a test file for character spacing Hans

<    3   4   5   6   7   8   9   10   11   >