Am 06.02.2013 um 20:21 schrieb Bill Meahan <subscribed_li...@meahan.net>:

> My #1 "Wish List" item for ConTeXt is /allowing/ "stylesheets" at the 
> paragraph level. That would allow closer correspondence with what CSS/CSS3, 
> Scribus, ODT, EPUB3 &al do and make it much easier to write transformation 
> scripts whether XSLT, lua code, Perl code or whatever favorite tool one 
> wishes to use.
> 
> I envision something like (psuedo code):
> 
> \setupstylesheet[myparagraphstyle]
>  [font=AccanthisADF,
>  fontsize=12pt,
>  fontstyle=italic,
>  alignment=justified,
>  frame=no,
>  color=blue,
>  width=\textwidth,
>  &c ....
>  ]
> 
> \starttext
> 
>  \startparagraph[style=mystylesheet]
>    \input tufte
>  \stopparagraph
> 
>  \input knuth
> 
> \stoptext
> 
> The output would have the tufte quote formatted according to my stylesheet 
> and knuth in whatever the global style is.
> 
> The style parameter in the start/stop paragraph would, of course, be 
> /optional/ so existing documents would be unchanged from current behavior but 
> allow the introduction of paragraph styles.

A few of these values can be set for certain paragraphs with the new 
\defineparagraph command.

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
___________________________________________________________________________________

Reply via email to