[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
rent \stoptext % EOT The ward and knuth texts end up in the same column because one is shorter than the other. Here's another attempt: % SOT \defineparagraphs[concurrent][n=2] \definestartstop[timelinea][ before=\concurrent, after=\concurrent, ] \definestartstop[timelineb][ before=\concu

[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

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

2023-06-05 Thread Berend de Boer via ntg-context
Hi Wolfgang, \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|] One more on this actually: how can I influence the white space between the columns? I tried to set distance, but that didn't do anything. Setting p(4cm) or so, made the paragraphs

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

2023-06-05 Thread Berend de Boer via ntg-context
Hi Wolfgang, You can use the tabulate environment to create parallel paragraphs. Just one thing for others, this solution as the same problem as paragraphs: \placeinitial won't work. I.e. this: \setupinitial[text=#1]\placeinitial inside the tabulate or paragraphs doesn't work (but here

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

2023-06-05 Thread Berend de Boer via ntg-context
Hi Wolfgang, You can use the tabulate environment to create parallel paragraphs. Ah yes, that's working! Thank you so much! One question on the pA{normal,verytolerant,stretch}: what does that do exactly? From the manual I got that A only takes one key, what does specifying three keys

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

2023-06-04 Thread Wolfgang Schuster via ntg-context
Berend de Boer via ntg-context schrieb am 05.06.2023 um 00:02: Dear all, I've noticed that \defineparagraphs does not break across pages. That would be a huge page saver in my case. Do I have any options for page breaking across a set of parallel paragraphs? Initially I just had a \hbox{\vtop

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

2023-06-04 Thread Berend de Boer via ntg-context
Dear all, I've noticed that \defineparagraphs does not break across pages. That would be a huge page saver in my case. Do I have any options for page breaking across a set of parallel paragraphs? Initially I just had a \hbox{\vtop{#1}\hfil\vtop{#2}} but obviously that doesn't break, so went

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

2023-02-27 Thread jbf via ntg-context
), but 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
I would try \setuptabulate, \starttabulate ... \stoptabulate. It has some limitations (though Hans added some features recently), but 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

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

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] > \setupparagraphs[Two][1][

[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] \setupparagraphs[Two

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

2022-08-30 Thread Denis Maier via ntg-context
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 \defineparagra

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
umnsets 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[Zwei][1][

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

Re: [NTG-context] align=nothyphenated in \defineparagraphs

2022-07-30 Thread Henning Hraban Ramm via ntg-context
Am 30.07.22 um 16:36 schrieb Marcin Ciura via ntg-context: Dear list, I would like to typeset two columns with different widths and no hyphenation. The columns in the output PDF overlap: https://live.contextgarden.net/cgi-bin/result.cgi?id=JnPVEM How to make the columns non-overlapping? My

[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

[NTG-context] footnote width in specific paragraph instance

2022-02-19 Thread jbf via ntg-context
I need to typeset a document that contains many poetry/verse examples, and am using \defineparagraphs[mypar][n=2] for the purpose. In one specific case a footnote is required. All good except that the footnote is the width of one of those two 'columns', not the usual textarea width. Here

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

2021-12-31 Thread kauśika via ntg-context
t 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=…] \setupparag

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

2021-12-30 Thread kauśika via ntg-context
rLabel}\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] Set the

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] Can modes be used for content control?

2021-11-17 Thread Hans Hagen via ntg-context
- includes a) c) abridged content + translation d) unabridged content + translation [:] One can author and organize this in XML - pre-ConteXt - but perhaps one prefers to write in ConTeXt (take advantage of shortcuts etc.). So maybe \defineparagraphs[unabridged] \defineparagraphs[abridged

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Aditya Mahajan via ntg-context
> One can author and organize this in XML - pre-ConteXt - but perhaps one > > > prefers to write in ConTeXt (take advantage of shortcuts etc.). So maybe > > > > > > \defineparagraphs[unabridged] > > > \defineparagraphs[abridged] > > > \defineparagraphs[translation] > > &

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Hans Hagen via ntg-context
\defineparagraphs[unabridged] \defineparagraphs[abridged] \defineparagraphs[translation] Then one authors the complete work in a single project, but you can produce a variety of versions, depending on the mode chosen: \definemode[unabridged] etc. Can one do this in context? If so, does anyone have

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
- pre-ConteXt - but perhaps one prefers to write in ConTeXt (take advantage of shortcuts etc.). So maybe \defineparagraphs[unabridged] \defineparagraphs[abridged] \defineparagraphs[translation] Then one authors the complete work in a single project, but you can produce a variety of versions

Re: [NTG-context] Can modes be used for content control?

2021-11-16 Thread Aditya Mahajan via ntg-context
refers to write in ConTeXt (take advantage of shortcuts etc.). So maybe > > \defineparagraphs[unabridged] > \defineparagraphs[abridged] > \defineparagraphs[translation] > > Then one authors the complete work in a single project, but you can > produce a variety of versions, depending o

[NTG-context] Can modes be used for content control?

2021-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
content + translation d) unabridged content + translation [:] One can author and organize this in XML - pre-ConteXt - but perhaps one prefers to write in ConTeXt (take advantage of shortcuts etc.). So maybe \defineparagraphs[unabridged] \defineparagraphs[abridged] \defineparagraphs[translation

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
layout starts in the middle of pages. What I tried so far: 1. \defineparagraphs allows to have two paragraphs of unequal width, but the line numbering isn't visible: \setuppapersize[A4,landscape][A4,landscape] \setuplayout[grid=yes] \definelinenumbering [original] [step=2

Re: [NTG-context] how to do adaptation

2019-10-14 Thread Wolfgang Schuster
://wiki.contextgarden.net/Color) and \defineparagraphs (https://wiki.contextgarden.net/Command/defineparagraphs) I hope 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

[NTG-context] how to do adaptation

2019-10-14 Thread Susanne G. Loeber
will be shown. So far, I am trying to get a hang of \setupdocument (https://wiki.contextgarden.net/Project_structure), \startmode (https://wiki.contextgarden.net/Modes), \definecolor (https://wiki.contextgarden.net/Color) and \defineparagraphs (https://wiki.contextgarden.net/Command/defineparagraphs) I hope

[NTG-context] line numbering disappears in custom column layout

2019-08-31 Thread Damien Thiriet
Hi, Line numbering disappears when called inside custom columns defined with defineparagraph. This works fine \defineparagraphs[Colonne][n=2] \starttext \startlinenumbering \input knuth \stoplinenumbering \input knuth \stoptext Whereas this does not work as expected \defineparagraphs

Re: [NTG-context] Nested Column Layout

2019-08-06 Thread Oliver von Criegern
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 \stoptext ``` Instead

[NTG-context] Nested Column Layout

2019-08-06 Thread Walter Mays
: ``` \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 contents of that inner

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

2019-01-19 Thread Luca Donetti
t; > correctly aligned to the grid with the context version included in > > > texlive 2017, but it does not seem to work with the context in > > texlive > > > 2018 and the current beta (ConTeXt ver: 2018.12.07 19:37 MKIV beta > > >

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

2019-01-07 Thread Wolfgang Schuster
er: 2018.12.07 19:37 MKIV beta > fmt: 2018.12.14). > This is the MWE: > > \setuplayout[grid=yes] > \defineparagraphs[twocols][n=2] > \showgrid > > \starttext > \starttwocols > \input knuth > \nexttwocols >   \inp

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

2019-01-07 Thread Luca Donetti
2.14). > > This is the MWE: > > > > \setuplayout[grid=yes] > > \defineparagraphs[twocols][n=2] > > \showgrid > > > > \starttext > > \starttwocols > > \input knuth > > \nexttwocols > > \input knuth > > \stoptwocols > > \st

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

2019-01-06 Thread Wolfgang Schuster
not seem to work with the context in texlive 2018 and the current beta (ConTeXt  ver: 2018.12.07 19:37 MKIV beta  fmt: 2018.12.14). This is the MWE: \setuplayout[grid=yes] \defineparagraphs[twocols][n=2] \showgrid \starttext \starttwocols \input knuth \nexttwocols   \input knuth \stoptwocols \stoptext

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

2018-12-14 Thread Rik
to work with the context in texlive 2018 and the current beta (ConTeXt ver: 2018.12.07 19:37 MKIV beta  fmt: 2018.12.14). This is the MWE: \setuplayout[grid=yes] \defineparagraphs[twocols][n=2] \showgrid \starttext \starttwocols   \input knuth \nexttwocols   \input knuth \stoptwocols \stoptext

[NTG-context] Problem with grid alignment and paragraph

2018-12-14 Thread Luca Donetti
and the current beta (ConTeXt ver: 2018.12.07 19:37 MKIV beta fmt: 2018.12.14). This is the MWE: \setuplayout[grid=yes] \defineparagraphs[twocols][n=2] \showgrid \starttext \starttwocols \input knuth \nexttwocols \input knuth \stoptwocols \stoptext Am I doing anything wrong? If not, I'll

Re: [NTG-context] The best command for parallel texts

2018-07-03 Thread Idris Samawi Hamid ادريس سماوي حامد
rk, so for fun and for learning something new: == \setuppapersize[A4][A4] \defineparagraphs[TwoLang][n=2] \setuptabulate[split=yes] \setupalign[verytolerant,stretch] \starttext \showframe \startoutputstream[one] \setupalign[flushleft] \framedtext[width=17.4em,align=verytolerant,s

[NTG-context] The best command for parallel texts

2018-07-01 Thread Martin Hasoň
and set up? \setuppapersize[A6][A6] \defineparagraphs[TwoLang][n=2] \setuptabulate[split=yes] \setupalign[verytolerant,stretch] \starttext \startTwoLang \input lorem \nextTwoLang \input davis \stopTwoLang \starttabulate[|p|p|] \NC\input lorem \NC\input davis \NC\NR \stoptabulate \bTABLE[frame=off

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

2018-04-18 Thread Tomas Hala
ble to detect whether the # text has the hz algorithm or not ;-). # # > which sets all columns for all kinds of paragraphs defined by \defineparagraphs # > (for normal text is necessary to set it separately). # # Alignment for body text is specified with \setupalignment. Even # foo

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

2018-03-21 Thread Pablo Rodriguez
> which sets all columns for all kinds of paragraphs defined by > \defineparagraphs > (for normal text is necessary to set it separately). Alignment for body text is specified with \setupalignment. Even footnotes may have a different alignment. I hope it helps, Pablo > Tue, Ma

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

[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
> On 2. Nov 2017, at 15:17, Thomas Floeren <t...@mac.com> wrote: > > 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”. > >

[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
ematic" 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
> inbetween={\blank[big]}, > 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”?}, >

[NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Nicola
colonna}, keyword={null}] % \usebtxdataset[main.bib] % \usebtxdefinitions[apa] \setupcombinations[distance=3cm,location=top] \defineframedcontent[tablebackground][frame=off,background=color,backgroundcolor=colorthree] \setuptables[rulethickness=0.06em,frame=tablebackground] \setupalign[nothyphenated,flushleft]

Re: [NTG-context] Wrtiting in two languages

2016-11-18 Thread Jean-Pierre Delange
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 vos ratione, o viri Athenienses

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
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
  [SidenotesMargin]   [before=\blank,    after=\blank,    right=-1cm,    %right=\rightmarginwidth,    default=-right] \defineparagraphs[Sidenotes] \setupparagraphs [Sidenotes]  [n=2,before={\startnarrow[SidenotesMargin]},after=\stopnar row] \setupparagraphs [Sidenotes:1][width=.55\localhsize,distance

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
nwidth, 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] \starttext \input

Re: [NTG-context] French hyphenation issue in tablepaired boxes

2016-08-15 Thread Jean-Pierre Delange
), and fill the tables titles with my own. All is fine, except hyphenation which seems to be an issue here : see in the first text the word 'automatiquement'. I have added the following commands : \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging

Re: [NTG-context] placelocalfootnotes breaks center alignment

2016-08-15 Thread Wolfgang Schuster
\input tufte and \input ward previously given), and fill the tables titles with words of my own. All is fine, except hyphenation which doesn't appear here. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging}] \setupalign[hyphenated] You m

Re: [NTG-context] placelocalfootnotes breaks center alignment

2016-08-15 Thread Jean-Pierre Delange
with words of my own. All is fine, except hyphenation which doesn't appear here. \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \defineparagraphs[n=1, align={hz,hanging}] \setupalign[hyphenated] You may try with this text (in place of 'Content') : « Dans la société présente, où le jeu de

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
] 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[TwoColumns][2

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

2016-08-13 Thread Wolfgang Schuster
th the inner key: \defineparagraphs[TwoColumns][n=2,align=verytolerant] \startsetups[TwoColumns] \setupinterlinespace[line=5ex] \stopsetups \setupparagraphs[TwoColumns:2][inner=\directsetup{TwoColumns}] \starttext \startTwoColumns \input knuth \TwoColumns \input tufte \stopTwoColumns \st

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

2016-08-12 Thread Pablo Rodriguez
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[TwoColumns][2]

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

2016-08-12 Thread Jean-Pierre Delange
ef\mailto#1{\useURL[#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] % Setu

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

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread Wolfgang Schuster
John Kitzmiller 9. Juli 2016 um 14:48 Thank you Wolfgang. I had to change .5\localhsize to .5\textwidth for it to work here (and scale down the cow to make it fit in the barn.) I am looking into combinations to center the graphic in the second x box, and make a

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread John Kitzmiller
> On 8Jul, 2016, at 09:20, Wolfgang Schuster > wrote: > >> The code below works with context2016.02.15, but fails with >> context2016.05.19. >> >> Itemize within the defined paragraph (Mypar) no longer puts the thinrule in >> the margin (see the third question.)

Re: [NTG-context] \defineparagraphs

2016-07-08 Thread Wolfgang Schuster
k...@inradius.net 8. Juli 2016 um 13:53 The code below works with context2016.02.15, but fails with context2016.05.19. Itemize within the defined paragraph (Mypar) no longer puts the thinrule in the margin (see the third question.) The \ansblank command seems to

[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
t 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] [1]

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

2016-06-09 Thread Pavneet Arora
ph 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\textwidth]

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

2016-05-15 Thread Jean-Pierre Delange
] \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 en page avec un

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

2016-05-06 Thread Tom Harrop
Hello, How can I make both/all columns in a paragraphs environment align flush bottom, e.g. for addressing a letter? I saw a line in the manual about using top=\vfill but I couldn’t get this to work. Should I be using TABLE here? Thanks (again), Tom \starttext \defineparagraphs[Par] [n=2

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

2016-05-02 Thread Antoine Cailliau
][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=100pt, style=italic

Re: [NTG-context] issues with typeface selection

2015-08-08 Thread Wolfgang Schuster
: \defineparagraphs[timesdroid][each][n=2, before=\blank] \defineparagraphs[timesdroid][1][style=\newtimes] \defineparagraphs[timesdroid][2][style=\droidserif] \starttimesdroid \ConTeXt\ is awesome! \timesdroid \ConTeXt\ is awesome! \stoptimesdroid \stoptext All I need is to be able to have a text

[NTG-context] issues with typeface selection

2015-08-07 Thread Pablo Rodriguez
with paragraphs: \defineparagraphs[timesdroid][each][n=2, before=\blank] \defineparagraphs[timesdroid][1][style=\newtimes] \defineparagraphs[timesdroid][2][style=\droidserif] \starttimesdroid \ConTeXt\ is awesome! \timesdroid \ConTeXt\ is awesome! \stoptimesdroid \stoptext

Re: [NTG-context] issues with typeface selection

2015-08-07 Thread Pablo Rodriguez
On 08/07/2015 06:52 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: [...] Typeface selection doesn’t seem to work even with paragraphs: \defineparagraphs[timesdroid][each][n=2, before=\blank] \defineparagraphs[timesdroid][1][style=\newtimes

[NTG-context] Changing font for math function

2015-05-13 Thread Maggyero
[arsinh=Arsinh] \definemathfunction[arsinh]{\mathlabeltext{arsinh}} \starttext \startbuffer $\arsinh x\ \text{and}\ n_{\mtext{air}}$ \stopbuffer \defineparagraphs[myparagraphs][n=5, rule=on] \setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][2][width

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

2015-05-12 Thread Hans Hagen
}} \startbuffer $\arsinh x\ \text{and}\ n_{\mathlabel{red}}$ \stopbuffer \starttext \defineparagraphs[myparagraphs][n=5, rule=on] \setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][2][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs

[NTG-context] Changing font for math function

2015-05-12 Thread Maggyero
[arsinh][op]{\mathlabel{arsinh}} \startbuffer $\arsinh x\ \text{and}\ n_{\mathlabel{red}}$ \stopbuffer \starttext \defineparagraphs[myparagraphs][n=5, rule=on] \setupparagraphs[myparagraphs][1][width=\dimexpr 0.3\textwidth\relax] \setupparagraphs[myparagraphs][2][width=\dimexpr 0.3\textwidth\relax

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
][numbering=line,page=yes,bodyfont=9pt,tab=2] \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em] \defineparagraphs[TwoCols][n=2,before=,after=] \starttext

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
] \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em] \defineparagraphs[TwoCols][n=2,before=,after=] \starttext \startTwoCols \startcode one two three \stopcode \TwoCols hum \stopTwoCols \stoptext I've tried to use

[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

Re: [NTG-context] Some questions on float combinations

2014-01-07 Thread Alexey Kryukov
them into floatcombinations if necessary). anyway ... you have more chance onan answer if you provide small examples My code currently looks like the following: \defineparagraphs[DoubleL][n=2] \starttext \centerline{\rotate[rotation=90]{ \startDoubleL \placefigure[force] {My first

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

2013-09-12 Thread Pavneet Arora
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] \setupparagraphs[mypar][3

[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
-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=\dimexpr \textwidth

[NTG-context] Some more question, ex Context an excursion

2013-01-27 Thread Alain Delmotte
with the same information!!! 3) On page 77, I get an error: \defineparagraphs[city][n=2,before=,after=] \city Hasselt (Ov) \\ Overijssel \\ \city Hasselt (Li) \\ Limburg\\ \startpacked \city Hasselt (Ov) \\ The Netherlands \\ \city Hasselt (Li) \\ Belgium \\ \stoppacked --error

Re: [NTG-context] Some more question, ex Context an excursion

2013-01-27 Thread Wolfgang Schuster
: \defineparagraphs[city][n=2,before=,after=] \city Hasselt (Ov) \\ Overijssel \\ \city Hasselt (Li) \\ Limburg\\ \startpacked \city Hasselt (Ov) \\ The Netherlands \\ \city Hasselt (Li) \\ Belgium \\ \stoppacked --error message ! Undefined control sequence. Make working

Re: [NTG-context] A problem with autopunctuation

2012-12-04 Thread Sietse Brouwer
code below, example output attached, and the behaviour is documented at http://wiki.contextgarden.net/Command/setupmathematics Cheers, Sietse \defineparagraphs[asdf][n=3] \startTEXpage[offset=2mm] \startasdf \setupmathematics[autopunctuation=no] autopunctuation=no \starttabulate[] \NC input

[NTG-context] Adding command pages to the wiki

2012-07-19 Thread Sietse Brouwer
tags: {{cmd|defineparagraphs|[LeftRight]}} produces a linkified and typewriter-fonted \defineparagraphs[LeftRight]. * Link to up-to-date versions of source files with {{src|m-ipsum.mkiv}}. This links to the repository at http://repo.or.cz/w/context.git. * Mark code with {{code|...}} instead of code

Re: [NTG-context] Bug in \typo_paragraphs_setup_three.

2012-07-08 Thread Wolfgang Schuster
anything- \starttext \starttabulate \NC Bijlage \EQ Een foto. \NC\NR \stoptabulate \stoptext BTW 3: Hans added a few new commands to paragraphs to make a more table (natural table and xtable) like. %D \defineparagraphs[sample][n=2,rule=on] %D %D \startsample %D first \nextsample %D

[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

  1   2   >