ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Paragraph formatting (was: block with different formatting per line?)
Date: Wed, 6 Feb 2013 20:43:03 +0100	[thread overview]
Message-ID: <B4A1542E-BEFA-43BF-90E8-868C4E6B3468@gmail.com> (raw)
In-Reply-To: <5112AD35.9010405@meahan.net>


Am 06.02.2013 um 20:21 schrieb Bill Meahan <subscribed_lists@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	other threads:[~2013-02-06 19:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-01 23:16 block with different formatting per line? Ingo Hohmann
2013-02-03  3:56 ` Rogers, Michael K
2013-02-04 15:16   ` Ingo Hohmann
2013-02-06  6:04   ` Ingo Hohmann
2013-02-06 13:29     ` Wolfgang Schuster
2013-02-06 15:00       ` Ingo Hohmann
2013-02-07  4:32     ` Rogers, Michael K
2013-02-06 19:21 ` Bill Meahan
2013-02-06 19:43   ` Wolfgang Schuster [this message]
2013-02-06 19:45   ` Aditya Mahajan

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=B4A1542E-BEFA-43BF-90E8-868C4E6B3468@gmail.com \
    --to=wolfgang.schuster@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).