, 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
\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
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
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
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
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
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
:
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
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
[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
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
;
\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
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
\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
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
\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
:
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
]
\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
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
\\=\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
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
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
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
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
:
\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
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
.
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
, 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
]}
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
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
,
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
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
--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
--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
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
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
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
\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
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
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
” 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
\crlf
\ctxcommand{verbose(#1, spanish)}}
\obeylines
\vbes{}
\vbes{2221101}
\vbes{}
\vbes{1218}
\vbes{1234}
\vbes{12345}
\vbes{1234567890}
\stopcode
___
If your question
,
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
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
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
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
···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
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
.
\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
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
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
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
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
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
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
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
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
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
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
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
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
]
\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
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
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
]},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
{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
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
=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
\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
#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
][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
\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
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
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
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
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
?
#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
{\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
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
=]
\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
.
\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
\stopitem
\stopitemize
\stoprpara
\startrpara
Work\crlf Experience % or use \startlines … \stoplines
\nextrpara
\startitemize
\startitem UCLA BoA \stopitem
\startitem LMU BSCS \stopitem
\stopitemize
\stoprpara
\stoptext
\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
=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
\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
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
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
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
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
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
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
[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
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
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
\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
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
{\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
. 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
%
{\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
:
\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
401 - 500 of 1038 matches
Mail list logo