ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Finalizing my book
Date: Sun, 06 Sep 2015 22:17:08 +0200	[thread overview]
Message-ID: <55EC9F44.201@gmail.com> (raw)
In-Reply-To: <Bf6.hnoL.XR7OXmndy}.1LwqrU@seznam.cz>


[-- 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
___________________________________________________________________________________

  parent reply	other threads:[~2015-09-06 20:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-05 20:15 Mikoláš Štrajt
2015-09-06 10:19 ` Pablo Rodriguez
2015-09-06 20:17 ` Wolfgang Schuster [this message]
2015-09-10 15:11 ` Hans Hagen
2015-09-06 19:59 Mikoláš Štrajt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55EC9F44.201@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).