[NTG-context] useURL interactionmode

2009-02-19 Thread Severin
Hello,
I defined urls like \useURL [activepython] [{http://.test.com}][sub].

Doing \from[url] with interactive mode enabled I get 'http://test.com'
written in the document and the hyperlink point to http://test.com/sub.

Now, if I disable interactive mode I still get 'http://test.com' on the
output, but It would be nice to have 'http://test.com/sub', since there are
no hyperlinks.

is there a way to do this?

My idea would be to write a macro that encabsulates \useURL, but is
different, depending on the interaction-mode.

Regards,
Severin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] off topic: acrobat and dde

2005-03-25 Thread Severin Obertuefer
hi
sorry for the off topic question, but perhaps there is someone here who 
can help me.

i need a html page to bee converted into pdf and then to bee printed out 
(on a windows machine) without even open the acrobat reader (in the 
foreground). I think with dde this should be possible (right?). i 
searched some acrobat dde specifications on the net, but I didn't found 
anything useful, so is there a location to download them?

if possible i plan to implement oll that stuff with python ...
thanks for help
severin
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


AW: [NTG-context] verbatim problem

2004-04-22 Thread Severin Obertüfer
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag von Willi Egger
 Gesendet: Donnerstag, 22. April 2004 21:51
 An: [EMAIL PROTECTED]
 Betreff: Re: [NTG-context] verbatim problem
 
 Hi,
 
 Did you think of putting the information into a buffer and 
 put the contents in your document with \typebuffer?

hi,

Yes, exacly something like that.

for example

\startbuffer [deque]
class
 DEQUE [G]
 
  inherit
 DOUBLE_LINKED_LIST[G]
 rename
 extend as insertRight,
 prepend as insertLeft
 end
\stopbuffer

\startEIFFEL
\typebuffer[deque]
\stopEIFFEL

greetings

severin
 
 Kind regards Willi
 
 Severin Obertüfer wrote:
 
  hello
   
  i have a little verbatim problem
   
  i used the \startEIFFEL \stopEIFFEL verbatim environment in a verry 
  simple way like this:
   
  \startEIFFEL
  class
  DEQUE [G]
   
  inherit
  DOUBLE_LINKED_LIST[G]
  rename
  extend as insertRight,
  prepend as insertLeft
  end
  create
  make, make_empty
   
  feature -- Access
  
  -- and so on
  
  \stopEIFFEL
   
  now i wanted to make this things a bit more useful and flexible.
   
  i thougt of something like this
   
  \startEIFFEL
  \input deque
  \stopEIFFEL
   
  but of corse the keyword input is normal text in verbatim 
 mode... :) 
  is there a simple solution for that, for example like this
   
  \startEIFFEL
  \specialcommand{\input deque}
  \stopEIFFEL
  ???
   
  by the way : can i give as to the inputcommand a argument like this:
   
  \input D:\Files\ETH\Eiffel\deque.e
   
  where deque.e is a normal eiffel source file
   
  thanks for an answer
   
  mfg
   
  severin
  
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] setupheadertexts

2003-12-01 Thread Severin Obertuefer
hi

I defined e new head like this:

\definehead[class][subject]
\setuphead[class][placehead=no]

in the text I defined a head as

\class{TRANSLATOR\_APPLICATION}

in my header I want to have the follwoing output:
Exercise 5 - TRANSLATOR_APPLICATION
i tried \setupheadertexts[Exercise 5 - class] but then the output is:
Exercise 5 - class]

how can I get what I want?

if I only type \setupheadertexts[class] then the output is
TRANSLATOR_APPLICATION

thx for help

severin

-- 
HoHoHo! Seid Ihr auch alle schön brav gewesen?

GMX Weihnachts-Special: Die 1. Adresse für Weihnachts-
männer und -frauen! http://www.gmx.net/de/cgi/specialmail

+++ GMX - die erste Adresse für Mail, Message, More! +++

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] resolution

2003-11-09 Thread Severin Obertüfer
sorry that i didn't write back till now, but I have hardly ever time for
stuff like that :)
- Original Message -
From: Patrick Gundlach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 26, 2003 5:34 PM
Subject: Re: [NTG-context] resolution


 Severin Obertuefer [EMAIL PROTECTED] writes:

 [...]

  exampler  +  server started on 127.0.0.1:8061
  exampler  +  listening at 127.0.0.1:8061 in loop mode

 what a coincidence that texshow-web and exampler are listening on the
 same port!
I don't know the meanig of this ip and this port! what is texshow-web?
I tried to get something about this from the internet, but i could not find
a lot of things.
once, my goal was to use the command pstopdf --method=4 somefile.pdf

severin

  what can I do?

 perhaps try to run gswin32 with the options that are used in pstopdf
 (ruby). I think that the relevant section is:

  def downsample (program, inpfile, outfile)

 process = program + ' ' +
   -dPDFSETTINGS=/screen -dEmbedAllFonts=true  +
   -dSAFER  +
   -q -sDEVICE=pdfwrite -dNOPAUSE -dNOCACHE -dBATCH  +
   -sOutputFile=#{outfile} #{inpfile} -c quit 

 @exa.execute(process,false)

   end


 so try gswin32 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSAFER \
   -q -sDEVICE=pdfwrite -dNOPAUSE -dNOCACHE -dBATCH \
   -sOutputFile=out.pdf in.pdf -c quit


 (just a guess).

 Patrick

 --
 You are your own rainbow!
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context




___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] resolution

2003-10-25 Thread Severin Obertuefer
 At 16:31 24/10/2003, you wrote:
 
 I made a context-file that contains a lot of *.jpg pictures. The file is
 very big now, because the pictures are in good quality.
 I'll use the document for the web and I think there you can see no more
 then
 72dpi (I'm not shure with that)
 Is there a command to set down the resolution of the whole document
 (including the pictures) ?? or do I have to reduce the resolution of each
 
 jpg graphic
 with a graphic-program.
 
 if you have a recent context, you can run
 
pstopdf --method=4 somefile.pdf
 

i get an error when I try this: pstopdf can not be found ...
I use MS Windows and Miktex. GS is installed and I downloaded ruby for
Windows as well...

do I have to install pstopdf seperatly?


 and get a lowres file. This program is written in ruby and assumes that
 you 
 have ruby as well as GS installed.
 
 Hans   
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Re[2]: [NTG-context] resolution

2003-10-25 Thread Severin Obertuefer
 Saturday, October 25, 2003 Severin Obertuefer wrote:
 
  i get an error when I try this: pstopdf can not be found ...
  I use MS Windows and Miktex. GS is installed
 
 Is it in the path?

c:\programme\ruby\bin;
C:\Programme\texmf\context\perltk;
C:\Programme\Perl\bin\;
C:\Programme\texmf\miktex\bin;
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

I have this pathes in my configuration
 
 -- 
 Giuseppe Oblomov Bilotta
 
 
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] resolution

2003-10-24 Thread Severin Obertuefer
Hi

I made a context-file that contains a lot of *.jpg pictures. The file is
very big now, because the pictures are in good quality.
I'll use the document for the web and I think there you can see no more then
72dpi (I'm not shure with that)
Is there a command to set down the resolution of the whole document
(including the pictures) ?? or do I have to reduce the resolution of each jpg graphic
with a graphic-program.

severin

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: [NTG-context]metapost prblem

2003-09-23 Thread Severin Obertüfer
that works!!

thanks for the hint

severin
- Original Message - 
From: Jens-Uwe Morawski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 2:50 PM
Subject: Re: [NTG-context] Re: [NTG-context]metapost prblem


 On Mon, 22 Sep 2003 13:37:47 +0200 (MEST)
 Severin Obertuefer [EMAIL PROTECTED] wrote:
 
 
  it works, but only with a normal circle.
  if the circle is xyscaled the same thing seems to bee much more
  complicate...
  here is the mp-code once again:
  
  beginfig(2);
  path c;
  pair A, B;
  c := fullcircle scaled 2 cm xyscaled(1.3,.8);
  A := (origin--(3cm,2cm)) intersectionpoint subpath (0,2) of c;
  B := (origin--(-5cm,1cm)) intersectionpoint subpath (2,4) of c;
  draw c;
  draw origin--B;
  draw origin--A;
 
 draw (c cutbefore B)--(c cutafter A) withcolor red ;
 
  endfig;
 
 Jens
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [NTG-context]metapost prblem

2003-09-22 Thread Severin Obertuefer
thanks for your answer

it works, but only with a normal circle.
if the circle is xyscaled the same thing seems to bee much more
complicate...
here is the mp-code once again:

beginfig(2);
path c;
pair A, B;
c := fullcircle scaled 2 cm xyscaled(1.3,.8);
A := (origin--(3cm,2cm)) intersectionpoint subpath (0,2) of c;
B := (origin--(-5cm,1cm)) intersectionpoint subpath (2,4) of c;
draw c;
draw origin--B;
draw origin--A;
endfig;

how can i clip the part of the path c between A and B in this case??

thanks for help

severin
 On Sun, 21 Sep 2003 21:24:04 +0200 (MEST)
 Severin Obertuefer [EMAIL PROTECTED] wrote:
 
  how can I cut the the part of the path c between A and B, so that the
 result
  is like a cheese :)
 
 path cheese ;
 cheese := c rotated angle B ;
 cheese := cheese cutafter (origin--A) ;
 
 
 Jens
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

-- 
+++ GMX - die erste Adresse für Mail, Message, More! +++

Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail (GUT)
(Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 ausreichend)

Jetzt selbst kostenlos testen: http://www.gmx.net

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context