Dear Hans,Example 1 below causes TeX to hang and I have to abort the TeX run whereas Example 2 works when I omit \startlines / \stoplines and use \crlf. I have included the console readout for Example 1 below. I can get by with Example 2 but I thought I should let you know. Thanks again,Charlie
Charles Doherty wrote:
Dear Hans,
Example 1 below causes TeX to hang and I have to abort the TeX run
whereas Example 2 works when I omit \startlines / \stoplines and use
\crlf. I have included the console readout for Example 1 below. I can
get by with Example 2 but I thought I should let
On 19 Jul 2005, at 13:23, Taco Hoekwater wrote:
Current ConTeXt chokes on the use of \space within \startlines ...
\stoplines (that is a known bug). You need a workaround. This works
for the current example:
\starttext
Example 1
And here is the sentence before
\startnarrower[2*left
Taco Hoekwater wrote:
Charles Doherty wrote:
Dear Hans,
Example 1 below causes TeX to hang and I have to abort the TeX run
whereas Example 2 works when I omit \startlines / \stoplines and use
\crlf. I have included the console readout for Example 1 below. I can
get by with Example 2
,
the following should work ok
\setupindenting[medium]
\setuplines[indenting=no]
\startlines
first
second
third
fourth
\stoplines
\setuplines[indenting=yes]
\startlines
first
second
third
fourth
\stoplines
\setuplines[indenting=odd]
\startlines
first
second
third
fourth
\stoplines
\setuplines
)
% this will switch off line numbering, make a new line
% and switch line numbering on again
\def\\{\isemptyline=1\crlf\isemptyline=0}
\obeylines
\dorecurse{30}{the text goes here\par}
\setuplinenumbering
[start=2,
step=2,
distance=-1em]
\startlinenumbering
\startlines
\fakewords{5}{8}
\fakewords{5
Hi there,
I've spotted a bug: this will put TeX in a loop:
\starttext
\startlines
A\ test
\stoplines
\stoptext
because \ expands to \ .
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
h h extern wrote:
% TACO: what do you think of
\let\cs\getvalue
\startlines
Let's talk about this{\cs{ttsl}or}that.
\stoplines
Assuming you are not going to use it for czech at some point ... yes
Taco
___
ntg-context mailing list
ntg-context
Stuart Jansen wrote:
Below is a simple test case that illustrates what I suspect are bugs
with \startlines. I suspect that fixing them will be tricky, so I'm
wondering if anyone can think of work arounds.
I'm not sure if they are bugs, because they come as a natural
amd predictable side
Below is a simple test case that illustrates what I suspect are bugs
with \startlines. I suspect that fixing them will be tricky, so I'm
wondering if anyone can think of work arounds.
\starttext
\bgroup\tt
\ConTeXt\ is A\bgroup\ttsl maz\egroup ing
\setuplines[space=yes]
\startlines
\ConTeXt
a similar request.
I think this solution could be the start of your package.
Hans had extended the startlines environment with an option
which keep spaces, so that it's easier to write
algorithms without having some \it begining every lines !
http://www.ntg.nl/pipermail/ntg-context/2004/008169.html
want: it
disables
math and expansion of TeX commands.
Also, perhaps my request is simply an option of \startlines
which keep not only the lines break, but also the first
spaces of each line (in a verbatim font fors these space)
Happy new year !
Thanks to Mojca and John, I use \startlines
usefull for
numerous situations)
But as the new version of context is not yet in the texlive-2004
(or as texlive-2005 is not yet out ;-)
Would it not be a better idea to provide another environnement name
to avoid conflict with the future standard startline environment?
I tried to rename startlines
Maurice Diamantini wrote:
Le 26 déc. 04, à 21:57, h h extern a écrit :
Christmas present ...
Would it not be a better idea to provide another environnement name
to avoid conflict with the future standard startline environment?
I tried to rename startlines to startLines with other hack
Christmas present ...
\unprotect
\setuplines[\c!space=\v!default]
\def\startlines
{\@@rgbefore
\whitespace
%\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak
\begingroup
\def\@@rgstepyes{\parindent\zeropoint}%
\def\@@rgstepno {\parindent\zeropoint}%
\edef
of TeX commands.
Also, perhaps my request is simply an option of \startlines
which keep not only the lines break, but also the first
spaces of each line (in a verbatim font fors these space)
In plain TeX you have a command \obeyspaces (apart from \obeylines).
Nevertheless, whitespaces
style like feature.
I could do some recursive \startitemize...\stopitemize...
but it is two much verbose, so I thought looking at the
ConTeXt typing system
Also, perhaps my request is simply an option of \startlines
which keep not only the lines break, but also the first
spaces of each line
(with \xxx{yyy}) and math (like $y_u(t)$)
In fact I'd like some LaTeX algorithms style like feature.
I could do some recursive \startitemize...\stopitemize...
but it is two much verbose, so I thought looking at the
ConTeXt typing system
Also, perhaps my request is simply an option of \startlines
which
of \startlines
which keep not only the lines break, but also the first
spaces of each line (in a verbatim font fors these space)
In plain TeX you have a command \obeyspaces (apart from \obeylines).
Nevertheless, whitespaces at the beginning of line are ignored when
using \obeyspaces, so you
}
\StartFrame
\startlines
On {\it analyse} le stage point par point -- négatif et
positif --
on {\it synthétise} l'ensemble des apports,
et on entrevoit le {\it futur} professionnel {\it concrètement}
\stoplines
\StopFrame
\page
\stoptext
``namespace''
\getvalue{XYZtexti}
}
\starttext
\startlines
Hello \myCommand
\setvalue{XYZtexti}{World}
Hello \myCommand
Hello \myCommand[texti=Maurice]
\stoplines
\stoptext
Patrick
--
texshow-web: http://members.ping.de:8061
ConTeXt wiki: http://members.ping.de:8062
:
there is also \currentfile
\starttext
\startlines
\inputfilename
\outputfilename
\jobfilesuffix
\stoplines
\input included
\readfile{included}{}{}
\stoptext
and in included.tex:
Included file:
\startlines
\inputfilename
\outputfilename
\jobfilesuffix
\stoplines
gives me:
test.tex
test
tex
Included file
a production in the grammar.
Any suggestions on how to go about this? I mean, the obvious solution
is simply to write
regex: branch ; branch, \type{\|}, regex.
instead, but I would like to keep the input as clean as possible.
nikolai
\definestartstop[BNF][before=\startlines\setups{myBNF
\ifinregels % otherwise problems with \type crlf {xxx}
\ignorelines % makes footnotes work in \startlines ... \stoplines
\fi
\ifnotesymbol
\dolastnotesymbol
\else
\unskip\unskip
\globallet\lastnotesymbol\dolastnotesymbol
\fi
\ignorespaces
\localnoteinsert
{%
%\startlines
%Mr. Robert Ermers \\
%\CONTEXT-technician\\
%Whereeverstreet 5\\
%7000 \TEX land
%\stoplines}
% \stopbuffer
\def\Addresses{10}
\showframe
\starttext
\dorecurse{\Addresses}{%
\setlayer
[Etiket]
[preset=leftbottom,location={right,top},y=-3mm,x=-3mm
adreslist %Contains the addresses as given below:
% \startbuffer[Adr1]
%\framedtext{%
%\startlines
%Mr. Robert Ermers \\
%\CONTEXT-technician\\
%Whereeverstreet 5\\
%7000 \TEX land
%\stoplines}
% \stopbuffer
\def\Addresses{10}
\showframe
\starttext
{Gamma}
\startlines
$x=10 \Gamma \Delta \alpha \delta \zeta$
{$x=10 \Gamma \Delta \alpha \delta \zeta$}
{$x=10 \Gamma \Delta \alpha \delta \zeta$}
$\mainface x=10 \Gamma \Delta \alpha \delta \zeta$
$\boldmath x=10 \Gamma \Delta \alpha \delta \zeta$
\stoplines
\startformula
x=12=\fontbody \Gamma
font changes are allowed.
Of course \centerline{} works but this requires tagging each line.
Any thoughts, anyone?
This worked for me:
\startalignment[middle]
\setuplines[indenting=no]
\startlines
{\it Out of his mouth a red, red rose!
Out of his heart a white!
For who can say by what strange
font changes are allowed.
Of course \centerline{} works but this requires tagging each line.
Any thoughts, anyone?
This worked for me:
\startalignment[middle]
\setuplines[indenting=no]
\startlines
{\it Out of his mouth a red, red rose!
Out of his heart a white!
For who can say by what strange
{\aftergroup \emphasiscorrection\it}
see the examples:
\def\TR{\aftergroup \/\it}
\startlines
{\it this is a roof}right?
{\TR this is a roof}right?
{\TR this is a roof}, right?
\def\TR{\aftergroup \emphasiscorrection\it}
{\TR this is a roof}right?
{\TR this is a roof}, right?
\stoplines
But I bet
do it like this:
\def\TR{\aftergroup \emphasiscorrection\it}
see the examples:
\def\TR{\aftergroup \/\it}
\startlines
{\it this is a roof}right?
{\TR this is a roof}right?
{\TR this is a roof}, right?
\def\TR{\aftergroup \emphasiscorrection\it}
{\TR this is a roof}right?
{\TR this is a roof
501 - 531 of 531 matches
Mail list logo