Re: [NTG-context] wiki: linux installation updates

2007-01-06 Thread olivier Turlier
Le Sat, 06 Jan 2007 02:27:43 -0500, Sanjoy Mahajan a écrit :

 I updated the Linux installation pages on the wiki, mostly the Debian
 one, but also the tetex 3.0 page and I added a short entry for Ubuntu
 6.10 (edgy).
 
 The Debian page now describes how to install using Norbert's context
 packages.  It describes a system-wide install based on those and the
 texlive packages.  Let me know if you find errors or problems (or just
 correct the errors on the page).
 
 Sorry about the nightmare per-user install instructions I put there
 before.
 
 -Sanjoy
 
 `A nation of slaves is always prepared to applaud the clemency of their
  master who, in the abuse of absolute power, does not proceed to the
  last extremes of injustice and oppression.'  (Gibbon)

Thanks Sanjoy for this help, i was wondering how to install new
.deb context packages made by N.Preining but was blocked by 0.25 version
of tex-common on ubuntu/edgy.

I've noticed that on the first lines of debian install, one should add tug
repository to /etc/apt/sources.list.

Maybe it will be good (for low-end/copy-paste minded users like me) to
tell to **update** (and not upgrade) after adding those entries and how to
add gpg key to apt (that it's was retuned after such a command)

I'm not modifying the corresponding wiki page because I don't feel of
mature help in that field.

Thanks again

-- 
Olivier TURLIER



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


Re: [NTG-context] Using vim's syntax highlighting in (TeX) publicaions (fwd)

2007-01-06 Thread Taco Hoekwater
Hans Hagen wrote:
 � wrote:
 
 On Fri, 5 Jan 2007, Aditya Mahajan wrote:
 
 
 
 just in case anyone is interested in typesetting publications
 using vim's syntax highlighter. This is a new module written in
 ConTeXt (a flavour of TeX) that can be used in documents:
 
 
 Hello Aditya and Mojca,
 
 it's great!
 
 It would be nice, to have this in the distribution!
 
 
 i taco has validated the archive i can add it to my download script
 and it will end up in the third party zip

The included tree looks absolutely fine, but the zip file name is
not quite right:

t-vim.tar.gz.zip

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


Re: [NTG-context] wiki: linux installation updates

2007-01-06 Thread Sanjoy Mahajan
 Maybe it will be good (for low-end/copy-paste minded users like me) to
 tell to **update** (and not upgrade) after adding those entries

Whoops, fixed.  Thanks.

 and how to add gpg key to apt (that it's was retuned after such a
 command)

Not sure about this one.  I've been ignoring the error until I can
figure out where the gpg key lives.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Image logo showing up with white background

2007-01-06 Thread Fidel Viegas

Hello folks,

I am using an image to embed the logo at the top of the document. The
background of my document is gray, and when I render the document, the logo
shows up with a white background, over the gray background. Something
similar to the \frame command. My logo image was converted from PSD
(Photoshop PSD) to PDF, and I have preserved the tranparent background so
that I could layer it over a background and it picks the background color
instead of the white background.
How do I embed my image in the document so that the background stays the
background color of the document? What am I doing wrong?

\def\FuxionLogo%
 {\externalfigure[FT_LogoV2][height=1.5\headerheight]}

\definelogo
 [fuxion logo] [top] [middle]
 [command=\FuxionLogo,state=start]

\setuppapersize[A4][A4]

\setuppagenumbering
 [location={bottom,middle}]

\setupcolors
 [state=start]

\definehead[title][title]
\setuphead
 [title]
 [textstyle=cap,
  before=\hairline,
  after=\hairline]

\setupinterlinespace
 [big]

\setuplayout
 [width=middle,
  height=middle]

\starttext

\setupbackgrounds
 [page]
 [background=color,
  backgroundcolor=gray]


Another question I have is regarding the positioning of the logo. The logo
is really close to the top. I want it to have a space at the top. How do I
achieve  this?

Thanks in advance,

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


Re: [NTG-context] Using vim's syntax highlighting in (TeX) publicaions (fwd)

2007-01-06 Thread Hans Hagen
Taco Hoekwater wrote:
 Hans Hagen wrote:
   
 � wrote:

 
 On Fri, 5 Jan 2007, Aditya Mahajan wrote:



   
 just in case anyone is interested in typesetting publications
 using vim's syntax highlighter. This is a new module written in
 ConTeXt (a flavour of TeX) that can be used in documents:

 
 Hello Aditya and Mojca,

 it's great!

 It would be nice, to have this in the distribution!

   
 i taco has validated the archive i can add it to my download script
 and it will end up in the third party zip
 

 The included tree looks absolutely fine, but the zip file name is
 not quite right:

   t-vim.tar.gz.zip
   
interesting; anyhow, i only fetch zip files (never use tar/gz)

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] HZ with latest ConTeXt

2007-01-06 Thread Hans Hagen
Sanjoy Mahajan wrote:
 2) As hz is sometimes not obvious when viewed, I check the fonts in
 the resulting PDF to see if any are extended.  Most PDF viewers list
 the fonts under File/Properties or similar
 

 They might not be used with pdftex 1.40, which (from what I gathered
 reading the NEWS file) can adjust the local text transform matrix to
 do font extension.

   
so, saying \pdfcompresslevel=0 and taking a look at the page streams may help 

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] Using vim's syntax highlighting in (TeX) publicaions (fwd)

2007-01-06 Thread Peter Münster
On Sat, 6 Jan 2007, Hans Hagen wrote:

  t-vim.tar.gz.zip

 interesting; anyhow, i only fetch zip files (never use tar/gz)

Don't worry: it *is* a zip file, there is just some garbage in the name.

Patrick: perhaps could you please fix the filename?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] wiki: linux installation updates

2007-01-06 Thread olivier Turlier
Le Sat, 06 Jan 2007 12:06:12 +, Sanjoy Mahajan a écrit :


 Not sure about this one.  I've been ignoring the error until I can
 figure out where the gpg key lives.

After googling a bit, I've succeed with

$ gpg --keyserver subkeys.pgp.net --recv-keys 0x09C5B094
$ gpg --export --armor 0x09C5B094 | sudo apt-key add -

0x09C5B094 was found on an Nobert Preining mail signature.

nota : $ sudo apt-get install debian-archive-keyring 
was not working as advised


-- 
Olivier TURLIER



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


Re: [NTG-context] Using vim's syntax highlighting in (TeX) publicaions (fwd)

2007-01-06 Thread Aditya Mahajan
On Sat, 6 Jan 2007, Peter Münster wrote:

 On Sat, 6 Jan 2007, Hans Hagen wrote:
 
 t-vim.tar.gz.zip
   
  interesting; anyhow, i only fetch zip files (never use tar/gz)
 
 Don't worry: it *is* a zip file, there is just some garbage in the name.

Yes. It was my mistake. This was the first time I was uploading a 
module to the garden, and when I was asked the filename I wrote 
t-vim.tar.gz Later I realized that tar.gz is not supported, but I 
could only upload zip, and the filename was actually the directory 
in which the module will be stored.

 Patrick: perhaps could you please fix the filename?

If fixing it is a problem, just delete the whole thing, and I will 
re-upload everything correctly.

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


Re: [NTG-context] \externalcommand?

2007-01-06 Thread Aditya Mahajan
On Fri, 5 Jan 2007, Hans Hagen wrote:

 Aditya Mahajan wrote:
  On Thu, 4 Jan 2007, [EMAIL PROTECTED] wrote:
 
  
  I think there's something in ConTeXt called \externalcommand. Can
  this be used to hand over a section of source text for processing by
  an external program during the ConTeXt-ing of a document? How does it
  work, exactly?
  
 
  There are two ways, \executesystemcommand and \installprogram. 
  ...
  
 good text for the wiki
 
Added: http://wiki.contextgarden.net/Executesystemcommand

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


[NTG-context] MPtoPDF Error ??

2007-01-06 Thread Wim Neimeijer
I am getting the following error when recompiling my docs with the 
latest context.
The docs run ok with the previous context version.

Don't know what is wrong here, I hope someone has the answer.

TeXExec | processing document 'cart.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file cart.top
TeXExec | using randomseed 477
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5)
 \write18 enabled.
 (c:\CONTEXT\isoimage\usr\local\context\tex\texmf-local/web2c/natural.tcx)
entering extended mode
(./cart.tex

ConTeXt  ver: 2007.01.04 17:37 MK II  fmt: 2007.1.7  int: english/english

language: language en is active
system  : cont-new loaded

...
metafun 2007-1-7 2:22
 )
1 output file written: cart-mpgraph.1
Transcript written on cart-mpgraph.log.
TeXExec | runtime: 0.734
 [MP to PDF] (./cart-mpgraph.1
! Missing number, treated as zero.
to be read again
   \@@MP42
\presetMPscale ...en 4 \zeropoint \dimen 6=\gMPs 2
  \onepoint \dimen 8 
\zeropo...

\handleMPpathscale -\presetMPscale
\PDFcode {\gMPs 1 0 0 \gMPs 2 0 0 
cm}\re...

\dohandleMPpathB ...{\@@MP :P:\somestring }\relax
  \handleMPsequence
l.31 B0.90909 1  s
   S Q
?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt 2007.01.02

2007-01-06 Thread Mike Bird
On Thursday 04 January 2007 01:40, Taco Hoekwater wrote:
 I've created a bug item for this.

The bug item mail gateway is broken so I'll send this
clue to the list instead.

The \somwhere problem seems to be related to pages now.

Adding '\setuphead[chapter][page=no]' at the beginning
of the bug #50 test case removes the problem.   A similar
correlation between pages and reference errors is also
apparent in a larger test.

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


Re: [NTG-context] wiki: linux installation updates

2007-01-06 Thread Sanjoy Mahajan
 After googling a bit, I've succeed with
 
 $ gpg --keyserver subkeys.pgp.net --recv-keys 0x09C5B094
 $ gpg --export --armor 0x09C5B094 | sudo apt-key add -
 
 0x09C5B094 was found on an Nobert Preining mail signature.

Thanks, that worked.  I've added that information to the wiki.

 nota : $ sudo apt-get install debian-archive-keyring
 was not working as advised

Norbert's packages are not part of the official Debian packages (yet),
so they are signed with a key not included in the
debian-archive-keyring package.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context