Re: [NTG-context] bug in \setupsectionblock and page={yes, blank}

2015-03-09 Thread Wolfgang Schuster
Am 06.03.2015 um 22:53 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have just discovered a weird issue: \setuppapersize[A6] \setupsectionblock[frontpart][page={yes, blank}] \setupsectionblock[bodypart] [page={yes, header, footer}] \setupsectionblock[backpart] [page

[NTG-context] bug in \setupsectionblock and page={yes, blank}

2015-03-06 Thread Pablo Rodriguez
Dear list, I have just discovered a weird issue: \setuppapersize[A6] \setupsectionblock[frontpart][page={yes, blank}] \setupsectionblock[bodypart] [page={yes, header, footer}] \setupsectionblock[backpart] [page={yes, blank}] \starttext \startfrontmatter \dorecurse{2

Re: [NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Wolfgang Schuster
Am 04.03.2015 um 19:45 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A5] \definemakeup[colophon][page={yes, blank, right}] \starttext \dorecurse{6}{\input zapf} \startmakeup[colophon] This is the colophon

[NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \definemakeup[colophon][page={yes, blank, right}] \starttext \dorecurse{6}{\input zapf} \startmakeup[colophon] This is the colophon \stopmakeup I need to have the colophon in an odd page. I thought

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Aditya Mahajan
]) cutbefore n[1] cutafter n[2]; anchor_box(\MPanchor{\MPvar{from}}); \stopMPpositiongraphic \setuppapersize[A6] \setupbackgrounds[page][background=highlight] \starttext \hpos{n1}{this} belongs to \hpos{n2}{that} \stoptext

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Hans Hagen
(center n[1]){dir 45} .. {dir -45}(center n[2]) cutbefore n[1] cutafter n[2]; anchor_box(\MPanchor{\MPvar{from}}); \stopMPpositiongraphic \setuppapersize[A6] \setupbackgrounds[page][background=highlight] \starttext \hpos{n1}{this} belongs to \hpos{n2}{that} \stoptext

[NTG-context] removing layers in empty pages

2015-02-18 Thread Pablo Rodriguez
Dear list, I come with a different approach to the issue I had yesterday. I have a sample: \setuppapersize[A6] \setuppagenumbering[alternative=doublesided, location=] \setupexternalfigures[location=default] \starttext \dorecurse{5}{ \definelayer[spider][state=start] \setlayer[spider

Re: [NTG-context] removing layers in empty pages

2015-02-18 Thread Wolfgang Schuster
Am 18.02.2015 um 22:32 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I come with a different approach to the issue I had yesterday. I have a sample: \setuppapersize[A6] \setuppagenumbering[alternative=doublesided, location=] \setupexternalfigures[location=default] \starttext

Re: [NTG-context] replacing images in PDF documents

2015-02-15 Thread Pablo Rodriguez
: \setuppapersize[A4][A4] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \starttext \insertpages[document.pdf][width=0pt] \stoptext The command

[NTG-context] 2UP Arranging

2015-02-02 Thread John Kitzmiller
the same result? This mwe shows 2UP default: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuppagenumbering[alternative=doublesided] \setuparranging[2UP,doublesided] \setuplayout[ width=92mm, leftedge=0mm, leftmargin=0mm, backspace=15mm

Re: [NTG-context] letter booklet

2015-01-31 Thread John Kitzmiller
imposition with [letter][letter,landscape] did not work, so to start I used: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin

[NTG-context] Some Lua Code solved

2015-01-26 Thread Eric Gerard
,ss] \setupcolor [xwi] \setuppapersize [normal][A4] \setuppapersize [upsidedown][A4] \setuplayout [backspace=16mm, leftmargin=15mm, leftmargindistance=1mm, topspace=10mm, header=0mm, footer=0mm, height=200mm, rightmargin=0mm, width=131mm, location=middle, marking

Re: [NTG-context] Simple tocs

2015-01-26 Thread Pablo Rodriguez
}}} \stoptext BTW, why do you use makeups? They are perfect when content fits in a single page. Otherwise, you get the following (see page 2): \setuppapersize[A6] \starttext \title{Contents}\placelist[chapter] \startmakeup \title{More Contents}\placelist[chapter,section] \stopmakeup

Re: [NTG-context] special features in simplefonts.

2015-01-25 Thread Pablo Rodriguez
. How would I use this font in simplefonts? it is the trailing parameters that I don't know how to use in simplefonts, like: :+liga;expansion=default;protrusion=quality As the body font: \setuppapersize[A6] \definefontfamily[minion][serif][Minion Pro][features={default,quality}] \setupalign

Re: [NTG-context] letter booklet

2015-01-25 Thread Wolfgang Schuster
[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin=0mm, rigthedge=0mm] \showframe \starttext \dorecurse{8}{\input Ward \page} \stoptext

[NTG-context] letter booklet

2015-01-25 Thread John Kitzmiller
Desired outcome: a multipage booklet on letter size paper with margins lined up when duplex printed and folded. Using imposition with [letter][letter,landscape] did not work, so to start I used: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape

Re: [NTG-context] Problem with luacode

2015-01-22 Thread Hans Hagen
=1mm,topspace=10mm,header=0mm,footer=0mm,height=200mm,rightmargin=0mm,width=131mm,location=middle,marking=on] \setuppapersize[normal][A4] \definelayer[OngletGauche][x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setupTABLE[r][1][color=dodgerblue,align={middle,lohi},height=1cm,style

Re: [NTG-context] layers for odd and even pages

2015-01-22 Thread Pablo Rodriguez
reply, Wolfgang. This is what I was looking for. Many thanks for your help, Pablo \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[test][state=repeat,doublesided=yes] \setlayer[test][right]{Odd page} \setlayer[test][left] {Even page

[NTG-context] Problem with luacode

2015-01-20 Thread Eric Gerard
,height=200mm,rightmargin=0mm,width=131mm,location=middle,marking=on] \setuppapersize[normal][A4] \definelayer[OngletGauche][x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setupTABLE[r][1][color=dodgerblue,align={middle,lohi},height=1cm,style={\sansserif \bfx},framecolor=black

Re: [NTG-context] layers for odd and even pages

2015-01-20 Thread Wolfgang Schuster
Am 20.01.2015 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[testodd][state=start] \setlayer[testodd]{Odd page} \definelayer[testeven][state=continue

[NTG-context] layers for odd and even pages

2015-01-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[testodd][state=start] \setlayer[testodd]{Odd page} \definelayer[testeven][state=continue] \setlayer[testeven]{Even page} \setupbackgrounds[page][background={testodd

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-10 Thread Hans Hagen
in ConTeXt code: \setuppapersize[A7] \setupbodyfont[15pt] \starttext \dorecurse{2}{A footnote\footnote {\dorecurse{2}{Footnote paragraph.\par}}} \dorecurse{3}{B footnote\footnote {Footnote paragraph.\par Footnote paragraph.}} \stoptext Footnotes that end with \par have wrong space with next footnote

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Pablo Rodriguez
}{div[@class='footnotes']/ol/li[@id=idstring('\xmlatt{#1}{href}')]/command(xml:footnote:set)} \stopxmlsetups As this id stuff happens more often. Many thanks for your reply and the code, Hans. I have an issue with multiparagraph footnotes. Here is the sample in ConTeXt code: \setuppapersize[A7

Re: [NTG-context] Steps in presentation

2015-01-03 Thread Jeong Dal
int: english/english \setupinteraction[state=start] \setupcolors[state=start] \usemodule[pre-60] \setuppapersize[S4][S4] \starttext \StartSteps \startformula \startalign \NC x^2 + y^2 \NC = z^2 \NR \FlushStep \NC x^2 + y^2 \NC = z^2 \NR \FlushStep \stopalign\stopformula \StopSteps

Re: [NTG-context] Steps in presentation

2015-01-02 Thread Fabrice L.
: %%% \enableregime[utf] \usemodule[rsteps] \setupcolors[state=start] \setuppapersize[S4][S4] \starttext \StartSteps \startformula \eqalign{ P[\text{atteindre l'état}\ j | \text{partant de } i] = P\left[\bigcup_{n=0}^\infty (X_n=j)| X_0 = i\right]\cr \leq \sum_{n=0}^\infty P[X_n=j|X_0=i]\cr =\sum_{n

Re: [NTG-context] Define a new type section with metafun

2014-12-28 Thread Fabrice
Another worry: when the title is too long, there is a line break, which is normal, but what follows is under the dial. Thanks, Fabrice % macros=mkvi \setuppapersize[A4][A4] \setuphead [section] [sectionstopper={}, conversion=Characters, sectionsegments=section:section

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread Pablo Rodriguez
: \setuppapersize[A8] \setupheader [style=\itx\ss] \setupheadertexts [section] \setuppagenumbering[location={header,margin}, style=\bfd] \starttext \dorecurse{80}{\section{Introduction} bla\page[yes]} \stoptext When the glyph 7 is involved in page number, baseline is a bit lower

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
? Hi Jörg, this sample shows the issue without zooming: thanks for confirming this. @devs: can this be considered misbehaviour (not to call it a bug ;-)) or is it somehow unavoidable? \setuppapersize[A8] \setupheader [style=\itx\ss] \setupheadertexts [section

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread Hans Hagen
\showglyphs your header is too small so what you want only works if the heights of all characters are the same which is not the case here solutions: - use a proper height for the header - package the header text in a box and set the height of that box \setuppapersize[A8] \setupheader

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
the top) which causes the baseline of the header to shift downwards accordingly. joerg solutions: - use a proper height for the header - package the header text in a box and set the height of that box \setuppapersize[A8] \setupheader [style=\itx\ss] \setupheadertexts

[NTG-context] Define a new type section with metafun

2014-12-27 Thread Akira Kakuto
Dear Fabrice, A try and error method which you may not want: % macros=mkvi \setuppapersize[A4][A4] \setupcolors[state=start,cmyk=yes,mpcmyk=yes] \definecolor[mycolor][c=0.45,m=0.00,y=0.1,k=0.00] \definecolor[colortext][c=1,m=0.00,y=0.3,k=0.3] \starttext \startuniqueMPgraphic{funny} path p

Re: [NTG-context] Define a new type section with metafun

2014-12-27 Thread Hans Hagen
On 12/28/2014 12:01 AM, Akira Kakuto wrote: Dear Fabrice, A try and error method which you may not want: % macros=mkvi \setuppapersize[A4][A4] \setupcolors[state=start,cmyk=yes,mpcmyk=yes] \definecolor[mycolor][c=0.45,m=0.00,y=0.1,k=0.00] \definecolor[colortext][c=1,m=0.00,y=0.3,k=0.3

[NTG-context] Define a new type section with metafun

2014-12-26 Thread Fabrice Couvreur
Hi, I wish red separation is exactly in the middle of the dial and the title of the section. Then, the line is too long, it should not exceed the boundary of the ellipse. Best regards, Fabrice % macros=mkvi \setuppapersize[A4][A4] \setupcolors[state=start,cmyk=yes,mpcmyk=yes] \definecolor

[NTG-context] setting margins in makeup

2014-12-19 Thread Mark Szepieniec
.html), I tried the following: \setuppapersize [A4][A4] % Standard page layout \setuplayout[width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, bottomspace=0.75in] % Title page layout % \definemakeup defines a layout with the same name, which we alter

Re: [NTG-context] setting margins in makeup

2014-12-19 Thread Mark Szepieniec
and cutspace, regardless of the standard layout of the rest of the document. Following Wolfgang's recommendation ( http://www.ntg.nl/pipermail/ntg-context/2014/079409.html), I tried the following: \setuppapersize [A4][A4] % Standard page layout \setuplayout[width=middle, backspace=1.5in

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
the page by \useoverviewpage{reference} An example is: \usemodule[overviewpage] \setuppapersize[S4] \setupframedtext[rulethickness=3pt] \starttext \startframedtext \input ward \stopframedtext \saveoverviewpage{ward} \page \input tufte \page \scale[width=0.5\textwidth]{\useoverviewpage{ward

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Otared Kavian
is: \usemodule[overviewpage] \setuppapersize[S4] \setupframedtext[rulethickness=3pt] \starttext \startframedtext \input ward \stopframedtext \saveoverviewpage{ward} \page \input tufte \page \scale[width=0.5\textwidth]{\useoverviewpage{ward}} \stoptext However, when I

[NTG-context] help with command definition

2014-12-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A7,landscape] \def\slide#1{\startstandardmakeup#1\stopstandardmakeup} \def\codeslide#1{\startstandardmakeup \starttyping#1\stoptyping\stopstandardmakeup} \starttext \startstandardmakeup \ConTeXt

Re: [NTG-context] bug in \setupitemize?

2014-12-12 Thread Hans Hagen
On 12/11/2014 7:04 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe\showgrid \setuppapersize[A6] \setupitemize[inbetween={\blank[preference,big]}] \starttext \dorecurse{3}{\dorecurse{3}{Sometimes is really hard to place list items. Am

[NTG-context] bug in \setupitemize?

2014-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe\showgrid \setuppapersize[A6] \setupitemize[inbetween={\blank[preference,big]}] \starttext \dorecurse{3}{\dorecurse{3}{Sometimes is really hard to place list items. Am I missing something? }\par} \startitemize

[NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \startsetups[setups:footnote] \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][way=bytext, location=text, setups=setups:footnote, style=\itxx] \starttext Hi\footnote{\input knuth

Re: [NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Wolfgang Schuster
Am 11.12.2014 um 19:14 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A6] \startsetups[setups:footnote] \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][way=bytext, location=text, setups

Re: [NTG-context] issue with t-scancsv.lua

2014-12-10 Thread Pablo Rodriguez
(I don’t even mention what TeX or ConTeXt might be). Many thanks for your help, Pablo Example of use hooks etc. eg. Here: \usemodule[scancsv] \setuppapersize[C6, landscape] \setuppagenumbering[location=] % Structure of CSV file - you can use macros in CSV table too % name;address

[NTG-context] Parameters of a table that interfere on another table

2014-12-09 Thread Fabrice Couvreur
Hi, I do not understand why the parameters of the first table apply to the second table. Best regards, Fabrice \setuppapersize[A4][A4] \setuplayout[ backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt

[NTG-context] issue with t-scancsv.lua

2014-12-08 Thread Pablo Rodriguez
Hello Jaroslav, I have discovered that it is impossible to change letter cases with fields imported with t-scancsv.lua. Here you have a sample: \usemodule[scancsv] \setuppapersize[C6, landscape] \setuppagenumbering[location=] \unexpanded\def\lineaction{ \lowercase{\cA}\crlf \uppercase{\cB

Re: [NTG-context] issue with t-scancsv.lua

2014-12-08 Thread Jaroslav Hajtmar
Hello Pablo. What do you think of this solution: \usemodule[scancsv] \setuppapersize[C6, landscape] \setuppagenumbering[location=] \unexpanded\def\lineaction{ \edef\lcA{\lowercase{\cA}} \edef\ucB{\uppercase{\cB}} cA: \cA -- lowercase cA: \lcA\crlf cB: \cB -- upercase cB: \ucB\crlf cC: \cC

Re: [NTG-context] issue with t-scancsv.lua

2014-12-08 Thread Pablo Rodriguez
] \setuppapersize[C6, landscape] \setuppagenumbering[location=] \unexpanded\def\lineaction{ \edef\lcA{\lowercase{\cA}} \edef\ucB{\uppercase{\cB}} cA: \cA -- lowercase cA: \lcA\crlf cB: \cB -- upercase cB: \ucB\crlf cC: \cC -- cD: \cD\crlf \lowercase{}\crlf \uppercase{}\crlf \page

Re: [NTG-context] issue with t-scancsv.lua

2014-12-08 Thread Jaroslav Hajtmar
before processing the CSV file). I greet you. Jaroslav Hajtmar Example of use hooks etc. eg. Here: \usemodule[scancsv] \setuppapersize[C6, landscape] \setuppagenumbering[location=] % Structure of CSV file - you can use macros in CSV table too % name;address;postcode;city;linecolor % ME;STREET

Re: [NTG-context] White Space in Running Headers

2014-12-04 Thread Neal Lester
\starttext \setuppapersize[letter] \setuplayout[topspace=0.20in,height=10.60in,header=28pt,footer=0.32in,headerdistance=0.03in,footerdistance=0.03in,backspace=0.3in,width=7.90in] \setuppagenumbering [location=] \define\headerframe{{\framed[frame=on,strut=no,offset=0.0pt,height=fit,width=7.9in,align

Re: [NTG-context] No number on first page

2014-11-26 Thread Pablo Rodriguez
] is what you need. Minimal working sample: \setuppapersize[A6] \setuphead[chapter][header=empty] \starttext \dorecurse{5}{\chapter{Digital typography} \dorecurse{5}{\input zapf\par}} \stoptext I hope it helps, Pablo -- http://www.ousia.tk

Re: [NTG-context] No number on first page

2014-11-26 Thread Richard Sherman
Pablo Rodriguez oinos at gmx.es writes: Minimal working sample: \setuppapersize[A6] \setuphead[chapter][header=empty] \starttext \dorecurse{5}{\chapter{Digital typography} \dorecurse{5}{\input zapf\par}} \stoptext Thank you, that is great. -Richard

[NTG-context] wrong line break in linenotes

2014-11-24 Thread Pablo Rodriguez
Dear list, sorry for writting again about this, but I have this sample: \showframe \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \setupnote[linenote][rule=off, paragraph=yes, split=verystrict, scope=text, inbetween=\hskip1.5em, compress=yes] \setupnotation

[NTG-context] Adjusting topspace for letterhead in layer construct

2014-11-19 Thread jdh
-context version: 2014.10.18 14:30 Here is a simple minimal exmple: % % Start of minimal example \setuppapersize[letter][letter] \setuppagenumbering[location=footer] \setuplayout[ backspace=31mm, header=5mm, rightmargin=2cm, leftmargin=2cm

[NTG-context] layer letterhead and top down distance

2014-11-19 Thread jdh
. In \setlayer I set y=3mm I tried adjusting topspace but it didn't do what I wanted and topdistance was already 0. I am using theh ConText standalone: mtx-context version: 2014.10.18 14:30 Here is a simple minimal file. % % Start of minimal example \setuppapersize[letter][letter

[NTG-context] \adaptpapersize doesn't change back

2014-11-18 Thread Pol Stra
Hello, This message is just for bug report. from wiki, the below example should switch back page 4 in portrait mode, but it doesn't. (ConTeXt ver: 2014.11.17 14:32 MKIV beta) \definepapersize[main] [A4] \definepapersize[extra][A4,landscape] \setuppapersize[main] \starttext Page 1. Portrait

Re: [NTG-context] mail merge in mkiv?

2014-11-07 Thread Jaroslav Hajtmar
to release it as a module? Or to publish it at GitHub? The minimal sample would be envelopes such as: \setuppapersize[C6, landscape] \setuppagenumbering[location=] \starttext Name\\ Address\\ Postcode--City\\ \stoptext csv file would be: Name;Address;Postcode;City; Me;Street;;Here; You;Square

Re: [NTG-context] mail merge in mkiv?

2014-11-06 Thread Pablo Rodriguez
it as a module? Or to publish it at GitHub? The minimal sample would be envelopes such as: \setuppapersize[C6, landscape] \setuppagenumbering[location=] \starttext Name\\ Address\\ Postcode--City\\ \stoptext csv file would be: Name;Address;Postcode;City; Me;Street;;Here; You;Square;;There; Many

Re: [NTG-context] (again) bug in index sorting?

2014-11-02 Thread Robert Blackstone
On 2 Nov 2014, at 12:00 , Pablo Rodriguez oi...@gmx.es wrote I have the following sample: \setuppapersize[A6] \starttext \index{tipografía digital} \index{tipografías} \index{tomato white} \index{tomatoes red} \index{idioma+de un pasaje} \index{idioma+del documento} \completeindex

Re: [NTG-context] (again) bug in index sorting?

2014-11-02 Thread Alan BRASLAU
On Sun, 2 Nov 2014 12:45:25 +0100 Robert Blackstone blackstone.rob...@gmail.com wrote: On 2 Nov 2014, at 12:00 , Pablo Rodriguez oi...@gmx.es wrote I have the following sample: \setuppapersize[A6] \starttext \index{tipografía digital} \index{tipografías} \index{tomato white

[NTG-context] (again) bug in index sorting?

2014-11-01 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \starttext \index{tipografía digital} \index{tipografías} \index{tomato white} \index{tomatoes red} \index{idioma+de un pasaje} \index{idioma+del documento} \completeindex \stoptext Latest beta from 2014.10.31 12:47 sorts the index

[NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
and \setpenalties\widowpenalties{100}\maxdimen I couldn't get working neither. Though the last one got closest. Here's the minimal example I could come up with, sorry for it beeing a bit lengthy: %% \installlanguage[german][de] \mainlanguage[de] \setuppapersize[A4][A4] \setuplayout[reset

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle
[it] \setupcolors[state=start] \definepapersize[ZaffiriBook][width=130mm,height=205mm] \setuppapersize[ZaffiriBook, portrait][ZaffiriBook, portrait] \setuppagenumber[state=stop] \setuppagenumbering[location={footer, margin}] \setupindenting[yes, medium] \setupheads[indentnext=yes] \setuptyping [before

Re: [NTG-context] first line indents

2014-10-13 Thread Wolfgang Schuster
] \setuppapersize[ZaffiriBook, portrait][ZaffiriBook, portrait] \setuppagenumber[state=stop] \setuppagenumbering[location={footer, margin}] \setupindenting[yes, medium] \setupheads[indentnext=yes] \setuptyping [before={\setupbodyfont[6pt]}, after={\setupbodyfont[9pt]}] Use

Re: [NTG-context] Animation captions (was: error in animation)

2014-10-06 Thread Otared Kavian
are cut. Here is the example: \usemodule[animation] \setuppapersize[S6][S6] \setupinteraction[state=start] \definepairedbox[animationtext][location=top,align=middle,width=\textwidth] \starttext \startanimation {\placeanimationtext{Sine norm, and}{\startformula \int_{0}^{2\pi}\sin^2(x)dx

[NTG-context] hyphenating urls and \tex

2014-10-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A7] \define[1]\url{\useURL[url][#1]\from[url])} \starttext \hsize\zeropoint \tex{thisisthelongestcommandeverseen.com} \url{thisisthelongesturleverseen.com} \stoptext In a beta from this year a new feature

Re: [NTG-context] hyphenating urls and \tex

2014-10-05 Thread Hans Hagen
On 10/5/2014 10:58 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A7] \define[1]\url{\useURL[url][#1]\from[url])} \starttext \hsize\zeropoint \tex{thisisthelongestcommandeverseen.com} \url{thisisthelongesturleverseen.com

Re: [NTG-context] flushing makeup to the right

2014-10-04 Thread Wolfgang Schuster
Am 02.10.2014 um 19:55 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample (with latest beta form 2014.09.27 14:46): \showframe \setuppapersize[A6] \definemakeup[dedication][align={left,nothyphenated}, pagestate=start] \setuplayout[dedication][backspace=.5

[NTG-context] flushing makeup to the right

2014-10-02 Thread Pablo Rodriguez
Dear list, I have the following sample (with latest beta form 2014.09.27 14:46): \showframe \setuppapersize[A6] \definemakeup[dedication][align={left,nothyphenated}, pagestate=start] \setuplayout[dedication][backspace=.5\textwidth] \starttext \startmakeup[dedication] This book is dedicated

Re: [NTG-context] Using \startframedtext with \startcombination

2014-10-01 Thread Wolfgang Schuster
than one cell on the page. You can see in the following example that the second cell is positioned outside of the visible page area. \setuppapersize[A4][A3,landscape] \showframe \setupframedtext[width=8cm,framecolor=red,frameoffset=-1ex] \starttext \startcombination \startcontent

[NTG-context] perfect centering of layers in a text area

2014-09-20 Thread Bernd Donner
that the table is not perfectly centered with respect to the line and what is the correct solution? Thank you, Bernd \setuppapersize[A4] \language[de] \enableregime[utf] \setuplayout[backspace=2.0cm, height=fit, width=fit, rightmarginwidth=0.0cm, leftmargin=1.8cm, footerdistance

Re: [NTG-context] perfect centering of layers in a text area

2014-09-20 Thread Wolfgang Schuster
- is not perfectly centered with respect to the bottomframe. What is the reason that the table is not perfectly centered with respect to the line and what is the correct solution? Thank you, Bernd \setuppapersize[A4] \language[de] \enableregime[utf] \setuplayout[backspace=2.0cm

Re: [NTG-context] bug in hyphenation?

2014-09-18 Thread Pablo Rodriguez
, Thomas. My sample is the following: \showframe \mainlanguage[en] \setuplanguage[en][patterns={en, agr}] \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \definefontfamily[mainface][serif][FreeSerif] \setupbodyfont[mainface, 13pt] \unexpanded\def\doCritApp#1#2#3

Re: [NTG-context] bug in hyphenation?

2014-09-18 Thread Thomas A. Schmitz
that. Example without Greek: \showframe \mainlanguage[en] \setuplanguage[en][patterns={en, agr}] \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \definefontfamily[mainface][serif][FreeSerif] \setupbodyfont[mainface, 13pt] \unexpanded\def\doCritApp#1#2#3

[NTG-context] Change linewidth of a table

2014-09-17 Thread Fabrice Couvreur
Hi, How to complete the grid ? Thank you. Fabrice \setuppapersize[A4] \setuplayout[ backspace=5mm, width=middle, topspace=5mm, height=middle, header=0pt, footer=0pt, ] \definetypeface [me] [rm] [serif] [pagella] [default

Re: [NTG-context] bug in hyphenation?

2014-09-17 Thread Thomas A. Schmitz
, but I think that the bug is clear, but I don’t know how to provide a minimal sample. Many thanks for your help, Why is it difficult to provide a minimal example? I have this: \definepapersize [test] [width=5.7in,height=4in] \setuppapersize [test] [test] \mainlanguage [agr] \definefontfamily

Re: [NTG-context] bug in hyphenation?

2014-09-16 Thread Thangalin
Hi Pablo, Are you able to avoid \hsize in favour of something like start/stopnarrower? \setuppapersize[A8] \starttext \startnarrower[-left] \startlinenumbering sentence sentence sentence \stoplinenumbering \stopnarrower \startnarrower[-left] sentence sentence sentence \stopnarrower \stoptext

[NTG-context] can not get colums to work

2014-09-16 Thread Marc Spitzer
=\bfa] \setupbodyfontenvironment[default][em=italic] \setuppapersize[A5] \starttext \startsection[title={Testing ConTeXt}] \startcolumns I would say to the House, as I said to those who have joined this Government, I have nothing to offer but blood, toil, tears and sweat. We have before us

Re: [NTG-context] can not get colums to work

2014-09-16 Thread Hans Hagen
is the error: ## TEX start head[section][style=\bfa] \setupohead ? \setupbodyfontenvironment[default][em=italic] \setuppapersize[A5] \starttext \startsection[title={Testing ConTeXt}] \startcolumns I would say to the House, as I said to those who have joined this Government, I have nothing

[NTG-context] bug in hyphenation?

2014-09-15 Thread Pablo Rodriguez
Dear list, I have a simplified verson of the sample I submitted to the list almost a week ago: \setuppapersize[A8] \starttext \startlinenumbering \hsize\zeropoint sentence sentence sentence \stoplinenumbering \hsize\zeropoint sentence sentence sentence \stoptext I’m afraid that line numbering

[NTG-context] line numbering prevents some hyphenations

2014-09-06 Thread Pablo Rodriguez
Hans, I’m afraid that I have just discovered that line numbering prevents hyphenation in some circunstances: \setuppapersize[A8] \setuplanguage[en][patterns={en, agr}] \definefontfamily[mainface][serif][GFS Didot] \setupbodyfont[mainface, 13pt] \starttext \startlinenumbering \hsize\zeropoint

Re: [NTG-context] bug in hyphenation?

2014-09-04 Thread Pablo Rodriguez
On 08/30/2014 12:00 PM, Hans Hagen wrote: On 8/30/2014 6:47 AM, Pablo Rodriguez wrote: Dear list, the following sample shows bad hyphenation in the first body line and in many linenotes: \showframe \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \setupnote

[NTG-context] Framed text and page breaks

2014-09-02 Thread Keith McKay
: \definepapersize[book][width=5.06in,height=7.81in] \setuppapersize [book][] \setuplayout [width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm] \starttext \dorecurse{2}{\input ward \blank} \midaligned \framed[frame=off,width=5cm,align={width

Re: [NTG-context] Framed text and page breaks

2014-09-02 Thread Aditya Mahajan
shows these effects: \definepapersize[book][width=5.06in,height=7.81in] \setuppapersize [book][] \setuplayout [width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm] \starttext \dorecurse{2}{\input ward \blank} \midaligned \framed[frame=off,width=5cm

Re: [NTG-context] Framed text and page breaks

2014-09-02 Thread Keith McKay
,height=7.81in] \setuppapersize [book][] \setuplayout [width=middle,backspace=12.5mm,cutspace=12.5mm,height=middle,topspace=12.7mm,bottomspace=12.7mm] \starttext \dorecurse{2}{\input ward \blank} \midaligned \framed[frame=off,width=5cm,align={width,nothyphenated,verytolerant,stretch},before

[NTG-context] Footnote with midaligned text

2014-09-01 Thread Francisco Gracia
\setuppapersize[A6][A6] \def\Text{ This is the main text.} \starttext \dorecurse{3}{\Text} \footnote{This is the first main text footnote.} \dorecurse{3}{\Text} \blank[medium] \midaligned{This sentence is midaligned.} \footnote{This is the centered footnote

Re: [NTG-context] Footnote with midaligned text

2014-09-01 Thread Wolfgang Schuster
(at the end of the page). Is there a way to make both things fit? Need to be fixed by Hans, it happens when you put a note in a box which is placed in horizontal mode. \automigrateinserts \setuppapersize[A6] \starttext \hbox{One\footnote{First note.}} \dontleavehmode\hbox{Two\footnote{Second

Re: [NTG-context] bug in hyphenation?

2014-08-30 Thread Hans Hagen
On 8/30/2014 6:47 AM, Pablo Rodriguez wrote: Dear list, the following sample shows bad hyphenation in the first body line and in many linenotes: \showframe \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \setupnote[linenote][rule=off, paragraph=yes, split

Re: [NTG-context] Arranging not working

2014-08-30 Thread Pablo Rodriguez
: \setuppapersize [A5][A4,landscape] \setuparranging [2UP, doublesided] \setuplayout [page] \starttext \insertpages[document.pdf][width=0pt] \stoptext Just in case it helps, Pablo -- http://www.ousia.tk

Re: [NTG-context] Arranging not working

2014-08-30 Thread Willi Egger
: \setuppapersize [A5][A4,landscape] \setuparranging [2UP, doublesided] \setuplayout [page] \starttext \insertpages[document.pdf][width=0pt] \stoptext Just in case it helps, Pablo -- http://www.ousia.tk

[NTG-context] bug in hyphenation?

2014-08-29 Thread Pablo Rodriguez
Dear list, the following sample shows bad hyphenation in the first body line and in many linenotes: \showframe \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \setupnote[linenote][rule=off, paragraph=yes, split=verystrict, scope=text, inbetween=\hskip1.5em, compress

[NTG-context] Title in margin example from the wiki not working?

2014-08-07 Thread Mica Semrick
Hello, I'm trying to get the subject heading in the margin. I found this code on the wiki, but it is not compiling with the latest version of ConTeXt. \setuppapersize[A5] \setuphead [subject] [alternative=text,distance=0pt,command=\MyHead,style=\sc] \def\MyHead#1#2{\inmargin{#1 #2

Re: [NTG-context] Title in margin example from the wiki not working?

2014-08-07 Thread Wolfgang Schuster
Am 07.08.2014 um 08:38 schrieb Mica Semrick m...@silentumbrella.com: Hello, I'm trying to get the subject heading in the margin. I found this code on the wiki, but it is not compiling with the latest version of ConTeXt. \setuppapersize[A5] \setuphead [subject] [alternative=text

[NTG-context] Date format problems

2014-07-29 Thread A.J. Bonnema
): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] 5 6 \setupheadertexts[CV Guus Bonnema] 7 \setupfootertexts[\currentdate][pagenumber] 8 9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt] 10 Line 4 is the relevant

Re: [NTG-context] Date format problems

2014-07-29 Thread Herbert Voss
vi (line 4 is the relevant line): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] \mainlanguage[nl] Herbert 5 6 \setupheadertexts[CV Guus Bonnema] 7 \setupfootertexts[\currentdate][pagenumber] 8 9

Re: [NTG-context] Date format problems

2014-07-29 Thread A.J. Bonnema
direction. I copy the start of the document from vi (line 4 is the relevant line): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] \mainlanguage[nl] Herbert Thanks Herbert. I editted the wiki page of Command/date to add

[NTG-context] Why is my output body text in 15pt?

2014-07-23 Thread Gerben Wierda
.\discretionary ..\*12ptrmtfrm*: - .\*12ptrmtfrm*: i .etc. Which seems to indicate that the font is 12pt. But why is the document in 15pt text? My environment contains (amongst other things): \definepapersize[smallpaperback][width=5in,height=8in] \setuppapersize[smallpaperback][smallpaperback

Re: [NTG-context] Figure whitespace overflows page

2014-07-20 Thread Rik Kabel
into the footnote space by avoiding footnotes, but the space on the next page is just ugly. \setuppapersize[A6] \setupexternalfigures[location={local,default}] \setupfloats[spaceafter=none] \starttext \input{knuth} \placefigure[left]{Caption} {\startcombination[1*3

Re: [NTG-context] textbackground inside itemize

2014-07-09 Thread Hans Hagen
Thanks, Troy Henderson --- \setuppapersize[letter,landscape][letter,landscape] \definetextbackground[foo][ state=start, location=paragraph, background=color, backgroundcolor={0.875,0.875,0.875}, frame=off ] \starttext \startcolumns[n=2,rule

[NTG-context] textbackground inside itemize

2014-07-08 Thread Troy Henderson
The following code produces a textbackground whose background color enters into the itemize label area on the second (and succeeding) lines of the paragraph. I would appreciate advice on fixing this. Thanks, Troy Henderson --- \setuppapersize[letter,landscape][letter,landscape

[NTG-context] Protrusion with compound word hyphenation (||)

2014-07-01 Thread Rik Kabel
I notice that with compound words broken across lines protrusion does not get applied. This looks pretty rough when there are normal hyphenated words in the same paragraph. WE (exaggerated, but demonstrates the point): \setuppapersize[monarch] \definefontfeature [default

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