Re: [NTG-context] line endings in beta

2013-05-19 Thread Hans Hagen
, will it stay that way? maybe .. i just wanted to make sure that some binary code was kept as-is .. the lineendings were always cr+lf but i zipped the archive with -ll (which is not present in all zippers anyway) .. when I switch to 7zip crlf will quite certainly stay the main reason for removing the cr

Re: [NTG-context] extra line after switchtobodyfont

2013-05-07 Thread Hans Hagen
\starttext Line 1\crlf \savedendlinechar\endlinechar \endlinechar\minusone \switchtobodyfont[pagella] \endlinechar\savedendlinechar Line 2 \stoptext in fact, that should happen automatically but maybe i messed up something

Re: [NTG-context] extra line after switchtobodyfont

2013-05-07 Thread Hans Hagen
are loaded. \newcount\savedendlinechar \starttext Line 1\crlf \savedendlinechar\endlinechar \endlinechar\minusone \switchtobodyfont[pagella] \endlinechar\savedendlinechar Line 2 \stoptext in fact, that should happen automatically but maybe i messed up something (1) i adapted

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Wolfgang Schuster
is to redefine \starttypescript etc. to use a different catcode regime so that new lines and spaces are ignores (similar to \starttexdefinition, etc) A better method is to ignore the endlinechar when typescript files are loaded. \newcount\savedendlinechar \starttext Line 1\crlf

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: \def\font_typescript_process_typescript_file_and_store {*\expandafter\let\expandafter

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: \def

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf […] \setupwhitespace[line] \starttext \subject{Regular paragraphs} Line 1\par \start \switchtobodyfont[termes] Line 2\par \stop Line 3 \subject{Packed paragraphs

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
: Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: \def

[NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer \setuppapersize[A6][A6] \setupbodyfont[lucidaot] \starttext First line.\crlf \start \switchtobodyfont

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
[lucidaot] \starttext First line.\crlf \start \switchtobodyfont[euler] Font switch here.\crlf \stop Last line. \hairline First line.\crlf \start Font switch here.\crlf \stop Last line. \stoptext fontswitch.pdf Description: fontswitch.pdf

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Wolfgang Schuster
to early away. Here the attached output. \setuppapersize[A6][A6] \setupbodyfont[lucidaot] \starttext First line.\crlf \start \switchtobodyfont[euler] Font switch here.\crlf \stop Last line. \hairline First line.\crlf \start Font switch here.\crlf \stop Last line. \stoptext

Re: [NTG-context] square in Cambria font

2013-05-01 Thread Meer, H. van der
; \stopuseMPgraphic \def\mysquare{% \lower \dimexpr \bodyfontsize / 2083 * 234 \relax\hbox{\useMPgraphic{square}}% } try it out \starttext $\square+\mysquare\boxplus$ \crlf $\mysquare\boxplus$ \page[yes] $+ \ruledhbox{\boxplus}$ \crlf $+ \ruledhbox{\mysquare}$ \crlf $\ruledhbox

Re: [NTG-context] square in Cambria font

2013-05-01 Thread Sietse Brouwer
to boundingbox currentpicture leftenlarged offset rightenlarged offset; \stopuseMPgraphic \def\mysquare{% \lower \dimexpr \bodyfontsize / 2083 * 234 \relax\hbox{\useMPgraphic{square}}% } try it out \starttext $\square+\mysquare\boxplus$ \crlf $\mysquare\boxplus

[NTG-context] square in Cambria font

2013-04-30 Thread Sietse Brouwer
\boxplus$ \crlf $\mysquare\boxplus$ \page[yes] $+ \ruledhbox{\boxplus}$ \crlf $+ \ruledhbox{\mysquare}$ \crlf $\ruledhbox{\boxplus}$ \crlf $\ruledhbox{\mysquare}$ \stoptext ___ If your question is of interest to others

[NTG-context] A simpler way to make a bibliography

2013-04-23 Thread john Culleton
incorporate the ISBN field. So I just put it at the end of each entry preceded by a \crlf. Without further ado here is the book.foo file: -- \chapter{References} %authors. title. city: publisher, year\crlf %isbn Bah, Tavmjong. {\it Inkscape: Guide

[NTG-context] footnoterule

2013-04-17 Thread Meer, H. van der
\footnote{The foonote}.\crlf \stoptext 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

Re: [NTG-context] footnoterule

2013-04-17 Thread Meer, H. van der
: Is there a reason why the first does switches off the rule above the footnote \setupfootnotes[rule=off] but this doesn't? \setupnotation[footnote][rule=off]] It's \setupnotes, not \setupnotation that controls the rule. \setupnotes [footnote] [rule=off] \starttext Some footnote\footnote{The foonote}.\crlf

[NTG-context] header variations how?

2013-04-16 Thread Meer, H. van der
] \starttext \startchapter[title=Test] From ConTeXt Reference Manual 18 october 2012 page 210\crlf \externalfigure[headers.jpg][width=0.8\textwidth] \startsection[title=enclosing section] \setupheads[alternative=normal] \subsection{Title alternative equals normal} \setupheads[alternative=inmargin

Re: [NTG-context] header variations how?

2013-04-16 Thread Meer, H. van der
in the ConTeXt Reference Manual and this didn't work either. Why? See the minimal example below where the manual is contrasted with the actual output. Hans van der Meer \setuppapersize[A5][A5] \starttext \startchapter[title=Test] From ConTeXt Reference Manual 18 october 2012 page 210\crlf \externalfigure

Re: [NTG-context] List of bugs and quirks

2013-03-27 Thread Hans Hagen
\\=\crlf \noindent \advance\leftskip-\leftskipadaption\relax \ifdim\leftskipadaption=\zeropoint \leftskipadaption1.5\emwidth\relax % just some default \ifnum\c_strc_constructions_nested_state=\plusone \ifdim\leftskip\zeropoint \relax

[NTG-context] [***SPAM***] What am I doing wrong?

2013-03-19 Thread d.henman
While reading the ConTeXt Manual I tried the following two commands, which didn't work. Here is the sample souce. \starttext First line. %\hskip With text here, this causes an compile time error. \hskip3em Indented?\crlf \hskip 3em Indented?\crlf \hskip3cm Indented?\crlf %\sym{on} This causes

Re: [NTG-context] [***SPAM***] What am I doing wrong?

2013-03-19 Thread Wolfgang Schuster
Am 19.03.2013 um 13:24 schrieb d.henman dhen...@gmail.com: While reading the ConTeXt Manual I tried the following two commands, which didn't work. Here is the sample souce. \starttext First line. %\hskip With text here, this causes an compile time error. \hskip3em Indented?\crlf

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Alasdair McAndrew
of this lua chunk will be ignored. I have the following setups: \def\chap#1#2{\vbox{\darkgreen Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \def\uchap#1#2{#2} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor=darkgreen,numbercolor=darkgreen] None of this has ever

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Marco Patzer
interpreter ran into a problem, so the remainder of this lua chunk will be ignored. I have the following setups: \def\chap#1#2{\vbox{\darkgreen Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \def\uchap#1#2{#2} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Alasdair McAndrew
: \def\chap#1#2{\vbox{\darkgreen Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \def\uchap#1#2{#2} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]},textcolor=darkgreen,numbercolor=darkgreen] None of this has ever given me any problems before. It's easier

[NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Ingo Hohmann
to accomplish: The user writes the address, and he should not have to use \crlf or have to use several distinct commands. Why does the following not work? \defineblock[Address] \setupblock[Address][ before=\starttyping, after=\stoptyping ] \starttext \beginAddress Peter Pan Somewhere over

Re: [NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Hans Hagen
. So here it goes ... What I want to accomplish: The user writes the address, and he should not have to use \crlf or have to use several distinct commands. Why does the following not work? \defineblock[Address] \setupblock[Address][ before=\starttyping, after=\stoptyping ] you pick

Re: [NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Aditya Mahajan
, and some problems are showing up now. So here it goes ... What I want to accomplish: The user writes the address, and he should not have to use \crlf or have to use several distinct commands. Why does the following not work? \defineblock[Address] \setupblock[Address][ before=\starttyping

Re: [NTG-context] Misbehaving \starthanging\stophanging

2013-01-21 Thread Hans Hagen
]} This is a first paragraph. \input tufte \stophanging \stoptext currently somewhat limited as it's not like the regular place left figure macro using the otr .. so the hang is forgotten after a par which means that you need to use \break or \crlf or something nor \par: \starttext

Re: [NTG-context] Misbehaving \starthanging\stophanging

2013-01-21 Thread Alan BRASLAU
which means that you need to use \break or \crlf or something nor \par: \starttext \starthanging [location=right] {\externalfigure [cow] [width=.3\textwidth]} This is a first paragraph.\crlf \input tufte \stophanging \stoptext (some day i'll make a nice one) Of course, I can use \crlf

[NTG-context] \margintext overflows in bottom margin

2013-01-17 Thread Devendra Ghate
, stack=yes] \starttext \showframe A \crlf A\crlf A\crlf %\setupmargindata[margintext][voffset=-2em] A\margintext{A margin text.A margin text.A margin text.A margin text.} \stoptext Devendra ___ If your

[NTG-context] luatex 0.74: invalid escape sequence near '\%

2013-01-04 Thread Thomas A. Schmitz
Hi, luatex 0.74.0 has problems with an escaped string which used to work in 0.72. Small example (typeset git information, so may only work in directory under version control): \starttext git revision \ctxlua{context(os.resultof(git --no-pager log --pretty='\%h of \%aD' -1))} \crlf ConTeXt

Re: [NTG-context] luatex 0.74: invalid escape sequence near '\%

2013-01-04 Thread Hans Hagen
--pretty='\%h of \%aD' -1))} \crlf ConTeXt version: \contextversion] \stoptext \% is no valid escape, just use % or when in a pattern use %% - Hans Hagen | PRAGMA ADE

Re: [NTG-context] luatex 0.74: invalid escape sequence near '\%

2013-01-04 Thread Hans Hagen
--pretty='\%h of \%aD' -1))} \crlf ConTeXt version: \contextversion] \stoptext and \letterpercent at the tex end, so \letterpercent h - Hans Hagen | PRAGMA ADE Ridderstraat 27

[NTG-context] [***SPAM***] Empty line, but not at the top of a page.

2013-01-03 Thread H. Özoguz
Hi together and happy new year, with \crlf one can force a empty line. But this empty line should not be printed, if it is on the top/start of a new page, so a new page should not begin with an empty line. Which is the correct command for that? Regards, Huseyin

Re: [NTG-context] [***SPAM***] Empty line, but not at the top of a page.

2013-01-03 Thread Wolfgang Schuster
Am 03.01.2013 um 09:47 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi together and happy new year, with \crlf one can force a empty line. But this empty line should not be printed, if it is on the top/start of a new page, so a new page should not begin with an empty line. Which

Re: [NTG-context] Natural Tables in multiple columns

2012-12-25 Thread Wolfgang Schuster
with the text and is split properly. Minimal example: small table \starttext \startcolumns[n=3] \dorecurse{10}{Test\crlf} \bTABLE[split=yes] \dorecurse{10} {\bTR \bTD a\eTD \bTD b \eTD \eTR} \eTABLE \stopcolumns \stoptext large table \starttext \startcolumns[n=3] \dorecurse{10}{Test

[NTG-context] Natural Tables in multiple columns

2012-12-24 Thread Jannik Voges
\startcolumns[n=3] \dorecurse{10}{Test\crlf} \bTABLE[split=yes] \dorecurse{10} {\bTR \bTD a\eTD \bTD b \eTD \eTR} \eTABLE \stopcolumns \stoptext large table \starttext \startcolumns[n=3] \dorecurse{10}{Test\crlf} \bTABLE[split=yes] \dorecurse{20} {\bTR \bTD a\eTD \bTD b \eTD \eTR} \eTABLE \stopcolumns

[NTG-context] Odd /externalfigure behavior

2012-12-12 Thread Guy Stalnaker
All, I've been working on a document for weeks and it's been compiling fine. I have a pdf copy from yesterday afternoon at 4p local time, the last time it compiled successfully. I was doing a search/replace on some /crlf to add space between text and an image. The search/replace with Gnome's

Re: [NTG-context] Odd /externalfigure behavior

2012-12-12 Thread Wolfgang Schuster
Am 12.12.2012 um 18:45 schrieb Guy Stalnaker jstal...@wisc.edu: All, I've been working on a document for weeks and it's been compiling fine. I have a pdf copy from yesterday afternoon at 4p local time, the last time it compiled successfully. I was doing a search/replace on some /crlf

Re: [NTG-context] Hiding columns in m-database TABLE

2012-11-23 Thread Philipp Gesang
” and “quote” chars in spec -- · the “textdata” rule is extrapolated to mean, basically, -- “everything but the quote character”, not just the character -- range as in the RFC -- · newline from l-lpeg.lua instead of “crlf” local rfc4180_spec = { separator = ,, quote

Re: [NTG-context] ConTeXt: Page numbering in words for spanish

2012-11-21 Thread Sietse Brouwer
\crlf \ctxcommand{verbose(#1, spanish)}} \obeylines \vbes{} \vbes{2221101} \vbes{} \vbes{1218} \vbes{1234} \vbes{12345} \vbes{1234567890} \stopcode ___ If your question

Re: [NTG-context] incrementnumber vs. prefixsegments

2012-11-21 Thread Sietse Brouwer
, prefixsegments=chapter] \setuphead[subject][incrementnumber=list] \definecombinedlist[content][title,chapter,section,subject] \starttext \placecontent \chapter{Chapter} \section{Section Een} \placefigure[here][fig:a]{figure a}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf

Re: [NTG-context] Images in MultiMarkdown - context - PDF

2012-11-21 Thread Guy Stalnaker
300dpi instead of 72. I've attached a self-made image of 547px wide, and run the following file: \starttext \externalfigure[CMSLogin.jpg] \crlf \figurenaturalwidth\ -- \figurexresolution\ -- \figurexsize \externalfigure[cross.jpg] \crlf \figurenaturalwidth\ -- \figurexresolution\ -- \figurexsize

Re: [NTG-context] ConTeXt: Page numbering in words for spanish

2012-11-21 Thread Acidrums4
field 'verbose' (a nil value) stack traceback: main ctx instance:1: in main chunk. system tex error on line 7 in file prueba2.tex: LuaTeX error ... 1 \starttext 2 \def\vbes#1% 3 {#1\crlf 4 \ctxcommand{verbose(#1, spanish)}} 5 6

Re: [NTG-context] no footnote printed

2012-11-14 Thread Bernd Militzer
Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph

Re: [NTG-context] no footnote printed

2012-11-14 Thread Philipp Gesang
···date: 2012-11-14, Wednesday···from: Bernd Militzer··· Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text

Re: [NTG-context] no footnote printed

2012-11-14 Thread Herbert Voss
Am 14.11.2012 12:18, schrieb Bernd Militzer: Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank

Re: [NTG-context] no footnote printed

2012-11-14 Thread Wolfgang Schuster
. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla you can try with \automigrateinserts Thanks Hans, but it does not work

[NTG-context] no footnote printed

2012-11-13 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt ver

Re: [NTG-context] no footnote printed

2012-11-13 Thread Hans Hagen
On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla

[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt ver

[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt ver

[NTG-context] incrementnumber vs. prefixsegments

2012-11-05 Thread plink
a}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf Figure \in[fig:b] = 1.2?\crlf Figure \in[fig:c] = 1.3\crlf \subject{Subject} \placefigure[here][fig:b]{figure b}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf Figure \in[fig:b] = 1.2?\crlf Figure \in[fig:c] = 1.3\crlf

[NTG-context] \dorecurse within TABLE

2012-10-26 Thread Alan BRASLAU
Does anyone have a solution to \dorecurse within TABLE? Alan Minimal example: \starttext \dorecurse{8}{\recurselevel\crlf} \bTABLE \dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR} \eTABLE \stoptext ___ If your question

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread luigi scarso
On Fri, Oct 26, 2012 at 11:50 AM, Alan BRASLAU alan.bras...@cea.fr wrote: Does anyone have a solution to \dorecurse within TABLE? Alan Minimal example: \starttext \dorecurse{8}{\recurselevel\crlf} \bTABLE \dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR} \eTABLE \stoptext

Re: [NTG-context] \dorecurse within TABLE

2012-10-26 Thread Marco Patzer
2012-10-26 Alan BRASLAU: Does anyone have a solution to \dorecurse within TABLE? Alan Minimal example: \starttext \dorecurse{8}{\recurselevel\crlf} \bTABLE \dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR} \dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}} \eTABLE \stoptext

[NTG-context] setuphead and newline

2012-10-25 Thread WolfgangZ
Hello, I'm trying to insert a newline between the number and the head text (chaper). Where do I have to put the \crlf ? It sohould look like: 1 This is the chapter text Many thanks in advance WolfgangZ

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Marco Patzer
2012-10-25 WolfgangZ: Hi WolfgangZ I'm trying to insert a newline between the number and the head text (chaper). Where do I have to put the \crlf ? It sohould look like: 1 This is the chapter text \defineheadalternative [mine] [renderingsetup=mine] \startsetups [mine

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Wolfgang
Am 25.10.2012 15:10, schrieb Marco Patzer: 2012-10-25 WolfgangZ: Hi WolfgangZ I'm trying to insert a newline between the number and the head text (chaper). Where do I have to put the \crlf ? It sohould look like: 1 This is the chapter text \defineheadalternative [mine

Re: [NTG-context] Help with Long Titles

2012-10-19 Thread Otared Kavian
Hi Malte, If you say \setvariables [titlepage] [set=\texsetup{titlepage}, project={Pearson}, title={\startframedtext[width=\textwidth,frame=off] This document title is very long, \crlf so I'd like to break it into two lines \stopframedtext}, author={Tony

Re: [NTG-context] Wide descriptions protruding into the margin

2012-09-14 Thread Philipp Gesang
] \unprotect \startsetups[\??constructionrenderings:\v!hanging] % tricky: leftskipadaption is somewhat unpredictable \let\\=\crlf \noindent \advance\leftskip-\leftskipadaption\relax \ifdim\leftskipadaption=\zeropoint \leftskipadaption1.5\emwidth\relax % just some default

[NTG-context] Line break in tables

2012-09-12 Thread Malte Stien
Hi, How do I force a line break in a tabulate table cell? I have tried \par, \\ and \crlf none of which seem to do the trick. Thank you, Malte. ___ If your question is of interest to others as well, please add

Re: [NTG-context] Line break in tables

2012-09-12 Thread Wolfgang Schuster
Am 12.09.2012 um 08:56 schrieb Malte Stien ma...@stien.de: Hi, How do I force a line break in a tabulate table cell? I have tried \par, \\ and \crlf none of which seem to do the trick. You need a p-column to have line breaks in a cell. \starttext \starttabulate[|p(3cm)|p|] \NC 1\\2 \NC

[NTG-context] About Chapter head definition and FunnyFrame

2012-09-02 Thread Jeong Dalyoung
]},after={\blank[5*big]}, page=right] \stopsectionblockenvironment …. \chapter{The Addition Principle \crlf {\tfx Sum Rule}} …. But it produces an error which is … ! Argument of \Myheader has an extra }. systemtex error on line 94 in file SumRule.tex … What is wrong in this code? 2. I

Re: [NTG-context] Grid lines color and disable

2012-08-15 Thread Xan
{3}{\page[empty]} \stoptext Thank you very much for the color set. Yesterday I found solution for enable/disable the grid: \bgroup \setuplayout[grid=yes] \showgrid[nonumber]{{\dorecurse{10}{\page[yes, empty]\par\crlf}}} \page[yes] \setuplayout[grid=no] \egroup Is it equivalent? By the other

Re: [NTG-context] alignment in TABLE (solved)

2012-07-25 Thread Peter Münster
has no effect when offset=overlay. A strut has to be added manually. This is what I have now, and it finally works: \starttext \framed[height=5cm, offset=overlay]{% \bTABLE[offset=overlay] \bTR \bTD \strut 1~ \eTD \bTD[height=max, align=flushleft] \strut 1 Über\crlf 1 and 1 are aligned

Re: [NTG-context] alignment in TABLE (solved)

2012-07-25 Thread Hans Hagen
=flushleft] \strut 1 Über\crlf 1 and 1 are aligned! \vfill \rightaligned{bla} \eTD \eTR \eTABLE} \stoptext in that case \begstrut ... \endstrut (you can also play with overlay=0pt or none) - Hans

Re: [NTG-context] Variables how-to needed

2012-07-25 Thread Rogers, Michael K
\unexpanded\def\MyTag#1\relax#2\relax#3\relax#4\relax{ % ditto \framed [align={flushleft,lohi}, width=6cm, height=3.2cm]{#1\crlf#2\crlf\crlf#3\crlf\crlf Made in #4}} \starttext \startPriceTag Finnish thing:English name:2.15 eur:Finland Pieni nyörihaarukka, koivua:Small lucet, beech:6 eur:xxx

[NTG-context] Database module gives an error

2012-07-25 Thread Rogers, Michael K
#2#3#4{\framed [align={flushleft,lohi}, width=6cm, height=2.6cm]{#1\crlf#2\crlf\crlf\uppercase{#3\crlf#4}}} \starttext \defineseparatedlist[Address][separator={;},command=\SendMe] \startAddress NTG;Maasstraat 2;NL-5836 BB Sambeek;The Netherlands Dante~e.V.;Postfach 101840;D-69008 Heidelberg;Germany

[NTG-context] italic corrrection?

2012-07-21 Thread Meer, H. van der
][A6] %\setupbodyfont[lucidaot] \starttext {\it n}:{\it n}\crlf {\it n\/}:{\it n}\crlf \stoptext italcor.pdf Description: italcor.pdf ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] italic corrrection?

2012-07-21 Thread Meer, H. van der
\starttext {\it n}:{\it n}\crlf {\it n\/}:{\it n}\crlf \stoptext On 21 jul. 2012, at 14:55, Wolfgang Schuster wrote: Am 21.07.2012 um 14:49 schrieb Meer, H. van der: I cannot see the italic correction. Neither in the default not, nor in lucidaot. An explicit \/ (plain TeX material!) makes

Re: [NTG-context] setupbars

2012-07-09 Thread Meer, H. van der
There is still an issue here. \setupbars[unit=mm,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=ex,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=pt,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf The first and third setup do not give

Re: [NTG-context] setupbars

2012-07-09 Thread Wolfgang Schuster
Am 09.07.2012 um 09:09 schrieb Meer, H. van der: There is still an issue here. \setupbars[unit=mm,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=ex,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=pt,rulethickness=1] AB\startbar[underbar

Re: [NTG-context] setupbars

2012-07-09 Thread Hans Hagen
On 9-7-2012 09:26, Wolfgang Schuster wrote: Am 09.07.2012 um 09:09 schrieb Meer, H. van der: There is still an issue here. \setupbars[unit=mm,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=ex,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit

[NTG-context] UTF8 in XML

2012-06-25 Thread Meer, H. van der
font = lucidaot:\crlf tex math = $\in$\crlf directly = ∈ (U+2208, UTF-8 = E2 ) \par \stop \start \setupbodyfont[lmodern] Requested font = lmodern:\crlf tex math = $\in$\crlf directly = ∈ (U+2208, UTF-8 = E2 ) \par \stop \stoptext \showbodyfont \stoptext Hans van der Meer test.pdf

[NTG-context] Strange page breaks

2012-06-18 Thread Andreas Schneider
? #This is LuaTeX, Version beta-0.70.2-2012052100 (TeX Live 2012/W32TeX) #ConTeXt ver: 2012.05.24 19:36 MKIV fmt: 2012.6.18 int: english/english -- Best Regards, Andreas\starttext \dorecurse{36}{some text some text some text some text some text\crlf} \subsubsubject{Some Table} \placefigure[split,force

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
{\global\let\MapsRunningAuthor\MapsAuthor}% \doifnothing\MapsRunningTitle {\global\let\MapsRunningTitle\MapsTitle}}% \def\dostartArticle[#1]{% \MapsBibData[#1] \pageno=\MapsPage \setuppagenumber[start=\MapsPage] \startbaselinecorrection \bgroup \hsize = 457pt \let\\\crlf

[NTG-context] Chapter layout with \structureuservariable and a makeup

2012-06-06 Thread Marco
Hi, I fail to use \structureuservariable to print a value on the page preceding a chapter. Example: \setuphead [chapter] [before=\setups{chap}, command=\myChap] \startsetups chap \startmakeup setups\crlf structureuservariable foo: \structureuservariable{foo} \stopmakeup

[NTG-context] description setup error

2012-05-13 Thread Meer, H. van der
=] \setupdescriptions[htmldd][alternative=right] \starttext Text before.\crlf \starthtmldd{item-1}description\stophtmldd \starthtmldd{item-2}description\stophtmldd Text after. \stoptext ! Undefined control sequence. system tex error on line 5 in file description.tex: Undefined control sequence

Re: [NTG-context] description setup error

2012-05-13 Thread Wolfgang Schuster
. \definedescription[htmldd][before=,after=] \setupdescriptions[htmldd][alternative=right] \starttext Text before.\crlf \starthtmldd{item-1}description\stophtmldd \starthtmldd{item-2}description\stophtmldd Text after. \stoptext ! Undefined control sequence. system tex error

Re: [NTG-context] Indentation for beginner

2012-05-03 Thread hwitloc
\stopitem \stopitemize \stoprpara \startrpara Work\crlf Experience % or use \startlines … \stoplines \nextrpara \startitemize \startitem UCLA BoA \stopitem \startitem LMU BSCS \stopitem \stopitemize \stoprpara \stoptext

Re: [NTG-context] [***SPAM***] Indentation for beginner

2012-05-02 Thread Marco
\startitem is here today \stopitem \stopitemize \stoprpara \startrpara Work\crlf Experience % or use \startlines … \stoplines \nextrpara \startitemize \startitem UCLA BoA \stopitem \startitem LMU BSCS \stopitem \stopitemize

Re: [NTG-context] [dev-context] Storing and retrieving two-pass data

2012-04-20 Thread luigi scarso
=second] \setdataset [test] [bar] [bar=third] \starttext        foo is: \datasetvariable{test}{foo}{foo}\crlf        bar is: \datasetvariable{test}{bar}{bar} \stoptext Wikified: http://wiki.contextgarden.net/System_Macros/Key_Value_Assignments#Two-pass_data Two-pass data is data that can

[NTG-context] TABLE with split=repeat and headings

2012-03-22 Thread Andreas Schneider
\dorecurse{35}{some text some text some text some text some text\crlf} \subsubsubject{Some Table} \bTABLE[split=repeat] \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \bTD Col3 \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD foo \eTD \bTD bar \eTD \bTD \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD

Re: [NTG-context] interactive pdf with rotated buttons don't work

2012-03-18 Thread Jan Heinen
Good morning :-) I am still not able to rotate the buttons without loosing the hyperlinks; see code at the bottom. And I have an extra question: How can I make a linebreak after each button. I have tried \crlf and \par before every \button ... it's not working :-( Best wishes, Janis

[NTG-context] Page Header Text with Two Lines

2012-03-07 Thread Emmanuel Asante
Hi All, I tried to setup a page header with two lines using a command like this: \setupheadertexts[Left Text][Right Text 1. \crlf Right Text 2] but the \crlf command gets ignored. How do I achieve this? Best regards, Emmanuel

Re: [NTG-context] Page Header Text with Two Lines

2012-03-07 Thread Marco
On 2012-03-07 Emmanuel Asante emmanuela.asa...@gmail.com wrote: I tried to setup a page header with two lines using a command like this: \setupheadertexts[Left Text][Right Text 1. \crlf Right Text 2] but the \crlf command gets ignored. How do I achieve this? \setupheadertexts [Left

Re: [NTG-context] Page Header Text with Two Lines

2012-03-07 Thread Emmanuel Asante
On Wed, Mar 7, 2012 at 9:58 AM, Marco net...@lavabit.com wrote: On 2012-03-07 Emmanuel Asante emmanuela.asa...@gmail.com wrote: I tried to setup a page header with two lines using a command like this: \setupheadertexts[Left Text][Right Text 1. \crlf Right Text 2] but the \crlf

[NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
I'm using the following: \def\chap#1#2{\vbox{Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]}] for my chapter headings. But one chapter: Answers to Exercises I want unnumbered, without the Chapter text, and also in the table

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Otared Kavian
using the following: \def\chap#1#2{\vbox{Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \setuphead[chapter][command=\chap,style=bfd,after={\blank[1cm]}] for my chapter headings. But one chapter: Answers to Exercises I want unnumbered, without the Chapter text, and also in the table

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
[title={Answer to all the questions},number=no] \stoptext % end Best regards: OK Best regards: OK On 17 févr. 2012, at 01:48, Alasdair McAndrew wrote: I'm using the following: \def\chap#1#2{\vbox{Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \setuphead[chapter][command=\chap

[NTG-context] error with m-database example

2012-02-15 Thread Martin
on the error... Though I suspect the file has been changed since anyhow. Thanks for any input, Martin Code used: \usemodule[database] \def\SendMe#1#2{#1\crlf#2} \defineseparatedlist [Addressen] [separator={;},command=\SendMe] \starttext \startAddressen xyz;Maasstraat abc;sometown \stopAddressen

Re: [NTG-context] error with m-database example

2012-02-15 Thread Wolfgang Schuster
as suggested in the old thread seems to have no effect on the error... Though I suspect the file has been changed since anyhow. Thanks for any input, Martin Code used: \usemodule[database] \def\SendMe#1#2{#1\crlf#2} \unexpanded\def\SendMe#1#2{#1\crlf#2} Wolfgang

Re: [NTG-context] error with m-database example

2012-02-15 Thread Martin
\unexpanded\def\SendMe#1#2{#1\crlf#2} Wolfgang Wolfgang, thanks, that worked for the sample code. However, when extended to three fields (I need 8) the field splitting gets rather messy. Thanks, Martin Modified code: \usemodule[database] \unexpanded\def\SendMe#1#2#3{#1\crlf#2\crlf#3

Re: [NTG-context] error with m-database example

2012-02-15 Thread Wolfgang Schuster
Am 15.02.2012 um 21:54 schrieb Martin: \unexpanded\def\SendMe#1#2{#1\crlf#2} Wolfgang Wolfgang, thanks, that worked for the sample code. However, when extended to three fields (I need 8) the field splitting gets rather messy. I had to look at the example in the module

[NTG-context] Unnumbered chapter in table of contents?

2012-02-15 Thread Alasdair McAndrew
{\vbox{Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \setuphead[chapter][ command=\chap, style=bfd, after={\blank[1cm]}, ] However, I don't want this heading on the exercises; just the title. How can I easily achieve all of this? I've tried with \title[Answers to Exercises

Re: [NTG-context] Unnumbered chapter in table of contents?

2012-02-15 Thread Otared Kavian
. Tenth Chapter Answers to Exercises I've set up the chapters with \def\chap#1#2{\vbox{Chapter #1\crlf\framed[frame=off,topframe=on]{#2}}} \setuphead[chapter][ command=\chap, style=bfd, after={\blank[1cm]}, ] However, I don't want this heading

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-18 Thread luigi scarso
% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3} % here the interlinespace is ignored % {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-17 Thread Steffen Wolfrum
: \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3} \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc] [chapter] \setupcombinedlist

<    1   2   3   4   5   6   7   8   9   10   >