Re: [NTG-context] vertical stretch for TABLE ?

2007-02-15 Thread luigi scarso
ok, I have it.
(I'm a bit busy today--I will see it tonight--)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Suppressing printing of chapter head.

2007-02-15 Thread Wolfgang Schuster
On Wed, 14 Feb 2007 10:48:44 -0800
JOHN CULLETON [EMAIL PROTECTED] wrote:

Hi John,

 On Wednesday 14 February 2007 10:14, Wolfgang Schuster wrote:
  [location=top,
 spaceinbetween=0pt, % -- your friend
 style=bold,
 width=max]
 
 That works as far as the bolding is concerned. Many thanks. But the 
 Figure 2-1
 and the 
 Comparison of Corporate and Government
 Bond Portfolios
 are still in run-in style like this:
 
 Figure 2.1 Comparison of Corporate and Government
 Bond Portfolios
 
 I can maybe talk the customer out of that detail but if I can do it it would 
 be nice. 

don't what the problem is in your document, it worked in my small test
file. The problem is there is no option to allow linebreaks between the
floatnumber and the the floatcaption. A simple way is to write \crlf in
front of every caption text or to make a copy of the macro for your
document and put this in the core macro.

 
 Another solution to bolding was proposed by Mojca but I decided to go with 
 yours. Thanks to both. 
 
 For those who were curious about the complexity of the heading I will post a 
 pdf to 
 http://wexfordpress.com/tex/headertest.pdf

Did not work. I tried to write something frome your example bellow but
I don't how the result should look in the end. Please take a look in my
attached file and try to make something with this.

Wolfgang

 ..and a source file fragment here:
 ---
 \noheaderandfooterlines
 \tf
 \chapter{Investing for Income}
 \noheaderandfooterlines 
 \null\vskip -1in 
 \noindent {\baselineskip
 15bp \nimbul\kern -3pt {\zb{``It's a funny thing about life; if
 you refuse to accept anything but the best, you very often get
 it.''}}{\nimbus ~~---\kern 5bp \zb{Somerset Maugham}}
 
 \centerline{\vrule height .25bp width 4.25in} \vskip 3.050in
 \switchtobodyfont[MySabon,12bp] 
 \rm 
 {\it Chapter 2} \vskip .4in
 \baselineskip 30bp 
 \leftline{\nimbux{\zc{Investing for Income,}}}
 \leftline{\nimbux{\zc{Safely and Effectively}}} \parindent
 .3125in \baselineskip 15bp \indenting[next] 
 \vskip 15pt 
 \rm 
 
 This is quite ugly but it works. \nimbux etc. are fonts and \zc etc. are
 macros using soul.sty.
 
 -- 
 John Culleton
 Able Indexing and Typesetting
 Precision typesetting (tm) at reasonable cost.
 Satisfaction guaranteed. 
 http://wexfordpress.com
 
 
 _
 Need personalized email and website? Look no further. It's easy
 with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
\setuphead
  [chapter]
  [header=empty,
   footer=empty,
   command=\johnchapter,
   numberstyle=\it]

\def\johnchapter#1#2%
  {\vbox
   \bgroup
   \vbox
   \bgroup
   \baselineskip=\getvariable{johnchapter}{baselineskipone}
   \bgroup
 \getvariable{johnchapter}{fontone}%
 \getvariable{johnchapter}{text}
   \egroup
   \bgroup
 \getvariable{johnchapter}{fonttwo}%
 \getvariable{johnchapter}{between}%
 \getvariable{johnchapter}{author}
   \egroup
   \endgraf
   \egroup
   \centerline{\vrule height .25bp width 4.25in}
   \expanded{\blank[\getvariable{johnchapter}{before}]}
   \hbox{\it#1}
   \expanded{\blank[\getvariable{johnchapter}{after}]}
   \bgroup
   \getvariable{johnchapter}{fontthree}
   \baselineskip=\getvariable{johnchapter}{baselineskiptwo}
   \leftline{\getvariable{johnchapter}{title}\getvariable{johnchapter}{stopper}}
   \leftline{\getvariable{johnchapter}{subtitle}}
   \endgraf
   \egroup
   \egroup}

\setvariables
  [johnchapter]
  [baselineskipone=15bp,
   baselineskiptwo=30bp,
   fontone=,
   fonttwo=,
   fontthree=,
   text=,
   author=,
   between={~~---\kern5bp},
   before=3.050in,
   after=.4in,
   stopper={,},
   title=,
   subtitle=]

\setuplabeltext[chapter=Chapter~]

\def\MyChapter#1#2#3#4%
  {\setvariables
 [johnchapter]
 [title={#1},
  subtitle={#2},
  text={#3},
  author={#4}]
   \chapter{#1}}

\starttext

\chapter{Investing for Income}

\input knuth

\page

\MyChapter
  {Investing for Income}
  {Safely and Effectively}
  {``It's a funny thing about life; if you refuse to accept anything but the best, you very often get it.''}
  {Somerset Maugham}

\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Suppressing printing of chapter head.

2007-02-15 Thread JOHN CULLETON
I am having difficulty sending email to the list. The correct file name is
http://wexfordpress.com/tex/headtest.pdf

Sorry about that.

John C.


_
Need personalized email and website? Look no further. It's easy
with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TOC

2007-02-15 Thread Hans Hagen
Steffen Wolfrum wrote:
 Hi Hans,

 fine-tuning a TOC is horrible when you have a lot of tables and figures in a 
 larger project: 
 you have to wait and wait and wait $B!D(B

 Could you also provide a comparable solution like the one below (for the 
 placeregister), please?

 Something like $B!D(B

 \completecontent[file=testtest]

   
it is kind of tricky since lists can be combined ... will think of it (careful 
hack) 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] vertical stretch for TABLE ?

2007-02-15 Thread Steffen Wolfrum
On Wed, 14 Feb 2007 18:48:41 +0100, luigi scarso wrote:
 On 2/14/07, Steffen Wolfrum [EMAIL PROTECTED] wrote:
 Hi Luigi,
 
 thanks for the offer.
 
 On Wed, 14 Feb 2007 15:45:46 +0100, luigi scarso wrote:
 I usually give my best with a complete working example
 'I-have-this--I-want-that'.tex
 or 'this-doesn't-work-as-expected'.tex
 or 'i-don't-understand-this'.tex
 Can you made an example ?
 
 
 See attached table.tex, please.
 hmm, it seems that I've missed the attachment...



me too …





table.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Newbie questions: integrating ruby/perl scripts into a document; changing line spacing for typed text only

2007-02-15 Thread Vyatcheslav Yatskovsky
Hello,

I want to ask a few questions that I cannot resolve by myself so far.

1) How can I integrate ruby/perl scripts into a .tex document? (I want to 
create a CD cataloguing tool and gonna use script for reading CD file list). 

2) How to change line spacing for typed text only? (I use medium space for the 
whole document but want minimal spacing inside \starttyping)? 

With beat regards,
Vyatcheslav Yatskovsky




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context