I am finalizing my semi-autogenerated e-book and i ran into three issues: 1) its impossible to place table of content after the content itself. It simply doesnt display without any trace in log. 2) i am triying to use Antykwa Torunska with "\definetypeface [antykwa] [rm] [serif] [antykwa-torunska] [default] [encoding=ec]", but it complaint for misssing typescript. Is there some working way to install it? (Using minimals) 3) is there some trick to protect stanzas of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry in Context? Full code of my book is at http://svita.cz/archiv/debug/pro-kukacku.tex I decided not to create some faux example documents cause it doesnt seems to be document-specific issues for me. Thanks for any help. Mikoláš Štrajt
On 09/05/2015 10:15 PM, Mikoláš Štrajt wrote:
I am finalizing my semi-autogenerated e-book and i ran into three issues:
1) its impossible to place table of content after the content itself. It simply doesnt display without any trace in log.
Hi Mikoláš, \placecontent[criterium=previous] is the right command.
2) i am triying to use Antykwa Torunska with "\definetypeface [antykwa] [rm] [serif] [antykwa-torunska] [default] [encoding=ec]", but it complaint for misssing typescript. Is there some working way to install it? (Using minimals)
I use MkIV and this works (no typescripts involved): \definefontfamily [antykwa] [rm] [Antykwa Torunska] \definefontfamily [iwona] [rm] [Iwona] \setupbodyfont[iwona,12pt] \setuphead[section] [style=\tfc\antykwa] \setuphead[subsection] [style=\tfb\antykwa, page=yes] BTW, you define section and subsection heads in lines 24-25 and 59-60. Main typeface is defined in lines 19 and 57. Are these redefinitions intended or is it a bug? (Even if they were intended, I’d remove them for the sake of clarity.)
3) is there some trick to protect stanzas of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry in Context?
Sorry, but I don’t know how to do that. Just in case it helps, Pablo -- http://www.ousia.tk
Mikoláš Štrajt mailto:strajt9@seznam.cz 5. September 2015 22:15 I am finalizing my semi-autogenerated e-book and i ran into three issues:
1) its impossible to place table of content after the content itself. It simply doesnt display without any trace in log. 2) i am triying to use Antykwa Torunska with "\definetypeface [antykwa] [rm] [serif] [antykwa-torunska] [default] [encoding=ec]", but it complaint for misssing typescript. Is there some working way to install it? (Using minimals) Use
\definetypeface [antykwa] [rm] [serif] [antykwa] [default] to set the font.
3) is there some trick to protect stanzas of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry in Context? You can use the lines environment with the packed option.
%%%% begin example \definetypeface [antykwa] [rm] [serif] [antykwa] [default] \setupbodyfont[antykwa] \setuplines[option=packed,inbetween={\blank[line,preference]}] \setuppapersize[A6] \showframe \starttext \subsection{Co mě tak láká?} \startlines A ty se ptáš, co mě tak láka, na tobě? Odpoveď máš tady i když v snivé podobě Dostal jsem ochutnat z poháru štěstí. Je to jak tancovat na poušti v dešti. Rychle mi však došlo, že byl to jen sen Nad pouští slunce vyšlo a zase další horký den. Tak buď mi oázou, do které toužím jít. Pouští mé kroky jdou, mám žízeň, musím pít. I kdybys byla jen fata morgána, tak dáváš mi směr. Oslovit můžu pak, to slunce nad náma: Jen do mě si per! \stoplines \stoptext %%%% end example Wolfgang
On 9/5/2015 10:15 PM, Mikoláš Štrajt wrote:
I am finalizing my semi-autogenerated e-book and i ran into three issues:
1) its impossible to place table of content after the content itself. It simply doesnt display without any trace in log.
you can set a criterium: criterium=text
2) i am triying to use Antykwa Torunska with "\definetypeface [antykwa] [rm] [serif] [antykwa-torunska] [default] [encoding=ec]", but it complaint for misssing typescript. Is there some working way to install it? (Using minimals)
mkiv? omit the encoding
3) is there some trick to protect stanzas of poems against pagebreak in the middle of stanza? Or there are some usefult tips/modules when typeseting poetry in Context?
\starttext \interlinepenalty\maxdimen \dorecurse{10}{\input tufte \par} \stoptext Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Mikoláš Štrajt
-
Pablo Rodriguez
-
Wolfgang Schuster