From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9671 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: FAQ format Date: Sun, 27 Oct 2002 20:07:24 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021027200724.21de4b30.morawski@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035745871 10765 80.91.224.249 (27 Oct 2002 19:11:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2002 19:11:11 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 185soU-0002nK-00 for ; Sun, 27 Oct 2002 20:11:06 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E733A10AE2; Sun, 27 Oct 2002 20:12:15 +0100 (MET) Original-Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id 2300E10AE0 for ; Sun, 27 Oct 2002 20:11:23 +0100 (MET) Original-Received: (qmail 31495 invoked by uid 0); 27 Oct 2002 19:11:22 -0000 Original-Received: from port1210.fra.ginko.net (HELO eXergie) (212.202.66.194) by mail.gmx.net (mp005-rz3) with SMTP; 27 Oct 2002 19:11:22 -0000 Original-To: ConTeXt X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i586-pc-linux-gnu) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9671 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9671 Hi, please find below a proposal for a XML-FAQ format. I hope it covers all suggestions Hans and Henning have made in the last discussions. More suggestions are welcome. notes: - the label= in can be used for cross-references - the id= in is a reference to the author database as requested by Henning - the modified= in should be used to highlight updated FAQs in a new ConTeXt-FAQ issue - there is only one key for sectioning, since IMO the "application" should know where this section (specified by id=) is in the document tree. This should allow easy reordering of the FAQ - and a question: what is the better solution for different types of parenthesis in TeX code; the 1st or the 2nd block? Tschö Jens. clipping clip externalfigure figure
Is it possible to show only a part of an external figure?

The command clip allows to show only a part of a figure. You can either split the figure in rows and columns in order to show one of the resulting segments or you can specify a viewport directly.

The following code tiles the figure in 3 columns and 2 rows and shows the segment in row 1 and column 2:

clip nx=3,ny=2,x=2,y=1 externalfigure yourfigure

In order to specify the visible part directly you can use:

clip [hoffset=3cm,voffset=2cm,width=4cm,height=3cm] {externalfigure[yourfigure]}