Am 2018-01-24 um 19:18 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>:
>> Henning Hraban Ramm 24. Januar 2018 um 08:51
>>
>> Thank you, now I have:
>>
>> \define[1]\ChapterTocEntry{%
>> \doifnotempty{\structurelistuservariable{author}}{\struc
Henning Hraban Ramm <mailto:te...@fiee.net>
24. Januar 2018 um 08:51
Thank you, now I have:
\define[1]\ChapterTocEntry{%
\doifnotempty{\structurelistuservariable{author}}{\structureuservariable{author}\crlf
}%
#1%
\doifnotempty{\structurelistuservariable{subtitle}}{\crlf\structureuserva
Am 2018-01-24 um 16:42 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>:
>> Henning Hraban Ramm 24. Januar 2018 um 08:51
>>
>> Thank you, now I have:
>>
>> \define[1]\ChapterTocEntry{%
>> \doifnotempty{\structurelistuservariable{author}}{\struc
Henning Hraban Ramm <mailto:te...@fiee.net>
24. Januar 2018 um 08:51
Thank you, now I have:
\define[1]\ChapterTocEntry{%
\doifnotempty{\structurelistuservariable{author}}{\structureuservariable{author}\crlf
}%
#1%
\doifnotempty{\structurelistuservariable{subtitle}}
uctureuservariable{author}}{\structureuservariable{author}\crlf
>> }%
>> #1%
>> \doifnotempty{\structureuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}}
> To access the variables in a list you have to use the
> \structurelistuservariabl
>> \dorecurse{6}{\input ward\expanded{\footnote{This is a footnote
>> \recurselevel}} }
>> \stoptext
>
> Oh, seems like I didn’t answer to that, sorry.
>
> Thank you very much, this solves my problem for the most part.
>
> Coming back to this now, since I com
Henning Hraban Ramm <mailto:te...@fiee.net>
14. Januar 2018 um 21:44
Now, my second issue with user variables:
"""
\define[1]\ChapterTocEntry{%
\doifnotempty{\structureuservariable{author}}{\structureuservariable{author}\crlf
}%
#1%
\doifnotempty{\structureuservari
GPG Key ID 1C9B22FD
Am 2018-01-14 um 21:44 schrieb Henning Hraban Ramm <te...@fiee.net>:
> Now, my second issue with user variables:
>
> """
> \define[1]\ChapterTocEntry{%
>
> \doifnotempty{\structureuservariable{author}}{\structureuservariable{author}\crlf
>
:\TalkSpeakerName]{}
{\bi Speaker~:\/} \TalkSpeakerName \speakers{\TalkSpeakerName}.\crlf
{\bi Title :} \TalkTitle \crlf
{\bi Time:} \TalkTime \crlf
{\bi Room :} \TalkRoom\crlf
\hairline\par}
\starttext
\getparameters[Talk]%
[SpeakerName
Now, my second issue with user variables:
"""
\define[1]\ChapterTocEntry{%
\doifnotempty{\structureuservariable{author}}{\structureuservariable{author}\crlf
}%
#1%
\doifnotempty{\structureuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}}
\setuplist[chapt
or XML you could use my module highlight-xml:
\usemodule[highlight-xml]
\definetype[xml][option=xml]
\starttext
\startTEXpage[offset=2em]
\xml{attr="value"}\crlf
\xml{This is text.}
\startXML
This is tex
se{#1}}\dostoptagged}
\starttabulate[|lw(1cm)|p|]
\NC AFG\NC \SC{SED}, Akademie für Gesellschaftswissenschaften,
Schriftenverzeichnis\NC\NR
\NC BER\crlf\color[white]{dummy}\NC Hochschule der Deutschen Gewerkschaften
\quotation{Fritz Heckert} in Bernau, Schriftenverzeichnis\NC\NR
Dear Hans,
Consider the following MWE with nested multi-column itemize and item label:
\setuptagging[state=start]
\setupinteraction[state=start]
\starttext
\startitemize[n]
\item[label] First
\startitemize[a, columns]
\item Second
\item Third
\stopitemize
\stopitemize\crlf
Bla \in{Item
would be nice if we had a solution how those notes won’t collide; is there
some trick how I can shift a note up or down manually?
Additionally, since my note number gets its own line, I’d like to get rid of
the indenting, but couldn’t f
>> wrote:
>> >
>> > \setupquotation[method=font]
>>
>> what is the intension of the method=font ?
>>
>>
> Thank you for asking. Consider the following MWE:
>
> \setupbodyfont[cambria]
> %\setupquotation[method=font]
> \starttext
> \q
ont ?
>
>
Hi Floris,
Thank you for asking. Consider the following MWE:
\setupbodyfont[cambria]
%\setupquotation[method=font]
\starttext
\quotation{A}\crlf
“A”
\stoptext
In the output rendering of the above (see attachment), the first line lacks
kerning between the double quotes and the letter
n still force the
>> original synctex by setting \normalsynctex but it can interfere with the
>> context variant when set)
>
>
> I think I have found a problem with the new synctex:
>
> Synctex works perfectly fine – until the first occurence of a \readfile. From
>
y setting \normalsynctex but it can interfere with the
> context variant when set)
I think I have found a problem with the new synctex:
Synctex works perfectly fine – until the first occurence of a \readfile. From
that point on it always takes me to the imported file, no matter whether t
. \Command % OK
3. As You see, Command without braces swallows the break of the paragraph.
1. \dorecurse{\Command{5}}{\recurselevel\crlf} % not working
2. \dorecurse{\Command{}}{\recurselevel\crlf} % not working
\stoptext
Jaroslav Hajtmar
Dne 27.06.17 13:05, ntg-context za uživatele Henri
> 1. \Command[5] % OK
>
> 2. \Command % OK
>
>
>
>
> %1. \dorecurse{\Command[5]}{\recurselevel\crlf} % not working
>
> %2. \dorecurse{\Command}{\recurselevel\crlf} % not working
The first argument to \dorecurse has to expand to a number. Therefore it h
\else100\fi}
%\def\AnotherCommand%
% {\dosingleargument\DoAnotherCommand}
\starttext
1. \Command[5] % OK
2. \Command % OK
%1. \dorecurse{\Command[5]}{\recurselevel\crlf} % not working
%2. \dorecurse{\Command}{\recurselevel\crlf} % not working
\stoptext
enalty\maxdimen
\clubpenalty \maxdimen
{\tf test #1.1}\crlf
{\bi test #1.2}\crlf
{\tf test #1.3}\crlf
{\bf test #1.4}\relax
\par
}
\stopbuffer
\dorecurse{20}{
\dontcomplain
\startmixedcolumns[balance=yes]
\dorecurse{#1}{line #
setupwhitespace[none]. (It completely
annihilates any whitespace.)
Compile this to see what I mean:
\definepapersize[Tmp][width=120mm,height=400mm]
\setuppapersize [Tmp]
\setupwhitespace[2\lineheight]
\startbuffer
bla, bla\crlf bla, bla
\stopbuffer
\starttext
Normal text:
\getbuffer\par
\g
rm i}x))$}
\blank
{\rmmediumsized This is roman medium sized. \crlf
$\cos(x) = {\rm Re}(\exp({\rm i}x))$}
\stoptext
--
Some questions:
1. Where is the basic size of the font family defined in points?
2. In the second example which of the many Dejavu fonts is a
))$}
\blank
{\rmmediumsized This is roman medium sized. \crlf
$\cos(x) = {\rm Re}(\exp({\rm i}x))$}
\stoptext
--
Some questions:
1. Where is the basic size of the font family defined in points?
2. In the second example which of the many Dejavu fonts is assumed
orintent{#2}\relax}}
>
>
Thanks, that fixed it. The overflow still occurs, will look deeper into it.
>
>> (ConTeXt 2016.12.28 17:55)
>>
>> minimal example:
>>
>> \starttext
>> \startluacode
>> local bCI,eCI = context.startcol
\startluacode
local bCI,eCI = context.startcolorintent, context.stopcolorintent
bCI({"overprint"})context("1.2345\\crlf")eCI() -- also no 'overprint'
for that text part in the PDF
bCI({"overprint"})context("First number is missing.\\crlf")eCI()
\stoplua
Hi,
title says it all.
(ConTeXt 2016.12.28 17:55)
minimal example:
\starttext
\startluacode
local bCI,eCI = context.startcolorintent, context.stopcolorintent
bCI({"overprint"})context("1.2345\\crlf")eCI() -- also no 'overprint'
for that text part in the
ttabulate[|l|p|]
>> \NC \bf Druk procedé \NC \bf Opmerking \NC\NR
>> \NC Offset \NC \strut weinig problemen als onverpakt\crlf
>> \NC\NR
>> \NC Digitaal\NC beduidend lager i.v.m. warmte fixatie.
>>
\starttabulate[|l|p|]
\NC \bf Druk procedé \NC \bf Opmerking \NC\NR
\NC Offset \NC \strut weinig problemen als onverpakt\crlf
\NC\NR
\NC Digitaal\NC beduidend lager i.v.m. warmte fixatie
onverpakt\crlf
\NC\NR
\NC Digitaal\NC beduidend lager i.v.m. warmte fixatie.
\startitemize
\startitem
o:chainatt}
\startxmlsetups demo:chainatt:root
root: xmlatt = <\xmlatt{#1}{test}>\crlf
root: xmlchainatt = <\xmlchainatt{#1}{test}>\crlf
\xmlall{#1}{*}
\stopxmlsetups
\startxmlsetups demo:chainatt:node
-- node: xmlatt test = <\xmlatt{#1}{test}>\crlf
=\textwidth]}\crlf
\startframedtext[width=\textwidth]
Text for testing indenting of praragraphs. A lot of nonsense just to fill the
paragraph so that more than one line is typeset. A lot of nonsense just to fill
the paragraph so that more than one line is typeset.
Text for testing indenting
derbar]
\starttext
underbar text mode: \underbar{$a^b$} \crlf
underbar math mode: $\underbar{a^b}$ \crlf
myBar text mode: \myBar{$a^b$} \crlf
myBar math mode: $\myBar{a^b}$
\stoptext
ConTeXt uses different code for the \underbar commands inside and
outside of math mode,
in text mode \underba
Dear list,
how can I clone \underbar (for the purpose of changing settings for the clone
afterwards)?
Just using \definebar to inherit \underbar’s properties does not entirely work,
see MWE:
\definebar[myBar][underbar]
\starttext
underbar text mode: \underbar{$a^b$}\crlf
underbar
\enabletrackers[lxml.loading,lxml.setups]
\startxmlsetups xml:demo:base
\xmlsetsetup{#1}{document|buffer|getbuffer|execbuffer|b}{xml:demo:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{xml:demo:base}
\startxmlsetups xml:demo:buffer
... enter for "\xmlatt{#1}{name}&
t; www.pragma-pod.nl<http://www.pragma-pod.nl>
> -
As an example I executed the following code:
\starttext
\framed{\ConTeXt-version = \contextversion}\blank
\def\nofoo{This is nofoo}
\startluacode
if interfaces.defined("f
In particular, Peter's example produces something like the following:
(I'm assuming these 90-character-plus-CRLF lines made it through the
Internet; if they did not make it, then someone's email-processing
software is non-conformant, so shame on him!)
We thrive in information-thick worlds scr
Peter Münster <mailto:pmli...@free.fr>
8. September 2016 um 16:58
Thanks, it works even in my original document! (Beforehand I'd tried
combinations of line, nowhite, none..., but without success...)
Does it mean, that \crlf is deprecated and should always be replaced by
On Thu, Sep 08 2016, Wolfgang Schuster wrote:
> \blank[fixed,depth]
Thanks, it works even in my original document! (Beforehand I'd tried
combinations of line, nowhite, none..., but without success...)
Does it mean, that \crlf is deprecated and should always be replaced by
\bl
lus 0.2ex]
\setupxtable[frame=off, boffset=0pt, toffset=0pt, rulethickness=0pt]
\starttext
Good\crlf
\startxtable
\startxrow \startxcell spacing \stopxcell \stopxrow
\startxrow \startxcell here. \stopxcell \stopxrow
\stopxtable
Unwanted\blank[depth]
\startxtable
\startxrow \startxcell
Peter Münster <mailto:pmli...@free.fr>
8. September 2016 um 15:34
Sorry, but the result is still not the same:
--8<---cut here---start->8---
\setupwhitespace[1ex]
\starttext
bla bla:\crlf
\startxtable
\startxrow \startxcell bla \stopxce
On Thu, Sep 08 2016, Wolfgang Schuster wrote:
> bla bla\blank[nowhite]
> bla bla
Sorry, but the result is still not the same:
--8<---cut here---start->8---
\setupwhitespace[1ex]
\starttext
bla bla:\crlf
\startxtable
\startxrow \startxcell bl
Peter Münster <mailto:pmli...@free.fr>
8. September 2016 um 15:01
With whitespace, the result is not the same:
--8<---cut here---start->8---
\setupwhitespace[1ex]
\starttext
bla bla\crlf
bla bla\par
bla bla
bla bla\blank[nowhite]
bla bla
\
On Thu, Sep 08 2016, Wolfgang Schuster wrote:
> bla bla:\crlf
>
> Use \par or add a empty line between the text and the table.
With whitespace, the result is not the same:
--8<---cut here---start->8---
\setupwhitespace[1ex]
\starttext
bla b
Peter Münster <mailto:pmli...@free.fr>
8. September 2016 um 12:45
Hi,
Just after the table, there is an unwanted underscore:
--8<---cut here---start->8---
\starttext
bla bla:\crlf
Use \par or add a empty line between the text and the table.
Hi,
Just after the table, there is an unwanted underscore:
--8<---cut here---start->8---
\starttext
bla bla:\crlf
\startxtable[split=yes]
\startxrow \startxcell bla \stopxcell \stopxrow
\stopxtable
\stoptext
--8<---cut here-
eight,x=.82\paperwidth]
{\externalfigure[Images/Logo.svg][][height=0.2\textwidth]}
% Activate all layers for this page...
\setupbackgrounds[page][background={logo_layer}]
% Start document body...
\starttext
% Header...
{\switchtobodyfont[40pt] Anciens et Modernes \crlf}
\blackrule[h
age][2]
The two settings above can be removed because they aren’t necessary for the
example.
\startchapter
[title={Ursula Hermann\indenting[yes, next] Danksagung}]
The \crlf command insert a line break in the ToC and the heading
\startchapter[title={Ursula Hermann\crlf Dank
ttings above can be removed because they aren’t necessary for
the example.
\startchapter
[title={Ursula Hermann\indenting[yes, next] Danksagung}]
The \crlf command insert a line break in the ToC and the heading
\startchapter[title={Ursula Hermann\crlf Danksagung}]
and the \\ command i
upbodyfont[cambria]
> cambria: uppercase <ABC-{\sc ABC}> smallcaps\blank
> \LuaTeX-version=0.\the\luatexversion\crlf
> \ConTeXt-version=\contextversion\crlf
> \stoptext
>
>
>
>
>
>
>
>
> ___
]
cambria: uppercase <ABC-{\sc ABC}> smallcaps\blank
\LuaTeX-version=0.\the\luatexversion\crlf
\ConTeXt-version=\contextversion\crlf
\stoptext
Smallcaps changes only the layout of lowercase letters but some fonts let you
also change uppercase letters.
In the example below you can see how you ca
ething wrong here?
Hans van der Meer
Minimal example and output:
\setuppapersize[A5][A5]
\starttext
\setupbodyfont[lmodern]
lmodern: uppercase <ABC-{\sc ABC}> smallcaps\blank
\setupbodyfont[cambria]
cambria: uppercase <ABC-{\sc ABC}> smallcaps\blank
\LuaTeX-version=0.\the\luatexver
se <ABC-{\sc ABC}> smallcaps\blank
> \LuaTeX-version=0.\the\luatexversion\crlf
> \ConTeXt-version=\contextversion\crlf
> \stoptext
>
>
>
>
>
>
>
> ___
> If your question is of i
[A5][A5]
\starttext
\setupbodyfont[lmodern]
lmodern: uppercase <ABC-{\sc ABC}> smallcaps\blank
\setupbodyfont[cambria]
cambria: uppercase <ABC-{\sc ABC}> smallcaps\blank
\LuaTeX-version=0.\the\luatexversion\crlf
\ConTeXt-version=\contextversion\crlf
\stoptext
smallcaps.pdf
Descriptio
me=off,
bottomframe=on]\crlf},after={\stopframedtext\noindentation\blank[1cm]}]
\setuphead[subsection]
[style=\ss,
before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
rulethickness=0.01cm, frame=off, topframe=off,
bottomframe=on]\crlf},after={\stopframedtext\noindentation\bla
mecolor=black,
> rulethickness=0.01cm, frame=off, topframe=off,
> bottomframe=on]\crlf},after={\stopframedtext\noindentation\blank[1cm]}]
>
> \setuphead[subsection]
> [style=\ss,
> before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
> rulethickness=0.01cm, fra
.
I guess it could depend on the formatting of my headlines. Here they are:
\setuphead[section]
[style=\ss\tfa,
before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
rulethickness=0.01cm, frame=off, topframe=off,
bottomframe=on]\crlf},after={\stopframedtext\noindentation\blank
el enclosure \eTD
\eTR
%
\bTR
\bTD \dontleavehmode\externalfigure[box3mm] 3\crlf
\externalfigure[box3mm] 3a \eTD
\bTD PR-7610 Table top standfor Multichannel user interface,
contains a set of four
\externalfigure[box3mm] 3\crlf
\externalfigure[box3mm] 3a \eTD
\bTD \eTD
\eTR
%
\bTR
\bTD \externalfigure[box3mm] 4 \eTD
\bTD \eTD
\eTR
\eTABLE
\stoptext
Mari
PS. I don't think it is relevant here, but my
\framed can use a \hbox or a \vbox to place the content, by default it uses a
\hbox
but when you set the correct value for the align key it uses a \vbox.
Wolfgang
% testting hbox-vbox behaviour for framed.
\starttext
input:\verbatim{\hbox{\hbox{abc}\hbox{xyz}}}\crlf
\hbox{\hbox{abc}\hbox{xyz}}\blank
inp
a mistake.
Hans van der Meer
% failure of negative number comparison.
\startxmlsetups demo:numberfail
\xmlsetsetup{#1}{root|node}{demo:numberfail:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{demo:numberfail}
\startxmlsetups demo:numberfail:root
@atta >= 1:\crlf
\xmlfilter{#1}{/[number(@atta)
van der Meer
% failure of negative number comparison.
\startxmlsetups demo:numberfail
\xmlsetsetup{#1}{root|node}{demo:numberfail:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{demo:numberfail}
\startxmlsetups demo:numberfail:root
@atta >= 1:\crlf
\xmlfilter{#1}{/[number(@atta) >=
>> indent.
>> Hmm, how to get this?
>>
>>
>> For chapter/section/subsection
>> I have e.g.
>>
>> \setuphead[chapter]
>> [style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local,
>> foregroundcolor=black, background=color,
gGrey1,
framecolor=bgGrey2,offset=0.25cm,
rulethickness=0.05cm, frame=off, topframe=on,
bottomframe=on]\crlf},after={\stopframedtext\blank[4cm]}]
Is there an available option to be set?
You have to add \noindentation after \stopframedtext.
\setuphead
[chapter]
[before={\startframedtext},
off,
> topframe=on,
> bottomframe=on]\crlf},after={\stopframedtext\blank[4cm]}]
That's all not relevant to indenting. It's best to create a small
*working* example with only the necessary options.
Marco
___
If your qu
, topframe=on,
bottomframe=on]\crlf},after={\stopframedtext\blank[4cm]}]
Is there an available option to be set?
Many thanks
-a-
--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> h
Michal Ondrejáš <mailto:michal.ondre...@dlubal.cz>
4. April 2016 um 15:17
Hello
I need some help regarding font definitions.
The situation is like this:
\definefont
[issuefont]
[SansRegular at 14pt]
{\issuefont \labeltext{issue} \crlf \documentvariable{issue}}
I need to get chines
, before={\blank}, after={\blank}]
\setupparagraphs[Par][1]
[align=flushleft]
\setupparagraphs[Par][2]
[align=flushright]
\startPar
\vfill % I hoped this would push bob’s address down
Bob’s name \crlf
Company \crlf
Bob’s street \crlf
Bob’s town \crlf
Bob’s country
\Par
My street
Hello
I need some help regarding font definitions.
The situation is like this:
\definefont
[issuefont]
[SansRegular at 14pt]
{\issuefont \labeltext{issue} \crlf \documentvariable{issue}}
I need to get chinese text into the issue variable, but for that I need
to change the font. I need
ocumentsetup{demo}{demo:texatt}
\startxmlsetups demo:texatt:root
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups demo:texatt:node
node: attribute textstyle = \xmlchainatt{#1}{textstyle}\crlf
now use \tex{it}:
{\starttexcode
\xmlchainatt{#1}{textstyle}"should be italic"
\stoptexcode
}\crlf
;http://ll.at>['atta'])) ~== 1
Hans van der Meer
% failure of test on inequality.
\startxmlsetups demo:comparefail
\xmlsetsetup{#1}{root|node}{demo:comparefail:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{demo:comparefail}
\startxmlsetups demo:comparefail:root
compare \type{!=}\crlf
\x
mber comparison.
\startxmlsetups demo:numberfail
\xmlsetsetup{#1}{root|node}{demo:numberfail:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{demo:numberfail}
\startxmlsetups demo:numberfail:root
@atta >= 1:\crlf
\xmlfilter{#1}{/[number(@atta) >= 1]/command(demo:numberfail:node)}
\blank
@atta >
tes}{notes:*}
>\stopxmlsetups
>\xmlregisterdocumentsetup{notes}{notes:setups}
>\startxmlsetups notes:notes
>\xmlinclude{#1}{include}{file}
>\xmlshow{#1}
>===> number of = \xmlcount{#1}{note}
>\stopxmlsetups
>\starttext
>Ok with \type{\xmlprocessbuffer{notes}{notes-xm
box, and its height is fixed to
\strutht (and the depth to \strutdp)
so basically the title is one line.
You can try with hand-tuning, ie
\definedescription[description][before=\nowhitespace,
after=\vskip0.25em,width=7\emwidth]
\starttext
\startdescription[title
ocumentsetup{notes}{notes:setups}
\startxmlsetups notes:notes
\xmlinclude{#1}{include}{file}
\xmlshow{#1}
===> number of = \xmlcount{#1}{note}
\stopxmlsetups
\starttext
Ok with \type{\xmlprocessbuffer{notes}{notes-xml}{notes:notes}}\crlf
\xmlprocessbuffer{notes}{notes-xml}{notes:notes}
\bl
Jan Tosovsky <mailto:j.tosov...@email.cz>
2. April 2016 um 23:42
I thought Hans could also mean something like example below, but while
leftskip should 'indent' all lines inside paragraph, it works only for
the first one. Moreover, protrusion is not applied as well. And \crlf
doesn'
n in this case may look ugly, it is consistent with the rest.
I thought Hans could also mean something like example below, but while leftskip
should 'indent' all lines inside paragraph, it works only for the first one.
Moreover, protrusion is not applied as well. And \crlf doesn't seem to be soft
ecolor[mp:fg] [s=.85,t=1,a=1]
\setupbackgrounds [page] [background=color,backgroundcolor=tex:bg]
\starttext
\contextversion\crlf
\startMPcode
% lightgray = 0.85white;
fill fullsquare xyscaled (12cm, 12cm)
withshademethod "linear"
withshadevector (-1,0)
Indeed, if you choose the colours wisely you don't necessarily need
transparency (at least in my use case).
> \unprotect
>
> \def\MPcoloronly#1%
>{\clf_mpcolor
> \attribute\colormodelattribute
> \colo_helpers_inherited_current_ca{#1} %
> \zerocount}
>
> \def\MPtransp
Watch out. There is a pitfall here (yes, I have fallen in this trap).
Try \type{\doifempty{\empty}{yes}} = <\doifempty{\empty}{yes}>\crlf
and you will see that it is NOT empty despite the suggestive use of the \empty
macro!
Hans van der Meer
On 14 Jan 2016, at 08:41, Marco Patze
resultierende Kraft $\vec{F}_{\rm res}$
Null ist.}\NC\AR
\MR
\NC Drehmoment \NC\Use2[lM]{M=Fr} \NC [M]=\unit{1 Newton meter}\NC\AR
\NC \NC F \NC Kraft ($\perp$\ zur DA) \NC [F]=\unit{1 Newton}\NC\AR
\NC \NC r \NC Kraftarm (Abstand DA – Wirkungslinie) \NC [r]=\unit{1
meter}\NC\AR
\MR
\NC Momenten-\crlf
roman?
>
> \starttext
> \delta $\delta {\rm \delta}$\crlf
> d $d {\rm d}$
> \stoptext
This seems to do what I'm after:
\appendtoks\rm\to\everymathematics
\setupmathematics[lcgreek=normal]
--
Kate
___
If
I see the third \delta here as italic, where I would have expected it
to be in roman, as for the "d" example below. Likewise for all greek
letters, I think.
Why is that? How can I have these in roman?
\starttext
\delta $\delta {\rm \delta}$\crlf
d $d {\rm d}$
\stoptext
Thanks,
gt; \definedescription command to achieve this? I've tried all kinds of things
> with the 'before', 'inbetween', 'after', 'indentnext', 'command', and
> 'headcommand' options of the \definedescription command (based on
> http://wiki.contextgarden.net/Command/setupdescriptions
> <http:/
achieve this? I've tried all kinds of things
with the 'before', 'inbetween', 'after', 'indentnext', 'command', and
'headcommand' options of the \definedescription command (based on
http://wiki.contextgarden.net/Command/setupdescriptions), using \par, \crlf,
and \vspace, but didn't get the desired r
On 9/9/2015 2:17 AM, Rik Kabel wrote:
On 2015-09-08 17:52, Hans Hagen wrote:
\def\spac_lines_empty[#1]%
{\endgraf
\begingroup
\forgetall
\scratchcounter\iffirstargument#1\else3\fi\relax
\ifhmode
\crlf
\advance\scratchcounter\minusone
\fi
\dorecurse\scratchcounter
On Wed, 9 Sep 2015, Hans Hagen wrote:
On 9/9/2015 2:17 AM, Rik Kabel wrote:
On 2015-09-08 17:52, Hans Hagen wrote:
\def\spac_lines_empty[#1]%
{\endgraf
\begingroup
\forgetall
\scratchcounter\iffirstargument#1\else3\fi\relax
\ifhmode
\crlf
\advance\scratchcounter
On 9/8/2015 10:49 PM, Rik wrote:
\setuppapersize[A5]
\startcolumns[n=3]
With non-empty lines\crlf
asdf\crlf
asdf\crlf
asdf\crlf
asdf
\column
With\tex{emptylines[2]}
\emptylines[2]
asdf\crlf
asdf
\column
With\tex{blank[2*big]}
\blank[2*big
\emptylines is not producing empty lines. Here is the example from the
wiki <http://wiki.contextgarden.net/Command/emptylines>:
\setuppapersize[A5]
\startcolumns[n=3]
With non-empty lines\crlf
asdf\crlf
asdf\crlf
asdf\crlf
asdf
\column
With\tex{emptyl
On 2015-09-08 17:52, Hans Hagen wrote:
\def\spac_lines_empty[#1]%
{\endgraf
\begingroup
\forgetall
\scratchcounter\iffirstargument#1\else3\fi\relax
\ifhmode
\crlf
\advance\scratchcounter\minusone
\fi
\dorecurse\scratchcounter{\strut\crlf}%
\endgroup}
Hmmm. I
\dorecurse{10}{\ordinaldaynumber{\recurselevel}\crlf}
\stoptext
Wolfgang
___
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
in manual mode.
You can’t show them as superscript when you use the \date command
but in manual mode you can also use \ordinaldaynumber.
\starttext
\dorecurse{10}{\ordinaldaynumber{\recurselevel}\crlf}
\stoptext
Wolfgang
xmltest:setups
\xmlsetsetup{\xmldocument}{root|test}{xmltest:*}
\stopxmlsetups
\xmlregistersetup{xmltest:setups}
\startxmlsetups xmltest:root
\writestatus{TEST}{calling xmltest:root}
\xmlconcat{#1}{test}{xxx}\crlf
\xmlconcat{#1}{test/command(xmltest:test)}{yyy}\crlf
\stopxmlsetups
\startxmlsetups
}{xmltest:*}
\stopxmlsetups
\xmlregistersetup{xmltest:setups}
\startxmlsetups xmltest:root
\writestatus{TEST}{calling xmltest:root}
\xmlconcat{#1}{test}{xxx}\crlf
\xmlconcat{#1}{test/command(xmltest:test)}{yyy}\crlf
\stopxmlsetups
\startxmlsetups xmltest:test
\xmlflush{#1}
\stopxmlsetups
\startbuffer
={nothyphenated}]
\setuphead[subject][indentnext=yes,style=\tf]
\define[3]\PartListEntry{
\vbox{DEEL #1\crlf #2}
}
\setuplist[part][state=start,headnumber=no,pagenumber=no,alternative=command,command=\PartListEntry]
\setuplist[chapter][before
'
if parameter1=='' then context('Test '..parameter1..' = is
TRUE. ') else context('Test '..parameter1..' = is FALSE. ') end
context('Parameter 1 = '..parameter1..' has length
'..string.len(parameter1))
context('\\crlf')
local parameter2='#2'
if parameter2=='' then context('Test
followed by the string “_Title”.
4. Better use \crlf to force a line break for the br/ tag because \\
can produce different results depending in the environment.
5. Use \define[2]\... or \unexpanded\def\... to create your \href command.
6. ConTeXt already has a \url command.
7. Your \url command
:
\blank[big]
\dorecurse{16}{parameter \recurselevel is : \var{param\recurselevel}\crlf}
\blank[big]
% OR
% put parameters into macro:
\def\parameters{A, B, XXL, QWE, 123, Hello, End, TeX, Solution, XSE,
Flag, Prague, Paris, New York, last value, *, }
% and now read parameters:
\expandafter
three times?
- minimal example follows:
\starttext
\framed[ width=8cm, height=4cm,
align={flushleft}]
{Here is the minimum example: \crlf
\hskip 1em 1em space before this line? \crlf
\hskip 2em 2em space before this line? \crlf
201 - 300 of 1038 matches
Mail list logo