[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
=off] \setupnarrower[left=0.80cm, right=0.80cm] \definehspace[oneem][0.5em] \setupinteraction [state=start, color=blue] \usecolors[svg] \setupinteraction [state=start, contrastcolor=cornflowerblue] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
erkennen, dass ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.” \blank \setupnarrower [left=0.80cm, right=0.80cm] \startnarrower[left, right] \definehspace[oneem

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
] [renderingsetup=list:toclist] \setupheadtext[section=Table of Contents] \startsetups toclist \framed[align=normal, frame=off]{\placelist [section] [criterium=all, alternative=toclist]} \stopsetups \definehspace[tspace][4cm] \setupframed[ height=fit, width=fit, location=middle, frame

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
margin=\dimexpr0cm, leftmargindistance=\dimexpr0cm, rightmargindistance=\dimexpr0cm, width=middle, cutspace=\dimexpr1.5cm, backspace=\dimexpr1.5cm, topspace=\dimexpr1.5cm, header=\dimexpr4cm, height=middle, bottomspace=\dimexpr0cm, footer=\dimexpr0.5cm] \setupheadertexts[\directsetup{fheader}] \de

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
, header=\dimexpr4cm, height=middle, bottomspace=\dimexpr0cm, footer=\dimexpr0.5cm] \setupheadertexts[\setups{headertext}] \definehspace[tnumber][0.5em] \startsetups [headertable] \setupTABLE[frame=off] \setupTABLE[column][1][align=flushleft] \setupTABLE[column][2][align=flushright] \stopsetups

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
also have (e.g. for the Preface, but I have others for Foreword, etc.): \setuplist   [preface]   [label=preface,    alternative=command,    command=\ChapterListCommand] (2) SECTIONTOCENTRY  \definehspace[twoem][2.5 em]    \define[1]\SectionTocEntry{%   #1\hspace[twoem]% title

Re: [NTG-context] \startnarrower

2018-12-20 Thread Wolfgang Schuster
[no] This is a text meant to make a long paragraph such that it stretches over more than one line when typeset for example on an A4 page in order to demonstrate the behaviour of definedelimitedtext. \par \stopdelimitedtext \stoptext \definehspace [outdent] [-2em] \definedelimitedtext [narrowtext

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
guages, and only "packed" or "broad". In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobb

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Aditya Mahajan
or "broad". In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobbleoneargument,

[NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Henning Hraban Ramm
Hi again, since my bibliographic setup works well, thanks again, I’d like to tighten it a bit, i.e. reduce spacing under defined circumstances. In the docs and sources I found only how to affect spacing of languages, and only "packed" or "broad". In lang-spa.mkiv I

Re: [NTG-context] Bussproofs or derivation trees

2014-09-05 Thread Trond Thorbjørnsen
{\mframed[frame=off, topframe=on, bottomframe=on, frameoffset=\dimexpr.254\baselineskip\relax, height=\lineheight ]} \def\borderdttop{\mframed[frame=off, bottomframe=on, frameoffset=\dimexpr.254\baselineskip\relax, height=\lineheight ]} \definehspace[spacedt] [2

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

2013-03-19 Thread Wolfgang Schuster
of a paragraph but when you force horizontal mode with \dontleavehmode it works. \dontleavehmode\hskipdimension … 1.b: ConTeXt provides the \hspace command which can be used instead of \hskip. \definehspace[myspace][3em] \starttext \dontleavehmode\hspace[myspace] … \stoptext 2

[NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist [section] [numbercommand={\secnum}] \starttext \completecontent[alternative=c

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Wolfgang Schuster
and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1

Re: [NTG-context] making horizontal space in luacode.

2012-10-22 Thread Hans Hagen
to make some horizontal space in luacode? \hspace does not accept dimensions. The syntax for hspace is \definehspace[whatever][3em] \hspace[whatever]. So, you need: \definehspace[skip][3em] \starttext \startluacode context(Some text) context.hspace{skip} context(More text) \stopluacode

Re: [NTG-context] making horizontal space in luacode.

2012-10-22 Thread Jeong Dal
Dear Aditya, Hans Both solutions work well. It is really efficient to write matrix in ConTeXt + lua. I am enjoying the benefit of lua in ConTeXt. Thank you. Best regards, Dalyoung \definehspace[skip][3em] \starttext \startluacode context(Some text) context.hspace{skip} context

Re: [NTG-context] making horizontal space in luacode.

2012-10-21 Thread Aditya Mahajan
? \hspace does not accept dimensions. The syntax for hspace is \definehspace[whatever][3em] \hspace[whatever]. So, you need: \definehspace[skip][3em] \starttext \startluacode context(Some text) context.hspace{skip} context(More text) \stopluacode \stoptext Aditya

Re: [NTG-context] Unexpected indentation

2011-02-21 Thread Wolfgang Schuster
\leftskip and \rightskip which affects all lines. \hskip 2cm 9/99 Addr Line 1 Street\hfil\break \hskip 2cm Addr Line 2\hfil\break \hskip 2cm City\hfil\break \definehspace[address][2cm] \starttext \startpacked \hspace[address]...\par \hspace[address]...\par \stoppacked \stoptext Wolfgang

[NTG-context] bug in mkiv with and underlined space

2010-05-24 Thread Martin 'golodhrim' Scholz
Hi List, Hi Hans I think I figured out an bug in MKIV, the following minimal example works in mkii but not in mkiv \definehspace[myspace][8em] \starttext Test if you can place a space \underbar{\hspace[myspace]} right here. \stoptext the wished and delivered result in mkii is a line

Re: [NTG-context] bug in mkiv with and underlined space

2010-05-24 Thread Hans Hagen
On 24-5-2010 9:24, Martin 'golodhrim' Scholz wrote: \definehspace[myspace][8em] \starttext Test if you can place a space \underbar{\hspace[myspace]} right here. \stoptext a different method is used, for the moment use \underbar{\char0\hspace[myspace]\char0} maye some day i'll make

Re: [NTG-context] \hspace variations

2008-12-14 Thread Peter Rolf
*big] does not I want to get space twice as big, but how? \definehspace[2*big] [2\emspaceamount] % [1] name [2] dimension \starttext A big big \hspace[2*big] space. \stoptext In this case '2*big' is the name of that skip, not the dimension value. See core-spa.tex for definitions of \hspace

Re: [NTG-context] French punctuation : tests

2008-09-26 Thread Olivier Guéry
) I get an endash (–) and not the normal sign (-). Test 5 * There should't be space between two sign. Test 2 * The space before the footnote sign is too big (it's clearer with othe fonts). Test 4 Point 3: \definehspace[fr][quote][\zeropoint] \installlanguage [fr] [leftquote

Re: [NTG-context] French punctuation : tests

2008-09-26 Thread Olivier Guéry
Ok, aftre some test… It seem's that it's linked to the fonts… damn ! The value in « \definehspace[fr][footnote][-.2667\emspaceamount] » need to be negative, as I set it (work with my fontin_sans font, too big for lmodern font). Then I found two problems : — the space after is way too big :o

Re: [NTG-context] French punctuation : tests

2008-09-25 Thread Wolfgang Schuster
* There should't be space between two sign. Test 2 * The space before the footnote sign is too big (it's clearer with othe fonts). Test 4 Point 3: \definehspace[fr][quote][\zeropoint] \installlanguage [fr] [leftquote=\upperleftdoublesixquote, rightquote=\upperrightdoubleninequote

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
][plural] \definefont[name][file] # \definefontsynonym \defineframed[name][settings] # \defineframedcontent \defineframedtext[name][settings] \definehead[name][section] # \definehspace \defineindenting[name][settings] \defineinteractionmenu[position|names][options and settings] \defineinteractionmenu

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Vyatcheslav Yatskovsky
Hello, Please, don't take me as too much exacting man, but Mojca's (partial) solution \def\hotkey#1{\inframed[corner=00]{\ #1\ }} is more suitable for me than the Wolfgangs's (complete) one: \defineframed [dohotkey] [strut=yes,corner=00,frameoffset=-0.2em,location=low] \definehspace[hotkey

[NTG-context] Grid-keeping list (again)

2007-04-12 Thread Johannes Kuester
\docommand##1% {\getparameters[\ze##1][#2]} \processcommalist[#1]\docommand} \def\zeichenparameter#1% {\csname \ifcsname\ze\number\zeichencolumn#1\endcsname \ze\number\zeichencolumn \else \ze\v!line \fi #1\endcsname} \definehspace[myindent

Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-02 Thread Wolfgang Schuster
\comm {\groupedcommand{\hspace[medium]\tt}{\hspace[medium]}} To get more control over the spacing define your own \hspace: \definehspace[commspace][medium] \def\comm {\groupedcommand{\hspace[commspace]\tt}{\hspace[commspace]}} Wolfgang (I had another version \def\comm#1{\hspace[medium]{\tt

Re: [NTG-context] A few questions (mostly about fonts)

2006-08-21 Thread Jeff Smith
Hi, On 8/18/06, Hans Hagen [EMAIL PROTECTED] wrote: grep the base path for \definehspace and search for line with fr in the tag and you'll see how things can be influences Hans, the answer was in lang-spa.tex! I then regenerated the format and it works absolutely perfectly, my single quotes

Re: [NTG-context] A few questions (mostly about fonts)

2006-08-21 Thread Aditya Mahajan
On Mon, 21 Aug 2006, Jeff Smith wrote: Hi, On 8/18/06, Hans Hagen [EMAIL PROTECTED] wrote: grep the base path for \definehspace and search for line with fr in the tag and you'll see how things can be influences Hans, the answer was in lang-spa.tex! I then regenerated the format

Re: [NTG-context] A few questions (mostly about fonts)

2006-08-18 Thread Hans Hagen
norms across languages can vary a lot, I'm afraid. grep the base path for \definehspace and search for line with fr in the tag and you'll see how things can be influences Hans - Hans Hagen

Re: [NTG-context] horizontal space

2006-06-12 Thread Hans Hagen
to have something like \hspace*{0.125em} in ConTeXt. Is there something like it or a way to make it work or to define it on my own? \definehspace[notthatbig][.123456em] \definehspace[ratherbig] [12.3456em] test \hspace[notthatbig] test \hspace[ratherbig] test so, it's a symbolic definition

Re: [NTG-context] Fixed spaces overfullrule

2005-03-02 Thread Hans Hagen
to define any kind of fraction of an em. predefined: \definehspace [\v!small] [.25\emspaceamount] \definehspace [\v!medium] [.5\emspaceamount] \definehspace [\v!big] [1\emspaceamount] \definehspace [\v!normal] [1\spaceamount] \definehspace [\v!default] [\spaceamount] to be used as: test \hspace

Re: [NTG-context] High level user macro (howto?)

2004-08-10 Thread Peter Mnster
Pardon, I forgot the whole tex-file: \useregime[il1] \enableregime[il1] \useencoding[ffr] \definehspace[fr][:][.16667em] \definehspace[fr][;][.16667em] \definehspace[fr][!][.16667em] \definehspace[fr][?][.16667em] \mainlanguage[fr] \newdimen\BigWidth \BigWidth=18cm \setupscreens[screen=0.85

Re: [NTG-context] French, ? : ; !, and spacing, \setuppapersize problem

2004-05-14 Thread Hans Hagen
help please? (ConTeXt version is 2004.3.16) Cheers, Peter deeply burried functionality: \definehspace[fr][:][.25em] \definehspace[fr][;][.25em] \definehspace[fr][!][.25em] \definehspace[fr][?][.25em] \useencoding[ffr] \starttext \fr test: test \stoptext Hans