From morawski@gmx.net Sun Oct 27 20:11:23 2002 From: Jens-Uwe Morawski To: ntg-context@ntg.nl Subject: [NTG-context] FAQ format Date: Sun, 27 Oct 2002 20:07:24 +0100 Message-ID: <20021027200724.21de4b30.morawski@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5594478145051535162==" --===============5594478145051535162== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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]}
--===============5594478145051535162==-- From angerweit@gmx.net Mon Nov 4 20:21:31 2002 From: Henning Hraban Ramm To: ntg-context@ntg.nl Subject: Re: [NTG-context] FAQ format Date: Mon, 04 Nov 2002 20:03:30 +0100 Message-ID: <200211042003.30420.angerweit@gmx.net> In-Reply-To: <20021027200724.21de4b30.morawski@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7872835454696591805==" --===============7872835454696591805== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Am Sonntag, 27. Oktober 2002 20:07 schrieb Jens-Uwe Morawski: > 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. Thank you. I wrote something similar in my holidays, complete with DTD and some ConTeXt conversion environment (but it didn't work yet). I forgot to copy it from my company laptop to this computer, and I'm "a bit" stressed by a bunch of more urgent tasks, so a real response will take a while. Grüßlis vom Hraban! -- http://www.fiee.net http://www.ramm.ch --- --===============7872835454696591805==--