Re: [NTG-context] first line indents

2014-10-13 Thread Wolfgang Schuster

Am 14.10.2014 um 00:45 schrieb Andrea Valle :

> Yeah, I put it because I (still) get in Terminal:
> 
> languages   > language 'en' is active
> 
> is it relevant? I had some issues with hyphenation

You can ignore this message, it’s just a stupid message from the default setup.

Wolfgang
___
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
___

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle


> 
> 1. This part is missing in your example below.
> 
> 2. To end a paragraph insert a blank line or use \par.


Ah! Never known about that! My fault

> 
>> \mainlanguage[it] 
>> \language[it]
> 
> You don’t need \language here because \mainlanguage already loads the italian 
> hyphenation patterns, the \language
> command is only used in the content of your document when you want to load 
> different hyphenation patterns.

Yeah, I put it because I (still) get in Terminal:

languages   > language 'en' is active

is it relevant? I had some issues with hyphenation

Thanks a lot

-a-

___
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
___

Re: [NTG-context] first line indents

2014-10-13 Thread Wolfgang Schuster

Am 14.10.2014 um 00:14 schrieb Andrea Valle :

> Thanks, that’s what I was thinking but I’m missing something. If I replace  
> the double white line in knuth.tex with \crlf
> indentation is not applied anymore to the first block.

1. This part is missing in your example below.

2. To end a paragraph insert a blank line or use \par.

> In my source I have this:
> 
>  TYPESET with Mark IV %%%
> 
> \enableregime[utf]

Can be omitted because MkIV expects UTF-8 as default encoding.

> \mainlanguage[it] 
> \language[it]

You don’t need \language here because \mainlanguage already loads the italian 
hyphenation patterns, the \language
command is only used in the content of your document when you want to load 
different hyphenation patterns.

> \setupcolors[state=start]

Can be omitted because colors are enabled by default.

> \definepapersize[ZaffiriBook][width=130mm,height=205mm]
> \setuppapersize[ZaffiriBook, portrait][ZaffiriBook, portrait]
> \setuppagenumber[state=stop]
> \setuppagenumbering[location={footer, margin}]
> 
> \setupindenting[yes, medium]
> \setupheads[indentnext=yes]
> 
> \setuptyping
>[before={\setupbodyfont[6pt]},
> after={\setupbodyfont[9pt]}]

Use \setuptyping[bodyfont=6pt].

> \usetypescript[palatino]

Can be omitted because the following line load the typescript.

> \setupbodyfont[palatino,9pt]

Wolfgang

___
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
___

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle
Thanks, that’s what I was thinking but I’m missing something. If I replace  the 
double white line in knuth.tex with \crlf
indentation is not applied anymore to the first block.

In my source I have this:

 TYPESET with Mark IV %%%

\enableregime[utf]
\mainlanguage[it] 
\language[it]
\setupcolors[state=start]
\definepapersize[ZaffiriBook][width=130mm,height=205mm]
\setuppapersize[ZaffiriBook, portrait][ZaffiriBook, portrait]
\setuppagenumber[state=stop]
\setuppagenumbering[location={footer, margin}]

\setupindenting[yes, medium]
\setupheads[indentnext=yes]

\setuptyping
   [before={\setupbodyfont[6pt]},
after={\setupbodyfont[9pt]}]

\usetypescript[palatino]
\setupbodyfont[palatino,9pt]

\setupfootnotes[way=bysection, numberconversion=romannumerals]

\defineparagraphs
 [mypar][n=3,before={\blank},after={\blank}]
 \setupparagraphs
 [mypar][1][width=.3\textwidth,style=bold]
  \setupparagraphs
 [mypar][2][width=.4\textwidth]

\starttext


%% various chapter inputs follow

I get the indent only in the first line of each section/subsection

Best
-a-


--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.va...@unito.it
--

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a 
lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

On 13 Oct 2014, at 23:48, Wolfgang Schuster  wrote:

> 
> Am 13.10.2014 um 23:42 schrieb Andrea Valle :
> 
>> thanks Wolfgang,
>> see the “indent” section here:
>> http://smad.jmu.edu/shen/webtype/indent.html
> 
> \setupindenting[yes,medium]
> 
> \starttext
> 
> \input knuth
> 
> \section{Knuth}
> 
> \input knuth
> 
> \stoptext
> 
> Wolfgang
> 
> ___
> 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
> ___

___
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
___

Re: [NTG-context] first line indents

2014-10-13 Thread Wolfgang Schuster

Am 13.10.2014 um 23:42 schrieb Andrea Valle :

> thanks Wolfgang,
> see the “indent” section here:
> http://smad.jmu.edu/shen/webtype/indent.html

\setupindenting[yes,medium]

\starttext

\input knuth

\section{Knuth}

\input knuth

\stoptext

Wolfgang

___
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
___

Re: [NTG-context] first line indents

2014-10-13 Thread Andrea Valle
thanks Wolfgang,
see the “indent” section here:
http://smad.jmu.edu/shen/webtype/indent.html


Best

-a-

--
Andrea Valle
--
CIRMA - StudiUm
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.fonurgia.unito.it/andrea/
--> http://www.flickr.com/photos/vanderaalle/sets/
--> http://vimeo.com/vanderaalle
--> andrea.va...@unito.it
--

"This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a 
lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

On 13 Oct 2014, at 23:12, Wolfgang Schuster  wrote:

> 
> Am 13.10.2014 um 23:03 schrieb Andrea Valle :
> 
>> Hi, I’d like to have first line indents for the whole document I’m working o 
>> (the latter including various chapter).
>> Each new line, an indent.
>> Following the wiki, I’m able only to get the first line of a section 
>> indented.
> 
> What do you mean with a indent for each new line?
> 
> Wolfgang
> 
> ___
> 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
> ___
> 

___
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
___

Re: [NTG-context] first line indents

2014-10-13 Thread Wolfgang Schuster

Am 13.10.2014 um 23:03 schrieb Andrea Valle :

> Hi, I’d like to have first line indents for the whole document I’m working o 
> (the latter including various chapter).
> Each new line, an indent.
> Following the wiki, I’m able only to get the first line of a section indented.

What do you mean with a indent for each new line?

Wolfgang

___
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
___