[NTG-context] Re: can we do binding correction?
There is some mention of a mechanism to get binding correction from an old article in the wiki about emulating the Koma TypeArea from LaTeX, you can see it in https://wiki.contextgarden.net/KOMA-scrartcl_Type_Area There is also some discussion about the subject in SE: https://tex.stackexchange.com/questions/38682/rules-of-thumb-for-size-of-binding-correction-bcor However, that discussion is 12 years old and the links referenced as sources are dead now. I have found with experience that a formula to calculate the binding correction for a saddle stitch binding, not more than 4 pages in a signature (only one fold in the middle) usually is 1/2 the circumference of a circle with radius *r*, being *r* the thickness of the paper times the amount of physical signatures. Something like: \frac{π \times t \times s}{2}. I have not tried a formula for more folds in a signature. The thing is, you have to recalculate for each signature fold. The innermost will have displacement zero, the second one a little bit more, the third a little bit more, and on and on until we reach the outermost signature. However, it is necessary to say that unless you are using a particularly thick paper, or you are using too many pages for a saddle stitch bind (my personal and professional opinion would be no more than 80, but better 60), the displacement is usually negligible. For example, let's say the paper thickness is 0.1 mm (which is 0.0001 meters) and there are 40 pages in 10 signatures. The radius would be 0.0001 meters per signature * 10 signatures = 0.001 meters. Then, half the circumference would be 1/2 * 3.14159 * 0.001 meters ≈ 0.0016 meters or 1.6mm at the last signature. Unless there was a displacement of more than, say, 4 mm, I wouldn't worry too much about it. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos. “You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: command line arguments
Hraban Ramm schrieb am 19.03.2024 um 21:41: Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting \Schema looks right, but \setuparranging doesn’t work. Where's my error? You forgot about expansion and in your case \doifelsedocumentargument is not fully expandable. This doesn't matter for \dorecurse where the number parser ignores the flag because \setuparranging does care and \Schema fails to expand. \def\Schema{\doifelsedocumentargument{schema}{\getdocumentargument{schema}}{1*8}} \def\Pages{\doifelsedocumentargument{numberofpages}{\getdocumentargument{numberofpages}}{16}} \setuparranging[\Schema] \doifelsedocumentargument{schema} {\setuparranging[\getdocumentargument{schema}]} {\setuparranging[1*8]} It does also help to look at the included extra files (e.g. mtx-context-arrange.tex) written by Hans. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: command line arguments
Hello Hraban, I puzzled a while. To me the —arguments= option does not work. I saw then on the Wiki, that one can also add documentarguments as —schema=2UP —numberofpages=16. I further changed to \startdocument … \stopdocument. Please look at the attached file Willi impositiontest-2.tex Description: Binary data > On 19 Mar 2024, at 21:41, Hraban Ramm wrote: > > Following up on the other imposition question, I'm trying to make an example > file that shows an imposition schema according to command line arguments. > > This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, > but not for the imposition schema. Typesetting \Schema looks right, but > \setuparranging doesn’t work. Where's my error? > > \def\Schema{\doifelsedocumentargument{schema}{\getdocumentargument{schema}}{1*8}} > \def\Pages{\doifelsedocumentargument{numberofpages}{\getdocumentargument{numberofpages}}{16}} > > \setuparranging[\Schema] > > > Find the full example attached, I call it like > > context --autopdf=auto --arrange impositiontest.tex --schema=TRYPTICHON > --numberofpages=32 > > Hraban > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: can we do binding correction?
Hi Hraban, > On 19 Mar 2024, at 21:56, Hraban Ramm wrote: > > Thank you Willi! > > Generally I know for what binding correction is used, I just never tried to > set it up. If I look carefully at one of our printed booklets, the printshop > also didn’t. So I'd need pageshift without applying imposition (setting it up > wouldn’t hurt). I organise this always with correction to the backspace. > > I didn’t think about vertical pageshift, but of course that’s also needed for > cross-folded sheets. > > I'm not sure how (horizontal) pageshift is supposed to work with full page > images without introducing white borders, but bleed at the inner edge should > be enough. > > Theoretically the shift value should be the same as the paper thickness > (don’t you think?), but there’s some deformation involved, so a factor might > make sense? I think that this would be quite cumbersome, paper thickness of higly coated papers vs. novel-printing paper… I believe one would have to establish this thickness for each project unless the same paper is used... > Unfortunately I threw out my old books on printing technology long ago, and > my newer one doesn’t cover bookbinding (I’m not at home anyway). I think, that many printshops do not possess neither old books including bookbinding nor do they care about the wishes of the binder … Pity, that you threw them out, but i understand, that circumstances might be such that you have to take decisions… Willi > > Hraban > > Am 19.03.24 um 17:01 schrieb Willi Egger: >> Hi Hraban, >> >> I think we should clarify this. >> >> Binding correction is a fixed amount of whitespace in the spine added to the >> inner white-space. This is to ensure, that the binding, which is consuming >> white-space, keeps the inner white-space optically as intended.. >> >> The page shift mechanism works only with imposition enabled. This ensures, >> that the type-setting area does not creep towards the spine because multiple >> sheets of paper are folded in the spine. >> >> I doubt whether it is enough to have the measure of the thickness do >> determine this creeping effect, because we are making folds which are >> probably more circles than just adding thickness of paper. >> >> >> Willi >> >>> On 18 Mar 2024, at 17:35, Hraban Ramm wrote: >>> >>> >>> Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: > Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz > Linux Days today: > > Can I configure binding correction for saddle-stitched or thread-bound > booklets, and if, does it only work with arranging (imposition) or can I > enable it somehow for the layout (if the printshop does the imposition)? 1. \definepageshift + \setuppageshift 2. \setuplayout[horoffset=] > Also I recognized I'm not sure about the difference of the layout > parameters backspace and cutspace. backspace is the inner margin and cutspace the outer >>> Hi Wolfgang, thank you! Seems like I was too dense to understand the >>> description for the \setuplayout parameters in the wiki (and there are more >>> that I never used, oh my…), and since I never use ConTeXt’s imposition for >>> serious print products (and never set up a scheme myself), I didn’t know >>> about pageshift. >>> >>> Ok, if I leave imposition to the printshop and they don't do binding >>> correction in their workflow, I'd need to set horoffset differently for >>> every single page (i.e. first, second, second-to-last and last the same; >>> 3th, 4th and from back the same etc.). Or is pageshift applied >>> independently from arranging? >>> >>> And then, it makes no sense to add the same value all the time. I don’t >>> know if BCOR works this way in LaTeX, but one value (paper thickness) >>> should be enough in combination with an imposition schema. I.e. if I define >>> a paper thickness and the number of pages that are in one booklet (as a >>> single booklet or part of a "proper" book), then the page shift should work >>> automatically. >>> >>> Well, for a single booklet, it could. In a book, booklets can have >>> different numbers of pages, and then you'd need to define a list… Okay, too >>> complicated. It’s the printshops's responsibility anyway, and nobody >>> complained about my books so far. (I'm not perfectionist enough to care.) >>> >>> Hraban >>> >>> >>> ___ >>> If your question is of interest to others as well, please add an entry to >>> the Wiki! >>> >>> maillist : ntg-context@ntg.nl / >>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl >>> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) >>> archive : https://github.com/contextgarden/context >>> wiki : https://wiki.contextgarden.net >>>
[NTG-context] Re: can we do binding correction?
Thank you Willi! Generally I know for what binding correction is used, I just never tried to set it up. If I look carefully at one of our printed booklets, the printshop also didn’t. So I'd need pageshift without applying imposition (setting it up wouldn’t hurt). I didn’t think about vertical pageshift, but of course that’s also needed for cross-folded sheets. I'm not sure how (horizontal) pageshift is supposed to work with full page images without introducing white borders, but bleed at the inner edge should be enough. Theoretically the shift value should be the same as the paper thickness (don’t you think?), but there’s some deformation involved, so a factor might make sense? Unfortunately I threw out my old books on printing technology long ago, and my newer one doesn’t cover bookbinding (I’m not at home anyway). Hraban Am 19.03.24 um 17:01 schrieb Willi Egger: Hi Hraban, I think we should clarify this. Binding correction is a fixed amount of whitespace in the spine added to the inner white-space. This is to ensure, that the binding, which is consuming white-space, keeps the inner white-space optically as intended.. The page shift mechanism works only with imposition enabled. This ensures, that the type-setting area does not creep towards the spine because multiple sheets of paper are folded in the spine. I doubt whether it is enough to have the measure of the thickness do determine this creeping effect, because we are making folds which are probably more circles than just adding thickness of paper. Willi On 18 Mar 2024, at 17:35, Hraban Ramm wrote: Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work with arranging (imposition) or can I enable it somehow for the layout (if the printshop does the imposition)? 1. \definepageshift + \setuppageshift 2. \setuplayout[horoffset=] Also I recognized I'm not sure about the difference of the layout parameters backspace and cutspace. backspace is the inner margin and cutspace the outer Hi Wolfgang, thank you! Seems like I was too dense to understand the description for the \setuplayout parameters in the wiki (and there are more that I never used, oh my…), and since I never use ConTeXt’s imposition for serious print products (and never set up a scheme myself), I didn’t know about pageshift. Ok, if I leave imposition to the printshop and they don't do binding correction in their workflow, I'd need to set horoffset differently for every single page (i.e. first, second, second-to-last and last the same; 3th, 4th and from back the same etc.). Or is pageshift applied independently from arranging? And then, it makes no sense to add the same value all the time. I don’t know if BCOR works this way in LaTeX, but one value (paper thickness) should be enough in combination with an imposition schema. I.e. if I define a paper thickness and the number of pages that are in one booklet (as a single booklet or part of a "proper" book), then the page shift should work automatically. Well, for a single booklet, it could. In a book, booklets can have different numbers of pages, and then you'd need to define a list… Okay, too complicated. It’s the printshops's responsibility anyway, and nobody complained about my books so far. (I'm not perfectionist enough to care.) Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki :
[NTG-context] command line arguments
Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting \Schema looks right, but \setuparranging doesn’t work. Where's my error? \def\Schema{\doifelsedocumentargument{schema}{\getdocumentargument{schema}}{1*8}} \def\Pages{\doifelsedocumentargument{numberofpages}{\getdocumentargument{numberofpages}}{16}} \setuparranging[\Schema] Find the full example attached, I call it like context --autopdf=auto --arrange impositiontest.tex --schema=TRYPTICHON --numberofpages=32 Hraban % context --autopdf=auto --arrange --arguments=schema=2\*4,pages=16 \def\Schema{\doifelsedocumentargument{schema}{\getdocumentargument{schema}}{1*8}} \def\Pages{\doifelsedocumentargument{numberofpages}{\getdocumentargument{numberofpages}}{16}} \setuppapersize[A9,landscape][A7,landscape] \setuparranging[\Schema] \setupbodyfont[ss,10pt] \setuplayout[margin=0pt, width=fit, header=2.8ex, footer=2.8ex] \setupalign[middle,hilo] \setuppagenumbering [alternative=doublesided,location=footer] \setupheadertexts[\CONTEXT\ imposition test] \showframe \setupbackgrounds [text][text][background=color,backgroundcolor=lightgray] % Where the block of pages is placed on the sheet % (relevant if there is space left over.) \setuplayout [location=middle,marking=on] \startbuffer[Fakepage] \strut \blank \bold{[\Schema]} \vfill This is page \recurselevel \vfill \stopbuffer \starttext \dorecurse{\Pages}{\getbuffer[Fakepage]\page} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Suppress the Chapter Number in the Section Numbering
Jeroen schrieb am 19.03.2024 um 20:35: I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section ... \setuphead [chapter] [sectionstopper=.] \setuphead [section] [sectionsegments=section, sectionstopper=.] \starttext \chapter{The First Chapter} \section{The First Section} \section{The Second Section} \chapter{The Second Chapter} \section{The Third Section} \section{The Fourth Section} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :ntg-context@ntg.nl /https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror) archive :https://github.com/contextgarden/context wiki :https://wiki.contextgarden.net __ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Suppress the Chapter Number in the Section Numbering
I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section ... ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Adjusted Chapter Headings
Jeroen schrieb am 19.03.2024 um 12:59: I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is vertically centered, the title not). Is there a way to align the chapter title with the chapter number? \starttexdefinition MyNumberChapterCommand #1 \inframed[frame=off,rightframe=on,framecolor=black, rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \define[2]\MyNumberChapterCommand {#1\space\blackrule[width=1pt,height=22pt,depth=8pt]\space#2} \setuphead [chapter] [ page=no, command=\MyNumberChapterCommand, style=\bfc] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
Jeroen schrieb am 19.03.2024 um 19:34: This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata [inouter] [style={\switchtobodyfont[8pt]}] This one does not seem to make a change: \setupmargindata[inmargin][style={\tf}] It does for me but but unless you want a certain style it is better to use a empty argument for the style key. \starttext \inmargin{Bold?}\samplefile{lorem} \setupmargindata[inmargin][style=] \inmargin{Bold?}\samplefile{lorem} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Adjusted Chapter Headings
I have been able to achieve it as following, but the first frame width is fixed so will cause problems with other chapter numbers such as VIII \unexpanded\def\HeadTitle#1#2% {\hbox to \hsize \bgroup \hfill \setupframed[offset=.5em,frame=off] \tbox{\framed[width=22mm,align=right]{#1}}% \tbox{\framed[width=130mm,align=right,leftframe=on, rulethickness=0.8pt]{#2}}% \egroup} \setuplabeltext[chapter=Boek~] \setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold] ... \startchapter [title={Algemene Beginselen}, ownnumber={I}] Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm : > Hi Jeroen, > > it might make sense to use > > \setuphead[chapter][ > conversion=R, > ] > \setuplabeltext[nl][chapter={Boek }] > > instead of ownnumber. > > I would use one command for number and title and put both in the same kind > of frame. Probably you should use a \strut in the text or > \inframed[strut=yes] to assure the same text height. > > HTH, Hraban > Am 19.03.24 um 12:59 schrieb Jeroen: > > I have some style adjustments for the chapters. The chapter "numbers" need > to be Boek I, Boek II, etc. A vertical separator was introduced with an > inframe. The chapter title at the right side does not vertically align > properly with the chapter number in the frame (inside the frame is > vertically centered, the title not). Is there a way to align the chapter > title with the chapter number? > > > > \starttexdefinition MyNumberChapterCommand #1 > \inframed[frame=off,rightframe=on,framecolor=black, > rulethickness=1px,height=30pt]{#1\enspace} > \stoptexdefinition > > \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, > page=no] > > \starttext > > \startchapter > [title={Algemene Beginselen}, >ownnumber={Boek I}] > > \samplefile{tufte} > > \stopchapter > > \startchapter > [title={Organisatorische Structuren}, >ownnumber={Boek II}] > > \samplefile{tufte} > > \stopchapter > > \stoptext > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___ > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata [inouter] [style={\switchtobodyfont[8pt]}] This one does not seem to make a change: \setupmargindata[inmargin][style={\tf}] Also the inline options seems to unbold the inline text nicely: \margindata[inouter]{\rm \it example} Op di 19 mrt 2024 om 16:17 schreef Marco Patzer : > On Tue, 19 Mar 2024 15:38:16 +0100 > Jeroen wrote: > > > Can this text be placed in the margin in regular text or possibly > > in slightly smaller font size compared to the regular text in the > > document? > > \setupmargindata > [inleft] > [style=\tfx] > > Marco > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: can we do binding correction?
Hi Hraban, I think we should clarify this. Binding correction is a fixed amount of whitespace in the spine added to the inner white-space. This is to ensure, that the binding, which is consuming white-space, keeps the inner white-space optically as intended.. The page shift mechanism works only with imposition enabled. This ensures, that the type-setting area does not creep towards the spine because multiple sheets of paper are folded in the spine. I doubt whether it is enough to have the measure of the thickness do determine this creeping effect, because we are making folds which are probably more circles than just adding thickness of paper. Willi > On 18 Mar 2024, at 17:35, Hraban Ramm wrote: > > > Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: >> Hraban Ramm schrieb am 17.03.2024 um 22:48: >>> Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz >>> Linux Days today: >>> >>> Can I configure binding correction for saddle-stitched or thread-bound >>> booklets, and if, does it only work with arranging (imposition) or can I >>> enable it somehow for the layout (if the printshop does the imposition)? >> >> 1. \definepageshift + \setuppageshift >> >> 2. \setuplayout[horoffset=] >> >>> Also I recognized I'm not sure about the difference of the layout >>> parameters backspace and cutspace. >> >> backspace is the inner margin and cutspace the outer >> > Hi Wolfgang, thank you! Seems like I was too dense to understand the > description for the \setuplayout parameters in the wiki (and there are more > that I never used, oh my…), and since I never use ConTeXt’s imposition for > serious print products (and never set up a scheme myself), I didn’t know > about pageshift. > > Ok, if I leave imposition to the printshop and they don't do binding > correction in their workflow, I'd need to set horoffset differently for every > single page (i.e. first, second, second-to-last and last the same; 3th, 4th > and from back the same etc.). Or is pageshift applied independently from > arranging? > > And then, it makes no sense to add the same value all the time. I don’t know > if BCOR works this way in LaTeX, but one value (paper thickness) should be > enough in combination with an imposition schema. I.e. if I define a paper > thickness and the number of pages that are in one booklet (as a single > booklet or part of a "proper" book), then the page shift should work > automatically. > > Well, for a single booklet, it could. In a book, booklets can have different > numbers of pages, and then you'd need to define a list… Okay, too > complicated. It’s the printshops's responsibility anyway, and nobody > complained about my books so far. (I'm not perfectionist enough to care.) > > Hraban > > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
On Tue, 19 Mar 2024 15:38:16 +0100 Jeroen wrote: > Can this text be placed in the margin in regular text or possibly > in slightly smaller font size compared to the regular text in the > document? \setupmargindata [inleft] [style=\tfx] Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
Jeroen schrieb am 19.03.2024 um 15:38: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document? \setupmargindata[inouter][style=] or \setupmargindata[inleft][style={\switchtobodyfont[8pt]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
Am 19.03.24 um 15:38 schrieb Jeroen: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document? Try \setupmargindata[inmargin][style={\tf}] I don’t know why the default is bold. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Adjusted Chapter Headings
Hi Jeroen, it might make sense to use \setuphead[chapter][ conversion=R, ] \setuplabeltext[nl][chapter={Boek }] instead of ownnumber. I would use one command for number and title and put both in the same kind of frame. Probably you should use a \strut in the text or \inframed[strut=yes] to assure the same text height. HTH, Hraban Am 19.03.24 um 12:59 schrieb Jeroen: I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is vertically centered, the title not). Is there a way to align the chapter title with the chapter number? \starttexdefinition MyNumberChapterCommand #1 \inframed[frame=off,rightframe=on,framecolor=black, rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :ntg-context@ntg.nl /https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror) archive :https://github.com/contextgarden/context wiki :https://wiki.contextgarden.net __ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Comments placed in the margin
I am using: \margindata[]{group to isolate change e.g. {\rm \it etc}} yours sincerely dr. Hans van der Meer > On 19 Mar 2024, at 15:38, Jeroen wrote: > > For comments that are placed in the margin, the \inleft{}, \inouter{} etc > will place text in the margin in bold. Can this text be placed in the margin > in regular text or possibly in slightly smaller font size compared to the > regular text in the document? > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Comments placed in the margin
For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Adjusted Chapter Headings
I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is vertically centered, the title not). Is there a way to align the chapter title with the chapter number? \starttexdefinition MyNumberChapterCommand #1 \inframed[frame=off,rightframe=on,framecolor=black, rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___