[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
n=middle, >> width=middle, >> height=middle, >> cropoffset=auto, >> trimoffset=1bp, >> bleedoffset=2bp, >> artoffset=2bp] >> >> \setupbackend >>[level=0] >> >> \starttext >> >> \definepapersize[Tes

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
efore it used to fit in one page. > > I paste below an example, if that helps. I am using a system font, > so you may not be able to reproduce my problem without it. > > Is there something I should change in my documents? > > Nicola > > %%%%%

[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

[NTG-context] bug with backslash in comment (xml)?

2016-12-08 Thread Pablo Rodriguez
} \stopxmlsetups \setuppapersize[A6] \setupinteraction[state=start] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext I’m afraid that I get "\Ux {5C}ConTeXt\Ux {5C} is great" instead of "\ConTeXt\ is great". I’m afraid I might have hit a bug. Or am I miss

[NTG-context] interlinespace for \setuplist

2016-12-06 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A5] \setupinterlinespace[line=4em] \startsetups[interlinesp:section] \setupinterlinespace[line=3em] \stopsetups \startsetups[interlinesp:subsection] \setupinterlinespace[line=2.8em] \stopsetups

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

2016-11-17 Thread Hans Hagen
On 11/17/2016 8:53 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[placesect] \start \setupinterlinespace

[NTG-context] bug in \directsetup?

2016-11-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[placesect] \start \setupinterlinespace [line=2.8ex] \placelist

[NTG-context] interline space for \setuplist[alternative=d]

2016-11-02 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[lsect] \setupinterlinespace[line=28ex] \stopsetups \setuplist[section][style=\tfxx, alternative=d

Re: [NTG-context] Multiple Choice Quiz with self marking funciton

2016-10-25 Thread B.A.Lee
Thanks Wolfgang for pointing the direction. My effort so far gave the following: \setuppapersize[S4][S4]\setupinteraction[state=start,click=no] \definefield     [Choice][radio][ChoiceSetup]    [yes,no] \definesymbol [YesS] [Y] %[\ding{52},color=red] %% Not successful in getting the symbols I

Re: [NTG-context] Example of Equivalent of Beamer with \onslide

2016-10-22 Thread Aditya Mahajan
through my slides. These are not as feature rich as beamer macros, but get the work done. I had not designed them for stepping through math, but they can be used for that purpose. For example, the following file: \environment steps.tex \setuppapersize[S5] \starttext \StartStepping 4

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
On 12.10.2016 15:48, Otared Kavian wrote: Hi Thomas, It seems that if you use \setuplinenumbering the issue is fixed: please have a look here: \setuppapersize [A6] \setuplinenumbering[location=text,distance=0.5cm] \starttext \startlinenumbering \dorecurse{2}{\input tufte

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-12 Thread Mingranina Gingranina
d the fontsampler codes so that I can use it in ConTeXt with >> >> Dabeer module. >> > 1. What is Dabeer? >> >> It is a module for Persian typesetting in ConTeXt. Please see: >> https://github.com/bateni/dabeer >> >> > >> > 2. You can acce

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Otared Kavian
Hi Thomas, It seems that if you use \setuplinenumbering the issue is fixed: please have a look here: \setuppapersize [A6] \setuplinenumbering[location=text,distance=0.5cm] \starttext \startlinenumbering \dorecurse{2}{\input tufte} \stoplinenumbering dummy \stoptext Best regards: OK

[NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
Hi all, consider this example: \setuppapersize [A6] \starttext \startlinenumbering [location=text,distance=0.5cm] \dorecurse{2}{\input tufte} \stoplinenumbering dummy \stoptext on the second page, the position of the linenumbering changes and does not follow the "distance" se

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-11 Thread Mohammad Hossein Bateni
sian typesetting in ConTeXt. Please see: > https://github.com/bateni/dabeer > > > > > 2. You can access the list of known fonts with the "fonts.names.list" > > function: > > > > \setuppapersize[A4,landscape] > > > > \starttext > > >

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-10 Thread Mingranina Gingranina
u can access the list of known fonts with the "fonts.names.list" > function: > > \setuppapersize[A4,landscape] > > \starttext > > \startluacode > > local fontlist = fonts.names.list("",true,true) > > context.starttabulate({"|l|l|&quo

Re: [NTG-context] typeset page in page

2016-10-10 Thread Wolfgang Schuster
format | | | | | | | | | | | | | | | | | | | +-+ | | | | | | | | | | | | | | | +--+ \starttext \startbuffer[ward] \setuppapersize[A5] \showframe \starttext \subject{Ward} \input ward \stoptext \stopbuffer \startplacefigure[title={Creating a example with \tex{typesetbuffer}}] \typesetbuffer[ward][width=.5\tex

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-10 Thread Wolfgang Schuster
ist of known fonts with the "fonts.names.list" function: \setuppapersize[A4,landscape] \starttext \startluacode local fontlist = fonts.names.list("",true,true) context.starttabulate({"|l|l|"}) for fontname, fontentry in next, fontlist do context

[NTG-context] "marking=one" with marks on more than the first page

2016-10-06 Thread Pablo Rodriguez
Hans, the following sample puts the cut marks on each page: \showframe \setuppapersize[A5][A4] \setuplayout [marking=one, location=middle] \starttext \ctxlua{for i=1,10 do tex.print("\\startpagemakeup\\filterpages[setup-en.pdf][" .. i .. &q

[NTG-context] not understanding basic imposition

2016-10-06 Thread Pablo Rodriguez
Dear list, sorry, but I don’t understand why the second imposed page is reduced from margins in this sample: \showframe \setuppapersize[A5][A4] \setuplayout [backspace=0pt, topspace=0pt, marking=page, location=middle, header=0pt

Re: [NTG-context] marks on the first page only

2016-10-06 Thread Pablo Rodriguez
he >> document? > > next beta: > > \starttext > > \setuppapersize[A4][A3] \setuplayout[location=middle] > > \setuplayout[marking=one] \dorecurse{4}{test\page} > \setuplayout[marking={color,two}] \dorecurse{4}{test\page} > > \stoptext > > extra

Re: [NTG-context] marks on the first page only

2016-10-06 Thread Hans Hagen
On 10/6/2016 8:28 AM, Pablo Rodriguez wrote: Hans, would it be possible to have a "first" value added to the "marking" key from \setuplayout that prints cut marks only on the first page of the document? next beta: \starttext \setuppapersize[A4][A3] \setupla

[NTG-context] imposition broken in latest beta?

2016-10-05 Thread Pablo Rodriguez
Dear list, I’m using latest beta from 2016.09.24 12:40. I have the following sample: \showframe \setuppapersize [A5][A4] \setuppagenumbering[alternative=doublesided] \setuplayout [backspace=0pt, topspace=0pt, marking=page, location=doublesided

[NTG-context] two questions on imposition

2016-10-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6,landscape] \setupbodyfont[pagella, 12.1pt] \starttext \input knuth \stoptext I don’t get it imposed four times on a single A4 sheet: \showframe \setuppapersize [A6][A4, landscape] \setuppaper[nx=2,ny=2

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

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

[NTG-context] dx in setuplayout problem

2016-09-29 Thread Jean Magnan de Bornier
] \setuppapersize[BC][A4] \setuplayout[nx=2,ny=5,dx=10mm] \setuplayout[location=middle,width=fit,height=fit] \setuppagenumbering[state=stop] \showframe[edge] \starttext moi et moi \stoptext . There is no symmetry in the output as can be seen in the attached file. This

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Henri Menke
- >> >> \startbuffer[biblio] >> @article{Heisenberg1926, >> author = {Heisenberg, W.}, >> title = {Mehrk\"orperproblem und Resonanz in der Quantenmechanik}, >> journal = {Zeitschrift f\"ur Physik}, >> year = {1926}, >> volum

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Alan Braslau
> volume = {38}, > number = {6}, > pages = {411--426}, > issn = {0044-3328}, > doi = {10.1007/BF01397160}, > url = {http://dx.doi.org/10.1007/BF01397160} > } > \stopbuffer > > \version[temporary] > \setuppapersize[A5][A5] > > \usebtxdataset[biblio.buffer] > \

Re: [NTG-context] Protrusion, hyphens and lining figures

2016-09-27 Thread Pablo Rodriguez
osé Luis, I remembered that EB Garamond is such a typeface. Here is the sample (which works for me): \showframe\showgrid \mainlanguage[es] \setuppapersize[A6] \definefontfeature[default][default] [lnum=yes, protrusion=quality, expansion=quality] \setupa

Re: [NTG-context] Overfull boxes in bibliography

2016-09-27 Thread Henri Menke
umber = {6}, > pages = {411--426}, > issn = {0044-3328}, > doi = {10.1007/BF01397160}, > url = {http://dx.doi.org/10.1007/BF01397160} > } > \stopbuffer > > \version[temporary] > \setuppapersize[A5][A5] > > \usebtxdataset[biblio.buffer] > \usebtxdefinitio

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-23 Thread Hans Hagen
On 9/23/2016 1:50 PM, Procházka Lukáš Ing. wrote: Hello, still a problem - consider the following code: \ifx\startpapersize\undefined \unprotect \def\startpapersize{\page\pushmacro\page_paper_restore\setuppapersize} \protect \fi \ifx\stoppapersize\undefined \unprotect \def

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-23 Thread Procházka Lukáš Ing .
Hello, still a problem - consider the following code: \ifx\startpapersize\undefined \unprotect \def\startpapersize{\page\pushmacro\page_paper_restore\setuppapersize} \protect \fi \ifx\stoppapersize\undefined \unprotect \def\stoppapersize{\page\popmacro\page_paper_restore

Re: [NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
--- \showframe \setuppapersize[A6][A6] \definefontfeature [default][default] [protrusion=quality] \setupalign[hanging] \starttext % this is margin kerned Hyphenation of compound words is non-trivial % this should be margin kerned but isn't Hyphenation of compound words is non|-|trivial % this doe

[NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
can I fix this? Cheers, Henri --- \showframe \setuppapersize[A6][A6] \definefontfeature [default][default] [protrusion=quality] \setupalign[hanging] \starttext % this is margin kerned Hyphenation is of compound words is non-trivial % this should be margin kerned but isn't Hyphenation

[NTG-context] Overfull boxes in bibliography

2016-08-29 Thread Henri Menke
[temporary] \setuppapersize[A5][A5] \usebtxdataset[biblio.buffer] \usebtxdefinitions[aps] \starttext \showframe \setupitemize[left={[},right={]},width=3em,stopper=] \startitemize[n] \item W. Heisenberg, Mehrkörperproblem und Resonanz in der Quantenmechanik, {\em Zeitschrift für Physik} {\bf 38}(6)

Re: [NTG-context] Problem loading font KFGQPC Uthman Taha Naskh font

2016-08-21 Thread Hans Hagen
x27; ...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:492: in function 'loadfont' ...ext/tex/texmf-context/tex/context/base/mkiv/font-def.lua:418: in function 'read' ...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:1172: in function <...ext/tex/texmf-cont

[NTG-context] Problem loading font KFGQPC Uthman Taha Naskh font

2016-08-21 Thread Mohammad Hossein Bateni
ction 'loadfont' ...ext/tex/texmf-context/tex/context/base/mkiv/font-def.lua:418: in function 'read' ...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:1172: in function <...ext/tex/texmf-context/tex/context/base/mkiv/font-ctx.lua:1059> (...

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

2016-08-13 Thread Jean-Pierre Delange
mmand isn’t required. % Normal A4 size paper \setuppapersize[A4][A4] Well, this is the default paper size in ConTeXt. No need to select it. \setupcolors[state=start] I’d say this is not required (at least, I had to stop colors to get rid of them in one document). \definelayer[logo_layer] [s

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

2016-08-12 Thread Pablo Rodriguez
: 'state: unknown'; is it an issue caused by a layer > definition ? You have to set it (see sample below). > % Select language > > \mainlanguage[fr] > \language[fr] \mainlanguage also selects the language for the document. The second command isn’t required. > % Normal

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

2016-08-12 Thread Jean-Pierre Delange
itle={Anciens et Modernes}, style=normal, subtitle={Anciens et Modernes}, author=Adeimantos , keyword={philosophy, history, political philosophy}] % Turn off page numbering \setuppagenumbering[location=] % Normal A4 size paper \setuppapersize[A4][A4] % Setup margins \setuplayout[ bac

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-07-31 Thread Jan Willem Flamma
Dear all, I can confirm it behaves incorrectly on ConTeXt ver: 2016.07.30 00:26 MKIV beta Below a MWE with some example sentences where the words schematic, maintenance and integrated are incorrect hyphenated \mainlanguage[en] \setuppapersize[A4][A4

Re: [NTG-context] Notes after a chapter

2016-07-22 Thread Ursula Hermann
otnote]}] \starttext \startchapter[title={Ward}] \dorecurse{12}{\input ward \footnote{Footnote #1}\par} \stopchapter \stoptext My second question is: When there are notes, which are after all sections, what there is the right command: I have : \setuppapersize[A4] \definelinenote[note] \setupli

Re: [NTG-context] Notes after a chapter

2016-07-21 Thread Wolfgang Schuster
chapter][aftersection={\placenotes[footnote]}] \starttext \startchapter[title={Ward}] \dorecurse{12}{\input ward \footnote{Footnote #1}\par} \stopchapter \stoptext My second question is: When there are notes, which are after all sections, what there is the right command: I have : \setuppapersize

[NTG-context] Notes after a chapter

2016-07-21 Thread Ursula Hermann
for the long text below. My second question is: When there are notes, which are after all sections, what there is the right command: I have : \setuppapersize[A4] \definelinenote[note] \setuplinenote[note] \setupdescription[note] \starttext \startchapter \mainlanguage[de] DIE INFORMELLE

Re: [NTG-context] Restoring/switching paper size?

2016-07-19 Thread Procházka Lukáš Ing .
\page_paper_restore \setuppapersize} \def\stoppapersize {\page \popmacro\page_paper_restore \setuppapersize} \protect \starttext Page 1. \page Page 2. \page \startpapersize[A4,landscape] Page 3. \page Page 4. \page \stoppapersize Page 5. \page Page 6

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Wolfgang Schuster
restore the previous paper size. A normal environment should be enough (push and pop are used to save and restore states etc.) which inserts are the necessary page breaks. \unprotect \def\startpapersize {\page \pushmacro\page_paper_restore \setuppapersize} \def\stoppapersize {\page \popma

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Wolfgang Schuster
Procházka Lukáš Ing. <mailto:l...@pontex.cz> 18. Juli 2016 um 16:59 Hello, one more problem - paper height still 297 mm? \definepapersize[A4L][A4,landscape] \showframe \starttext \setuppapersize[A4L] A4L \stoptext Look at Hans answer, you need at the moment a third argume

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Procházka Lukáš Ing .
Hello, one more problem - paper height still 297 mm? \definepapersize[A4L][A4,landscape] \showframe \starttext \setuppapersize[A4L] A4L \stoptext (Ctx already patched by WS' solution.) Best regards, Lukas On Mon, 18 Jul 2016 16:41:06 +0200, Procházka Lukáš Ing.

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Procházka Lukáš Ing .
\stoptext page-lay.mkiv \unexpanded\def\adaptpapersize - {\global\let\page_paper_reinstate\page_paper_reinstate_indeed + {\global\let\page_paper_reinstate\page_paper_restore \setuppapersize} -\unexpanded\def\page_paper_reinstate_indeed - {\page_paper_reinstate - \globa

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Pablo Rodriguez
showframe \definepapersize[main] [A4][A4] \definepapersize[extra][A4,landscape][A4,landscape] \setuppapersize[main] \starttext Page 1. Portrait \page Page 2. Portrait \page \setuppapersize[extra] Page 3. Landscape \page \setuppapersize[main] Page 4. Portrait \page \st

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Hans Hagen
On 7/18/2016 3:27 PM, Henri Menke wrote: This is a bug. The following example from the wiki (http://wiki.contextgarden.net/PaperSetup) does not work either. At least not with ConTeXt MkIV in TL2016. \showframe \definepapersize[main] [A4] \definepapersize[extra][A4,landscape] \setuppapersize

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Wolfgang Schuster
ptpapersize - {\global\let\page_paper_reinstate\page_paper_reinstate_indeed + {\global\let\page_paper_reinstate\page_paper_restore \setuppapersize} -\unexpanded\def\page_paper_reinstate_indeed - {\page_paper_reinstate - \global\let\page_paper_reinstate\relax} \appendtoks \page_pape

Re: [NTG-context] Restoring/switching paper size?

2016-07-18 Thread Henri Menke
This is a bug. The following example from the wiki (http://wiki.contextgarden.net/PaperSetup) does not work either. At least not with ConTeXt MkIV in TL2016. \showframe \definepapersize[main] [A4] \definepapersize[extra][A4,landscape] \setuppapersize[main] \starttext Page 1. Portrait \page

[NTG-context] Restoring/switching paper size?

2016-07-18 Thread Procházka Lukáš Ing .
pages (e.g. for long large tables; \adaptpapersize is not enough as it changes just one current page), is there something like: \pushpapersize \page \setuppapersize[A4,landscape] ... more pages ... \poppapersize Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
Am 15.07.2016 16:51, schrieb Wolfgang Schuster: Ursula Hermann 15. Juli 2016 um 16:27 High Wolfgang! Now i have tried this one: \mainlanguage[de] \setuppapersize[A4] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 15. Juli 2016 um 16:27 High Wolfgang! Now i have tried this one: \mainlanguage[de] \setuppapersize[A4] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[c

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
High Wolfgang! Now i have tried this one: \mainlanguage[de] \setuppapersize[A4] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter] \setuplist[section][width=1em] \setuplist[subsection][width=1.5em

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
age[de] \setuppapersize[A4] \setupinteraction[state=start] % don't forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=bookmark]\starttext \setuplist[chapter][width=fit]

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
I have a problem with an old TOC. I tried to put in an Author, but the problem is, that there is so much distance between the forename and the surname, and than comes the title. Here my example: \mainlanguage[de] \setuppapersize[A4] \setupinteraction[state=start] % don't f

Re: [NTG-context] different default size when imposing documents

2016-07-13 Thread Wolfgang Schuster
lowing: \setuppapersize [A5][A4,landscape] \setuparranging [2UP] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupinteraction[state=start] \setupinteractionscreen[option={landscape, paper}] \starttext \insertpages[whichever-docume

[NTG-context] different default size when imposing documents

2016-07-12 Thread Pablo Rodriguez
Hans, after enabling image scaling in \insertpages (https://mailman.ntg.nl/pipermail/ntg-context/2016/086114.html), I’m afraid that the default value and compatibility in imposition is broken. The minimal sample is the following: \setuppapersize [A5][A4,landscape] \setuparranging [2UP

Re: [NTG-context] Italic in margins and footntes

2016-06-30 Thread Jean-Pierre Delange
ntes On 06/29/2016 06:06 PM, Jean-Pierre Delange wrote: > > Dear ConTeXt wizards, > > I am currently writing a course. I need some notes in the left > margin. I have written this in the preamble : > > \setuppapersize[A4] > \setuplanguage[fr] > \setuplayout [backspace=

Re: [NTG-context] Italic in margins and footntes

2016-06-29 Thread Pablo Rodriguez
On 06/29/2016 06:06 PM, Jean-Pierre Delange wrote: > > Dear ConTeXt wizards, > > I am currently writing a course. I need some notes in the left > margin. I have written this in the preamble : > > \setuppapersize[A4] > \setuplanguage[fr] > \setuplayout [backspace=

[NTG-context] Italic in margins and footntes

2016-06-29 Thread Jean-Pierre Delange
Dear ConTeXt wizards, I am currently writing a course. I need some notes in the left margin. I have written this in the preamble : \setuppapersize[A4] \setuplanguage[fr] \setuplayout [backspace=40mm] \setuppagenumbering[location={header,inright}] \setupmargindata[inmargin][location=left

Re: [NTG-context] crop marks

2016-06-29 Thread Thomas Fehige
s, maybe half a line on both, depending on how more or less precise printer and cutting alignments work. Thanks -- Thomas Am 29.06.2016 um 12:37 schrieb Thomas A. Schmitz: On 29 Jun 2016, at 12:14, Thomas Fehige wrote: \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize

Re: [NTG-context] crop marks

2016-06-29 Thread Thomas Fehige
s, maybe half a line on both, depending on how more or less precise printer and cutting alignments work. Thanks -- Thomas Am 29.06.2016 um 12:37 schrieb Thomas A. Schmitz: On 29 Jun 2016, at 12:14, Thomas Fehige wrote: \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize

Re: [NTG-context] smallcaps

2016-06-29 Thread Alan Bowen
erence in letterspacing. Am I doing something > wrong here? > > Hans van der Meer > > Minimal example and output: > > \setuppapersize[A5][A5] > \starttext > \setupbodyfont[lmodern] > lmodern: uppercase smallcaps\blank > \setupbodyfont[cambria] > cambria: upperc

Re: [NTG-context] crop marks

2016-06-29 Thread Thomas A. Schmitz
> On 29 Jun 2016, at 12:14, Thomas Fehige wrote: > > \definepapersize[Labelpaper][width=95mm,height=90mm] > \setuppapersize[Labelpaper][A4,portrait] > > \setuplayout[ > backspace=3mm, > margin=0mm, > topspace=3mm, > header=0mm, >

Re: [NTG-context] crop marks

2016-06-29 Thread Wolfgang Schuster
Thomas Fehige <mailto:tho...@fehige.de> 29. Juni 2016 um 12:14 I wonder how I can get crop marks to work. This is what I have, but they don't show: %=== MWE = \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize[Labelpaper][A4,portrait] \setuplayout[ ba

[NTG-context] crop marks

2016-06-29 Thread Thomas Fehige
I wonder how I can get crop marks to work. This is what I have, but they don't show: %=== MWE = \definepapersize[Labelpaper][width=95mm,height=90mm] \setuppapersize[Labelpaper][A4,portrait] \setuplayout[ backspace=3mm, margin=0mm, topspace=3mm, heade

Re: [NTG-context] smallcaps

2016-06-29 Thread Meer, Hans van der
except a subtle difference in letterspacing. Am I doing something wrong here? Hans van der Meer Minimal example and output: \setuppapersize[A5][A5] \starttext \setupbodyfont[lmodern] lmodern: uppercase smallcaps\blank \setupbodyfont[cambria] cambria: uppercase smallcaps\blank \LuaTeX-versio

Re: [NTG-context] smallcaps

2016-06-29 Thread Wolfgang Schuster
ething wrong here? Hans van der Meer Minimal example and output: \setuppapersize[A5][A5] \starttext \setupbodyfont[lmodern] lmodern: uppercase smallcaps\blank \setupbodyfont[cambria] cambria: uppercase smallcaps\blank \LuaTeX-version=0.\the\luatexversion\crlf \ConTeXt-version=\contextversio

Re: [NTG-context] smallcaps

2016-06-29 Thread Mikael P. Sundqvist
ing wrong here? > > Hans van der Meer > > Minimal example and output: > > \setuppapersize[A5][A5] > \starttext > \setupbodyfont[lmodern] > lmodern: uppercase smallcaps\blank > \setupbodyfont[cambria] > cambria: uppercase smallcaps\blank > \LuaTeX-version

[NTG-context] smallcaps

2016-06-29 Thread dr. Hans van der Meer
I do not understand the behaviour of the \sc macro. I thought smallcaps would turn out to be smaller than capitals. But I see no difference between them except a subtle difference in letterspacing. Am I doing something wrong here? Hans van der Meer Minimal example and output: \setuppapersize

Re: [NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

2016-05-30 Thread Sandra Snan
tes: > >>> Am 28.05.2015 um 11:37 schrieb Sandra Snan : >>>> what happens if you put file: before a name? >>> \definefontfamily[futura][sans][file:futuralt] >> >> Don’t use the “file:” prefix in the third argument. > > I don't understand this excha

[NTG-context] Duplex printing problem!

2016-05-05 Thread Geert Verhaag
Hi, I try something like this: *\definepapersize[BOOK][width=270mm,height=195mm]** **\setuppapersize[BOOK][A4,landscape]* while my *\setuplayout* command contains: *location={doublesided,left}* among other settings. I would expect that the BOOK-page on the front and back side would move to

[NTG-context] typesetbuffer in \insertpages

2016-05-01 Thread Pablo Rodriguez
Dear list, I have the following sample, \setuppapersize[A5][A4, landscape] \setuparranging[2UP] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt

Re: [NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Wolfgang Schuster
—> Pandoc –> ConTeXt failed and I tried with the simple example (http://wiki.contextgarden.net/Command/startsection): % mode=mkiv \setuppapersize[A5] \starttext \startsection[ reference=sec:One, title={Section One}, ] For a subsection, see \in{subsection}[sec:Two:Sec]. \stopsection

[NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
ple (http://wiki.contextgarden.net/Command/startsection): % mode=mkiv \setuppapersize[A5] \starttext \startsection[ reference=sec:One, title={Section One}, ] For a subsection, see \in{subsection}[sec:Two:Sec]. \stopsection \startsection[ reference=sec:Two, title={Section Two}, ] [a

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \setupinteraction[state=start, focus=standard] \startsetups[placelist:section] \start \setupinterlinespace [line=2.8ex] \placelist [section] [alternative=d

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

2016-04-21 Thread luigi scarso
the term > is short, but when the term wraps to two lines it can overlap with the term > below. > > Here's an example: > > \setuppapersize[A5] >> \setupalign[flushleft, nothyphenated] >> >> \definedescription[description] >> [before=\nowhitespace,

[NTG-context] Overlapping terms in description lists

2016-04-20 Thread Tom Harrop
the term below. Here's an example: \setuppapersize[A5] \setupalign[flushleft, nothyphenated] \definedescription[description] [before=\nowhitespace, after=\nowhitespace] \starttext \startdescription{Short term:} Items with short terms are fine. \stopdescription \startdescription{T

Re: [NTG-context] ntg-context Digest, Vol 142, Issue 52

2016-04-18 Thread Brian Ballsun-Stanton
able hyperlinks \setuppapersize [A4][A4] \definepapersize[standing][A4][A4] \definepapersize[lying][A4,landscape][A4] \setuplayout[width=middle, backspace=.75in, cutspace=.75in, height=middle, topspace=.5in, bottomspace=.5in] \setupbodyfont[11pt] \setupwhitespace[none] \set

[NTG-context] PageSetup

2016-04-14 Thread Aidan Nichol
I’ve been have been having a couple of problems with swapping pages and so I went back to the example in Context Garden using the latest beta \definepapersize[main] [A4] \definepapersize[extra][A4,landscape] \setuppapersize[main] \starttext Page 1. Portrait \page Page 2. Portrait \page

[NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
Given the following code: \enableregime [utf] > \mainlanguage [en] > \definepapersize[sheet][width=1280px, height=960px] > \setuppapersize[sheet][sheet] > \setupexternalfigures[directory={img, > /home/ubuntu/EGU2016-Presentation, > /home/ubuntu/ConTeXt/img}] > \

Re: [NTG-context] beta / current

2016-03-30 Thread Hans Hagen
have a minimal sample that shows the issue: \showframe\showgrid \setuppapersize[A5] \setuplayout[setups=*lessstrict, topspace=4.5cm, height=middle] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty

Re: [NTG-context] beta / current

2016-03-30 Thread Pablo Rodriguez
e 2016 (because as usual we can test it with the garden > distribution). Hans, would it be possible that next current could have orphans and widows controlled in \startlines...\stoplines? Here you have a minimal sample that shows the issue: \showframe\showgrid \setuppapersize[A5]

Re: [NTG-context] Poster template

2016-03-22 Thread MANUEL GONZALEZ SUAREZ
ike to know if there is a template to make posters in ConTeXt, > as there are in LaTeX (beamerposter, a0poster, etc.) \setuppapersize[A0] \setuplayout[page] and then columnsets (i think Alan has done things like that) or layers with position

Re: [NTG-context] Poster template

2016-03-22 Thread Hans Hagen
On 3/22/2016 10:09 AM, MANUEL GONZALEZ SUAREZ wrote: Hello friends I would like to know if there is a template to make posters in ConTeXt, as there are in LaTeX (beamerposter, a0poster, etc.) \setuppapersize[A0] \setuplayout[page] and then columnsets (i think Alan has done things like that

[NTG-context] issue with focusoffset and \start.. \stop structures

2016-03-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start,focus=standard, focusoffset=5pt] \starttext \index[setuppapersize]{\type{\setuppapersize}} \startTEX \setuppapersize[A][A4, landscape] \setuparranging[2UP, doublesided] \stopTEX \blank

Re: [NTG-context] Vertically centered text in each page

2016-03-02 Thread Andreas Schneider
tion. Is there any other mechanism to center text on _all_ pages, no matter how often the sections or paragraphs need to get broken? Best regards Andreas\setuppapersize[S8] \setupbodyfont[24pt] \setupinterlinespace[height=0.8] \setuppagenumbering[location=] \definelayer [header] [width=\

[NTG-context] Getting file name of \externalfigure in the header/footer (mkii)

2016-02-28 Thread Gerben Wierda
Hi folks, I have a file that I use to combine PDF files in one bigger file. The pages are A4 or A3, rotated or not. This results in a mixed A4/A3 document that I can print and distribute. Example page: \page\setuppapersize[A4,portrait][A4,portrait] \setuplayout[backspace=10mm,topspace=10mm

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