Re: [NTG-context] vertical alignment of images in Natural Table

2017-10-28 Thread John Kitzmiller
with the module fullpage to keep it simpler.) \setuppagenumbering[state=stop] \usemodule[fullpage][style={margin,empty},margin=1.4cm] \useMPlibrary[dum] \setuppapersize[A6][A4] \setuppaper[nx=2,ny=2] \setuplayout[page][location=middle] \setuparranging [XY] \showframe \starttext 73 apples are on a tree

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
ing anything in Acrobat, I get a document in double-sided > > portrait mode but the back side is upside down > > \setupinteractionscreen[option=portrait] would be the right option here. > It is double-sided (duplex) printing for portrait orientation. > > Consider that ConTeXt has \set

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
ntation. Consider that ConTeXt has \setuppapersize[A4, portrait] as default. > - With the command \setuppapersize [A4, landscape] and without > selecting anything in Acrobat, I get two documents in landscape mode in > the same direction You got two printed sheets instead of one. To get on

Re: [NTG-context] Page printed upside down

2017-10-21 Thread Fabrice Couvreur
Hi Pablo, Sorry for the late response. I did some tests before answering to understand your explanations. - With the commands \ setuppapersize [A4, landscape] and \ setupinteractionscreen [option = landscape] and without selecting anything in Acrobat, I get the desired double-sided document

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Pablo Rodriguez
On 10/18/2017 06:00 PM, Fabrice Couvreur wrote: > Hi, > With this > > \setuppapersize[A4,landscape] > \setupinteractionscreen[option=landscape] > > I get a double-sided page that I can read without having to return the > page on the back. But I wish I could fold the

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Pablo Rodriguez
lex printing). Your second sample from only needs \setuppapersize[A4, landscape] at the very beginning. Since it wasn’t added, page orientation is portrait by default. [landscape] in \setuppapersize defines the page orientation. Adding it should change the display in your PDF browser. [opti

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
Hi, With this \setuppapersize[A4,landscape] \setupinteractionscreen[option=landscape] I get a double-sided page that I can read without having to return the page on the back. But I wish I could fold the sheet to have a booklet. The output is: 1 | 2 3 | 4 it would be necessary to have: 3

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
uth} > \stopMyColumns > \stoptext > > > 2017-10-16 19:35 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > >> On 10/16/2017 05:59 PM, Fabrice Couvreur wrote: >> > Hello, >> > I have printed this document and the page on the back is printed upside >> down &g

Re: [NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
; > I have printed this document and the page on the back is printed upside > down > > in fact you have to turn the page to read it. > > How to correct this ? > > Thank you > > Fabrice > > > > \setuppapersize[A4,landscape] > > Hi Fabrice, > > [the command ab

Re: [NTG-context] Page printed upside down

2017-10-16 Thread Pablo Rodriguez
On 10/16/2017 05:59 PM, Fabrice Couvreur wrote: > Hello, > I have printed this document and the page on the back is printed upside down > in fact you have to turn the page to read it. > How to correct this ? > Thank you > Fabrice > > \setuppapersize[A4,landscape] Hi Fabr

[NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
Hello, I have printed this document and the page on the back is printed upside down in fact you have to turn the page to read it. How to correct this ? Thank you Fabrice \setuppapersize[A4,landscape] \setuppagenumbering[alternative=,location=] \definemixedcolumns [MyColumns] [ n=2

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Hans Hagen
On 10/9/2017 6:11 PM, Rik Kabel wrote: Consider the following almost-minimal example: \setuptagging    [state=start] \setuppapersize  [A6] \setupexternalfigures[location=default] \definemakeup    [cover4][page=left,doublesided=no] \definelayer [isbn][width

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
with the \externalfigure it does work is that cow.pdf missing? On 9 Oct 2017, at 18:11, Rik Kabel <cont...@rik.users.panix.com> wrote: Consider the following almost-minimal example: \setuptagging[state=start] \setuppapersize [A6] \setupexternalfigures[location=default] \define

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Floris van Manen
if i omit the line with the \externalfigure it does work is that cow.pdf missing? > On 9 Oct 2017, at 18:11, Rik Kabel <cont...@rik.users.panix.com> wrote: > > Consider the following almost-minimal example: > > \setuptagging[state=start] >

[NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
Consider the following almost-minimal example: \setuptagging    [state=start] \setuppapersize  [A6] \setupexternalfigures[location=default] \definemakeup    [cover4][page=left,doublesided=no] \definelayer [isbn][width=\pagewidth,height=\pageheight] \define

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Pablo Rodriguez
he body text. > Since the footnotes are mostly source annotations at the end, it > makes some sense. > > What would be the best way to achieve this? Hi Hraban, I wonder whether the following code is what you may want: \setuppapersize[A9, landscape] \setupnotation

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-21 Thread Hans Hagen
On 9/20/2017 8:32 PM, Pablo Rodriguez wrote: On 09/19/2017 11:29 PM, Henning Hraban Ramm wrote: [...] Thank you for the suggestion, but it doesn’t help, not even in the MWE. I don’t know, but the postponed page doesn’t behave as a makeup (at least, with the page number): \setuppapersize

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-20 Thread Pablo Rodriguez
On 09/19/2017 11:29 PM, Henning Hraban Ramm wrote: > [...] > Thank you for the suggestion, but it doesn’t help, not even in the MWE. I don’t know, but the postponed page doesn’t behave as a makeup (at least, with the page number): \setuppapersize[A9] \starttext \startbuffer[

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Pablo Rodriguez
mbers that also would > be a solution. > > > \setuppapersize[A6] > \setuppagenumbering > [location=footer, > alternative=doublesided, > state=start] > > \startsetups paginaoff > \setuppagenumbering[location=,] % doesn’t work > \stopsetups > > \setupmak

[NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Henning Hraban Ramm
of a full page image on a layer. If I could place the image layer on top of the page numbers that also would be a solution. \setuppapersize[A6] \setuppagenumbering [location=footer, alternative=doublesided, state=start] \startsetups paginaoff \setuppagenumbering[location=,] % doesn’t work

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
ifference between the two: Many thanks for the info, Aditya. Pablo > \setuppapersize[A6] > \showframe > > \starttext > \starttyping[lines=no] > Here is some text with very very long line that goes on > \stoptyping > > \starttyping[lines=yes] > Here is some text with ve

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
On 08/29/2017 11:28 PM, Hans Hagen wrote: > On 8/29/2017 9:02 PM, Pablo Rodriguez wrote: >> [...] >> In that case, what enables [lines=yes] in \setuptyping? > linebreaks Many thanks for your reply, Hans. I’m afraid this isn’t what I get in the following sample:

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Aditya Mahajan
lines in the sample above? empty lines are always collapsed Many thanks for your reply, Hans. In that case, what enables [lines=yes] in \setuptyping? linebreaks There is only a subtle difference between the two: \setuppapersize[A6] \showframe \starttext \starttyping[lines=no] Here is some text

[NTG-context] packed slashes and hyphenate after slash in urls

2017-08-12 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A8] %~ \enabledirectives[hyphenators.urls.packslashes] \sethyphenatedurlafter{/} \starttext \hsize\zeropoint \tt\hyphenatedurl{/home//user/Documents/}, \stoptext To prevent having http:// (or similar protocols

Re: [NTG-context] imposition with some rotated pages

2017-08-02 Thread Willi Egger
blo Rodriguez <oi...@gmx.es> wrote: > > Dear list, > > I have a PDF document in A4 paper size with some rotated pages. > > I would like to make a booklet of it: > >\setuppapersize [A5][A4, landscape] >\setuparranging [2UP] >\setuplayout >

Re: [NTG-context] About Layout

2017-07-31 Thread Fabrice Couvreur
, Fabrice Couvreur wrote: > > Hello, > > With Latex, for my layout, I used this : > > > > \documentclass[a4paper,11pt]{article} > > \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} > > > > With Context, I did this : > > > > \setuppapersize[A4

[NTG-context] imposition with some rotated pages

2017-07-30 Thread Pablo Rodriguez
Dear list, I have a PDF document in A4 paper size with some rotated pages. I would like to make a booklet of it: \setuppapersize [A5][A4, landscape] \setuparranging [2UP] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
lowing example demonstrates two problems with alternative=margintext >> in \setuphead: >> • When used with start/stop sectioning, text following the title may be >> set on the wrong line. >> • Without regard to the type of sectioning, margintext titles may spill

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Rik
: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. 2. Without regard to the type of sectioning, margintext titles may spill over the left edge of the margin and beyond the page frame. \setuppapersize [letter] [letter

Re: [NTG-context] About Layout

2017-07-29 Thread Pablo Rodriguez
On 07/29/2017 12:07 PM, Fabrice Couvreur wrote: > Hello, > With Latex, for my layout, I used this : > > \documentclass[a4paper,11pt]{article} > \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} > > With Context, I did this : > > \setuppapersize[A4][A4] &g

[NTG-context] About Layout

2017-07-29 Thread Fabrice Couvreur
Hello, With Latex, for my layout, I used this : \documentclass[a4paper,11pt]{article} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} With Context, I did this : \setuppapersize[A4][A4] \setuplayout [ topspace=2cm, header=0pt, footer=1.5cm, bottomspace=0pt

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
document (I’m afraid I’m not that smart :-(). In the PDF document, you mention makeups. See the difference in numbering: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
Hi Pablo, I attached what I see. ;) On 26/07/2017 22:01, Pablo Rodriguez wrote: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Pablo Rodriguez
ument, you mention makeups. See the difference in numbering: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \stoptext But we

Re: [NTG-context] Hyphens missing (again) with setupbackend[export

2017-07-26 Thread Henning Hraban Ramm
nefontfamily >>>> [TestFont] >>>> [rm] >>>> [Antykwa Torunska Cond] >>>>\setupbodyfont >>>> [TestFont] >>>>\setupbackend >>>> [export=maybe]% or yes, or no, or ... >>>>\s

Re: [NTG-context] Hyphens missing (again) with setupbackend[export

2017-07-24 Thread Hans Hagen
wasn’t answered then. It is back if it ever left. Here is an example: \definefontfamily [TestFont] [rm] [Antykwa Torunska Cond] \setupbodyfont [TestFont] \setupbackend [export=maybe]% or yes, or no, or ... \setuppapersize

Re: [NTG-context] Hyphens missing (again) with setupbackend[export

2017-07-24 Thread Rik
t ever left. Here is an example: \definefontfamily [TestFont] [rm] [Antykwa Torunska Cond] \setupbodyfont [TestFont] \setupbackend [export=maybe]% or yes, or no, or ... \setuppapersize [A7] \starttext \input ward \st

Re: [NTG-context] Hyphens missing (again) with setupbackend[export

2017-07-24 Thread Hans Hagen
xample: \definefontfamily [TestFont] [rm] [Antykwa Torunska Cond] \setupbodyfont [TestFont] \setupbackend [export=maybe]% or yes, or no, or ... \setuppapersize [A7] \starttext \input ward \stoptext If the \setupbackend statement is r

[NTG-context] Hyphens missing (again) with setupbackend[export

2017-07-23 Thread Rik Kabel
[rm] [Antykwa Torunska Cond] \setupbodyfont [TestFont] \setupbackend [export=maybe]% or yes, or no, or ... \setuppapersize [A7] \starttext \input ward \stoptext If the \setupbackend statement is removed, or an invalid key is used, all is well. It

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
of the margin and beyond the page frame. \setuppapersize [letter] [letter,oversized] \setuplayout [location={middle,middle}] \showframe \setuphead [chapter] [number=no, alternative=inmargin] \setuphead [section

Re: [NTG-context] fixed spacing

2017-07-17 Thread Floris van Manen
put a set of numbers into a block text. >> I want to keep the spacing within the items fixed >> x-y:~z, >> How do i do that? >> The attached code does not seem to treat the fixed space as fixed. >> >> Thanks >> .Floris >> >> >> \defi

Re: [NTG-context] fixed spacing

2017-07-17 Thread Rik Kabel
=125mm, height=125mm] \setuppapersize[iiwii] \setupbodyfont[7pt] \setuplayout[backspace=3mm, topspace=3mm, width=70mm, header=0mm, footer=0mm, height=119mm] \starttext \starttext {\tfxx\framed[width=42mm,align={width,nothyphenated,verytolerant},frame=off] {0-1:~28, 1-2

[NTG-context] fixed spacing

2017-07-17 Thread Floris van Manen
dear List, I try to put a set of numbers into a block text. I want to keep the spacing within the items fixed x-y:~z, How do i do that? The attached code does not seem to treat the fixed space as fixed. Thanks .Floris \definepapersize[iiwii][width=125mm, height=125mm] \setuppapersize[iiwii

Re: [NTG-context] confusing columns balancing results

2017-07-14 Thread Rik Kabel
On 2017-07-13 20:05, Henri Menke wrote: On Fri, 2017-07-14 at 01:08 +0200, Floris van Manen wrote: When i try to use five balanced columns on a landscape page, i get unexpected results. \setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance

Re: [NTG-context] confusing columns balancing results

2017-07-14 Thread Floris van Manen
Here too, your example does renders correctly. Now try this: === \setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height

Re: [NTG-context] confusing columns balancing results

2017-07-13 Thread Henri Menke
On Fri, 2017-07-14 at 01:08 +0200, Floris van Manen wrote: > When i try to use five balanced columns on a landscape page, i get unexpected > results. > > > \setuppapersize[A4, landscape] > \setupbodyfont[8pt] > \language[fr] > \setupcolumns[ >     n=5,  >     di

[NTG-context] confusing columns balancing results

2017-07-13 Thread Floris van Manen
When i try to use five balanced columns on a landscape page, i get unexpected results. \setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm

Re: [NTG-context] figure numbering S3, S4, S6, ...

2017-07-13 Thread Henri Menke
numbering starts with S3 instead of S1. > > How can I achieve this? \setuppapersize[A6] \setupexternalfigures[location=default] \setupfloatcaption   [figure]   [way=bytext,numberstarter={S}] \setcounter[figure][2] \starttext \startplacefigure[title={Cow}]   \externalfigure[cow][width=2c

[NTG-context] figure numbering S3, S4, S6, ...

2017-07-13 Thread Thomas Möbius
Dear list, I am compiling some figures as supplementary material and would like to have figure captions follow the convention: Figure S3 Figure S4 Figure S5 ... and I need that the numbering starts with S3 instead of S1. How can I achieve this? Minimal example: \setuppapersize[A6

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
[\v!fit] [\v!middle] [\c!backspace=\dimexpr\layoutparameter\c!leftmargin+\layoutparameter\c!leftmargindistance\relax, \c!cutspace=\dimexpr\layoutparameter\c!rightmargin+\layoutparameter\c!rightmargindistance\relax] > >> >> \setuppapersize[A5][

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Hans Hagen
. Furthermore it doesn't make sense to have a non-centred text block for onesided typesetting. theyt run off the page but are aligned to the text side so that permits a bit more tolerance against wrapping to soon \setuppapersize[A5][A4,landscape] \setuppaper[nx=2] \setuparranging[XY] \showframe

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
ow about this?  By default text in the margin can run off the page.  Also > the whole layout is > symmetric (margin widths, margin distances) but shifted to the left.  This > looks like a bug to me. >  Furthermore it doesn't make sense to have a non-centred text block for

Re: [NTG-context] Why is the page off?

2017-07-03 Thread Henri Menke
rmore it doesn't make sense to have a non-centred text block for onesided typesetting. \setuppapersize[A5][A4,landscape] \setuppaper[nx=2] \setuparranging[XY] \showframe \starttext Foo\page Bar\inleft{Foob

Re: [NTG-context] full expansion in widgets

2017-06-22 Thread Henri Menke
start, title={\MyContent}] > \setupinteractionscreen[option=attachment] > \setuppapersize[A5, landscape] > \setuppagenumbering[location=] > \placebookmarks[chapter] > \enabledirectives[references.bookmarks.preroll] > \starttext > \startchapter[title=\MyContent] >

[NTG-context] full expansion in widgets

2017-06-22 Thread Pablo Rodriguez
Hans, I have the following sample: \def\hola{hola} \def\MyContent{B \quotation{C} \hola\ D} \enabledirectives[interaction.identity.preroll] \setupinteraction[state=start, title={\MyContent}] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape

Re: [NTG-context] typesetting serial letters in Context

2017-06-15 Thread r . ermers
e 2017 Nijmegen certificates.tex \setuppapersize[A4,landscape][A4,landscape] \setuplayout[width=170mm,topspace=60mm,rightmargindistance=2.5mm] \definelayer[module][width=\paperwidth,height=\paperheight,preset=middle] \useexternalfigure[levelA][sjablonen/CourseLevelA.pdf] \resetlayer

Re: [NTG-context] problem loading attachments (important for my work)

2017-06-08 Thread Hans Hagen
On 6/8/2017 9:40 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext File: \attachment[file={h

[NTG-context] problem loading attachments (important for my work)

2017-06-08 Thread Akira Kakuto
Could anyone confirm the issue in Windows? Here, in both of examples below, the file is successfully attached in Windows: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext File: \attachment[file

[NTG-context] problem loading attachments (important for my work)

2017-06-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext File: \attachment[file={h:/general-documents/document.pdf}] \stoptext I’m afraid

[NTG-context] bug with hidden attachments?

2017-06-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A5, landscape] \setuppagenumbering[location=] \starttext \startbuffer[abc] hola μαριόλα \stopbuffer This PDF document contains

Re: [NTG-context] problem with mathmode in footnotes

2017-05-27 Thread Alan Bowen
ainface] >>> % [mm] >>> % [Brill] >>> % [range={digitsnormal}, >>> %features=f:oldstyle, >>> %force=yes] >>> % \definefontfamily[mainface][rm][Brill] >>> % [protrusion=quality,expansion=quality] >>> % \defin

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
it depends on what command does with it I see, \WORD does not introduce the whitespace. But I don’t understand why \setupwhitespace[none] should do anything with the space after \sym, what \WORD doesn’t do. > >> Example: >> \setuppapersize [A6] >> \starttext >>

Re: [NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Hans Hagen
“inner=” instead of “command=”. command is applied to the text, try command=\WORD and after \sym is a space so it depends on what command does with it Example: \setuppapersize [A6] \starttext \start \setupitemize [each][command={\setupwhitespace[none]}] With \type{\command=} \startitemize \item

[NTG-context] setupitemgroup and 'command='

2017-05-24 Thread Thomas Floeren
: \setuppapersize [A6] \starttext \start \setupitemize [each][command={\setupwhitespace[none]}] With \type{\command=} \startitemize \item \dorecurse{20}{bla } \sym{Y} \dorecurse{20}{bla } \stopitemize \stop \setupitemize [each][inner={\setupwhitespace[none]}] With \type{\inner=} \startitemize \item

Re: [NTG-context] problem with mathmode in footnotes

2017-05-17 Thread Alan Bowen
ll] >> % [protrusion=quality,expansion=quality] >> % \definefontfamily[mainface][mm][TeX Gyre Pagella Math] >> % [scale=0.80,force=yes] >> % \definefontfamily[mainface][tt][Dejavu Sans Mono] >> % \setupbodyfont[mainface,10pt] >> >> works ok: >> >>

[NTG-context] another question about markings

2017-05-08 Thread Thomas A. Schmitz
Aaaand here's another question about markings: how could I compare the value of the top/bottom (or first/last) markings and have the header change accordingly? Example attached, it doesn't do what I (naively) expected it to do. All best Thomas \setuppapersize [A5] \definemarking[Head

Re: [NTG-context] \language[is] not working

2017-04-13 Thread Florian Grammel
We can of course add that. > > Hans > >> Many thanks! >> Florian. >> >> >> \setuppapersize[A6, landscape] >> >> \definefontfamily [mainface] [rm] [Palatino Linotype] >> \setupbodyfont[mainface,10pt] >> >> \setupwhitespace[big] %

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
ne with the following paragraph. I'm not sure what are the differences between \bpar and \startparagraph, so have used the later construction for the second paragraph in the subsection. \setuppapersize[letter] \setuptagging[state=start] \setuphead[chapter][style=\bf, number=no, align=middle] \setuphe

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Alan Braslau
Have you tried: On Sat, 1 Apr 2017 20:20:02 +0200 Pablo Rodriguez <oi...@gmx.es> wrote: > Tagging PDFs the way you seem to be trying might be impossible. Here > is my sample: > > \setuppapersize[letter] > \setuptagging[state=start] > \starttext > \

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
the section >> title using the after keyword. is this correct? > > Seems to be. While before= is honored, after= is not. This looks like an > inconsistency that can be addressed. Hi Todd, this will give the output you like: \setuppapersize[letter] \setuptagging[state=sta

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Rik Kabel
be used with the \setupheads command to produce this output? I've tried several variations including the snippit below. \setuppapersize[letter][letter] \setuptagging[state=start] \setupheads[subsection][style=\bf, number=no, after={. }, alternative=text] \starttext \startsection[reference=sec:deep

[NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
to produce this output? I've tried several variations including the snippit below. \setuppapersize[letter][letter] \setuptagging[state=start] \setupheads[subsection][style=\bf, number=no, after={. }, alternative=text] \starttext \startsection[reference=sec:deep, title=Deep Thoughts \startparagraph Oh Hum

Re: [NTG-context] \language[is] not working

2017-03-30 Thread Hans Hagen
=is] look into lang-def.mkiv for what more is needed (and in lang-txt.lua) We can of course add that. Hans Many thanks! Florian. \setuppapersize[A6, landscape] \definefontfamily [mainface] [rm] [Palatino Linotype] \setupbodyfont[mainface,10pt] \setupwhitespace[big] % blank line between

Re: [NTG-context] \language[is] not working

2017-03-30 Thread Florian Grammel
Adapting the example from http://wiki.contextgarden.net/Command/language <http://wiki.contextgarden.net/Command/language> to use luatex (which I’ll need). But I get the same result when using the original mkii. Many thanks! Florian. \setuppapersize[A6, landscape] \definefontfamily [ma

Re: [NTG-context] Inline stacking of text

2017-03-12 Thread Hans Hagen
baseline as the title. Unfortunately, I cannot seem to get the baseline alignment to work. Also, I seem to have to add the '\setupwhitespace[-1.0em] to squish the lines together. Is there a better way? Appreciate any guidance. advTHANKSance. MWE--8< \setuppapersize[letter,portr

[NTG-context] Inline stacking of text

2017-03-11 Thread Pavneet Arora
cannot seem to get the baseline alignment to work. Also, I seem to have to add the '\setupwhitespace[-1.0em] to squish the lines together. Is there a better way? Appreciate any guidance. advTHANKSance. MWE--8< \setuppapersize[letter,portrait] \definefontfamily[mainface][rm][Latin Mod

Re: [NTG-context] Bug in Natural Tables

2017-03-09 Thread Hans Hagen
bug with the traditional Natural Table macros: I didn't request anything, but there seems to be a real bug. Here's my code: \setuppapersize [A4,landscape] \starttext \setupTABLE [row] [each] [align={lohi,middle}] \setupTABLE [column] [1] [width=5cm] \setupTABLE [column] [2] [width=2cm

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Thomas A. Schmitz
: I didn't request anything, but there seems to be a real bug. Here's my code: \setuppapersize [A4,landscape] \starttext \setupTABLE [row] [each] [align={lohi,middle}] \setupTABLE [column] [1] [width=5cm] \setupTABLE [column] [2] [width=2cm] \setupTABLE [column] [3] [width=2cm] \setupTABLE

Re: [NTG-context] description renders unintended results

2017-03-04 Thread Otared Kavian
Hi Floris,Since you specify align=leftin the setup of your description, I don’t see why the output would be unexpected. With the following version of your example code I get the attached PDF output.%%% begin \setuppapersize[A5]\definedescription[descr][ headstyle=bold, style=normal,% align

Re: [NTG-context] compression not working in linenotes

2017-03-02 Thread Pablo Rodriguez
On 03/01/2017 07:40 PM, Pablo Rodriguez wrote: > Dear list, > > I don’t get compressed linenotes with this source: > > \setuppapersize[A5] > \setupnote[linenote][paragraph=yes] > \setupnotation[linenote] > [alternative=serried, compress=yes, compressse

[NTG-context] compression not working in linenotes

2017-03-01 Thread Pablo Rodriguez
Dear list, I don’t get compressed linenotes with this source: \setuppapersize[A5] \setupnote[linenote][paragraph=yes] \setupnotation[linenote] [alternative=serried, compress=yes, compressseparator=] \starttext \startlinenumbering \dorecurse{100}{text\linenote

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-20 Thread Ibn Saeed
; > curs=yes, > > mset=yes > > ] > > > > \starttypescript [serif] [arabic] > > \setups[font:fallback:serif] > > \definefontsynonym [Arabic-Regular] [file:arabtype.ttf] [features=arabic] > > \definefontsynonym [Arabic-Bold] [file:Scheherazade-Bold.ttf] > [features

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Otared Kavian
> \definefontsynonym [SerifBold][Arabic-Bold][features=arabic] > \stoptypescript > > \starttypescript [Arabic] > \definetypeface [Arabic] [rm] [serif] [arabic] [default] > \stoptypescript > > \setuppapersize[A4] > \setuplayout[ > grid=min, > backspace=46.666mm, width=140.00mm, >

[NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Ibn Saeed
] \definefontsynonym [Serif][Arabic-Regular] [features=arabic] \definefontsynonym [SerifBold][Arabic-Bold][features=arabic] \stoptypescript \starttypescript [Arabic] \definetypeface [Arabic] [rm] [serif] [arabic] [default] \stoptypescript \setuppapersize[A4] \setuplayout[ grid=min, backspace

Re: [NTG-context] generate multiple files from one source

2017-02-19 Thread Pablo Rodriguez
Rodriguez > <ntg-context-boun...@ntg.nl za uživatele oi...@gmx.es> napsal(a): > > Dear list, > > I have the following sample: > > \setuppapersize[A8, landscape] > \starttext > \dorecurse{10}{ > \startpagemakeup[align=cent

Re: [NTG-context] generate multiple files from one source

2017-02-19 Thread Jaroslav Hajtmar
very busy this weekend. Jaroslav Hajtmar Dne 18.02.17 23:27, ntg-context za uživatele Pablo Rodriguez <ntg-context-boun...@ntg.nl za uživatele oi...@gmx.es> napsal(a): Dear list, I have the following sample: \setuppapersize[A8, landscape] \starttext

Re: [NTG-context] header hanging into margin + rule

2017-02-19 Thread Csikos Bela
Csikos Bela írta: >I would like to setup page headers to be wider than the main text, that is >hanging >into the margin area on both sides by 1.5-1.5 cms. How can I? > >Here is my code: > >\setuppapersize[A4] >\setuplayout[backspace=3.5cm, >width=14cm] >\setuphe

Re: [NTG-context] generate multiple files from one source

2017-02-19 Thread Hans Hagen
On 2/18/2017 11:27 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A8, landscape] \starttext \dorecurse{10}{ \startpagemakeup[align=center] This is invoice number \recurselevel. Customer name from CSV file. Other data from

Re: [NTG-context] generate multiple files from one source

2017-02-18 Thread Henning Hraban Ramm
Am 2017-02-18 um 23:27 schrieb Pablo Rodriguez <oi...@gmx.es>: > Dear list, > > I have the following sample: > >\setuppapersize[A8, landscape] >\starttext >\dorecurse{10}{ >\startpagemakeup[align=center] >This is invoice number \recurseleve

[NTG-context] generate multiple files from one source

2017-02-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A8, landscape] \starttext \dorecurse{10}{ \startpagemakeup[align=center] This is invoice number \recurselevel. Customer name from CSV file. Other data from the same CSV file. \stoppagemakeup} \stoptext

[NTG-context] header hanging into margin

2017-02-18 Thread Csikos Bela
Dear context users: I would like to setup page headers to be wider than the main text, that is hanging into the margin area on both sides by 1.5-1.5 cms. How can I? Here is my code: \setuppapersize[A4] \setuplayout[backspace=3.5cm, width=14cm] \setupheadertexts[] \setupheadertexts[\setups

Re: [NTG-context] pdfboxes

2017-02-13 Thread Peter Rolf
dle, >> width=middle, >> height=middle, >> cropoffset=auto, >> trimoffset=1bp, >> bleedoffset=2bp, >> artoffset=2bp] >> >> \setupbackend >>[level=0] >> >> \starttext >> >> \definepapersize[TestA][w

Re: [NTG-context] pdfboxes

2017-02-10 Thread Hans Hagen
,height=200bp] \definepapersize[TestB][width=150bp,height=250bp] \setuppapersize[TestA][TestB] test \stoptext - ConTeXt version 2017.01.27 gives [..] 10 0 obj <> endobj [..] One additional note. The Mediabox precision seems to be 5 now (and not 4). Taken from my latest table using T

[NTG-context] pdfboxes

2017-02-10 Thread Peter Rolf
=middle, cropoffset=auto, trimoffset=1bp, bleedoffset=2bp, artoffset=2bp] \setupbackend [level=0] \starttext \definepapersize[TestA][width=100bp,height=200bp] \definepapersize[TestB][width=150bp,height=250bp] \setuppapersize[TestA][TestB] test \stoptext - ConTeXt

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

2017-01-18 Thread Otared Kavian
ing I should change in my documents? > > Nicola > > %%%%%% > \setuppapersize[S6][S6] > > \setuplayout[ > width=middle, > height=middle, > topspace=2mm, > header=0mm, > headerdistance=0mm, > location=singlesided, > backspace=5mm, > margin=0mm, > edgedista

[NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Nicola
%% \setuppapersize[S6][S6] \setuplayout[ width=middle, height=middle, topspace=2mm, header=0mm, headerdistance=0mm, location=singlesided, backspace=5mm, margin=0mm, edgedistance=0mm, margindistance=0mm ] \setupalign[nothyphenated,flushleft] % Ocean Sunset (color.adobe.com) \definecolor

Re: [NTG-context] "\" in text from "\comment"

2016-12-21 Thread Hans Hagen
=inmargin, color=yellow]{\xmlflush{#1}}\xmlprettyprint{#1}{tex} \stopxmlsetups \setuppapersize[A6] \setupinteraction[state=start] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext Text from comment reads "\Ux {5C}ConTeXt\Ux {5C} is great".

[NTG-context] "\" in text from "\comment"

2016-12-21 Thread Pablo Rodriguez
]{\xmlflush{#1}}\xmlprettyprint{#1}{tex} \stopxmlsetups \setuppapersize[A6] \setupinteraction[state=start] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext Text from comment reads "\Ux {5C}ConTeXt\Ux {5C} is great". It should read "\ConTeXt\ is great&

Re: [NTG-context] twoside layout

2016-12-13 Thread Hans Hagen
On 12/13/2016 10:54 PM, Herbert Voss wrote: Is it possible to set only the textwidth and the inner margin for a twosided layout? As far as I can see, backspace sets only the _left_ margin of odd _and_ even pages. \definepapersize[new][height=240mm,width=165mm] \setuppapersize[new

[NTG-context] twoside layout

2016-12-13 Thread Herbert Voss
Is it possible to set only the textwidth and the inner margin for a twosided layout? As far as I can see, backspace sets only the _left_ margin of odd _and_ even pages. \definepapersize[new][height=240mm,width=165mm] \setuppapersize[new] \definelayout[odd][ topspace=14pt, header=14pt

<    1   2   3   4   5   6   7   8   9   10   >