[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
[poem][n=2,width=5cm] \setupparagraphs[poem][each][width=5cm,distance=0pt] \startpoem \startlines One one ons ksl One wer s dft tgf \stoplines \nextpoem \startlines two gfjgfd oski kwo two gfkdsjg dfs we \stoplines \stoppoem \stoptext end example Wolfgang

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
, 2016 — La reproduction de ce texte est soumise à autorisation.] \defineparagraphs[TwoColumns][n=2, align={hz, hanging}] \setupparagraphs[TwoColumns][1][width=210pt, style=rm, align=left] \starttext \title{\ConTeXt, ou comment imprimer des langues non-romanes} \section {\sc Préambule} L

[NTG-context] side-by-side paragraphs broken?

2023-08-13 Thread Thomas A. Schmitz
\defineparagraphs[Half] [n=2] \setupparagraphs [Half] [before=,after=,distance=3em,align={normal,hanging},tolerance={stretch,verytolerant}] \setupparagraphs [Half] [1] [width=0.43\textwidth,tolerance={stretch,verytolerant}] \setupparagraphs [Half

[NTG-context] Parallel columns using start/stop setups

2023-08-08 Thread Thangalin
and what would be the best approach? Would this setupparagraphs, definecolumnset, synchronizestreams, or possibly incomplete/experimental functionality? Thank you! ___ If your question is of interest to others as wel

[NTG-context] Re: new upload

2023-07-10 Thread Hans Hagen
On 7/10/2023 5:51 PM, Rik Kabel wrote: The following code now fails. It works as expected under 2023.05.05 as found in the texlive.net runner.    \defineparagraphs[TwoCols][n=2]    \setupparagraphs[TwoCols][2][\width=.5\textwidth]    \starttext    \input knuth \par    \startTwoCols

[NTG-context] Re: new upload

2023-07-10 Thread Rik Kabel
The following code now fails. It works as expected under 2023.05.05 as found in the texlive.net runner. \defineparagraphs[TwoCols][n=2] \setupparagraphs[TwoCols][2][\width=.5\textwidth] \starttext \input knuth \par \startTwoCols \input knuth \par \nextTwoCols \input

[NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Berend de Boer via ntg-context
,distance=\0.06\textwidth] \setupparagraphs[bilingual][1][width=0.47\textwidth] \setupparagraphs[bilingual][2][width=0.47\textwidth] \starttext \input tufte \startbilingual \input tufte \nextbilingual \input knuth \stopbilingual \stoptext ==

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread jbf via ntg-context
it should work. Massi Il 24/02/23 06:41, jbf via ntg-context ha scritto: I have the following setup for side-by-side paras. \defineparagraphs[Two][n=2] \setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant] \setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread mf via ntg-context
] \setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant] \setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant] My difficulty is that while there is only ever just a couple of numbers in the left-hand 'column', the right-hand 'column' may h

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread Denis Maier via ntg-context
Betreff: [NTG-context] \setupparagraphs - can they run over two pages? I have the following setup for side-by-side paras. \defineparagraphs[Two][n=2] \setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant] \setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant] My

[NTG-context] \setupparagraphs - can they run over two pages?

2023-02-23 Thread jbf via ntg-context
I have the following setup for side-by-side paras. \defineparagraphs[Two][n=2] \setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant] \setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant] My difficulty is that while there is only ever just a couple of

Re: [NTG-context] footnotes by paragraph?

2023-01-28 Thread Bruce Horrocks via ntg-context
On 28 Jan 2023, at 02:14, jbf via ntg-context wrote: > > Here's a tricky one (for me) that I haven't been able to work out. I am > dealing with a set of constitutions that I am organizing with a paragraph > definition > \defineparagraphs[Two][n=2] > \setupparagraph

[NTG-context] footnotes by paragraph?

2023-01-27 Thread jbf via ntg-context
Here's a tricky one (for me) that I haven't been able to work out. I am dealing with a set of constitutions that I am organizing with a paragraph definition \defineparagraphs[Two][n=2] \setupparagraphs[Two][1][width=.2\textwidth,style=\bfx,after={\blank},align=flushleft] \setuppara

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
ith one longer stanza \stoplines \stopbuffer \startbuffer[lines2] \startlines[inbetween={\blank}] this is a poem with some stanzas here is another one and another one \stoplines \stopbuffer \starttext Just the buffers. One: \getbuffer[lines1] Two: \getbuffer[lines2] Via paragraphs

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
; \startlines > Starlight, star bright, > first star I see tonight; > \stoplines > \column > \startlines > I wish I may, I wish I might > have the wish I wish tonight. > \stoplines > \stopcolumnset > > > \defineparagraphs[Zwei][n=2] > \setupparagraphs[Zwei][1

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
about columnsets or paragraphs? \definecolumnset[Zwei][n=2] \startcolumnset[Zwei] \startlines Starlight, star bright, first star I see tonight; \stoplines \column \startlines I wish I may, I wish I might have the wish I wish tonight. \stoplines \stopcolumnset \defineparagraphs[Zwei][n=2] \setupparagraphs[Z

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Henning Hraban Ramm via ntg-context
tonight. \stoplines \stopcolumnset \defineparagraphs[Zwei][n=2] \setupparagraphs[Zwei][1][ width=.45\textwidth, distance=2em, align={verytolerant,stretch}] % width of 2nd column is calculated automatically \startZwei ... \nextZwei ... \stopZwei Hraban

[NTG-context] align=nothyphenated in \defineparagraphs

2022-07-30 Thread Marcin Ciura via ntg-context
://wiki.contextgarden.net/Command/setupparagraphs Best regards, Marcin Ciura \mainlanguage[pl] \defineparagraphs[proposition][n=2,align=nothyphenated] \setupparagraphs[proposition][1][width=0.56\textwidth] \setupparagraphs[proposition][2][width=0.41\textwidth] \starttext \startproposition Jeśli w trójkącie $ABC

Re: [NTG-context] aligning Malayalam horizontally across column

2021-12-31 Thread kauśika via ntg-context
not clear enough for me to address b). I think I understand what problem you have described in a). If you want to explicitly typeset paragraphs into a columnar format, use 'paragraphs': \defineparagraphs[mypar][n=5] \setupparagraphs[mypar][1][width=…] \setupparagraphs[mypar][2][width

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
el}\to\TOCNumberLabelWidth \setwidthof\TOCLabel{TOCPageLabel}\to\TOCPageLabelWidth and define a 'paragraphs' block with 3 columns with a separation of 1em between each column \defineparagraphs [TOCpar] [n=3] \setupparagraphs [TOCpar] [each] [distance=1em]

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
accomplish this using the following… \defineparagraphs[BilingualTitle][n=3,before={\blank[2*line]},after=,] \setupparagraphs[BilingualTitle][1][width=.4\textwidth] \setupparagraphs[BilingualTitle][2][width=.12\textwidth] \setupparagraphs[BilingualTitle][3][width=.4\textwidth] \define[2]\BilingualChapter {

Re: [NTG-context] text alignment issue

2020-12-30 Thread Alan Bowen
Fixed in today’s standalone. Many thanks—and best wishes for 2021!! Alan On Wed, Dec 30, 2020 at 10:51 AM Alan Bowen wrote: > In the last few versions of luametatex standalone, paragraphs that were > once justified now appear ragged right. My insertions of > \setupparagraphs[align=wi

[NTG-context] text alignment issue

2020-12-30 Thread Alan Bowen
In the last few versions of luametatex standalone, paragraphs that were once justified now appear ragged right. My insertions of \setupparagraphs[align=wide/normal/yes] and \setupalign[wide/normal/yes] have had no effect. Is there some new coding that is needed to get justified text? Alan

Re: [NTG-context] lmtx update

2020-09-17 Thread Eduardo Bohoyo
document, right? By the way, and just out of curiosity, how does the recommended provisional command work? Would it be something like this in the preamble?: \definingparagraphs firstparagraph][n=1] \setupparagraphs [firstparagraph][1][align={hanging}] And then this arrangement in t

Re: [NTG-context] lmtx update

2020-09-16 Thread Wolfgang Schuster
and work? Would it be something like this in the preamble?: \definingparagraphs     firstparagraph][n=1]     \setupparagraphs [firstparagraph][1][align={hanging}] And then this arrangement in the \input files?: \startfirstparagraph \lettrine{B}{lah} blah, blah, blah... \stopfirstparagraph

[NTG-context] lmtx update

2020-09-16 Thread ebohoyod
in the preamble?: \definingparagraphs     firstparagraph][n=1]     \setupparagraphs [firstparagraph][1][align={hanging}] And then this arrangement in the \input files?: \startfirstparagraph \lettrine{B}{lah} blah, blah, blah... \stopfirstparagraph \blank [overlay] \strut I know it's a dirty

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
al] [step=2,location=text,align=flushright,distance=0.4cm,style=small,color=magenta] \defineparagraphs [Half] [n=2] \setupparagraphs [Half] [before=,after=,align=verytolerant] \setupparagraphs [Half] [1] [width=0.45\textwidth] \starttext \startlinenumbering

[NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Benjamin Buchmuller
[rulethickness=...] \setupparagraphs[rulethickness=...] \setupsidebar[rulethickness=...] \setuptables[rulethickness=...] \setuptabulation[rulethickness=...] \setuptextbackground[rulethickness=...] \setuptextrules[rulethickness=...] \setupthinrules[rulethickness=...] \setupxtable[rulethickness=...] (And for

[NTG-context] how to do adaptation

2019-10-14 Thread Susanne G. Loeber
there are more ways to create adaptation. I would also like to know whether certain combination don't work together. For example, I cannot seem to get \doifmodeelse to work inside a \defineparagraphs environment. \defineparagraphs[BLpar][n=2, frame=on] \setupparagraphs [BLpar][1][width=\dime

Re: [NTG-context] Nested Column Layout

2019-08-06 Thread Oliver von Criegern
ly what I would like to achieve. Here's what I've tried: ``` \defineparagraphs[TwoThirds][n=2] \setupparagraphs[TwoThirds][1][width=0.33\textwidth] \starttext \startTwoThirds \input tufte \nextTwoThirds \input tufte \startcolumns[n=3] \input tufte \stopcolumns \stopTwoThirds

[NTG-context] Nested Column Layout

2019-08-05 Thread Walter Mays
what I've tried: ``` \defineparagraphs[TwoThirds][n=2] \setupparagraphs[TwoThirds][1][width=0.33\textwidth] \starttext \startTwoThirds \input tufte \nextTwoThirds \input tufte \startcolumns[n=3] \input tufte \stopcolumns \stopTwoThirds \stoptext ``` Instead of doing what I described, it made the co

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-19 Thread Luca Donetti
equal to the grid spacing. > > > > Is there a way to force the interline spacing inside the \framed > > block? I'm sorry if this is a simple question, but I'm quite new to > > context. > > The interlinespace is correct but the paragraphs environment is too high, &g

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-07 Thread Wolfgang Schuster
s too high, location=bottom puts the text on the baseline but it adds an extra blank line at the begin of the environment. A simple fix to get rid of the extra line is to set the width of the frame border to 0pt which doesn’t matter when the rules are disabled. \setuplayout[grid=yes] \definep

Re: [NTG-context] Problem with grid alignment and paragraph

2019-01-07 Thread Luca Donetti
between lines is not always equal to the grid spacing. Is there a way to force the interline spacing inside the \framed block? I'm sorry if this is a simple question, but I'm quite new to context. This is the new example: \setuplayout[grid=yes] \defin

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-18 Thread Tomas Hala
/tex/context/interface/mkiv/i-context.pdf is # really your friend here. # # > The proper solution for my problem is this: # > # > \setupparagraphs[align={hz, hanging}] # # I only wanted to test whether microtypography was working. I can detect # a text with hanging punctuation, but I’m not a

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-03-21 Thread Pablo Rodriguez
our friend here. > The proper solution for my problem is this: > > \setupparagraphs[align={hz, hanging}] I only wanted to test whether microtypography was working. I can detect a text with hanging punctuation, but I’m not able to detect whether the text has the hz algorithm or not ;-). >

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-03-20 Thread Tomas Hala
Hi Pablo, thank you very much, you are right. The align={hz, hanging} is not documented on the wiki, so I did not think about it. The proper solution for my problem is this: \setupparagraphs[align={hz, hanging}] which sets all columns for all kinds of paragraphs defined by \defineparagraphs

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-03-20 Thread Pablo Rodriguez
that attributes inner= > and command= works only for > the first paragraph (column). Hi Tomáš, \setupparagraphs has an align key. This command works with your sample: \setupparagraphs[somepars][2][align={hz, hanging}] I hope it helps, Pa

[NTG-context] Question about paragraphs and hanging punctuation

2018-03-20 Thread Tomas Hala
, Tomáš -- Minimal example: \definefontfeature[default][default][protrusion=quality,expansion=quality] \starttext\mainlanguage[cz] \defineparagraphs[pokus][n=2] \setupparagraphs[pokus][1][width=10cc] %\setupparagraphs[pokus][1][width=10cc,inner={\setupalign[hz,hanging]}] % command

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-23 Thread Thomas Floeren
; \defineparagraphs [TestPar][n=2, distance=7mm] > \setupparagraphs [TestPar][1][width=2em] > > \definetextbackground [CB][ > location=paragraph, > backgroundcolor=gray, > leftoffset=.3em, > rightoffset=.3em, > topoffset=.3em, > bottomoffset=.3em, > frame=off > ] >

[NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Thomas Floeren
Hi, I noticed that with one of the recent betas the right offset of my textbackgrounds doesn’t work properly anymore when the textbackground contains a multi-column “paragraph”. A minimal: \defineparagraphs [TestPar][n=2, distance=7mm] \setupparagraphs [TestPar][1][width=2em

[NTG-context] Problem using nested \processcommalist and \startparagraphs columns

2017-10-25 Thread Rik Kabel
tic" and run it without that mode and it completes, although without the columns.     % macros=mkvi     \defineparagraphs  [Col] [n=3]     \setupparagraphs   [Col] [1] [width=.31\textwidth]     \setupparagraphs   [Col] [2] [width=.31\textwidth]     \setupparagraphs   [Col] [3]

Re: [NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Otared Kavian
> leftmargin=1em, > rightmargin=1em, > ] > > % Tables > \setuptables[rulethickness=0.06em] > > \setupinteraction[state=start, % make hyperlinks active, etc. > style=\tf, > color=colortwo, > title={What Do You Mean, “Null”?}, > author={Nicola Vitacolonna}, >

[NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Nicola
\defineparagraphs[twocol][n=2] \setupparagraphs[twocol][1][width=.7\textwidth] \starttext \switchtobodyfont[17.3pt] \startslide[title={Which Nulls?}][align=top] All of the above may be abstracted into three categories: \startitemize[packed] \item Exists, but unknown ({\bf missing

Re: [NTG-context] Wrtiting in two languages

2016-11-18 Thread Jean-Pierre Delange
ere you set 2 columns and thei alignment. You can play with points (pt). Here the Column 1 is in 250pt, regular et and left aligned. \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=250pt, style=regular, align=right] \starttext \dorecurse{10}{I. Qua v

Re: [NTG-context] Wrtiting in two languages

2016-11-15 Thread Peter Münster
On Tue, Nov 15 2016, Jean-Pierre Delange wrote: > The best way is to use the TwoColumns command When the text spans several pages, there is a problem: \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=250pt, style=italic, align=left] \starttext \startTwoColu

Re: [NTG-context] Wrtiting in two languages

2016-11-15 Thread Jean-Pierre Delange
ct] % Here you set 2 columns and their alignment. You can play with points (pt). Here the Column 1 is in 250pt, italics et and left aligned. \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=250pt, style=italic, align=left] \starttext \startTwoColumns Ὅτι

Re: [NTG-context] annotated text: main text in narrower text, annotations on the right

2016-10-02 Thread MF
text. It's somewhat tricky, because I need to leave the second paragraph empty. Is there a way to obtain that effect without setupparagraphs? Anyway it works as I wanted, so now I have a solution. Thank you very much! Best regards, Massi %% begin example \setuplayout[rightmargin=7cm] \defi

Re: [NTG-context] annotated text: main text in narrower text, annotations on the right

2016-09-30 Thread Jean-Pierre Delange
Hi Massi, Why don't you try this kind of parallel paragraphs ? % \setuppapersize[A5] \defineparagraphs[TwoThird][n=2] % The second paragraph width is automatically calculated, if not specified. \setupparagraphs[TwoThird][1][width=.66\textwidth] \starttext \startTwoThird quotation{..

Re: [NTG-context] annotated text: main text in narrower text, annotations on the right

2016-09-30 Thread Wolfgang Schuster
ght=\rightmarginwidth, default=-right] \defineparagraphs[Sidenotes] \setupparagraphs [Sidenotes] [n=2,before={\startnarrow[SidenotesMargin]},after=\stopnarrow] \setupparagraphs [Sidenotes:1][width=.6\localhsize,distance=.1\localhsize] \setupparagraphs [Sidenotes:2][width=.3\localhsize] \st

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-13 Thread Jean-Pierre Delange
t fine), but there is no "setups" key for \setupparagraphs (or it doesn’t work). Let us know whether you find more issues. You can apply setups with the inner key: \defineparagraphs[TwoColumns][n=2,align=verytolerant] \startsetups[TwoColumns] \setupinterlinespace[line=

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-13 Thread Jean-Pierre Delange
tate=start] is to be added here (see http://wiki.contextgarden.net/Layers#State). Right after your closing bracket. And here you have a shorter sample: \mainlanguage[fr] \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=200pt] \setuppara

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 12. August 2016 um 17:21 Interline spacing is set in an unorthodox way (to put it fine), but there is no "setups" key for \setupparagraphs (or it doesn’t work). Let us know whether you find more issues. You can apply setups wi

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Pablo Rodriguez
is to be added here (see http://wiki.contextgarden.net/Layers#State). Right after your closing bracket. And here you have a shorter sample: \mainlanguage[fr] \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=200pt] \setupparagraphs[TwoColum

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Jean-Pierre Delange
L[#1][mailto:#1][][#1]\from[{#1}]} \def\MailTo#1#2{\useURL[#1][mailto:#1][][#2]\from[{#1}]} % Style \setupurl [color=none, style=normal] % Setup two columns \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=200pt] % Setup stretching tolerance..

Re: [NTG-context] Unequal width columns

2016-08-09 Thread Kip Warner
On Tue, 2016-08-09 at 15:21 +0200, Jean-Pierre Delange wrote: > Hi Kip, > > > Maybe you can try this : > > \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] > \setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left] > % Note : you can play with th

Re: [NTG-context] Unequal width columns

2016-08-09 Thread Jean-Pierre Delange
Hi Kip, Maybe you can try this : \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left] % Note : you can play with the width. \starttext \startTwoColumns Yourtext1\TwoColumns Yourtext2 \stopTwoColumns \stoptext If you read

[NTG-context] \defineparagraphs

2016-07-08 Thread kitz
attached. Thanks! John \defineparagraphs[Mypar][n=2] \setupparagraphs[Mypar][1][width=0.5\textwidth] % label subquestions (a, b, c, etc) with answerblanks \defineconversionset[myitemize][n,a][n] % define the answerblank in right margin \define\ansblank {\inright{\simplealignedbox{2em

Re: [NTG-context] Orphans and widows for specific paragraph groups

2016-06-17 Thread Pavneet Arora
9pt] % Set up default paragraph indenting and spacing. \setupindenting[yes, medium, next] \setupwhitespace[small] % Set up paragraph environment for subject header. \defineparagraphs [subjectpar][ n=2, before={\blank[2*big]}] \setupparagraphs [subjectpar]

[NTG-context] Orphans and widows for specific paragraph groups

2016-06-09 Thread Pavneet Arora
aragraph indenting and spacing. \setupindenting[yes, medium, next] \setupwhitespace[small] % Set up paragraph environment for subject header. \defineparagraphs [subjectpar][ n=2, before={\blank[2*big]}] \setupparagraphs [subjectpar] [1] [width=.3\

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Jean-Pierre Delange
olerance[strict] \defineparagraphs[TwoColumns][n=2, align={hz, hanging}] \setupparagraphs[TwoColumns][1][width=200pt, style=regular, align=left] \setuplinenumbering[step=5] \setupbodyfont[palatino, 7.8pt] \starttext \start\fr % some text in French Définir un apparat critique et le mettre

[NTG-context] Vertical align in side by side paragraphs

2016-05-06 Thread Tom Harrop
, 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

[NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-02 Thread Antoine Cailliau
e[lnum][default][lnum=yes] \definefontfamily [myfamily] [serif] [MinionPro] \definefontfamily [myfamily] [sans] [MyriadPro] \setupbodyfont [myfamily] \define[1]\sup{\feature[+][f:superscript]#1} \defineparagraphs[TwoColumns][n=2, align={hz, hanging}] \setupparagraphs[TwoColumns][1][width=100p

Re: [NTG-context] issues with typeface selection

2015-08-07 Thread Pablo Rodriguez
d][1][style=\newtimes] > \defineparagraphs[timesdroid][2][style=\droidserif] Partially replying to myself. After defining a paragraphs environment, I have to set them up, not to define them again. So the code above should read: \defineparagraphs[timesdroid][each][n=2, before=\blank] \setup

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
k line). My guess, untested, would be \setupparagraph[after=\thinrule] The paragraph environment has no before/after keys Then the wiki is mistaken: http://wiki.contextgarden.net/Command/setupparagraphs The page describes the paragraph*s* environment which isn’t related to \startparagraph.

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
nrule] The paragraph environment has no before/after keys Then the wiki is mistaken: http://wiki.contextgarden.net/Command/setupparagraphs The page describes the paragraph*s* environment which isn’t related to \startparagraph

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
http://wiki.contextgarden.net/Command/setupparagraphs and even if it would the after key would be normally applied after the paragraph has needed. That was my guess as to why it didn't work. Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collin

[NTG-context] Changing font for math function

2015-05-13 Thread Maggyero
\ifsecondargument \definemathcommand[#1]{\mfunction[#2]{#3}} \else \definemathcommand[#1]{\mfunction{#3}} \fi} \setupmathlabeltext[arsinh=Arsinh] \definemathfunction[arsinh]{\mathlabeltext{arsinh}} \starttext \startbuffer $\arsinh x\ \text{and}\ n_{\mtext{air}}$ \stopbuf

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Hans Hagen
% {\text{\usemathematicsstyleandcolor\c!textstyle\c!textcolor#1}} which can be used as: $x^{\mtext{effe}}$ and obeys \setupmathematics[textstyle=bold,textcolor=darkgreen] \definemathcommand[arsinh][op]{\mathlabel{arsinh}} \startbuffer $\arsinh x\ \text{and}\ n_{\mathlabel{red}}$

[NTG-context] Changing font for math function

2015-05-12 Thread Maggyero
y\dofunction} \def\dofunction[#1]#2{% \iffirstargument \doifelse{#1}{limop}{\mathlimop{\mathlabel{#2}}}{\mathop{\mathlabel{#2}}} \else \mathop{\mathlabel{#2}} \fi} \definemathcommand[arsinh][op]{\mathlabel{arsinh}} \startbuffer $\arsinh x\ \text{and}\ n_{\mathlabel{red

[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice Couvreur
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle
={\setupbodyfont[6pt]}, after={\setupbodyfont[9pt]}] \usetypescript[palatino] \setupbodyfont[palatino,9pt] \setupfootnotes[way=bysection, numberconversion=romannumerals] \defineparagraphs [mypar][n=3,before={\blank},after={\blank}] \setupparagraphs [mypar][1][width=.3\textwidth,style=bold

[NTG-context] columns vs. paragraphs, and a question about fillinrule

2013-09-12 Thread Pavneet Arora
] {\tfc AN IMPORTANT LEGAL DOCUMENT} \stopalignment \blank[2*big] \dorecurse{1}{\input lorem\par} \blank[2*big] {\tt paragraphs} method: \defineparagraphs[mypar][n=3,before={\blank},after={\blank}] \setupparagraphs[mypar][1][width=.5\textwidth] \setupparagraphs[mypar][2][width=.1\textwidth] \setu

[NTG-context] suppress unwanted page breaks

2013-06-05 Thread Ingo Hohmann
Hi ConTextists, I have a few pages with questions and answers \setuptolerance[verytolerant] \defineparagraphs [mypar][n=3,before={\blank[back]}]%,after={\blank[disable]}] \setupparagraphs [mypar][1][width=.01\textwidth,style=bold] \setupparagraphs [mypar][2][width=.95\textwidth] \starttext

Re: [NTG-context] How to center with picture taken into consideration

2013-04-27 Thread Sietse Brouwer
s Lua-based, working out the conditional stuff you need will hopefully be trivial (for 'if you know Lua or have an hour to learn the basics' values of trivial). Cheers, Sietse % 2013-04-27 \useMPlibrary[dum] \showframe \defineparagraphs[persoon] \setupparagraphs[persoon][1] [width=\dim

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Wolfgang Schuster
tting needed, > by using defineparagraph and setupparagraphs, but then > have I have to use start/stop-myparagraph, etc. . > > Well, I wanted "format" my normal paragraphs. > Following, the standard way of doing things in ConTeX, as > with headers and wanted to use setup

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Alain Delmotte
nTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted "format" my normal paragraphs. Following,

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Alain Delmotte
eeded, by using defineparagraph and setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted "format" my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the nam

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Hans Hagen
setupparagraphs, but then have I have to use start/stop-myparagraph, etc. . Well, I wanted "format" my normal paragraphs. Following, the standard way of doing things in ConTeX, as with headers and wanted to use setupparagraphs. The problem want is the name of the standard(default) paragra

[NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-30 Thread Keith J. Schultz
Hi Everybody, Thank you for your help with the documentation. Inorder to teach myself ConTeXt I have to decided to write a learning by doing manual for ConTeXt. First off, I know I can get the formatting needed, by using defineparagraph and setupparagraphs, but then have I have to use start

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
the width of a paragraph on a page. I found >> \defineparagraphs and \setupparagraphs and it almost works. But for >> doublesided documents the text on verso pages is incorrectly aligned. I >> tried [location=inner], but the macros do not seem to be aware of that. I >> a

Re: [NTG-context] doublesided wider paragraphs

2012-05-22 Thread Wolfgang Schuster
Am 22.05.2012 um 18:11 schrieb Andy Thomas: > Hello, > > I am trying to change the width of a paragraph on a page. I found > \defineparagraphs and \setupparagraphs and it almost works. But for > doublesided documents the text on verso pages is incorrectly aligned. I tried &g

[NTG-context] doublesided wider paragraphs

2012-05-22 Thread Andy Thomas
Hello, I am trying to change the width of a paragraph on a page. I found \defineparagraphs and \setupparagraphs and it almost works. But for doublesided documents the text on verso pages is incorrectly aligned. I tried [location=inner], but the macros do not seem to be aware of that. I also

Re: [NTG-context] Indentation for beginner

2012-05-03 Thread hwitloc
to line up with the > > resume section description header's first or last line. > > \defineparagraphs [rpara] [n=2] > \setupparagraphs [rpara] [1] [width=3cm, style=\sc] > \setupitemize [5, packed] > > \starttext > > \startrpara >

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

2012-05-02 Thread Marco
temization to line up with the > resume section description header's first or last line. \defineparagraphs [rpara] [n=2] \setupparagraphs [rpara] [1] [width=3cm, style=\sc] \setupitemize [5, packed] \starttext \startrpara Education \nextrpara \startitemize

[NTG-context] Custom function

2011-06-07 Thread Alexandre Leray
Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt]}, %command=, ] \starttext \startinfos \

Re: [NTG-context] Custom function

2011-06-04 Thread Wolfgang Schuster
Am 03.06.2011 um 16:50 schrieb Stéphanie Vilayphiou: > Hello, > I'm rather new to ConTeXt and would like to simplify my document, in order to > simplify processing of documents. > > I have this: > > \defineparagraphs[infos][n=1] > \setupparagraphs[infos][1][ >

[NTG-context] Custom function

2011-06-03 Thread Stéphanie Vilayphiou
Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt]}, %command=, ] \starttext \startinfos \

Re: [NTG-context] poster in context

2010-09-30 Thread Alan BRASLAU
ecolumnsetspan[Normal][n=1] \definecolumnsetspan[Double][n=2] \definecolumnsetspan[Triple][n=3] \startcolumnset[Poster] \defineparagraphs[Half][n=2,before=,after=] \defineparagraphs[Third][n=3,before=,after=] \defineparagraphs[TwoThird][n=2,before=,after=] \setupparagraphs[TwoThird][1][width=.66\textwid

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
r, width=broad, frame=on, location=paragraph] \defineparagraphs [TwoThird][n=2] \setupparagraphs [TwoThird] [1] [width=.66\textwidth] \starttext \startTwoThird \startdefbackground The frame is too wide. The frame is too wide. The frame is too wide. \stopdefbackground % \nextTwoThird \p

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Aditya Mahajan
color=lightgray, background=color, width=broad, frame=on, location=paragraph] \defineparagraphs [TwoThird][n=2] \setupparagraphs [TwoThird] [1] [width=.66\textwidth] \starttext \startTwoThird \startdefbackground The frame is too wide. The frame is too wide. The frame is too

[NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
] \defineparagraphs [TwoThird][n=2] \setupparagraphs[TwoThird] [1] [width=.66\textwidth] \starttext \startTwoThird \starttextbackground

Re: [NTG-context] What do you miss in ConTeXt?:

2010-02-09 Thread Robert Blackstone
the Italian original slanted. So In the preamble I have \defineparagraphs[mypar] [n=2,distance=1em] \setupparagraphs[mypar][1][style=slanted] \setupparagraphs[mypar][2][style=normal] In the text: \startmypar Some text in language Italian, slanted. \mypar The text translated in English, regular. \s

[NTG-context] expansion problem with \getbuffer again (mkiv)

2009-09-28 Thread Peter Rolf
est wishes, Peter \starttext \startbuffer[FOO] %\startlocal \defineparagraphs[SomePar][n=2]%,rule=on]% %\setupparagraphs [SomePar][1][width=.5\hsize]% %\setupparagraphs [SomePar][2][width=.4\hsize]% %\CalloutFont\setupstrut\setupinterlinespace % right font must be set %\setupwhitespace[small]% \s

Re: [NTG-context] Changing margins mid-page?

2008-10-13 Thread Wolfgang Schuster
> information and name. Margins appear to apply to the whole document. > > > So I tried a hack using paragraphs in two columns. The left column is > the section heading and the right column is the information. > > Example: > > \defineparagraphs[TwoColumns][n=2] > \setuppara

[NTG-context] Changing margins mid-page?

2008-10-13 Thread Rory Molinari
nd name. Margins appear to apply to the whole document. So I tried a hack using paragraphs in two columns. The left column is the section heading and the right column is the information. Example: \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=1.5in] \startTwoColumns \

Re: [NTG-context] paragraphs in columns query

2008-08-27 Thread Alan Bowen
07;33,00 , Hans Hagen wrote: > Alan Bowen wrote: >> I have set two paragraphs side by side using >> >> \defineparagraphs[TwoColumns] >> [n=2,tolerance=verytolerant,before={\blank},after={\blank}] >> \setupparagraphs[TwoColumns][distance=1pc] >> >> One of th

Re: [NTG-context] paragraphs in columns query

2008-08-27 Thread Hans Hagen
Alan Bowen wrote: > I have set two paragraphs side by side using > > \defineparagraphs[TwoColumns] > [n=2,tolerance=verytolerant,before={\blank},after={\blank}] > \setupparagraphs[TwoColumns][distance=1pc] > > One of the columns is the length of the page. How do I preven

Re: [NTG-context] paragraphs in columns query

2008-08-27 Thread Wolfgang Schuster
On Tue, Aug 26, 2008 at 3:34 PM, Alan Bowen <[EMAIL PROTECTED]> wrote: > I have set two paragraphs side by side using > > \defineparagraphs[TwoColumns] > [n=2,tolerance=verytolerant,before={\blank},after={\blank}] > \setupparagraphs[TwoColumns][distance=1pc] > > One of t

[NTG-context] paragraphs in columns query

2008-08-26 Thread Alan Bowen
I have set two paragraphs side by side using \defineparagraphs[TwoColumns] [n=2,tolerance=verytolerant,before={\blank},after={\blank}] \setupparagraphs[TwoColumns][distance=1pc] One of the columns is the length of the page. How do I prevent the two columns from starting a new page? Right now

  1   2   >