ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: documents inside documents
Date: Tue, 25 Jun 2013 21:55:56 +0200	[thread overview]
Message-ID: <FC2A9CAC-84B8-4203-B1A2-362FCA9427A4@gmail.com> (raw)
In-Reply-To: <51C9F014.6010503@web.de>


Am 25.06.2013 um 21:31 schrieb Pablo Rodríguez <oinos@web.de>:

> Dear list,
> 
> I need for a document explaining some ConTeXt features, to be able to
> include a document inside (a page that includes the feature).
> 
> I know I can create another document and then insert the pages, but it
> would be much easier for me to be able to have the code inside the main
> the document.
> 
> Here is a sample of what I want to include scaled (the way an image is
> included) within another document:
> 
> \mainlanguage[en]
> \setuplanguage[en][patterns={en,agr}]
> \definepapersize[mine][width=6in,height=2in]
> \setuppapersize[mine]
> \usemodule[simplefonts]
> \setmainfont[Theano Didot]
> \definelinenote[contxt]
> \setupnote[contxt][paragraph=yes, inbetween=\hskip1.5em]
> \setupnotation[contxt][numbercommand=,alternative=serried,distance=1em,compress=yes,compressseparator=]
> \starttext
> 
> \startlinenumbering
> οὐκ οἶσθ᾽\contxt{οἶσθ᾽: οἶσθα, 2nd sg.,
> οἶσδα} ὅτι πολλῶν ἐτῶν\contxt{πολλῶν
> ἐτῶν: for…; gen. time within} Ἀγάθων ἐνθάδε
> οὐκ ἐπιδεδήμηκεν\contxt{ἐπιδεδήμηκεν: pf.
> ἐπιδήμέω}, ἀφ᾽ οὗ\contxt{ἀφ᾽ οὗ: since;
> “from which (time)”} δ᾽ ἐγὼ Σωκράτει
> συνδιατρίβω\contxt{συνδιατρίβω: I have been
> spending; pres. but pf. progressive in translation} καὶ
> ἐπιμελὲς πεποίημαι\contxt{ἐπιμελὲς
> πεποίημαι: I have made it my business; “have made it my
> care,” pf.}
> \stoplinenumbering
> 
> \stoptext
> 
> Is there a standard way to do it with ConTeXt?


http://www.ntg.nl/pipermail/ntg-context/2013/072963.html

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-06-25 19:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 19:31 Pablo Rodríguez
2013-06-25 19:55 ` Wolfgang Schuster [this message]
2013-06-25 20:25   ` Pablo Rodríguez
2013-06-25 20:59     ` Wolfgang Schuster
2013-06-25 21:28     ` Peter Münster
2013-06-25 22:07       ` Pablo Rodríguez
2013-06-26  2:47         ` Wolfgang Schuster
2013-06-26 17:16           ` Pablo Rodríguez
2013-06-26 18:01             ` Wolfgang Schuster
2013-06-26 18:20               ` Pablo Rodríguez
2013-06-26 17:56 ` Aditya Mahajan
2013-06-26 18:18   ` Pablo Rodríguez

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=FC2A9CAC-84B8-4203-B1A2-362FCA9427A4@gmail.com \
    --to=schuster.wolfgang@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).