[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
at I had >> >> modified 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/

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
It is a module for Persian 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] > > > > \starttex

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

2016-10-10 Thread Mingranina Gingranina
om/bateni/dabeer > > 2. You 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.sta

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
e 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|"}) for fontname, fontentry in next, fontlist do context

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

2016-10-07 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

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Henri Menke
; year = {1926}, >> 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[

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Alan Braslau
sik}, > year = {1926}, > 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] > >

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 does

[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
exmf-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> (...tail calls...) 1 \setuppapersize[A5] 2 3 \usemodule[simplefon

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

2016-08-21 Thread Mohammad Hossein Bateni
xt/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> (...tail calls...) 1 \setuppapersize[A5] 2 3 \usemodule[simplefonts] 4 >> \setmainfont[KFGQPC Uthman Taha Nas

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

2016-08-13 Thread Jean-Pierre Delange
. % 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] [state=start

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

2016-08-12 Thread Pablo Rodriguez
ate: 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 A4 size paper &

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

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

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
ection={\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[A4] \defineli

[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-20 Thread Procházka Lukáš Ing .
ersize {\page \pushmacro\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 \stoppap

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

2016-07-18 Thread Wolfgang Schuster
re 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 \popmacro\p

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 ar

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. &l

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

2016-07-18 Thread Procházka Lukáš Ing .
scape] Page 2 \page Page 3 \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

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
ersize - {\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_paper_rei

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 .
(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 s. r

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] \set

[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 forget

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
[NTG-context] Italic in margins and footntes 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

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
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 <tho...@fehige.de> wrote: \definepapersize[Labelpaper][width=95mm,height=90mm]

Re: [NTG-context] crop marks

2016-06-29 Thread Thomas Fehige
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 <tho...@fehige.de> wrote: \definepapersize[Labelpaper][width=95mm,height=90mm]

Re: [NTG-context] smallcaps

2016-06-29 Thread Alan Bowen
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 <ABC-{\sc ABC}> smallcaps\blank > \set

Re: [NTG-context] crop marks

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

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[ backspa

[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, header=0mm

Re: [NTG-context] smallcaps

2016-06-29 Thread Meer, Hans van der
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[A5][A5] \starttext \setupbodyfont[lmodern] lmodern: uppercase <ABC-{\sc ABC}> smallcaps\blank \setupbodyfont[cambria

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 <ABC-{\sc ABC}> smallcaps\blank \setupbodyfont[cambria] cambria: uppercase <ABC-{\sc ABC}> smallcaps\blank \LuaTeX-version=0.\the\luatexver

Re: [NTG-context] smallcaps

2016-06-29 Thread Mikael P. Sundqvist
erspacing. Am I doing something wrong here? > > Hans van der Meer > > Minimal example and output: > > \setuppapersize[A5][A5] > \starttext > \setupbodyfont[lmodern] > lmodern: uppercase <ABC-{\sc ABC}> smallcaps\blank > \setupbodyfont[cambria] > cambria: upperca

[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
>> >> Don’t use the “file:” prefix in the third argument. > > I don't understand this exchange. > >>> \setuppapersize[A4, portrait][A4, portrait] >> >> There is no “portrait” keyword for the \setuppapersize and you can also drop >> this line because Con

[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

[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
This is fine so long as 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] >>

[NTG-context] Overlapping terms in description lists

2016-04-20 Thread Tom Harrop
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{This is a really

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

2016-04-19 Thread Brian Ballsun-Stanton
\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] \setupcaption[table

[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-31 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
live 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
ZALEZ 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) or layers w

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

[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
being after the section. 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 [

[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

Re: [NTG-context] Is there “toffset” option for \setupbackgrounds in context

2016-02-26 Thread Wolfgang Schuster
xtBackground][\uniqueMPgraphic{TextBackground}] \setuppapersize[A4] \setuppagenumbering[state=none] \setupbackgrounds[text][text][background=TextBackground] \starttext \input knuth \stoptext BTW: It’s rude to crosspost without mentioning this (http://tex.stackexchange.com/questions/296037/is-t

[NTG-context] Is there “toffset” option for \setupbackgrounds in context

2016-02-26 Thread Bou Salim
[frame=on,toffset=5mm]` I have no effect? With `frameoffset` you can modify the four directions but how about a single direction? Code \setuppapersize[A4] \setuppagenumbering[state=none] \setupbackgrounds[text][text][frame=on,toffset=5mm] \starttext \input knuth \st

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
at the code, there was another question on tex.stackexchange on bars: http://tex.stackexchange.com/questions/291946/overstrike-in-context-can-it-overstrike-leaders How to get bars to work with leaders? \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders\hbox

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Aditya Mahajan
on tex.stackexchange on bars: http://tex.stackexchange.com/questions/291946/overstrike-in-context-can-it-overstrike-leaders How to get bars to work with leaders? \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders\hbox{.}\hfill world! % Works OK, nothing special

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
etups[testlayer] \setlayer[test1]{page1} \setlayer[test2]{page2} \stopsetups \setupbackgrounds[page][setups=testlayer,background={test1, test2}] \starttext \setuppapersize[A4] Page 1. \page \setuppapersize[A4, landscape]\setuplayout Page 2 \page \stoptext How can

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
nsions seem not to be adapted: \definepapersize[main] [A4] [A4] \definepapersize[extra][A4,landscape][A4,landscape] \definelayer[test][x=.5\paperwidth, y=.5\paperheight,state=repeat] \setlayer[test]{abcde} \setupbackgrounds[page][background={test}] \startt

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
tate=continue] \startsetups[testlayer] \setlayer[test2]{page2} \stopsetups \setupbackgrounds[page][setups=testlayer,background={test1, test2}] \starttext \setuppapersize[A4] Page 1. \page \setuppapersize[A4, landscape]\setuplayout Page 2 \page \stoptext Many

Re: [NTG-context] not able to change paper sizes

2016-02-03 Thread Hans Hagen
On 2/1/2016 7:38 PM, Pablo Rodriguez wrote: Dear list, in this sample adapted from the documented code: \definepapersize[main] [A4] [A4] \definepapersize[extra][A4,landscape][A4,landscape] \starttext \setuppapersize[main] Page 1. \page Page 2. \page

[NTG-context] not able to change paper sizes

2016-02-02 Thread Pablo Rodriguez
Dear list, in this sample adapted from the documented code: \definepapersize[main] [A4] [A4] \definepapersize[extra][A4,landscape][A4,landscape] \starttext \setuppapersize[main] Page 1. \page Page 2. \page \setuppapersize[extra] Page 2 \page \setuppapersize[main

[NTG-context] papersize A1?

2016-02-02 Thread Procházka Lukáš Ing .
Hello, the following code doesn't produce 594 x 841 mm (A1) page; the resulting size is 594 x 758 mm. Also, there is no "Hello" text. \setuppapersize[A1] \starttext Hello \stoptext What's wrong? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pont

Re: [NTG-context] papersize A1?

2016-02-02 Thread Hans Hagen
On 2/2/2016 11:02 AM, Procházka Lukáš Ing. wrote: Hello, the following code doesn't produce 594 x 841 mm (A1) page; the resulting size is 594 x 758 mm. Also, there is no "Hello" text. \setuppapersize[A1] \starttext Hello \stoptext What's wrong? for now add this to con

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