[NTG-context] Re: Audible footnotes

2025-08-11 Thread John Was
e note (thus > > preserving the pagination of the physically printed book). But there's > > no sense in going further if the consensus is that I'm barking up the > > wrong tree! Here is the sample: > > > > \setupexternalfigures[location={local,global,default

[NTG-context] Re: Audible footnotes

2025-08-11 Thread Hans Hagen via ntg-context
x27;s no sense in going further if the consensus is that I'm barking up the wrong tree!  Here is the sample: \setupexternalfigures[location={local,global,default}] \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \setupbackend[format=pdf/ua-2]% needs to c

[NTG-context] Audible footnotes

2025-08-11 Thread John Was
that I'm barking up the wrong tree! Here is the sample: \setupexternalfigures[location={local,global,default}] \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \setupbackend[format=pdf/ua-2]% needs to come before: \setuptagging[state=start]%otherwi

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
e trouble. > > > > The other thing is: If you don’t want to place the part title manually, > you can actually show the part title with \setuphead[part][placehead=yes] > > > > %%% > > > > \setupinteraction > > [st

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Duncan Hothersall
this up), but in this default example I would like them also to >> shift up one decimal place: 1.1., not 1.1.1, and so on. I'm guessing >> there's an option in \part that I should be invoking, but I don't >> immediately see what that is (there doesn't seem

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \setuphead[part][number=no] \starttext \part[title=Introduction,bookmark=Introduction,number=off] % number=off does not work INTRODUCTION \part[title=PART II,bookmark=Part II,number=no

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread John Was
e doesn't seem to be a > \startpart...\stoppart to allow the relatively straightforward > customization that we get with chapters and sections). Here is the example: > > > > \setupinteraction > > [state=start] > > > > \setupinteractionscreen > > [option=

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
ere is the example: \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \starttext \part[title=Introduction,bookmark=Introduction,number=off] \noheaderandfooterlines INTRODUCTION \page \noheaderandfoote

[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Denis Maier via ntg-context
an option in \part that I should be invoking, but I don't immediately see what that is (there doesn't seem to be a \startpart...\stoppart to allow the relatively straightforward customization that we get with chapters and sections). Here is the example: \setupinteraction [state

[NTG-context] Bookmark hierarchy

2025-07-04 Thread John Was
ation that we get with chapters and sections). Here is the example: \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[part,chapter,section] \starttext \part[title=Introduction,bookmark=Introduction,number=off] \noheaderandfoo

[NTG-context] Re: LMTX/LuaTeX: much bigger output size in imposition

2025-03-05 Thread Hans Hagen
On 3/4/2025 6:49 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I create booklets with the following source: \setuppapersize[A5, landscape][A4] \setuparranging[2UP] \setuplayout[page] \setuppagenumbering[alternative=doublesided] \setupinteractionscreen[option

[NTG-context] LMTX/LuaTeX: much bigger output size in imposition

2025-03-04 Thread Pablo Rodriguez via ntg-context
Dear list, I create booklets with the following source: \setuppapersize[A5, landscape][A4] \setuparranging[2UP] \setuplayout[page] \setuppagenumbering[alternative=doublesided] \setupinteractionscreen[option={landscape,paper}] \starttext \def\Doc{xml-mkiv.pdf

[NTG-context] Re: (again) wrong destination types?

2023-11-21 Thread Bruce Horrocks
ext > a\footnote{b} > \stoptext > > If page is set to anything different than no in \setupinteractionscreen, > focus=standard will not work (it will be used as focus=fit). > > Could anyone confirm the issue or explain me what I’m doing wrong? > > Many than

[NTG-context] (again) wrong destination types?

2023-11-20 Thread Pablo Rodriguez via ntg-context
Dear list, sorry for insisting, but this is important for my documents. I have the following sample: \setupinteraction[state=start, page=name, focus=standard] \starttext a\footnote{b} \stoptext If page is set to anything different than no in \setupinteractionscreen, focus=standard will

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.09.2023 um 11:53: On 9/2/2023 11:45 AM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 02.09.2023 um 10:25: Dear list, I have the following sample (using current latest from 2023.08.27 13:48):    \setupinteractionscreen[option=max]    \definefontfamily[maf][rm

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Hans Hagen
On 9/2/2023 11:45 AM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 02.09.2023 um 10:25: Dear list, I have the following sample (using current latest from 2023.08.27 13:48):    \setupinteractionscreen[option=max]    \definefontfamily[maf][rm][DejaVu Sans] [sl={style:tf, features

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.09.2023 um 10:25: Dear list, I have the following sample (using current latest from 2023.08.27 13:48): \setupinteractionscreen[option=max] \definefontfamily[maf][rm][DejaVu Sans] [sl={style:tf, features:{default,slanted}}] \setupbodyfont[maf, 8pt

[NTG-context] slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
Dear list, I have the following sample (using current latest from 2023.08.27 13:48): \setupinteractionscreen[option=max] \definefontfamily[maf][rm][DejaVu Sans] [sl={style:tf, features:{default,slanted}}] \setupbodyfont[maf, 8pt] \setupfittingpage[offset=1ex] \starttext

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Pablo Rodriguez via ntg-context
> correct this manually (for instance in French « connaître » was typed > as « conn\^{\i}tre »). Hi Otared I think what doesn’t work is the dotless i as combining character for i + diacritical mark. It seems that standard i may combine fine: \setupinteractionscreen[option=max] \starttext

Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-06 Thread Pablo Rodriguez via ntg-context
On 3/2/23 00:20, Hans Hagen wrote: > On 2/28/2023 6:23 PM, Pablo Rodriguez via ntg-context wrote: >> [...] > I only see one size. Anyway, attached a fix for the different rounding. Sorry, Hans, I copied the wrong sample (value for "width" in "\setupinteractionscreen&qu

Re: [NTG-context] /CropBox overflows /MediaBox

2023-02-28 Thread Hans Hagen via ntg-context
On 2/28/2023 6:23 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following source: \nopdfcompression \setupinteractionscreen [width=max] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext

[NTG-context] /CropBox overflows /MediaBox

2023-02-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following source: \nopdfcompression \setupinteractionscreen [width=max] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext \startmakeup[page] \null \stopmakeup \startmakeup[standard] \null

[NTG-context] \setuplanguage[explicitrighthyphenchar=-1] only works for English

2022-12-15 Thread Pablo Rodriguez via ntg-context
ethod=traditional]% \sethyphenationfeatures[underscore]% \setuplanguage [explicitrighthyphenchar=-1] \setupinteractionscreen[option=singlesided] \starttext \doloopoverlist {es,en,uk,de,nl,pt,fr,it,deo,da,sv,af,no,nb,pl,cs,sk,hr,sl,fi,et,hu} {\mainlanguage[\recursestring] \startTEXpage

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-10 Thread Pablo Rodriguez via ntg-context
onfeatures [underscore] [righthyphenchar="FE000] \setuphyphenation[method=traditional]% \sethyphenationfeatures[underscore]% \setuplanguage [explicitrighthyphenchar=-1] \setupinteractionscreen[option=singlesided] \starttext \doloopoverlist {es,en,uk,de,nl,

Re: [NTG-context] Missing letters and numbers in printout

2022-09-29 Thread Pablo Rodriguez via ntg-context
.ntg.nl/pipermail/ntg-context/2022/106829.html by Hans himself). The following code relates to an issue I had with ConTeXt myself: \setuppapersize[A5][A4, landscape] \doifmodeelse{broken-printer} {\setuparranging[2UP,doublesided] \setupinteractionscreen[option={portrait, pape

Re: [NTG-context] new hash for buffer (as file)

2022-09-22 Thread Max Chernoff via ntg-context
fine \shabufferfile to avoid \savebuffer (only > required to get the hash). The SHA calculation isn't working properly because of a weird newline issue. Try this: \setupinteraction[state=start] \setupinteractionscreen[option={attachment}] \startbuffer[test] just a te

[NTG-context] new hash for buffer (as file)

2022-09-22 Thread Pablo Rodriguez via ntg-context
Dear list, playing with buffer contents, I have the following file: \setupinteraction[state=start] \setupinteractionscreen[option={attachment}] \startbuffer[test] just a test and another one \stopbuffer \starttext \ctxlua{require("util-sha")} \def\s

Re: [NTG-context] cropoffset reduces paper size

2022-04-25 Thread Henning Hraban Ramm via ntg-context
paper size gets reduced if I use cropoffset as well as \setupinteractionscreen. (It is known that the PDF box settings only work with the latter.) In the MWE below, paper size gets reduced by cropoffset: \setuppapersize[A4] \setuplayout[   cropoffset=10mm, ] \setupinteractionscreen[   width

[NTG-context] cropoffset reduces paper size

2022-04-15 Thread Henning Hraban Ramm via ntg-context
Hi, at least in the current and previous LMTX beta, the paper size gets reduced if I use cropoffset as well as \setupinteractionscreen. (It is known that the PDF box settings only work with the latter.) In the MWE below, paper size gets reduced by cropoffset: \setuppapersize[A4] \setuplayout

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
get repeated (not what I expected). Here is a M(not)WD: ###begin \setupinteraction[state=start] \placebookmarks[chapter, section][chapter, section] \setupinteractionscreen[option=bookmark] \starttext \startfrontmatter \title{Contents} \placelist[chapter] \stopfrontmatter

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Hans Hagen via ntg-context
\stopbuffer \startmode[*first] \savebuffer[newbuff][A3page.tex, prefix=no] \executesystemcommand{context --purgeall A3page.tex} \stopmode \showframe \setuplayout[page] \setuppapersize[A5][A4, landscape] \setuparranging [2UP] \setupinteractionscreen[option={landscape, paper

[NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-21 Thread Pablo Rodriguez via ntg-context
] \executesystemcommand{context --purgeall A3page.tex} \stopmode \showframe \setuplayout[page] \setuppapersize[A5][A4, landscape] \setuparranging [2UP] \setupinteractionscreen[option={landscape, paper}] \starttext \doiffile{A3page.pdf} {\def\Doc{A3page.pdf} \getfiguredimensions[\Doc

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Hans Hagen via ntg-context
is is misleading in Acrobat Reader & Pro, where the TrimBox is shown in green (if this option is activated)! Bleed is to be defined in \setuplayout: \showframe \setuppapersize[A4][A4,oversized] \setuplayout[ location=middle, bleedoffset=-5mm, marking=on, ] %\setupinteractionscreen[width=m

[NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Henning Hraban Ramm via ntg-context
the TrimBox is shown in green (if this option is activated)! Bleed is to be defined in \setuplayout: \showframe \setuppapersize[A4][A4,oversized] \setuplayout[ location=middle, bleedoffset=-5mm, marking=on, ] %\setupinteractionscreen[width=max,height=max] \starttext X \stoptext Status

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-05 Thread Pablo Rodriguez via ntg-context
On 8/4/21 8:52 PM, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 04.08.2021 um 15:53: >> [...] >> I’m afraid that "copies" isn’t generating the proper /NumCopies entry in >> the /ViewerPreferences dictionary. >> >> Could anyone be so kind to confirm this? > >

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 04.08.2021 um 15:53: Dear list, I have the following sample: \setupinteractionscreen[copies=5] \starttext \dorecurse{5}{\input zapf\par} \stoptext The resulting file from current latest (2021.07.30 00:57) contains the following

[NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteractionscreen[copies=5] \starttext \dorecurse{5}{\input zapf\par} \stoptext The resulting file from current latest (2021.07.30 00:57) contains the following /ViewerPreferences dictionary: /ViewerPreferences << /Duplex /S

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-28 Thread Hans Hagen via ntg-context
PDF/A <https://wiki.contextgarden.net/PDF/A>: --- \setupinteraction[title=MyTitle,state=start] \setupinteractionscreen[option={title}] \setupbackend[ format={pdf/a-1a:2005}, profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\spac

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Connor P. Jackson via ntg-context
F/A>: --- \setupinteraction[title=MyTitle,state=start] \setupinteractionscreen[option={title}] \setupbackend[ format={pdf/a-1a:2005}, profile={default_cmyk.icc,default_rgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)] %% Tagged PDF %% method=auto ==> defaul

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Hans Hagen via ntg-context
tps://www.w3.org/TR/WCAG20-TECHS/PDF18.html>. Does this work at your end? \setupinteraction [title=MyTitle,state=start] \setupinteractionscreen [option={title}] \starttext test \stoptext 2. "Tagged Annotations" fails, suggesting that the document’s links are not pr

Re: [NTG-context] Proper ligatures in Malayalam

2021-07-07 Thread Pablo Rodriguez
On 7/6/21 7:44 PM, Ajith R wrote: > Hi Pablo, > > Just to be sure that you have the correct ligature, will you please > share a picture or pdf of the rendered text? Hi Ajith, sure, the output from the following source: \setupinteraction[state=start] \setupinteractionscree

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
[mainface] > [rm] > [TeX Gyre Pagella] > > \setupbodyfont > [mainface] > > \starttext > \agr\input aristotle-grc > > \de\input aesop-de > \stoptext > > Sorry, but unless you provide a minimal sample, it isn’t easy to guess >

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Pablo Rodriguez
agella] \setupbodyfont [mainface] \starttext \agr\input aristotle-grc \de\input aesop-de \stoptext Sorry, but unless you provide a minimal sample, it isn’t easy to guess what you might have in mind. I’m afraid that I’m not sure whether the following sample contains your “arbitrary styles”

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Pablo Rodriguez
On 2/9/21 7:30 PM, Hans Hagen wrote: > On 2/9/2021 7:15 PM, Pablo Rodriguez wrote: >> [...] >> Sorry, Hans, the original sample was different, but I removed the offset >> option in order to make it smaller: >> >>\setupinteractionscreen[option=max] >>

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Hans Hagen
want is \startpagemakeup \stoppagemakeup Sorry, Hans, the original sample was different, but I removed the offset option in order to make it smaller: \setupinteractionscreen[option=max] \starttext \startTEXpage[offset=1em] \ConTeXt \stopTEXpage \stoptext I hope it is cleare

Re: [NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-09 Thread Pablo Rodriguez
what you want is > > \startpagemakeup > > \stoppagemakeup Sorry, Hans, the original sample was different, but I removed the offset option in order to make it smaller: \setupinteractionscreen[option=max] \starttext \startTEXpage[offset=1em] \ConTeXt \stopTEXpage \stoptext I hop

[NTG-context] TEXpage breaks \setupinteractionscreen in LMTX

2021-02-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteractionscreen[option=max] \starttext \startTEXpage \null \stopTEXpage \stoptext LMTX doesn’t include full page. MkIV compiles it fine. If I remove the TEXpage, LMTX includes the full page mode. I’m using latest version from

[NTG-context] extra width in cropbox and trimbox

2021-01-12 Thread Pablo Rodriguez
Dear list, I have already reported this before (https://mailman.ntg.nl/pipermail/ntg-context/2020/099636.html). I have the following sample: \setupinteractionscreen [width=fit] \starttext \null \stoptext Mediabox is fine: [ 0 0 595.2756 841.8898 ] But cropbox and trimbox

Re: [NTG-context] Placing extra bookmarks?

2020-12-02 Thread Bruce Horrocks
uture, here is an MWE adapted from one of the test cases that places one bookmark via a chapter heading and one manually that is not linked to any document section. \enabletrackers[references.bookmarks,backend.resources] % For debug only \setupinteraction [state=start] \setupinteractionscreen

Re: [NTG-context] Placing extra bookmarks?

2020-12-01 Thread Bruce Horrocks
t I was able to add the following to my document setup: \definehead [Bookmark] [title] [ placehead=empty, before={}, after={}, ] \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[chapter,heading,Bookmark][chapter][force=yes] And then in th

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
I think (Wolfgang may correct me [or explain this better]). Expansion in list and bookmarks seems to be different: \setupinteraction[state=start] \setupinteractionscreen[option=bookmarks] \placebookmarks[section][section] \setuphead[title][page=no] \starttext %~ \

[NTG-context] buggy cropbox and trimbox?

2020-10-03 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteractionscreen [width=fit] \starttext \null \stoptext The first command adds cropbox and trimbox different from the media box. See PDF code: 5 0 obj [ 0 0 595.2756 841.8898 ] endobj 6 0 obj << /CropBox

Re: [NTG-context] issue with interaction=all and \insertpages

2020-09-23 Thread Taco Hoekwater
=red] > \setupexternalfigures[interaction=all, method=pdf] > \setupinteractionscreen[option={portrait, paper}] > \starttext > %~ \insertpages[http://gaceta.rsme.es/abrir.php?id=1495][width=0pt] > \insertpages[GacRSocMatEsp.pdf][width=0pt] > \stoptext > > I have some issues with i

Re: [NTG-context] issue with interaction=all and \insertpages

2020-09-22 Thread Andres Conrado Montoya Acosta
bledirectives[references.border=red] > \setupexternalfigures[interaction=all, method=pdf] > \setupinteractionscreen[option={portrait, paper}] > \starttext > %~ \insertpages[http://gaceta.rsme.es/abrir.php?id=1495][width=0pt] > \insertpages[GacRSocMatEsp.pdf][width=0pt] > \stoptext > >

[NTG-context] issue with interaction=all and \insertpages

2020-09-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplayout[page] \setupinteraction [state=start, color=, contrastcolor=, focus=standard] \enabledirectives[references.border=red] \setupexternalfigures[interaction=all, method=pdf] \setupinteractionscreen[option={portrait, paper

[NTG-context] wrong 2TOPSIDE?

2020-08-27 Thread Pablo Rodriguez
artnotmode[*first] \setuppapersize[A5, landscape][A4] \setuparranging[2TOPSIDE] \setuplayout[page] \setupinteractionscreen[option={portrait,paper}] \starttext \insertpages[\jobname-singular.pdf][width=0pt] \stopnotmode \stoptext I would say that last page (

[NTG-context] question on page transitions

2020-07-25 Thread Pablo Rodriguez
\currentinteractionscreendelay\v!none \zerocount\else\currentinteractionscreendelay\fi \relax \endgroup} I wonder whether the "delay" option in \setupinteractionscreen defines the number of seconds for the page or for the transition. From what I read in the code above, I would sa

Re: [NTG-context] Presentation effects

2020-07-25 Thread Pablo Rodriguez
ebian ConTeXt > (version 2020.03.10.20200331-1). Please let me know if I am missing > something. Hi Kumar, this sample works with both Acrobat for Linux and Evince (using LMTX latest): \setuppapersize[A9,landscape] \setupinteraction[state=start] \setupinteractionscreen[option=max]

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
I need to create my own links somehow? >> >> Example: >> >> \setupinteraction[state=start] >> \setupinteractionscreen[option=bookmark] >> >> \define[3]\SectionListEntry >> {\par \leftaligned\bgroup >> \hbox to 2em{#3}% >>

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 16.05.2020 um 00:47: When I customise the table of contents layout I lose the automatic hyperlinks. Is there a simple configuration option that I have missed or do I need to create my own links somehow? Example: \setupinteraction[state=start] \setupinteractionscreen

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Henning Hraban Ramm
etupinteraction[state=start] > \setupinteractionscreen[option=bookmark] > > \define[3]\SectionListEntry > {\par \leftaligned\bgroup > \hbox to 2em{#3}% > \hskip 1em > \vtop{\hsize\dimexpr\textwidth-3em\relax#2} > \egroup \par} > > % Comment o

[NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Bruce Horrocks
When I customise the table of contents layout I lose the automatic hyperlinks. Is there a simple configuration option that I have missed or do I need to create my own links somehow? Example: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \define[3]\SectionListEntry

Re: [NTG-context] Trouble setting PDF boxes

2020-04-30 Thread Jack Steyn
s > > \setuplayout > [cropoffset=30pt, > bleedoffset=20pt, > trimoffset=10pt] > > \setupinteractionscreen >[width=max,height=max] > > - >Hans Hage

Re: [NTG-context] Trouble setting PDF boxes

2020-04-30 Thread Hans Hagen
other way. can you try this \setuplayout [cropoffset=30pt, bleedoffset=20pt, trimoffset=10pt] \setupinteractionscreen [width=max,height=max] - Hans Hagen | PRAGMA ADE Ri

Re: [NTG-context] Trouble setting PDF boxes

2020-04-30 Thread Jack Steyn
etuplayout[location=middle, marking=on] \setupinteraction [title={TestDoc}, author={Anon}] \setupbackend [format=PDF/X-1a:2003, intent={ISO Coated v2 300\letterpercent\space (ECI)}] \setupinteractionscreen[width=max,height=max] \startluacode moduledata.mystuff={} respecify_pdf_boxes

[NTG-context] filtering pages from /PrintPageRange

2020-04-16 Thread Pablo Rodriguez
;:', 1) end end context.filterpages( { filename }, { right_range }, { width = Opt } ) end \stopluacode \def\filterfrompagerange[#1]{% \ctxlua{document.printrange_from_file("#1")}} \setuplayout[page] \setupinteractionscreen[option={po

Re: [NTG-context] issues with attachments

2019-12-27 Thread Hans Hagen
] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf, name={attached.pdf}] \stoptext This happens with latest beta (from 2019.12.17) in both MkIV and MkXL. https://www.pdfa.org/wp-content/uploads/2018/10/PDF20_AN002-AF.pdf#search=usability warns about the use

Re: [NTG-context] issues with attachments

2019-12-26 Thread Rik Kabel
On 12/18/2019 11:32, Pablo Rodriguez wrote: Hi Hans, I accidentally discovered that file attachment generates two entries in Acrobat, such as this sample: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment

[NTG-context] issues with attachments

2019-12-18 Thread Pablo Rodriguez
Hi Hans, I accidentally discovered that file attachment generates two entries in Acrobat, such as this sample: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf, name

Re: [NTG-context] lmtx

2019-12-12 Thread Pablo Rodriguez
ument (using latest beta from 2019.12.12 13:15). \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf] \stoptext BTW, if I try to compile this with MkIV beta from 2019.12.12 13

[NTG-context] two issues with inmargin attachments

2019-11-20 Thread Pablo Rodriguez
Hi Hans, I have the following sample, using latest beta from 2019.11.14 17:07: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf] b\attachment[file=mkiv

Re: [NTG-context] PDF layer links

2019-11-13 Thread Pablo Rodriguez
ere you have a minimal sample: \setupinteractionscreen[option=layer] \defineviewerlayer[blue] \starttext \startviewerlayer[blue] %~ Previous comment. \color[blue]{\llap{This is print.}} \stopviewerlayer \stoptext Uncommenting the first line maker everything ok. Co

Re: [NTG-context] issue with JavaScript in Acrobat

2019-10-07 Thread Pablo Rodriguez
e > reasonable value (1/10s). > > > Regards, Peter > > > Am 06.10.2019 um 21:13 schrieb Pablo Rodriguez: >> Dear list, >> >> I have this minimal sample: >> >> \setupinteraction[state=start] >> \setupinteractionscreen[option=max] >>

Re: [NTG-context] issue with JavaScript in Acrobat

2019-10-07 Thread Peter Rolf
Regards, Peter Am 06.10.2019 um 21:13 schrieb Pablo Rodriguez: > Dear list, > > I have this minimal sample: > > \setupinteraction[state=start] > \setupinteractionscreen[option=max] > \startJSpreamble {varia} used now > var transitions = [1000, > 2000,

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
space=2cm] \definepapersize[nice][width=180mm,height=250mm] \setuppapersize[nice][nice] \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section,subsection] \setupinteractionscreen[option=bookmark] \setupindenting[medium,yes] \definestructureconversi

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
=2cm] \definepapersize[nice][width=180mm,height=250mm] \setuppapersize[nice][nice] \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section,subsection] \setupinteractionscreen[option=bookmark] \setupindenting[medium,yes] \definestructureconversionset

[NTG-context] issue with JavaScript in Acrobat

2019-10-06 Thread Pablo Rodriguez
Dear list, I have this minimal sample: \setupinteraction[state=start] \setupinteractionscreen[option=max] \startJSpreamble {varia} used now var transitions = [1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000]; var msecs = 0; function

Re: [NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Hans Hagen
On 7/29/2019 9:33 PM, Pablo Rodriguez wrote: Hi Hans, I have the following sample: \showframe\showgrid \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setupattachment[location=inmargin] \starttext a\attachment[file=xml-mkiv.pdf] b

[NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \showframe\showgrid \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setupattachment[location=inmargin] \starttext a\attachment[file=xml-mkiv.pdf] b\footnote{\attachment[file=i-context.pdf]} \stoptext

Re: [NTG-context] issues with rotated paper size

2019-05-15 Thread Pablo Rodriguez
rotation, maybe there is a better > solution for this? I want to avoid enabling auto rotate in the screens where these documents are viewed. In any case, as long as I use "\setupinteractionscreen[option={none, max}]", everything works as expected. May thank

Re: [NTG-context] issues with rotated paper size

2019-05-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 14.05.2019 um 21:39: On 5/14/19 8:05 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 14.05.2019 um 18:51: [...] I think it might be a bug. When you add \setupinteractionscreen to your document ConTeXt uses a more complex method to save the page size which

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
On 5/14/19 8:05 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 14.05.2019 um 18:51: >> [...] >> I think it might be a bug. > > When you add \setupinteractionscreen to your document ConTeXt uses a > more complex method to save the page size which includes calculat

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Wolfgang Schuster
Wolfgang’s help): \setuppapersize [A4,landscape,90] [A4] \setupinteractionscreen[option={none, max}] \showframe \starttext \showlayout \stoptext If I set "option=max" (instead of "option={none, max}", I get a square paper of 210x210mm. These are the r

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
,90] [A4] \setupinteractionscreen[option={none, max}] \showframe \starttext \showlayout \stoptext If I set "option=max" (instead of "option={none, max}", I get a square paper of 210x210mm. These are the right page dimensions in PDF with the sample ab

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
On 5/14/19 5:16 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 14.05.2019 um 16:12: >> Dear list, >> >> I have the following sample: >> >> \setuppapersize[A4, landscape][A4, 90] >> %~ \setupinteractionscreen[option=max] >> \sho

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 14.05.2019 um 16:12: Dear list, I have the following sample: \setuppapersize[A4, landscape][A4, 90] %~ \setupinteractionscreen[option=max] \showframe \starttext \showlayout \stoptext For some reason, the page is displaced from the paper

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Hans Hagen
On 5/14/2019 4:12 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A4, landscape][A4, 90] %~ \setupinteractionscreen[option=max] \showframe \starttext \showlayout \stoptext For some reason, the page is displaced from the paper

[NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape][A4, 90] %~ \setupinteractionscreen[option=max] \showframe \starttext \showlayout \stoptext For some reason, the page is displaced from the paper bottom. And if fullscreen is set, the real paper size

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Henning Hraban Ramm
>> ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. >> I wonder if it would be possible to add this little feature to the source >> code. Perhaps it can be useful to others as well. >> Greetings! >> Paul >> Attachment: patch + modified lpdf-mis.lu

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Hans Hagen
On 4/28/2019 5:25 PM, Alan Braslau wrote: On 28Apr19, at 04:27, Hans Hagen wrote: \setupinteractionscreen[option=nomenubar] switch. I wonder if it would be possible to add this little feature to the source code. Why don’t you simply put this setup in your local environment (texmf-local

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Alan Braslau
> On 28Apr19, at 04:27, Hans Hagen wrote: > >> \setupinteractionscreen[option=nomenubar] switch. >> I wonder if it would be possible to add this little feature to the source >> code. Why don’t you simply put this setup in your local environment (texmf-local) as

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Hans Hagen
On 4/27/2019 6:07 PM, Paul Schalck wrote: Hi, I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get a cleaner interface. To this end, I usually hack lpdf-mis.lua after a ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. I wonder i

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
Hi, I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get a cleaner interface. To this end, I usually hack lpdf-mis.lua after a ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. I wonder if it would be possible to add this little feat

[NTG-context] inmargin attachments from notes

2019-03-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A9, landscape] \starttext \footnote{attachment\attachment [xml-mkiv.pdf] [location=inmargin]} \stoptext Using latest beta

[NTG-context] attachment from URL

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext \attachment [https://eur-lex.europa.eu/legal-content/ES/TXT/PDF/?uri=CELEX:12016E/TXT] [name=TFUE.pdf] \stoptext Is there a way that curl may

Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Hans Hagen
] \setupinteraction[state=start] \setupinteractionscreen[option={portrait, paper}, print=pages] \starttext \getfiguredimensions[i-context.pdf] \dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]} \startmarkpages[page] \dostepwiserecurse{100}{300}{1

Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Pablo Rodriguez
pinteraction[state=start] > \setupinteractionscreen[option={portrait, paper}, print=pages] > \starttext > \getfiguredimensions[i-context.pdf] > \dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]} > \startmarkpages[page] > \dostep

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
[state=start] \setupinteractionscreen[option={portrait, paper}, print=pages] \markpage[pages][100-300] \starttext \insertpages[i-context.pdf][width=0pt] \stoptext Many thanks for your help, Pablo Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com> 18. Juli 2018 um 19:40 Pablo Rodrigue

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
t[page] \setupinteraction[state=start] \setupinteractionscreen[option={portrait, paper}, print=pages] \markpage[pages][100-300] \starttext \insertpages[i-context.pdf][width=0pt] \stoptext \startmarkpages[page] ... \stopmarkpages Wo

  1   2   3   4   >