* Re: Finalizing my book
@ 2015-09-06 19:59 Mikoláš Štrajt
0 siblings, 0 replies; 5+ messages in thread
From: Mikoláš Štrajt @ 2015-09-06 19:59 UTC (permalink / raw)
To: ntg-context
>> 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]
Both suggestions worked like a charm. Thank you.
Mikoláš
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Finalizing my book
@ 2015-09-05 20:15 Mikoláš Štrajt
2015-09-06 10:19 ` Pablo Rodriguez
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Mikoláš Štrajt @ 2015-09-05 20:15 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 848 bytes --]
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
=
[-- Attachment #1.2: Type: text/html, Size: 888 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Finalizing my book
2015-09-05 20:15 Mikoláš Štrajt
@ 2015-09-06 10:19 ` Pablo Rodriguez
2015-09-06 20:17 ` Wolfgang Schuster
2015-09-10 15:11 ` Hans Hagen
2 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2015-09-06 10:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Finalizing my book
2015-09-05 20:15 Mikoláš Štrajt
2015-09-06 10:19 ` Pablo Rodriguez
@ 2015-09-06 20:17 ` Wolfgang Schuster
2015-09-10 15:11 ` Hans Hagen
2 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2015-09-06 20:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1699 bytes --]
> 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
[-- Attachment #1.2: Type: text/html, Size: 3124 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Finalizing my book
2015-09-05 20:15 Mikoláš Štrajt
2015-09-06 10:19 ` Pablo Rodriguez
2015-09-06 20:17 ` Wolfgang Schuster
@ 2015-09-10 15:11 ` Hans Hagen
2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2015-09-10 15:11 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-10 15:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-06 19:59 Finalizing my book Mikoláš Štrajt
-- strict thread matches above, loose matches on Subject: below --
2015-09-05 20:15 Mikoláš Štrajt
2015-09-06 10:19 ` Pablo Rodriguez
2015-09-06 20:17 ` Wolfgang Schuster
2015-09-10 15:11 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).