[NTG-context] getting new font variants to work

2010-06-03 Thread Michael Murphy

Hi all,

I'd like to get some new font variants defined, such as Medium, 
Semibold, etc. What I have so far is the following.


\definealternativestyle[medium][\me][]

\starttypescript [serif] [minionpro]
  ...
  \definefontsynonym[MinionPro-Medium][name:MinionPro-Medium]
  ...
\stoptypescript

\starttypescript [serif] [minionpro] [name]
  ...
  \definefontsynonym[SerifMedium][MinionPro-Medium]
  ...
\stoptypescript

\starttypescript [serif] [regular] [size]
  \definebodyfont [10pt, 11pt, 12pt] [rm] [%
it=SerifItalic sa 1,
bi=SerifBoldItalic sa 1,
bf=SerifBold sa 1,
tf=SerifRegular sa 1,
me=SerifMedium sa 1]
\stoptypescript

then I set up the font with

\definetypeface [adobe] [rm] [serif] [minionpro] [regular]
\setupbodyfont[11pt]

This all looks fine, but then

{\me This should be medium}

doesn't work, and neither does \me{...} or \medium{...}. I should say that

\definedfont[SerifMedium]

does work though. How can I fix this, short of

\def\me{\definedfont[SerifMedium]}

--
Michael Murphy
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] getting new font variants to work

2010-06-03 Thread Bernhard Rosensteiner
Am 03.06.2010 um 13:52 schrieb Michael Murphy:

 Hi all,
 
 I'd like to get some new font variants defined, such as Medium, Semibold, 
 etc. What I have so far is the following.
 
 \definealternativestyle[medium][\me][]
 
 \starttypescript [serif] [minionpro]
  ...
  \definefontsynonym[MinionPro-Medium][name:MinionPro-Medium]
  ...
 \stoptypescript
 
 \starttypescript [serif] [minionpro] [name]
  ...
  \definefontsynonym[SerifMedium][MinionPro-Medium]
  ...
 \stoptypescript
 
 \starttypescript [serif] [regular] [size]
  \definebodyfont [10pt, 11pt, 12pt] [rm] [%
it=SerifItalic sa 1,
bi=SerifBoldItalic sa 1,
bf=SerifBold sa 1,
tf=SerifRegular sa 1,
me=SerifMedium sa 1]
 \stoptypescript
 
 then I set up the font with
 
 \definetypeface [adobe] [rm] [serif] [minionpro] [regular]
 \setupbodyfont[11pt]
 
 This all looks fine, but then
 
 {\me This should be medium}
 
 doesn't work, and neither does \me{...} or \medium{...}. I should say that
 
 \definedfont[SerifMedium]
 
 does work though. How can I fix this, short of
 
 \def\me{\definedfont[SerifMedium]}

when the rest if the typescript works the problem lies here:

instead or additionally of \definealternativestyle[medium][\me][] use 
\definefontalternative[me]

then the command \me should be available.
the \definealternativestyle command is only for key value pairs in style= keys 
as far as i know


best regards
Bernhard

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Marco
Nobody who knows a solution?

Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] status-of-update.lus

2010-06-03 Thread luigi scarso
Today first-setup.sh ended with
status-of-update.lus
instead of expected
status-of-update.lua
Is it correct ?

-- 
luigi
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] URLs [Re: \hyphenatedurl and the '%' character]

2010-06-03 Thread rogutes
Rogutės Sparnuotos (2010-06-03 00:16):
 Hello,
 
 I defined
 
   \def\url[#1]{\hyphenatedurl{#1}}
 
 for URLs, because I find 
 
   \useURL[][]
   \from[]
 
 inconvenient (there are ~30 URLs in my document and all of them unique).
 But \hyphenatedurl doesn't work with '%' (and '\%' gets printed
 literally). I'll just use \useURL as a workaround, but shouldn't
 \hyphenatedurl work as well?

1. Is anyone hyphenating URLs by hand? How? Is this ok?
   {\tt http://wiki.contextgarden.net/\crlf{}Article_Abstracts}

   Perhaps someone has done a macro like
   \urlparts{http://}{wiki.}{contextgarden}{.net}{Article_}{Abstract}?

   What about active URLs (\crlf doesn't work in \goto with MkII)?

2. Regarding URL hyphenation, why is an overfull line preferred over a
   slightly underfull one?

  \starttext
  \startframedtext[width=6.3cm]
\hyphenatedurl{http://wiki.contextgarden.net/Article_Abstracts}
  \stopframedtext
  \stoptext


Some observed MkII and MkIV differences follow (still don't know if anyone
is interested in these...):

3. It seems that one can't redefine \url[] and still use \useURL[][],
   \from[] with MkII (but it works with MkIV).

4. \from[] is not hyphenated with MkII, but is hyphenated with MkIV
   (with \setupinteraction[state=start]).

5. \from[] is typeset in typewriter font with MkII, and in roman with MkIV
   (without \setupinteraction[state=start]).

Example for 4., 5.:

\useURL[x][http://minimals.contextgarden.net/pragma/linux-64/texmf-linux-64/bin/]
\starttext
\from[x]
\stoptext

-- 
--  Rogutės Sparnuotos
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Peter Münster
On Tue, Jun 01 2010, Marco wrote:

 \usemodule [simpleslides]
 \starttext
 \SlideTitle {My Topic}
 \startitemize
   \item First  % Visible by default
   \item Second % Gray by default
   \item Third  % Gray by default
 \stopitemize
 \stoptext

Not gray, but white:

\usemodule [simpleslides, pre-stepwise]
\setupinteraction[state=start]
\starttext
\SlideTitle {My Topic}
\startitemize
  \item First  % Visible by default
\StartSteps
  \item Second \FlushStep % Gray by default
  \item Third  \FlushStep % Gray by default
\StopSteps
\stopitemize
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] URLs [Re: \hyphenatedurl and the '%' character]

2010-06-03 Thread Otared Kavian
Hi Rogutés,

I found two examples in my archives: plesae see below.
I hope this will help…
Best regards: OK

%%%
First one: from an answer by Hans to Mojca:
%Mojca Miklavec wrote:

%hack hack hack hack 

%I tried solutions with special patterns sveral times but the problem is 
%in mixed languages, i.e. english text mixed with url-language; there are 
%some limitations (in pdftex for instance the same codes are used fo rthe 
%whole par (i.e. mixed languages are possible but with the same lccodes 
%etc). Also, one needs to get rid of the -

%Anyhow, there is another trick, one that Aditya might love ...
\setupinteraction[state=start]

\bgroup

\gdef\lettercolon{:}

\catcode`\:=\active
\catcode`\^=\active
\catcode`\/=\active
\catcode`\~=\active

\gdef\ForMojcaWhoLikesHacks#1%
  {\dontleavehmode
   \begingroup
   \mathcode`\:=8000
   \mathcode`\^=8000
   \mathcode`\/=8000
   \mathcode`\~=8000
   \def:{\nobreak   \hbox{\lettercolon}\allowbreak}%
   \def^{\allowbreak\hbox{\letterhat  }\nobreak}%
   \def/{\nobreak   \hbox{\letterslash}\allowbreak}%
   \def~{\allowbreak\hbox{\lettertilde}\nobreak}%
   \everymath\emptytoks
   \mathsurround\zeropoint$\tttf#1$%
   \endgroup}
\egroup
\starttext 
\input ward
\start
\hsize 1mm 
\ForMojcaWhoLikesHacks{http://www.sil.org/silesr/hans.html/hagen.html/hyphenate}
\stop
Hans
\stoptext
%%%

%%%
Second one: from a thread about bibliographies. I must aplogize, I haven't 
written the names of people who gave this solution…
\setupcolors [state=start,textcolor=black] 
\setupcolor[rgb]

\setupinteraction[state=start,color=blue,style=rm]

%Bibliography Format
\definehead[BibTitle][subject]
\setupsectionblock[BibTitle][number=no,page=right]
\setuphead[BibTitle][style={sc}, after={\blank}]

\def\hangover{\hangafter=1\hangindent=1.5pc\raggedright}
\definestartstop[bibliography][
  before={
\page[no]
\indenting[never]
\startalignment[left]
\BibTitle{bibliography}
\stopalignment
\bgroup\appendtoks\hangover\to\everypar
},
  after={
\egroup
\indenting[yes]}]

\def\bibentryrule{\noindent\vrule height0.4pt width44pt depth0pt\thinspace}

\useURL
[CampbellinLICSa]
[{http://www.leeds.ac.uk/classics/lics/2002/200203.pdf}]
[]
[{\hyphenatedurl{http://www.leeds.ac.uk/classics/lics/2002/200203.pdf}}]
\useURL
[CampbellinLICSb]
[{http://www.leeds.ac.uk/classics/lics/discussion/2002dp1.pdf}]
[]
[{\hyphenatedurl{http://www.leeds.ac.uk/classics/lics/discussion/2002dp1.pdf}}]

\starttext
\input knuth

The following is a test of URL wrapping \from[CampbellinLICSa]

\startbibliography
Blickman, D.\ R.\ 1989.\ \quote{Lucretius, Epicurus and Prehistory}.\ {\em 
Harvard Studies in Classical Philology} 92:157||191. 

Campbell, G. 2002a. \quote{Lucretius 5.1011||27: The Origins of Justice and the 
Prisoner's 
Dilemma}.\ {\em Leeds International Classical Studies} 1.3:1||12 
(\from[CampbellinLICSa]). 

\bibentryrule 2002b. \quote{Lucretius and the Memes of Prehistory}.\ Discussion 
Paper 1, November 2002.\ {\em Leeds International Classical Studies} 
\from[CampbellinLICSb]. 


\stopbibliography
\stoptext
%%% 

On 3 juin 2010, at 15:36, rogu...@googlemail.com wrote:

 Rogutės Sparnuotos (2010-06-03 00:16):
 Hello,
 
 I defined
 
  \def\url[#1]{\hyphenatedurl{#1}}
 
 for URLs, because I find 
 
  \useURL[][]
  \from[]
 
 inconvenient (there are ~30 URLs in my document and all of them unique).
 But \hyphenatedurl doesn't work with '%' (and '\%' gets printed
 literally). I'll just use \useURL as a workaround, but shouldn't
 \hyphenatedurl work as well?
 
 1. Is anyone hyphenating URLs by hand? How? Is this ok?
   {\tt http://wiki.contextgarden.net/\crlf{}Article_Abstracts}
 
   Perhaps someone has done a macro like
   \urlparts{http://}{wiki.}{contextgarden}{.net}{Article_}{Abstract}?
 
   What about active URLs (\crlf doesn't work in \goto with MkII)?
 
 2. Regarding URL hyphenation, why is an overfull line preferred over a
   slightly underfull one?
 
  \starttext
  \startframedtext[width=6.3cm]
\hyphenatedurl{http://wiki.contextgarden.net/Article_Abstracts}
  \stopframedtext
  \stoptext
 
 
 Some observed MkII and MkIV differences follow (still don't know if anyone
 is interested in these...):
 
 3. It seems that one can't redefine \url[] and still use \useURL[][],
   \from[] with MkII (but it works with MkIV).
 
 4. \from[] is not hyphenated with MkII, but is hyphenated with MkIV
   (with \setupinteraction[state=start]).
 
 5. \from[] is typeset in typewriter font with MkII, and in roman with MkIV
   (without \setupinteraction[state=start]).
 
 Example for 4., 5.:
 
 \useURL[x][http://minimals.contextgarden.net/pragma/linux-64/texmf-linux-64/bin/]
 \starttext
 \from[x]
 \stoptext
 
 -- 
 --  Rogutės Sparnuotos
 ___
 If your question is of interest to others as well, please add an entry to 

Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Marco
On Thu, 3 Jun 2010 15:46:17 +0200, Peter Münster pmli...@free.fr
wrote:

 On Tue, Jun 01 2010, Marco wrote:
 
  \usemodule [simpleslides]
  \starttext
  \SlideTitle {My Topic}
  \startitemize
\item First  % Visible by default
\item Second % Gray by default
\item Third  % Gray by default
  \stopitemize
  \stoptext
 
 Not gray, but white:
 
 \usemodule [simpleslides, pre-stepwise]
 \setupinteraction[state=start]
 \starttext
 \SlideTitle {My Topic}
 \startitemize
   \item First  % Visible by default
 \StartSteps
   \item Second \FlushStep % Gray by default
   \item Third  \FlushStep % Gray by default
 \StopSteps
 \stopitemize
 \stoptext
 
 Cheers, Peter
Thanks. This code looks promising and easy-to-use. But when I compile with

ConTeXt  ver: 2010.05.23 15:03 MKIV
luatex, version beta-0.60.1-2010042821

I get exactly the same result as with my code. All items on one page, no
steps.

Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] OSFONTDIR

2010-06-03 Thread Mojca Miklavec
Dear Hans,

Some time ago the following code was working. On Mac it seems to have
no influence now (OSFONTDIR doesn't get fixed), but if I set it in
environment to the same string, it works.

local function check_configuration() -- not yet ok, no time for debugging now
   if os.env[OSFONTDIR] then
  -- ok
   elseif os.type == windows then
  os.setenv(OSFONTDIR,c:/windows/fonts//)
   elseif os.type == macosx then
  
os.setenv(OSFONTDIR,$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//)
   end
end

Can it be that setenv doesn't really set anything (it just sets it
locally to some variable) and then resolvers only look for proper
environmental or texmf.cnf variables?

I have an impression that that function has been removed from LuaTeX a
while ago, but I may be wrong.

Mojca
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Peter Münster
On Thu, Jun 03 2010, Marco wrote:

 ConTeXt  ver: 2010.05.23 15:03 MKIV

My version 2010.05.24 13:05, but I don't think, that this matters.


 I get exactly the same result as with my code. All items on one page, no
 steps.

Perhaps your pdf-viewer does not support javascript.
I use acroread version 9.3.2 

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Marco
 My version 2010.05.24 13:05, but I don't think, that this matters.
I also don't think so.
 
 
  I get exactly the same result as with my code. All items on one
  page, no steps.
 
 Perhaps your pdf-viewer does not support javascript.
I think that's the reason.

 I use acroread version 9.3.2 
At home I use xpdf 3.02 and at work sumatra (unknown version).

Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] links generated by \in don't work

2010-06-03 Thread Yury G. Kudryashov
Hi!

I try the following with current beta:

\setupinteraction[state=start]
\starttext
\placeformula[eq:test]
\startformula
1=1
\stopformula
\pagebreak
\in[eq:test]
\stoptext

When I click on the link, nothing happens. The links generated by 
LaTeX+hyperref work in the same viewer (okular, poppler based).

Sometimes links work, but point me to the page instead of specific location 
(e.g. theorem, lemma, etc.).

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] links generated by \in don't work

2010-06-03 Thread luigi scarso
On Thu, Jun 3, 2010 at 5:32 PM, Yury G. Kudryashov ur...@ya.ru wrote:
 Hi!

 I try the following with current beta:

 \setupinteraction[state=start]
 \starttext
 \placeformula[eq:test]
 \startformula
        1=1
 \stopformula
 \pagebreak
 \in[eq:test]
 \stoptext

 When I click on the link, nothing happens. The links generated by
 LaTeX+hyperref work in the same viewer (okular, poppler based).
true: it works ok with mkii.

-- 
luigi
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Script to automatically generate typescripts

2010-06-03 Thread Michael Murphy

Hi all,

after spending many hours on a typescript only to accidentally delete 
it, I thought that there should be a better way to write them. Hence I 
wrote a python script to do just that.


It started out as a private project, but I thought that since it might 
be useful to others, I'd make it available publicly. You can get hold of 
it here:


http://github.com/murphy-md/otftsmrk

Note that it currently only works on Adobe .otf fonts (and this likely 
won't change), and that you need to be using LuaTeX with MkIV, since I 
don't do any of the encoding stuff.


Please send me bug reports / feature requests if you use it!

--
Michael Murphy
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] links generated by \in don't work

2010-06-03 Thread Yury G. Kudryashov
luigi scarso wrote:

 On Thu, Jun 3, 2010 at 5:32 PM, Yury G. Kudryashov ur...@ya.ru wrote:
 Hi!

 I try the following with current beta:

 \setupinteraction[state=start]
 \starttext
 \placeformula[eq:test]
 \startformula
 1=1
 \stopformula
 \pagebreak
 \in[eq:test]
 \stoptext

 When I click on the link, nothing happens. The links generated by
 LaTeX+hyperref work in the same viewer (okular, poppler based).
 true: it works ok with mkii.
I forgotten to say that I try this in mkiv.

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Marco
On Thu, 3 Jun 2010 17:02:24 +0200, Peter Münster pmli...@free.fr
wrote:

 [...]
 Perhaps your pdf-viewer does not support javascript.
 I use acroread version 9.3.2 
 
 Cheers, Peter
After short research I found out that most pdf readers don't support Java
Script (so do xpdf and sumatra). So, this is not really a portable solution.

Any hints for achieving the same result in a portable way without Java
Script appreciated.

Kind regards
Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Alan BRASLAU
On Thursday 03 June 2010 19:13:32 Marco wrote:
 On Thu, 3 Jun 2010 17:02:24 +0200, Peter Münster pmli...@free.fr
 
 wrote:
  [...]
  Perhaps your pdf-viewer does not support javascript.
  I use acroread version 9.3.2
  
  Cheers, Peter
 
 After short research I found out that most pdf readers don't support Java
 Script (so do xpdf and sumatra). So, this is not really a portable
 solution.
 
 Any hints for achieving the same result in a portable way without Java
 Script appreciated.

Yes, unfortunately this does not work with libpoppler (okular, evince) either.

A (universal) solution would be to adapt \StartSteps\StopSteps
to generate multiple PAGES that would be progressively filled.
Not as sexy as javascript but it would work.

Alan
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Marco
On Thu, 3 Jun 2010 20:14:07 +0200, Alan BRASLAU alan.bras...@cea.fr
wrote:

  After short research I found out that most pdf readers don't
  support Java Script (so do xpdf and sumatra). So, this is not
  really a portable solution.
  
  Any hints for achieving the same result in a portable way without
  Java Script appreciated.
 
 Yes, unfortunately this does not work with libpoppler (okular,
 evince) either.
 
 A (universal) solution would be to adapt \StartSteps\StopSteps
 to generate multiple PAGES that would be progressively filled.
That would be the solution I am looking for. But it seems not yet to
exist. Coding this is far behind my scope.

 Not as sexy as javascript but it would work.
I find a solution working in every reader more sexy than a solution
heavily depending on the used P(ortable)DF reader. Java Script seems
unlikely to be implemented in the majority of readers. It's the same
issue with sound and video in PDF files.

Best regards
Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread taco

Marco wrote:


A (universal) solution would be to adapt \StartSteps\StopSteps
to generate multiple PAGES that would be progressively filled.

That would be the solution I am looking for. But it seems not yet to
exist. 


\usemodule[pre-50]

Same interface as pre-60, but using pages (and a bit limited,
iirc: all \FlushSteps end a paragraph, or something like that).

Best wishes,
Taco
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Marco
On Thu, 03 Jun 2010 20:50:33 +0200, taco t...@elvenkind.com wrote:

 Marco wrote:
 
  A (universal) solution would be to adapt \StartSteps\StopSteps
  to generate multiple PAGES that would be progressively filled.
  That would be the solution I am looking for. But it seems not yet to
  exist. 
 
 \usemodule[pre-50]
 
 Same interface as pre-60, but using pages (and a bit limited,
 iirc: all \FlushSteps end a paragraph, or something like that).
Thanks for this hint. That goes in the right direction, however it's not
really working. Take this code:

\usemodule [simpleslides, pre-50]
\starttext
\SlideTitle {My Topic}
\startitemize
  \item First
  \StartSteps
\item Second \FlushStep
\item Third  \FlushStep
  \StopSteps
\stopitemize
\stoptext

The first item is placed correctly on the first page. The second item is
misplaced, it's also on the first page and (you're right Taco) a paragraph is
superfluously introduced. The third item is placed correctly, after the
second.

Marco


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Slides: uncover things piecewise

2010-06-03 Thread Peter Münster
On Thu, Jun 03 2010, Marco wrote:

 The first item is placed correctly on the first page. The second item is
 misplaced, it's also on the first page and (you're right Taco) a paragraph is
 superfluously introduced. The third item is placed correctly, after the
 second.

You can also look here:

http://wiki.contextgarden.net/SlideWithSteps

and here:

http://modules.contextgarden.net/t-rsteps

and here:

http://wiki.contextgarden.net/RawSteps

and here:

http://archive.contextgarden.net/message/20041106.080646.2544e4f3.html

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Script to automatically generate typescripts

2010-06-03 Thread Vyatcheslav Yatskovsky

Hi,

Looks very impressive. A lot of code )

Is it usable under Windows? Never run Python scripts before.


Hi all,

after spending many hours on a typescript only to accidentally delete
it, I thought that there should be a better way to write them. Hence I
wrote a python script to do just that.


--
Best Regards,
Vyatcheslav Yatskovsky
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Script to automatically generate typescripts

2010-06-03 Thread Michael Murphy

On 03/06/2010 23:33, Vyatcheslav Yatskovsky wrote:

Hi,

Looks very impressive. A lot of code )

Is it usable under Windows? Never run Python scripts before.


Hi all,

after spending many hours on a typescript only to accidentally delete
it, I thought that there should be a better way to write them. Hence I
wrote a python script to do just that.




I haven't tested it extensively, but it seems to run on windows. I will 
probably package it as an .exe when I get the option handling done.


You will need to install python before you can run the script.

--

Michael Murphy
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Please fill out the following form

2010-06-03 Thread Michael Saunders
I was creating a document with many hyperlinks and tooltips, and
everything was working, until it reached a certain size.   Two strange
behaviors began:

1. At the top of Adobe Reader I get a purple band that says Please
fill out the following form...

2. Tooltips no longer appear at the first rollover.  Instead, a pale
blue box with a checkmark pops up.  On the second rollover, my
tooltips appear as normal.

Is this some limit inherent in Context, pdf, or Adobe Reader?  Is
there a way to work around it?
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___