Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Henning Hraban Ramm
Am 2017-09-10 um 11:09 schrieb Herbert Voss : > Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm: >> My current code actually looks like >> % split in #1 page size parts >> \def\clipfigure{\dodoubleempty\doClipFigure} >> \def\doClipFigure[#1][#2]{ >> \ifsecondargument

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Herbert Voss
Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm: My current code actually looks like % split in #1 page size parts \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \ifsecondargument \dorecurse{#1}{% \tooltip{\clip[ height=\textheight,

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Herbert Voss
Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm: \def\ausschnitt{\dodoubleempty\doAusschnitt} \def\doAusschnitt#1#2{\clip[height=\textheight,voffset=#1]{\externalfigure[#2][width=\textwidth]}\par} This also doesn’t work; there I’m trying to set the y coordinate for the start like

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Henning Hraban Ramm
Am 2017-09-09 um 22:06 schrieb Aditya Mahajan : > On Sat, 9 Sep 2017, Henning Hraban Ramm wrote: > >> Ahoi, >> I got some long images that I’d like to split over several pages. >> >> \def\clipfigure{\dodoubleempty\doClipFigure} >> \def\doClipFigure[#1][#2]{ >>

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-09 Thread Aditya Mahajan
On Sat, 9 Sep 2017, Henning Hraban Ramm wrote: Ahoi, I got some long images that I’d like to split over several pages. \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \dorecurse{#1}{% \clip[ height=\textheight, voffset=\dimexpr((\recurselevel -1) *

[NTG-context] automatically splitting big images (calculation problem)

2017-09-09 Thread Henning Hraban Ramm
Ahoi, I got some long images that I’d like to split over several pages. \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \dorecurse{#1}{% \clip[ height=\textheight, voffset=\dimexpr((\recurselevel -1) * \textheight)