Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Mohammad Hossein Bateni
—Hossein > > > > P.S. My name is Mohammad *Hossein*, not Mohammad Reza :) > > > > > > > > On Thu, Apr 28, 2016 at 12:41 AM, Otared Kavian <ota...@gmail.com> > wrote: > > Hi Mohammad Reza, > > > > I tried your example, but it

Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Otared Kavian
s Mohammad *Hossein*, not Mohammad Reza :) > > > > On Thu, Apr 28, 2016 at 12:41 AM, Otared Kavian <ota...@gmail.com> wrote: > Hi Mohammad Reza, > > I tried your example, but it seems to me that the way the columns are > presented when writing Right-to-Left is still incorre

Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Mohammad Hossein Bateni
:) On Thu, Apr 28, 2016 at 12:41 AM, Otared Kavian <ota...@gmail.com> wrote: > Hi Mohammad Reza, > > I tried your example, but it seems to me that the way the columns are > presented when writing Right-to-Left is still incorrect. In the following > example one should have the column

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Otared Kavian
Hi Mohammad Reza, I tried your example, but it seems to me that the way the columns are presented when writing Right-to-Left is still incorrect. In the following example one should have the column containing the lines « First » and « Second » to the right of the column containing « Third

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Mohammad Hossein Bateni
o-left-list-in-context/294631?noredirect=1#comment713701_294631> >> My aim is to obtain right to left items arranged in multi-column, if I >> use >> \startitemize [s,columns,three] [margin=1em] >> the result is three column where first column start from left side of &

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Mohammad Hossein Bateni
in-context/294631?noredirect=1#comment713701_294631> > My aim is to obtain right to left items arranged in multi-column, if I > use > \startitemize [s,columns,three] [margin=1em] > the result is three column where first column start from left side of > page, but I want it to start from

Re: [NTG-context] Overlapping terms in description lists

2016-04-23 Thread Tom Harrop
stick to one line. I guess it would be better to use a paragraphs or column environment for long labels but the ConTeXt is generated by pandoc, which writes 'definition lists' as \startdescription \stopdescription.___

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-12 Thread Jan Tosovsky
e: > >>>>> On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > >>>>>> > >>>>>> since LuaTeXt 0.81 my back-of-the-book index (register) is > >>>>>> with generated strange background colors. The index title > >>>&

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Hans Hagen
(register) is with generated strange background colors. The index title is typeset in yellowish background and the left column of the last index page has a blue background, see the attachment. ... It was fine in the version 0.80. no example here you have the minimal sample: \showgrid

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Jan Tosovsky
;> since LuaTeXt 0.81 my back-of-the-book index (register) is > >>>> with generated strange background colors. The index title > >>>> is typeset in yellowish background and the left column of > >>>> the last index page has a blue background, see the attachment. &g

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Hans Hagen
in yellowish background and the left column of the last index page has a blue background, see the attachment. ... It was fine in the version 0.80. no example I've published both the ConTeXt source and the final PDF here: http://drifted.in/other/context/ Jan, here you have the minimal sample

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Pablo Rodriguez
t;>> is typeset in yellowish background and the left column of >>> the last index page has a blue background, see the attachment. >>> >>> ... It was fine in the version 0.80. >> >> no example > > I've published both the ConTeXt source and the

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Jan Tosovsky
On 2016-04-10 Hans Hagen wrote: > On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > > > > since LuaTeXt 0.81 my back-of-the-book index (register) is > > with generated strange background colors. The index title > > is typeset in yellowish background and the left column of

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Hans Hagen
On 4/9/2016 11:22 PM, Jan Tosovsky wrote: Dear All, since LuaTeXt 0.81 my back-of-the-book index (register) is generated with strange background colors. The index title is typeset in yellowish background and the left column of the last index page has a blue background, see the attachment. I've

[NTG-context] Weird background colors in autogenerated index

2016-04-09 Thread Jan Tosovsky
Dear All, since LuaTeXt 0.81 my back-of-the-book index (register) is generated with strange background colors. The index title is typeset in yellowish background and the left column of the last index page has a blue background, see the attachment. I've thought I reported it, but it is still

Re: [NTG-context] right to left direction for itemize columns

2016-02-22 Thread Wolfgang Schuster
4631> My aim is to obtain right to left items arranged in multi-column, if I use \startitemize[s,columns,three][margin=1em] the result is three column where first column start from left side of page, but I want it to start from right side of page. I can use \startcolumns[direction=left]\

[NTG-context] right to left direction for itemize columns

2016-02-22 Thread Bou Salim
I have posted a question in tex stack exchangeCustomize right to left list in context <http://tex.stackexchange.com/questions/294627/customize-right-to-left-list-in-context/294631?noredirect=1#comment713701_294631> My aim is to obtain right to left items arranged in multi-column, if

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Wolfgang Schuster
m xtables-mkiv.pdf): \starttext \startxtable[option=stretch] \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell alpha \stopxcell \startxcell beta \stopxcell \stopxrow \stopxtable \stoptext Is there any way to apply properties to the first column and the sec

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Wolfgang Schuster
pxcell \startxcell beta \stopxcell \stopxrow \stopxtable \stoptext Is there any way to apply properties to the first column and the second column without having to add an identifier to each xcell? In this sample, it would be easy. In a longer xtable, I would like to avoid it :-). What do you want

[NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Pablo Rodriguez
\startxcell beta \stopxcell \stopxrow \stopxtable \stoptext Is there any way to apply properties to the first column and the second column without having to add an identifier to each xcell? In this sample, it would be easy. In a longer xtable, I would like to avoid

Re: [NTG-context] tip

2016-02-16 Thread Hans Hagen
flush-left text? these are suboptimal ones (often harmless) .. the color reflects the flush mode It is not clear what these all mean (except the yellow). What is the difference between magenta and green (I see both in tables and some column-set paragraphs)? What is the difference between green

Re: [NTG-context] tip

2016-02-15 Thread Rik Kabel
see both in tables and some column-set paragraphs)? What is the difference between green and blue? Does green show how close to needing intraword space compression while blue indicates the degree of compression that was done? With typesetters.suspects, I see * orange with o required space

[NTG-context] Floating split TABLE misaligned

2016-02-05 Thread Andreas Schneider
[column][last][width=broad] \setupTABLE[row][first][style=bold] \setupTABLE[offset=.2em] \setupwhitespace[medium] \setuptolerance[verytolerant] \starttext \dorecurse{2}{\input knuth\par} \placetable[here,split][]{Test}{ \bTABLE \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \eTR

Re: [NTG-context] natural tables and columndistance/spaceinbetween

2015-11-30 Thread Wolfgang Schuster
on my computer. 2) there appears to be some interference between setting rulethickness and columndistance, so that spaces between columns disappear when putting a thick bottomframe. Of course, one could kludge a column separation using a rightframe, but this is not satisfactory. 3) The use of a whit

[NTG-context] natural tables and columndistance/spaceinbetween

2015-11-25 Thread Alan BRASLAU
) there appears to be some interference between setting rulethickness and columndistance, so that spaces between columns disappear when putting a thick bottomframe. Of course, one could kludge a column separation using a rightframe, but this is not satisfactory. 3) The use of a white rule when one really wants

Re: [NTG-context] Question on headings and text around them

2015-11-24 Thread josephcanedo
Hans, Thanks for replying, Actually I realise the problem is with column break (was a bit late when I wrote my message, sorry for this). I prepared a small example + output I get. I am not saying the output is necessarly bad, but I’d like to know how to avoid the paragraph being broken

Re: [NTG-context] Arranging columns (rotated U-Shape). Do you know a way to do in ConTeXt (with or without column sets)?

2015-11-21 Thread Leonard Siebeneicher
Dear readers, I am not sure that I explained my goal that well. It is about using context for a column-based monthly journal. Trying to achieve similar layout with context as I achieved with InDesign before, I ran into problems I cannot resolve. The U-Shape overlaps columns in a way I cannot

[NTG-context] Best way to prevent wrong column/page break with par starting with \starthanging

2015-11-19 Thread josephcanedo
of column/page and beginning of next. Tried \keeplinestogether{N} instead but it does not work in all cases. That question was mainly to see if there were any possibility to avoid some blank lines at end of some columns (ie not balanced in given page). Thanks a lot Best regards

[NTG-context] Arranging columns (rotated U-Shape). Do you know a way to do in ConTeXt (with or without column sets)?

2015-11-16 Thread Leonard Siebeneicher
Dear readers. Using ConTeXt MkIV. I try to figure out how to use column sets such that one can place a column seperately beside other columns. I did not found a way. The setup for columnsets should look like a rotated U-shape %% /Page 1

[NTG-context] What is the prefered way to load a system font ?

2015-10-28 Thread Goulven Guillard
somewhere that the output of mtxrun (which column ?) should be used and not fc-list output, then I read the opposite, and I read that the --info option of mtxrun should provide the same family name as listed with most GUI software, yet I tried and it doesn't… Thanks. Regards, Goulven

Re: [NTG-context] \setfirstline Inside columns environment does not seem to work

2015-10-27 Thread josephcanedo
2 column text. I give a simple example (I’ve modified from previous post example on this list). Is that expected ? If you uncomment the \startcolumns and \stopcolumns below, the first line style disappears (both bigger font line and dark blue 2 first words). I use standalone ConTeXt

[NTG-context] Dropcaps in ConTeXt

2015-10-27 Thread josephcanedo
Dear all, I try to typeset some text with dropcaps which are pdf files in a 2 column text. I came up with 3 possibilities as shown in the sample below (attached D1.pdf). So far best solution seems to use the lettrine module, but I wondered if it would be possible to cope with the issue

[NTG-context] \setfirstline Inside columns environment does not seem to work

2015-10-26 Thread josephcanedo
Dear all, I would like to use the first line specific style magic but I cannot make it to work within 2 column text. I give a simple example (I’ve modified from previous post example on this list). Is that expected ? If you uncomment the \startcolumns and \stopcolumns below, the first line

Re: [NTG-context] Two column layout with footnotes do not work as expected

2015-10-23 Thread Wolfgang Schuster
Dr. Thomas Möbius <mailto:kont...@thomasmoebius.de> 23. Oktober 2015 um 17:09 Hi, footnotes in two column layouts are typeset at the bottom of the respected column but with the width of two columns. Expected: 1) Either footnotes spanning the whole page from left to right at the

[NTG-context] Two column layout with footnotes do not work as expected

2015-10-23 Thread Dr. Thomas Möbius
Hi, footnotes in two column layouts are typeset at the bottom of the respected column but with the width of two columns. Expected: 1) Either footnotes spanning the whole page from left to right at the bottom of the page. 2) Or have the footnote be restricted to one column only. How can I

[NTG-context] Questions on registers, and on processors used with registers

2015-10-04 Thread Rik Kabel
y B} \completelist[Reprints] \stoptext I would prefer a register solution to take advantage of similar formatting (column support and such) provided there, since this will appear with the book’s standard indices. --

[NTG-context] Next problem with rfc4180splitter()

2015-09-28 Thread Jaroslav Hajtmar
colon contains separators, because line breaks are separators. Commas—or semicolons—are required when having more than a cell in the same line. For example LibreOffice Calc spares the final semicolon when only the file only contains one column and this behavior seems to be right, according

Re: [NTG-context] Space between both environments

2015-09-12 Thread Fabrice Couvreur
ave to change the code (how ?) because I realize that the > text of the second environment exceeds the frame (if you draw it). > > Add > > maxwidth=\availablehsize, > > to your column setup. > > Wolfgang > > > ___

Re: [NTG-context] Forced page break in a TOC

2015-09-08 Thread Hans Hagen
). Any ideas on how to fix the problem? \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index

Re: [NTG-context] \emptylines non-functional

2015-09-08 Thread Hans Hagen
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

[NTG-context] \emptylines non-functional

2015-09-08 Thread Rik
\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

Re: [NTG-context] Space between both environments

2015-09-08 Thread Wolfgang Schuster
exist for TeX. Changing the before value to “before={\blank[line,halfline]}” should be enough. @Woffgang I have to change the code (how ?) because I realize that the text of the second environment exceeds the frame (if you draw it). Add maxwidth=\availablehsize, to your column setup. Wo

[NTG-context] TOC with too long entry

2015-09-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
. 2 1.1 A very very very very very very long section name ... 2 " i.e. the page numbers to be aligned "in one column", no matter whether an entry flows onto more lines, and a multiline TOC entry text to start at each line at the same position? (See also the attached

[NTG-context] Space between both environments

2015-09-07 Thread Fabrice Couvreur
e] [before={\blank}, after={\blank}, frame=off, background=Funny, width=\textwidth, height=fit, ] \starttext \startMyDefinition \input knuth \stopMyDefinition \startMethode \startmyColumn \input ward \column \input knuth \stopmyColumn \stopMethode \stopsection \stopchapter

Re: [NTG-context] Space between both environments

2015-09-07 Thread Otared Kavian
or{MyColorC}) ; > draw leftboundary OverlayBox ; > fill b withcolor \MPcolor{MyColorD} ; > draw p ; > setbounds currentpicture to OverlayBox ; > \stopuseMPgraphic > > \defineframedtext > [Methode] > [before={\blank}, >after={\blank}, >

[NTG-context] creating multirow curly brace in tables to symbolize row span

2015-08-20 Thread Henry House
point spanning three table rows to tell the reader that the leftmost column's entries apply to a three-row span in the next column (a style often seen in tables in older books). I've tried, probably naively, the following approach, using the unicode symbols for the bracket pieces and alternatively

Re: [NTG-context] creating multirow curly brace in tables to symbolize row span

2015-08-20 Thread Aditya Mahajan
would like a big curly bracket with leftwards point spanning three table rows to tell the reader that the leftmost column's entries apply to a three-row span in the next column (a style often seen in tables in older books). Any suggestions on how I can either make these symbols render, or a different

Re: [NTG-context] margindata does not work in latest beta

2015-08-11 Thread Otared Kavian
(it works in mkii) or \startmixedcolumns. Line numbering used to work fine in columns, and the line numbers were printed to the left of the left column, and to the right of the right column. It is better to open a new thread on the subject in order for Hans to be informed of the issue. By the way

Re: [NTG-context] Struggling with alignment inside tabulate...

2015-08-07 Thread Willi Egger
a single line out of the itemize part… You need a p (paragraph) column. Kind regards Will \starttext \starttabulate[|l|r|r|] \starttabulate[|l|r|p|] Wolfgang ___ If your question is of interest

Re: [NTG-context] Struggling with alignment inside tabulate...

2015-08-06 Thread Wolfgang Schuster
Willi Egger mailto:cont...@boede.nl 6. August 2015 23:47 Hi all, what kind of trickry is necessary to get the following minimal example to give correct output? As given it generates a single line out of the itemize part… You need a p (paragraph) column. Kind regards Will \starttext

Re: [NTG-context] Formatting footnotes

2015-08-06 Thread robheus
Wolfgang Schuster schreef op 2015-08-05 12:34: robheus 4. August 2015 20:29 Thanks Wolfgang. This is almost the result what I want, just that I want the footnote text in a seperate column, not the first line of a footnote indented. You can set a fixed width for the footnote numbers and align

Re: [NTG-context] Formatting footnotes

2015-08-05 Thread Wolfgang Schuster
robheus mailto:robh...@xs4all.nl 4. August 2015 20:29 Thanks Wolfgang. This is almost the result what I want, just that I want the footnote text in a seperate column, not the first line of a footnote indented. You can set a fixed width for the footnote numbers and align them to the right

Re: [NTG-context] Formatting footnotes

2015-08-04 Thread robheus
\footnote{Second footnote.} \stoptext Wolfgang Thanks Wolfgang. This is almost the result what I want, just that I want the footnote text in a seperate column, not the first line of a footnote indented. Rob ___ If your

[NTG-context] Floating dimensions that adapts automaticall

2015-08-03 Thread Fabrice Couvreur
] \setupfloat [MyFloat] [default={right,none}] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=2cm,offset=1ex] \setupTABLE[column][first][width=4cm] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \showframe \starttext

[NTG-context] Small problems with my columns

2015-07-30 Thread Fabrice Couvreur
Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. Thank You. Fabrice \setupcolors[state=start] \definemixedcolumns [mycolumn] [ n=2, separator=rule, rulecolor=gray, rulethickness=1pt, balance=yes, ] \setuppapersize[A4

Re: [NTG-context] Small problems with my columns

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 07:37 PM, Fabrice Couvreur wrote: Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. Hi Fabrice, you could replace \column with \column\setupalign[nothyphenated]. It does the job, although it seems not very elegant to me

Re: [NTG-context] Small problems with my columns

2015-07-30 Thread Wolfgang Schuster
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com 30. Juli 2015 19:37 Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. You can add \setuptolerance[verytolerant] to give ConTeXt more freedom where it breaks the lines. Wolfgang

[NTG-context] footnotes in floating tables

2015-07-19 Thread Henry House
% \bTR{}\bTD{}A\note[Footnote_mark_1] \eTD\bTD{}B\note[Footnote_mark_2]\eTD\eTR% \bTR{}\bTD{}1 \eTD\bTD{}2\eTD\eTR% \eTABLE% \footnotetext[Footnote_mark_1]{Footnote to column A. Footnote to column A. Footnote to column A. Footnote

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
with UTF-8: in the example below, the ω’s on the second line, after the arrows, disappear in my PDF. This is explained in section 8 of the document: FYI, the TeX Live 2015 version from 2007 called context-latex-math.pdf does not have ch. 8. There are two ways of specifying the second column

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
On 7 Jul 2015, at 20:17, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You can set the alignment for each column in a matrix with the align key. \definemathmatrix [aligned] [n=2, align={right,left}, distance=\spaceamount] \starttext \startformula J^j

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
Hans Aberg mailto:haber...@telia.com 7. Juli 2015 20:53 On 7 Jul 2015, at 20:17, Wolfgang Schusterschuster.wolfg...@gmail.com wrote: You can set the alignment for each column in a matrix with the align key. \definemathmatrix [aligned] [n=2, align={right,left}, distance

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
Hans Aberg mailto:haber...@telia.com 7. Juli 2015 21:11 On 7 Jul 2015, at 20:17, Wolfgang Schusterschuster.wolfg...@gmail.com wrote: You can set the alignment for each column in a matrix with the align key. FYI, the document amshelp.pdf says that AMS-LaTeX environments align, align

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
something it wasn’t intended for. You can set the alignment for each column in a matrix with the align key. \definemathmatrix [aligned] [n=2, align={right,left}, distance=\spaceamount] \starttext \startformula J^j: \startaligned[left=\left\{,right=\right.] \NC ω^0 \NC ↦ 0

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
On 7 Jul 2015, at 20:17, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You can set the alignment for each column in a matrix with the align key. FYI, the document amshelp.pdf says that AMS-LaTeX environments align, align*, and aligned, can have multiple alignments, and gives

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
. There are two ways of specifying the second column — \MC (Math Column) and \NC (New Column). If \MC is used, the second column is in \math mode, with \NC it is in ‘text mode’. I get errors when using \MC - see example below. The \NR before \stopmathcases is missing in all your examples

Re: [NTG-context] Math alignment

2015-07-06 Thread Wolfgang Schuster
... \stopmathcases is not working with UTF-8: in the example below, the ω’s on the second line, after the arrows, disappear in my PDF. This is explained in section 8 of the document: There are two ways of specifying the second column — \MC (Math Column) and \NC (New Column). If \MC is used

[NTG-context] issues with xtable

2015-07-04 Thread Pablo Rodriguez
don’t know why there is a third column at all. I may be dowing something wrong, but where does ConTeXt read that there is a third xcell on any xrow? (I guess this might be a bug.) The second issue is that align=lohi doesn’t center vertically the cell contents. There is slightly less vertical space

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
) inspect(gTableRows) inspect(gColumnNames) for i=1,#gTableRows[1] do gColNames[tostring(gColumnNames[i])] = i -- for indexing use end else gTableRows = mycsvsplitter(currentlyprocessedcsvfile) inspect(gTableRows) -- ad now set column names

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
column names for withoutheader situation: for i=1,#gTableRows[1] do context(gTableRows[i]) gColumnNames[i]='c'..(i) end end gNumRows=#gTableRows -- Getting number of rows gNumCols=#gTableRows[1] -- Getting number of columns context.setgvalue

[NTG-context] Problem with rfc4180splitter in last beta (sticking point was found... maybe)

2015-06-15 Thread Jaroslav Hajtmar
end else gTableRows = mycsvsplitter(currentlyprocessedcsvfile) inspect(gTableRows) -- ad now set column names for withoutheader situation: for i=1,#gTableRows[1] do context(gTableRows[i]) gColumnNames[i]='c'..(i) end end gNumRows

[NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
gTableRows = mycsvsplitter(currentlyprocessedcsvfile) inspect(gTableRows) -- ad now set column names for withoutheader situation: for i=1,#gTableRows[1] do context(gTableRows[i]) gColumnNames[i]='c'..(i) end end gNumRows=#gTableRows -- Getting

[NTG-context] \placefigure[right,high] in two column mode

2015-06-11 Thread Mojca Miklavec
Hello, Is it possible to place a figure to the right in two column mode? I always get it centered for some reason. \setupexternalfigures[location={local,global,default}] \starttext \startcolumns[two] % doesn't work \startplacefigure[location={nonumber,right,high}] \externalfigure[cow][width

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Wolfgang Schuster
Am 19.05.2015 um 12:31 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Both dimensions are in scaled points. \starttext \cldcontext{tex.hsize

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Hans Hagen
On 5/18/2015 8:00 PM, Pierre-François Bonnefoi wrote: Hello, Is it possible to get the current width of a column from a paragraph into Lua ? it all depends on where and how you access that but normally the width of a hlist will do Pierre-François. -- Bonnefoi Pierre-Francois

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Thank you for your help, Pierre-François. On 19 May 2015, at 12:16, Hans Hagen pra...@wxs.nl wrote: On 5/18/2015 8:00 PM, Pierre-François Bonnefoi wrote

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
Thank you ! tex.hzize / 2^16 gives me the expected value ! This is a lot to learn :) On 19 May 2015, at 13:04, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: contex -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de

[NTG-context] creating multiline paragraph in \tabulate

2015-05-19 Thread John Culleton
Supposedly \tablulate can handle a multiline paragraph in a single cell. It didn't work for me. The text just ran off the right edge of the page. So here is my two column table with a workaround. - \starttext {\bf Figure 2.3: Specialty Food Store

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Pierre-François Bonnefoi
...@unilim.fr wrote: Hello Hans, I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column. Thank you for your help, Pierre-François. On 19 May 2015, at 12:16, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl wrote

Re: [NTG-context] creating multiline paragraph in \tabulate

2015-05-19 Thread Aditya Mahajan
On Tue, 19 May 2015, John Culleton wrote: Supposedly \tablulate can handle a multiline paragraph in a single cell. It didn't work for me. The text just ran off the right edge of the page. So here is my two column table with a workaround. - \starttext

Re: [NTG-context] [MkIV] How to get the local size of a column

2015-05-19 Thread Wolfgang Schuster
Am 19.05.2015 um 14:25 schrieb Pierre-François Bonnefoi bonne...@unilim.fr: Thank you ! tex.hzize / 2^16 gives me the expected value ! This is a lot to learn :) Take a look into util-dim.la and search for the number.todimen function which can be used to convert scaled points into

[NTG-context] [MkIV] How to get the local size of a column

2015-05-18 Thread Pierre-François Bonnefoi
Hello, Is it possible to get the current width of a column from a paragraph into Lua ? Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38 123 av Albert Thomas

Re: [NTG-context] line number overwriting

2015-05-01 Thread Wolfgang Schuster
: PastedGraphic-2.png I've two columns paragraph, with a verbatim zone in the left column that gets two numbering : 1 to 25 then 26 to 50. If I change the numbering style with the command \definelinenumbering associated to the verbatim zone from the global numbering style, I get one

Re: [NTG-context] line number overwriting

2015-04-29 Thread Pierre-François Bonnefoi
that overwrite each other. I think that I've read something about this but I don't find it in the mail archive. If I remember correctly, there is a bug into the line number routine when you use a verbatim text into a column set with the paragraph command and when the verbatim text

Re: [NTG-context] line number overwriting

2015-04-29 Thread Wolfgang Schuster
\stoptyping \stopparagraphscell \startparagraphscell Second column \stopparagraphscell \stopparagraphs \stoptext Wolfgang ___ If your question is of interest to others as well

[NTG-context] line number overwriting

2015-04-28 Thread Pierre-François Bonnefoi
routine when you use a verbatim text into a column set with the paragraph command and when the verbatim text is enclosed into a frame. Regards, Pierre-François. -- Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr http://libpfb.so/ Universite de Limoges, Laboratoire XLIM

Re: [NTG-context] Figure-libray/resource library

2015-04-08 Thread Hans Hagen
On 4/8/2015 8:34 PM, Willi Egger wrote: Hans, of course, I hope that the new files are ok ;-) No they're not ... can't you install a validator in you editor? or when it has decent highlighting it will show that it's bad. tidy -quiet -utf8 -xml -errors lib-MKIV.xml line 16 column 1 - Error

Re: [NTG-context] Figure-libray/resource library

2015-04-08 Thread Willi Egger
-quiet -utf8 -xml -errors lib-MKIV.xmlline 16 column 1 - Error: unexpected /description in rl:descriptionline 25 column 1 - Error: unexpected /rl:library in rl:descriptionyou miss a --WilliOn 8 apr. 2015, at 20:17, Hans Hagen pra...@wxs.nl wrote:On 4/8/2015 8:07 PM, Willi Egger wrote:Thank you Hans

Re: [NTG-context] text alignment in table

2015-04-07 Thread Thomas Floeren
Supplier meeting (this is you) \NC\NR \stoptabulate the Word Food is left justified in the column (good) and the word preparation is right justified (bad). The same problem occurs in the string Luncheon sales. The glyph ~ doesn't help. A missing

Re: [NTG-context] text alignment in table

2015-04-07 Thread Aditya Mahajan
meeting (this is you) \NC\NR \stoptabulate the Word Food is left justified in the column (good) and the word preparation is right justified (bad). The same problem occurs in the string Luncheon sales. The glyph ~ doesn't help. The syntax is \starttabulate[|l|l

[NTG-context] formal multipage table

2015-04-07 Thread Csikos Bela
of the trials I made: \defineipsum[tf][alternative=lines,n=2] \starttext \setupTABLE[r][first][style=\tf] \bTABLE[split=repeat,option=stretch,frame=off,bottomframe=on] \bTABLEhead \bTR \bTH[nc=2] This is the first page header \eTH \eTR \bTR \bTH Column 1 \eTH \bTH Column 2 \eTH \eTR

[NTG-context] text alignment in table

2015-04-07 Thread John Culleton
the Word Food is left justified in the column (good) and the word preparation is right justified (bad). The same problem occurs in the string Luncheon sales. The glyph ~ doesn't help. I also tried the table variation in chapter twenty-two of The TeXbook. That doesn't

Re: [NTG-context] Help with \setuplist number width (for appendices)

2015-03-25 Thread Robin.Kirkham
, … both in the actual heads and also the table of contents. The style also requires the chapter numbers in the table of contents to be set in a 12mm column. The MWE below does all this, but for the appendices the number overflows the 12mm width, which is ugly of course. So I need to specify

Re: [NTG-context] Help with \setuplist number width (for appendices)

2015-03-23 Thread Wolfgang Schuster
of contents. The style also requires the chapter numbers in the table of contents to be set in a 12mm column. The MWE below does all this, but for the appendices the number overflows the 12mm width, which is ugly of course. So I need to specify either a width with some stretch so the list

[NTG-context] Help with \setuplist number width (for appendices)

2015-03-23 Thread Robin.Kirkham
to be set in a 12mm column. The MWE below does all this, but for the appendices the number overflows the 12mm width, which is ugly of course. So I need to specify either a width with some stretch so the list layout will adapt, or somehow be able to specify a different width for the appendix entries

[NTG-context] setting columns in a text frame.

2015-03-22 Thread John Culleton
I am attempting to emulate a layout of a customer's book that was set in InDesign. I have columns inside a \textframe inside an \intermezzo. I can't get the columns to break. I get one long column and the seocnd column is blank. here is my code

Re: [NTG-context] setting columns in a text frame.

2015-03-22 Thread Wolfgang Schuster
Am 22.03.2015 um 15:34 schrieb John Culleton j...@wexfordpress.com: I am attempting to emulate a layout of a customer's book that was set in InDesign. I have columns inside a \textframe inside an \intermezzo. I can't get the columns to break. I get one long column and the seocnd column

Re: [NTG-context] Columns and itemize not showing up as expected

2015-03-21 Thread Norbert Melzer
2015-03-21 14:33 GMT+01:00 Mikael P. Sundqvist mic...@gmail.com: \startitemize[columns] \item a \item b \item c \item d \item e \item f \stopitemize \stoptext This one works. Thank you! Is there a way to have other column count than 2

Re: [NTG-context] Columns and itemize not showing up as expected

2015-03-21 Thread Mikael P. Sundqvist
On Sat, Mar 21, 2015 at 2:54 PM, Norbert Melzer timmel...@gmail.com wrote: This one works. Thank you! Is there a way to have other column count than 2? \startitemize[columns,three] seems to give three columns. /Mikael

Re: [NTG-context] Tables, Row Span, and Colors

2015-03-13 Thread Wolfgang Schuster
containing Years have a gray background. to make each of the column heading cells (i.e., the ones containing 1, 1-2, ..., 15+, and Total to have a gray background. to have the (spanned) cell containing Region (from #1) have a gray background. to have the row heading cells (i.e., the ones

[NTG-context] Tables, Row Span, and Colors

2015-03-12 Thread Troy Henderson
of the column heading cells (i.e., the ones containing 1, 1-2, ..., 15+, and Total to have a gray background. 4. to have the (spanned) cell containing Region (from #1) have a gray background. 5. to have the row heading cells (i.e., the ones containing East, Midwest, South, West

<    4   5   6   7   8   9   10   11   12   13   >