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: Re: ntg-context Digest, Vol 101, Issue 31
Date: Thu, 15 Nov 2012 20:32:16 +0100	[thread overview]
Message-ID: <2628C0A3-757D-4139-98DB-15FB85C2383B@gmail.com> (raw)
In-Reply-To: <50A1EDA1.6080901@mmnetz.de>

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]


Am 13.11.2012 um 07:50 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> Am 13.11.2012 07:46, schrieb ntg-context-request@ntg.nl:
>> \definehighlight
>>   [emph]
>>   [style=bolditalic]
>> 
>> Quote: \quotation{He said: \quote{Hello \emph{World!}}}
>> 
>> 
>> Marco
>> 
> I want the complete quotation emphasized- without extra writing \emph.

Take a look at the attachment for a example which use the latest version of the annotation module (a module to create customized commands/environments).

Wolfgang


[-- Attachment #2: annotation-30.pdf --]
[-- Type: application/pdf, Size: 10563 bytes --]

[-- Attachment #3: annotation-30.tex --]
[-- Type: application/octet-stream, Size: 1172 bytes --]

\usemodule[annotation]

\defineannotation[inlinequote][alternative=quotation]

\setupannotation[inlinequote:1][leftsymbol=“,rightsymbol=”,color=red]
\setupannotation[inlinequote:2][leftsymbol=‘,rightsymbol=’,color=green, style=bold]
\setupannotation[inlinequote:3][leftsymbol=«,rightsymbol=»,color=blue,  style=italic]
\setupannotation[inlinequote:4][leftsymbol=‹,rightsymbol=›,color=yellow,style=\tfc]

\starttext

1. … \inlinequote{…} …

2. … \inlinequote{… \inlinequote{…} …} …

3. … \inlinequote{… \inlinequote{… \inlinequote{…} …} …} …

4. … \inlinequote{… \inlinequote{… \inlinequote{… \inlinequote{…} …} …} …} …

5. … \startinlinequote …\stopinlinequote …

6. … \startinlinequote … \startinlinequote …\stopinlinequote …\stopinlinequote …

7. … \startinlinequote … \startinlinequote … \startinlinequote …\stopinlinequote …\stopinlinequote …\stopinlinequote …

8. … \startinlinequote … \startinlinequote … \startinlinequote … \startinlinequote …\stopinlinequote …\stopinlinequote …\stopinlinequote …\stopinlinequote …

\stoptext

[-- Attachment #4: 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
___________________________________________________________________________________

      parent reply	other threads:[~2012-11-15 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.148.1352789165.2161.ntg-context@ntg.nl>
2012-11-13  6:50 ` "H. Özoguz"
2012-11-13 10:29   ` Marco Patzer
2012-11-13 13:47     ` Aditya Mahajan
2012-11-13 21:44       ` Wolfgang Schuster
2012-11-15 19:32   ` Wolfgang Schuster [this message]

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=2628C0A3-757D-4139-98DB-15FB85C2383B@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).