Luigi sei un grande!
Mi sono scaricato le guide e da domani mi metto un po’ a studiare e smanettare.
Circa il documento sperimentale, dicaimo, appunto, una relazione.
Allora voglio che:
1. ci sia una testata con il mio logo e indirizzo web ecc, su tutte le pagine
2. il piede contenga almeno il numero di pagina
3. Ci sia titolo, sottotitolo, autore in alto con carattere grande medio piccolo4. Il testo divisibile in paragrafi.
5. i capoversi con interlinea più larga per facilitare le pause della lettura
6. carattere 12 pt per il corpo
8. possibiità di di inserire una tabella per uno schema9. indice
10. sommario
`
\setuppapersize[A4][A3]
\setuplayout[location=middle,
topspace=1.5cm,
top=1.5cm,
bottomspace=1cm,
margindistance=3mm,margin=1.7cm,
backspace=2cm,
width=middle,
height=middle,
header=1.5cm,
footer=1cm,
]
\def\SchLogo{SchironeLogo}
\def\SchUrl{\hyphenatedurl{http://www.tug.org}}
\def\Author{Au.Thor}
\setuptoptexts[text][\SchLogo][\SchUrl]
\setupheadertexts[{{\tfb chapter} — {\tfa section}}]%% Left
[{\tfx Author}]%% Right
\setuppagenumbering[location=footer]
\setupbodyfont[12pt,rm]
\setupinterlinespace[line=4ex]% default line=2.8ex
\setupindenting[medium,yes]
\showlayout
%%
%% Real values
\setuppapersize[A4][A4]
\setupheadertexts[{{\tfb\getmarking[chapter][first]} — {\tfa\getmarking[section][first]}}]%% Left
[{\tfx\Author}]%% Right
%%
%% Let's start
\starttext
\chapter{Titolo 1}
\section{Knuth}
\input knuth
\section{Tufte}
\input tufte
\startcombination[2*1]
{\setupTABLE[column][2][align=left]%
\setupTABLE[column][3][align=right]%
\bTABLE[columndistance=2cm,leftmargindistance=.3cm,rightmargindistance=.5cm]
\bTR \bTH[nc=3] Table head\eTH \eTR
\bTR \bTD[nc=2] AB\eTD \bTD C\eTD \eTR
\bTR \bTD[nc=2,align=left] AB\eTD \bTD C\eTD \eTR
\bTR \bTD[nc=2,align=middle] AB\eTD \bTD C\eTD \eTR
\bTR \bTD A\eTD \bTD B\eTD \bTD C\eTD \eTR
\bTR \bTD Aa\eTD \bTD Bb\eTD \bTD Cccc\eTD \eTR
\bTR \bTD[nc=3,align=middle] ABC\eTD \eTR
\eTABLE} {TABLE}
{\vbox{\starttabulate[|c.|c,|c,|]
\NC period \NC comma \NC comma \NC\NR
\HR
\NG 100.000,00 \NG 100.000,00 \NG 100,00 \NC\NR
\NG 10.000,00 \NG 10.000,00 \NG 1000,00 \NC\NR
\NG 100,00 \NG 100,00 \NG 10,00 \NC\NR
\NG 10 \NG 10 \NG 0,00 \NC\NR
\stoptabulate}} {tabulate}
\stopcombination
\chapter{Titolo 2}
\section{Zapf}
Coming back to the use of \index{typefaces+ in electronic publishing}: many of the new typographers
receive their knowledge and information about the rules of typography from \index{books},
from \index{computer+ magazines} or the instruction \index{manuals} which they get with the purchase of a PC or software.
\blank
There is not so much basic instruction, as of now, as there was in the old days, showing the
differences between good and bad \index{typographic design}. Many people are just fascinated by
their PC's tricks, and think that a widely–praised program, called up on the screen, will make
everything automatic from now on.
\title{Indice}
\setupheadertexts[{\tfb\getmarking[chapter][first]}]%% Left
[{\tfx\Author}]%% Right
\placeindex
\title{Sommario}
\placecontent[alternative=c,
criterium=all]
\stoptext
`
Naturalmente, sei hai letto i manuali le cose dovrebbero essere piuttosto chiare..