ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Another issue with my magazine
@ 2013-09-04 19:51 Mikoláš Štrajt
  2013-09-05 13:57 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mikoláš Štrajt @ 2013-09-04 19:51 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 212 bytes --]

On 2013-09-04 Hans Hagen wrote:

> first of all you need to switch to mkiv ... more change on tips and 
solutions then

OK. I have switched to mkiv. What now about my head whitespace problems.

--

Mikolas Strajt

[-- Attachment #1.2: Type: text/html, Size: 275 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] 4+ messages in thread

* Re: Another issue with my magazine
  2013-09-04 19:51 Another issue with my magazine Mikoláš Štrajt
@ 2013-09-05 13:57 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-09-05 13:57 UTC (permalink / raw)
  To: ntg-context

On 9/4/2013 9:51 PM, Mikoláš Štrajt wrote:
> On 2013-09-04 Hans Hagen wrote:
>
>  > first of all you need to switch to mkiv ... more change on tips and
> solutions then
>
> OK. I have switched to mkiv. What now about my head whitespace problems.

well, first provide a mkiv example ... less code than the mkii one

-----------------------------------------------------------------
                                           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] 4+ messages in thread

* Re: Another issue with my magazine
  2013-09-03 21:10 Mikoláš Štrajt
@ 2013-09-04  9:22 ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-09-04  9:22 UTC (permalink / raw)
  To: ntg-context

On 9/3/2013 11:10 PM, Mikoláš Štrajt wrote:
> % Hello All!
> %
> % In the folowing style, I need to do some whitespace tweaks. Unfortunately, I didn't found solutions in manual, so I am asking here.
> %
> % I need:
> %
> % - make first paragraph after author name noindented, i tried to put some \nointdent here, but without any effect
> % - make vertical space between article head and author name shorter (also in general : modify vertical spaces of heads)
> %
> % Regards Mikoláš Štrajt
> %
> % PS: You can use this e-mail as source code of my solution. :-D

first of all you need to switch to mkiv ... more change on tips and 
solutions then

-----------------------------------------------------------------
                                           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] 4+ messages in thread

* Another issue with my magazine
@ 2013-09-03 21:10 Mikoláš Štrajt
  2013-09-04  9:22 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mikoláš Štrajt @ 2013-09-03 21:10 UTC (permalink / raw)
  To: ntg-context

% Hello All!
%
% In the folowing style, I need to do some whitespace tweaks. Unfortunately, I didn't found solutions in manual, so I am asking here.
%
% I need:
%
% - make first paragraph after author name noindented, i tried to put some \nointdent here, but without any effect
% - make vertical space between article head and author name shorter (also in general : modify vertical spaces of heads)
%
% Regards Mikoláš Štrajt
%
% PS: You can use this e-mail as source code of my solution. :-D


%%%
%%% FOLLOWING IS STYLE AS IS USED IN REAL LIFE %%%
%%%

% Čeština
\enableregime[utf]

% Fonty
\definetypeface [iwona] [ss] [sans] [iwona] [default] [encoding=ec]
\definetypeface [antykwa] [rm] [serif] [antykwa-torunska] [default] [encoding=ec]
\usetypescript[modern][ec]
\setupbodyfont[ss,10pt]

% Papír a číslování řádek

\mainlanguage[cz]

\setuppapersize[A4][A4]
\setuppagenumbering[location={footer,middle}]

% Struktura

\definehead[kochapter][chapter]
\setuphead[title][style=\antykwa, number=no]
\setuphead[kochapter][placehead=empty,before=,after=,number=no]
\setuphead[section][page=no,style=\tfb\iwona\grave,number=no]

\def\rubrika #1{\kochapter{#1}}

\def\prispevek #1#2{
\section{#2}
{\noindent \rm \sc #1} \noindent \endgraf \noindent
}

% Hlavička a patička

\setupheadertexts[]
\setupheadertexts[\setups{hlavicka}][][][\setups{hlavicka}]

\startsetups[hlavicka]
  \zanrO{\getmarking[kochapter]}
\stopsetups


% Odstavce
\setupindenting[yes, small]
\setupheads[indentnext=no]

% Záložky a PDF
\placebookmarks[kochapter,section][force=yes]
\setupinteractionscreen[option=bookmark]
\setupinteraction[state=start,
  title={Neslyšný kočkopes},
  author={Psanci}]

% TOC

\setupcombinedlist[content][list={kochapter,section,subsection}]
\setuplist[kochapter][interaction=text,color=green,textcommand=\WORD]
\setuplist[section][interaction=text,color=green]

% Barvy

\setupcolors[state=start]
\definecolor[indigo][r=.0, g=0.0, b=0.5]
\definecolor[green][r=0, g=0.5, b=0]
\definecolor[ruda][r=0.5, g=0, b=0]
\definecolor[grave][r=0.5, g=0.5, b=0.5]

% Makra

\def\citat #1#2{
{\it
#1
\blank[1*halfline]
\rightaligned{--- #2}
}}

\def\trojtecka {
{\bf \ruda \tt...}
}

\def \robotitulka{
\startstandardmakeup
\title{Neslyšný kočkopes - \getvariable[cislo]}
\placecontent
\stopstandardmakeup
\page
}

\def\zanrO #1{
\framed[
  background=color,
  backgroundcolor=grave,
  foreground=color,
  foregroundcolor=white,
  frame=off.
  width=\hsize
  ]{\antykwa \rightaligned{\WORD{#1}~~}}
}

\setupdelimitedtext[blockquote][style=\slx,before={\setupinterlinespace[line=2.4ex]}]

%%%
%%% FOLLOWING IS EXAMPLE TEXT %%%
%%%

%%% `rubrika` is section of magazine
\rubrika{Example}

%%% `pripevek` is article
%%% syntax is \prispevek{author name}{article name}

\prispevek{Steve W. Hawking}{The Universe in a Nutshell}

\dorecurse{10}{\input hawking\par}
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2013-09-05 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-04 19:51 Another issue with my magazine Mikoláš Štrajt
2013-09-05 13:57 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2013-09-03 21:10 Mikoláš Štrajt
2013-09-04  9:22 ` 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).