Re: [NTG-context] How to insert a full page pdf.

2005-04-20 Thread luigi.scarso
David Munger wrote:
Hi John,
John R. Culleton :
 

I need to insert some example pages from one document into
another. Both are 8.5 x 11. 

I have read the old posts about \startTEXpage etc. and looked at
the source code. But I still have a few questions:
1. Can I select e.g., just page 2 from the external document to
insert in my document? How?
   

I'm no expert, but here's the way I do it:
\externalfigure[filename][page=2]
Then, I adjust the clipping to -- for instance -- get rid of the page
number of the inserted `figure', as well as of its top and left margins.
\clip [ voffset=1.25in, % clip the topmost part of the inserted page
 

Also can help to specify width and height and factor
\externalfigure[filename][page=2,width..,height=.., factor=..]
See
http://texshow.contextgarden.net/
and search for \externalfigure
Actually it seems to me that inclusion doesn't manage things like 
comments etc.

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


[NTG-context] new beta (again)

2005-04-20 Thread Eckhart Guthöhrlein
Hi all,

inline metapost generation was broken aftre upgrading context. I have
seen the recent thread with several patches to texexec, so I updated to
yesterday evening's beta in the hope that this would fix the problems.
Unfortunately not.
When trying to generate the mp graphic I get this error:
sh: metafun: not found
After that, mpost fails with:
! End of file on the terminal... why?

Already when generating the metafun format with texexec --make, I get
two errors:
Use of uninitialized value in substitution (s///) at
/homes/eguthoeh/bin/texexec line 2291, DATA line 184.
Use of uninitialized value in scalar assignment at
/homes/eguthoeh/bin/texexec line 2292, DATA line 184.

I'm currently using TeX (Web2C 7.4.3) 3.14159 from the bash shell under
solaris.

Does somebody know which patches still have to be applied to texexec to
get it working?

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


Re: [NTG-context] new beta (again)

2005-04-20 Thread Hans Hagen
Eckhart Guthöhrlein wrote:
Does somebody know which patches still have to be applied to texexec to
get it working?
in texexec.ini/rme set the engine switch to false
the problem is that engine support is handled (kin dof) by the tex engines but 
it seems to be broken for mpost

Hans
-
  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] typing questions

2005-04-20 Thread Taco Hoekwater

Peter Münster wrote:
Hello,
here a few questions about typing:
- Is there a module for pretty-printing C-code?
None that I know of, if anybody has a solution, I am
interested myself as well
- How could I change the tabulator-width?
  \chardef\spacespertab=1 % \t will now become *two* spaces,
  % default is 7, making 8 spaces
- First tab is only 7 spaces, the other 8, why?
Looks like a bug, try this patch:
  \def\doprocesstabskipline#1%
{\bgroup
 \scratchcounter0 % TH: was \plusone
 \dodoprocesstabskipline#1\relax
 \egroup}
- How could I embed ConTeXt macros?
  \setuptyping[option=commands] % enable commands
  \starttyping
  Here I would like to /BTEX \italic{some context-code} /ETEX
  \stoptyping

- Where does the vertical space in \framed come from?
From a bug in \startpacked. Sorry, I don't know how to fix
that without breaking other stuff.
Greetings,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new beta (again)

2005-04-20 Thread Eckhart Guthöhrlein
On Wed, 20 Apr 2005 at 10:44:08+0200, Hans Hagen wrote:
 Eckhart Guthöhrlein wrote:
 
 Does somebody know which patches still have to be applied to texexec to
 get it working?
 
 in texexec.ini/rme set the engine switch to false

I didn't have a texexec.ini before, so I copied texexec.rme to
texexec.ini. After that, but before editing the file, texexec didn't
find any formats anymore, it fails already for cont-en. After changing
set UseEnginePath to false
I now have the same situation as before. So, this obviously was not not
the problem. Or did you mean something else?

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


Re: [NTG-context] new beta

2005-04-20 Thread Thomas A . Schmitz
This problem went away with the very latest and greatest. Thanks Hans!
On Apr 19, 2005, at 2:18 PM, Thomas A.Schmitz wrote:
My installation has lost the ability to regenerate formats in the 
latest beta:

sudo texexec --make en de nl metafun
 TeXExec 5.3.1 - ConTeXt / PRAGMA ADE 1997-2005
total run time : 1 seconds
sudo fmtutil --byfmt cont-en.fmt
fmtutil: no info for format `cont-en.fmt'.
Clueless???
Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TABLE: spacing, before/after

2005-04-20 Thread Eckhart Guthöhrlein
On Tue, 19 Apr 2005 at 15:43:57-0400, Paul Tremblay wrote:
  Well, maybe it will be possible for Hans to include support for the
  missing features in a future release. To sum it up once again, what I
  am missing:
  - control over column and row spacing
  - material before/after a cell, e.g. \setupTABLE[row][first][before=bla]
  - command hooks like \setupTABLE[1][3][hook=\dowithentry]
 
 I'm not sure what hooks are! I assume the before could be something
 like \blankspace? 

Hook means that the table cell contents are passed to the specified
command as an argument. You could use \uppercased for example to
capitalize an entry.
And indeed, I was thinking of controlling horizontal spacing by saying
something like before=\hskip1em.
I really do hope that natural tables will be further developed, since
these are the only things I can see that are available only using the
older mechanisms. And natural tables can do so many additional cool
things that I don't want to use anything else.

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


[NTG-context] tabbing in ConTeXt?

2005-04-20 Thread Albrecht Kauffmann
Hi all,

does ConTeXt have a command similarly to the tabbing-environment of LaTeX?

Thanks in advance
Albrecht


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


Re: [NTG-context] new beta

2005-04-20 Thread Adam Lindsay
Thomas A.Schmitz said this at Wed, 20 Apr 2005 12:07:59 +0200:

This problem went away with the very latest and greatest. Thanks Hans!

Here, too.

I can sit in web2c and build xetex formats that live in the web2c/xetex
directory with the command:

texexec --make --engine --xtx en

So it looks good to me!

cheers,
adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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


Re: [NTG-context] how to control placement of floats

2005-04-20 Thread Paul Tremblay
On Wed, Apr 20, 2005 at 12:24:35AM +0200, Hans Hagen wrote:
 From: Hans Hagen [EMAIL PROTECTED]
 
 Paul Tremblay wrote:
 The manual and others have given good advice on how to do the most
 basic placment of floats, such as forcing it onto a new page.
 
 How does one get even more control. For example, if I want a
 particular table to have 2 inches of space from the left margin, or if
 I want to center my figures.
 
 see details.pdf

This is the best I can come up with. This seems like a complete
hack. For one thing, the caption does not move with the graphic.

\placefigure
  [here]{Portrait of Thoreau}{\setlayer[graphics][hoffset=1in,
voffset=1in]{\externalfigure[thoreau ref]}}

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] storm font

2005-04-20 Thread Vit Zyka
Hi fonTeXters,
I have incorporated your suggestions to storm-font-support:
A) ---
Adam Lindsay wrote:
 Okay, I noticed a second thing, in the [serif][cond][size] and other
 [size] typescripts: you define things like \tfc with the intention of
 typeface-condensed. This will interfere with people who rely on the
and Hans Hagen wrote:
when i have to deal with that i just define another typeface:
\definetypeface[blabla-normal]...
\definetypeface[blabla-condensed] ...
I split Lido font to
1) Lido
2) Lido-Condensed
B) 
Adam Lindsay wrote:
 A general suggestion--you might experiment with the [special]
 typescripts in type-spe as a way of loading the mathcollections.
Incorporated, so \input t-math-sto.tex \usemathcollection[storm]
is no more needed; just e.g.
  \useencoding[st1]
  \useencoding[st3]
  \usetypescriptfile[t-type-slido]
  \usetypescript[Lido][st2]
  \setupbodyfont[Lido,10pt,rm]
C) 
Hans Hagen wrote:
 Taco Hoekwater wrote:

 Patrick, my vote is against a separate interface for this. Perhaps
 split the stuff at modules.cg.net into modules/fonts/docs/packages
 subtrees, but I really like the 'central repository' idea.

 the only thing about user typescripts and modules is that we need to
 make sure that names don't clash; so for instance, a user typescript
 can be something

 t-type-xxx.txx
OK, I changed all typescripts in this way. But still there are some 
files that do not fit this concept:
a) redistributed files (storm.map, slido.map, stormex.enc)
b) enco-*.tex files since \useencodings has not enabled loading 
t-enco-*.tex yet (something like \useencoding[t][st1]).

D) ---
Adam Lindsay wrote:
 it could be a way of supporting an encoding like TS1, if people really
 still cared about that.
TS1 is texnansi??? Why ec (=st1) is not sufficient? You can setup 
regime... If you persuade me I will prepare some enco-st4.tex(??) = 
texnansi for storm fonts.

Patrick Gundlach wrote:
 If you think of a clever way, please tell me where/how to put your
 typescripts + .. on garden. I could even add a new section:
 fonts.contextgarden.net if this sounds appropriate for collecting
 stuff like yours.
I think it is a good idea. So please... After that I will write some 
words or two about the package and upload you the files. Is it OK?

G) -
Examples of mathbold (where bold font is available) were added to the 
catalog.

F) -
Some bug fixes namely in t-type-slido.tex and t-type-sbiblon.tex.
Upgraded version is available from
http://typokvitek.com/stormcontext/index.html
Vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] PracTeX Journal Number 2 out

2005-04-20 Thread Adam Lindsay
Hey all,

The second issue of the beginner-oriented PracTeX Journal is out now:

 http://tug.org/pracjourn/

There are a couple ConTeXt font articles, Steve Peter's usual column on
ConTeXt editing environments, and other interesting items across the TeX
spectrum, including a nice introduction to XML for TeXers.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] PracTeX Journal Number 2 out

2005-04-20 Thread Hans Hagen
Adam Lindsay wrote:
Hey all,
The second issue of the beginner-oriented PracTeX Journal is out now:
 http://tug.org/pracjourn/
There are a couple ConTeXt font articles, Steve Peter's usual column on
ConTeXt editing environments, and other interesting items across the TeX
spectrum, including a nice introduction to XML for TeXers.
Patrick, can we mirror the context articles in the wiki?
(concerning the xml ... peters flyns article has a nice screen shot)
(concerning the journal ... don't hesitate to write !)
Hans
-
  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


[NTG-context] Re: PracTeX Journal Number 2 out

2005-04-20 Thread Patrick Gundlach

[...]


 Patrick, can we mirror the context articles in the wiki?

We would need the OK from the authors because of copyright.

 (concerning the xml ... peters flyns article has a nice screen shot)

:-))


Patrick

-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: PracTeX Journal Number 2 out

2005-04-20 Thread Adam Lindsay
Patrick Gundlach said this at Wed, 20 Apr 2005 23:02:35 +0200:

 Patrick, can we mirror the context articles in the wiki?

We would need the OK from the authors because of copyright.

Fine for me!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] Re: PracTeX Journal Number 2 out

2005-04-20 Thread Steve Peter

Patrick, can we mirror the context articles in the wiki?
We would need the OK from the authors because of copyright.
You have my OK.
Steve
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: PracTeX Journal Number 2 out

2005-04-20 Thread Thomas A . Schmitz
On Apr 20, 2005, at 11:02 PM, Patrick Gundlach wrote:
[...]
Patrick, can we mirror the context articles in the wiki?
We would need the OK from the authors because of copyright.
I will fight you to the end of the world ;-)
Sure, go ahead!
Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] OpenType installation basics for ConTeXt

2005-04-20 Thread David Wooten
Greetings all, and esp. Adam :)
Been toying with Adam Lindsay's recent PracTeX Journal guide for 
installing OpenType. The sample with torunska works (though the noted 
GPOS errors are there) up to the point where I issue the command:

texexec --pdf --mode=compact --once 
texnansi-LIGA-KERN-public-torunska.tex

Whereupon I receive the following (I've cut it perhaps too severely, 
let me know what more would be helpful to see):

[ v. much cut out ]
systems : end file texnansi-LIGA-KERN-public-torunska at line 63
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
texnansi-LIGA-KERN-AntykwaTorunskaMe
d-Regular
mktexpk: don't know how to create bitmap font for 
texnansi-LIGA-KERN-AntykwaTorunskaMed-Regular.
kpathsea: Appending font creation commands to missfont.log.
 )
Warning: pdfetex (file texnansi-LIGA-KERN-AntykwaTorunskaMed-Regular): 
Font tex
nansi-LIGA-KERN-AntykwaTorunskaMed-Regular at 72 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
texnansi-LIGA-KERN-AntykwaTorunskaMe
d-Italic
mktexpk: don't know how to create bitmap font for 
texnansi-LIGA-KERN-AntykwaTorunskaMed-Italic.

[ cut: same for each font variant ]
Output written on texnansi-LIGA-KERN-public-torunska.pdf (17 pages, 
364611 byte
s).
Transcript written on texnansi-LIGA-KERN-public-torunska.log.

   return code : 0
  run time : 51 seconds
total run time : 52 seconds
---
Each of the named variants seems to have been installed correctly in 
tetex.local, and I  did texhash, etc.

Thanks very much,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] OpenType installation basics for ConTeXt

2005-04-20 Thread Adam Lindsay
Hi David.

Thanks for giving the article a spin. 
The first suspect is the mapfile. You should have in your local tree:
fonts/map/pdftex/context/texnansi-LIGA-KERN-public-torunska.map

The contents may be confusing, but they *should* be parsable. If it's not
there, or it's content-free, then I suspect that you're not using the
latest LCDF typetools. 

You're a mac user, right? If so, then Gerben has the latest version
(2.26) available in the *EXPERIMENTAL* i-Installer directory. Using the
previous one he made available (2.2) was the #1 source of errors while
the article was being reviewed.

If I'm wide of the mark, email me your configuration (platform  version
numbers)  map file off-list, and we'll see what we can find.

Cheers,
adam

David Wooten said this at Wed, 20 Apr 2005 16:01:31 -0700:

Greetings all, and esp. Adam :)

Been toying with Adam Lindsay's recent PracTeX Journal guide for 
installing OpenType. The sample with torunska works (though the noted 
GPOS errors are there) up to the point where I issue the command:

texexec --pdf --mode=compact --once 
texnansi-LIGA-KERN-public-torunska.tex

Whereupon I receive the following (I've cut it perhaps too severely, 
let me know what more would be helpful to see):

[ v. much cut out ]

systems : end file texnansi-LIGA-KERN-public-torunska at line 63
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
texnansi-LIGA-KERN-AntykwaTorunskaMe
d-Regular
mktexpk: don't know how to create bitmap font for 
texnansi-LIGA-KERN-AntykwaTorunskaMed-Regular.
kpathsea: Appending font creation commands to missfont.log.
  )
Warning: pdfetex (file texnansi-LIGA-KERN-AntykwaTorunskaMed-Regular): 
Font tex
nansi-LIGA-KERN-AntykwaTorunskaMed-Regular at 72 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
texnansi-LIGA-KERN-AntykwaTorunskaMe
d-Italic
mktexpk: don't know how to create bitmap font for 
texnansi-LIGA-KERN-AntykwaTorunskaMed-Italic.

[ cut: same for each font variant ]

Output written on texnansi-LIGA-KERN-public-torunska.pdf (17 pages, 
364611 byte
s).
Transcript written on texnansi-LIGA-KERN-public-torunska.log.

return code : 0
   run time : 51 seconds

 total run time : 52 seconds

---

Each of the named variants seems to have been installed correctly in 
tetex.local, and I  did texhash, etc.

Thanks very much,
David Wooten

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

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


[NTG-context] Turning off background(s)

2005-04-20 Thread John R. Culleton
I wanted the title page to have a yellow background so I used:
\setupbackgrounds[page][state=start,background=color,backgroundcolor=yellow]
before \starttext.

After that one page I wanted to go back to no background, but I
am having trouble turning it off. Here is some of my code:
-
\setupbackgrounds[page][state=start,background=color,backgroundcolor=yellow]
\starttext
\startfrontmatter
\startstandardmakeup
...(title page stuff)
\stopstandardmakeup 
\setupbackgrounds[page][state=stop]

I get one white page and then everything goes back to yellow
again. How do I turn off the yellow background permanently?

-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com

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