[NTG-context] SimpleSlides

2013-11-01 Thread Vyatcheslav Y.
Hi,

Please, help me with SimpleSlides module (Swoosh style), my old
presentation which I'm trying to update isn't working.

-- Minimal example is: --

\usemodule[simpleslides]

[font=Gothic,

style=Swoosh]


\setupTitle

[ title={\\ Title},

author={Author},

date={}]


\starttext


\placeTitle


\stoptext


-- Result: --

simpleslides > loading Swoosh style

system > command '\NormalHeight' is already defined

system > command '\NormalWidth' is already defined

system > command '\PictureFrameHeight' is already defined

system > command '\PictureFrameWidth' is already defined

! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\S'.


system > tex > error on line 150 in file
C:/contextminimal/texmf-modules/tex/context/third/simpleslides/simpleslides-s-Swoosh.tex:
LuaTeX error ...


140 \define\SScolorscontrastb{r=.1,g=.1,b=.4}

141

142 %D I'm still trying to implement a color mechanism that can be set by
the users

143 %D in their files.

144

145 \def\setupSimpleSlideColors[#1]%

146 {\getparameters[SScolors][#1]}

147

148 % \setupSimpleSlideColors[background={r=1,g=0,b=0}]

149

150 >> \definecolor [simpleslides:backgroundcolor] [\SScolorsbackground]

151 \definecolor [simpleslides:contrastcolor] [\SScolorscontrasta]

152 \definecolor [simpleslides:altcontrastcolor] [\SScolorscontrastb]

153 \definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]

154 \definecolor [simpleslides:textcolor] [simpleslides:altcontrastcolor]

155

156 \setupcolors[textcolor=simpleslides:textcolor]

157

158 %D We use \METAPOST\ to draw backgrounds.

159

160 \startuseMPgraphic{simpleslides:MP:horizontal}



\ctxcommand #1^^@-\directlua {commands.#1}

 \colo_basics_define ...lse,\v_colo_freeze_state )}

\unexpanded \setvalue {#1}...

l.150 ...:backgroundcolor] [\SScolorsbackground]

 ?

Regards,

Vyatcheslav
___
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] simpleslides

2009-04-29 Thread Vyatcheslav Yatskovsky
I gave a try to Simple slides... It seems to be very nice, but a few 
questions raised immediately


1) I get warnings (in mkiv):
(c:/contextminimal/texmf-context/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])

))

2) How to use arbitrary fonts (e.g., specified in type-win)?

Best,
Vyatcheslav
___
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
___


Re: [NTG-context] SimpleSlides

2013-11-03 Thread Aditya Mahajan

On Fri, 1 Nov 2013, Vyatcheslav Y. wrote:


Hi,

Please, help me with SimpleSlides module (Swoosh style), my old
presentation which I'm trying to update isn't working.

-- Minimal example is: --

\usemodule[simpleslides]

[font=Gothic,

style=Swoosh]


\setupTitle

[ title={\\ Title},

author={Author},

date={}]


\starttext


\placeTitle


\stoptext


-- Result: --


system > tex > error on line 150 in file
C:/contextminimal/texmf-modules/tex/context/third/simpleslides/simpleslides-s-Swoosh.tex:
LuaTeX error ...


150 >> \definecolor [simpleslides:backgroundcolor] [\SScolorsbackground]


In simpleslides-s-Swoosh.tex change line 150 and surrounding lines with:

\definecolor [simpleslides:backgroundcolor] [r=0.88,g=0.92,b=0.95]
\definecolor [simpleslides:contrastcolor]   [r=0.4,g=0.6,b=0.8]
\definecolor [simpleslides:altcontrastcolor][r=0.1,g=0.1,b=0.4]


But that leads to another error

! LuaTeX error 
...uild/src/tex/texmf-context/tex/context/base/mlib-pps.lua:260: attempt 
to index upvalue 'top' (a nil value)

stack traceback:
...uild/src/tex/texmf-context/tex/context/base/mlib-pps.lua:260: 
in function 'settext'

[string "\directlua "]:1: in main chunk.

\syst_boxes_with_next_box ...\number \nextbox ,1)}

\meta_process_graphic_stop ^^@-\egroup
 \meta_place_graphic
\meta_process_graphic ...eta_process_graphic_stop

\meta_stop_current_graphic
\meta_handle_use_graphic ...a_process_graphic {#3}
  \endgroup
\meta_use_graphic ...]}\getvalue {\??mpgraphic #1}
  \empty 
\meta_end_graphic_g...



which I haven't been able to isolate.

Aditya
___
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] SimpleSlides

2013-11-03 Thread Vyatcheslav Y.
Thank you, Aditya. Thomas already sent me working version.

Best Regards,
Vyatcheslav


simpleslides-s-Swoosh.tex
Description: TeX document
___
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] Simpleslides crash

2012-02-02 Thread Otared Kavian
Dear Aditya and Thomas,

Using the simpleslides seems impossible with the latest beta (ConTeXt  ver: 
2012.01.25 14:16 MKIV  fmt: 2012.1.31): mkiv stops with a « fatal error » on 
this minimal test:

% begin fatal-test.tex
\setupinteraction[state=start]
\usemodule[simpleslides]
[style=Swoosh,
font=Palatino,
size=17pt,
color=red, 
alternative=stripe]

\setupTitle
[title={Why fatal error?},
date={11 février 2012},
]

\starttext 

\placeTitle

\stoptext
 end fatal-test.tex

Is there a solution?

Thanks in advance: OK
PS: The error message says:

! TeX capacity exceeded, sorry [expansion depth=1].

system  > tex > error on line 81 in file presentation-test.tex: TeX 
capacity exceeded, sorry [ ...

\moduleparameter #1#2->\csname 
   \??module \ifcsname \??module #1:#2\endcsname...
\moduleparameter ...?module \ifcsname \??module #1
  :#2\endcsname #1:#2\fi \en...
\moduleparameter ...?module \ifcsname \??module #1
  :#2\endcsname #1:#2\fi \en...
\moduleparameter ...?module \ifcsname \??module #1
  :#2\endcsname #1:#2\fi \en...
\moduleparameter ...?module \ifcsname \??module #1
  :#2\endcsname #1:#2\fi \en...
\moduleparameter ...?module \ifcsname \??module #1
  :#2\endcsname #1:#2\fi \en...
...
l.81 
 
!  ==> Fatal error occurred, no output PDF file produced!
mtx-context | fatal error: return code: 1
___
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] simpleslides broken?

2012-11-02 Thread Ondřej Hošek
Hello,

I'm having troubles with the simpleslides module; for example, my
favorite style, Swoosh, turned from dark-blue-on-light-blue to
white-on-black and the swoosh position seems to have changed.

Minimal testcase:

\usemodule[simpleslides][style=Swoosh]
\starttext
\SlideTitle{Test Slide}
Some content.
\stoptext

Output:
http://ondrahosek.dyndns.org/simpleslides-brokenswoosh.pdf

What went wrong?

Cheers,
~~ Ondra

___
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] simpleslides bug?

2013-02-17 Thread Zhichu Chen
Maybe this is my fault. The simpleslides module works just fine these days
and I "accidentally" updated the ConTeXt to the latest version:

context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file:
/opt/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.13 18:06

and this small piece of code failed to compile:

\usemodule[simpleslides][style=BigNumber]
\starttext
\SlideTitle{Test}
test
\stoptext

and gave me the following error message:

simpleslides> loading Big Number style
system  > command \NormalHeight is already defined
system  > command \NormalWidth is already defined
system  > command \PictureFrameHeight is already defined
system  > command \PictureFrameWidth is already defined
colors  > rgb color space is supported
colors  > cmyk color space is supported
))
fonts   > bodyfont 24.0414pt is defined (can better be done global)
metapost> initializing instance 'metafun' using format 'metafun'
metapost> loading 'metafun':
/opt/context/tex/texmf-context/metapost/context/base/metafun.mpiv, using
method: default
metapost> initializing number mode "scaled"
*** glibc detected *** luatex: double free or corruption (fasttop):
0x057da5a0 ***
=== Backtrace: =
/lib64/libc.so.6(+0x7d836)[0x7ff8ff104836]
luatex(mp_free_node+0x3b)[0x6406fb]
luatex[0x66637c]
luatex[0x6743be]
luatex[0x6724b8]
luatex[0x670210]

there're more and if it is important for the diagnostics please let me know
and I will provide the whole message which I thought was relevant.


Anyone can confirm this?

-- 
Best Regards
Chen
___
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] simpleslides

2009-04-29 Thread Aditya Mahajan

On Wed, 29 Apr 2009, Vyatcheslav Yatskovsky wrote:

I gave a try to Simple slides... It seems to be very nice, but a few 
questions raised immediately


1) I get warnings (in mkiv):
(c:/contextminimal/texmf-context/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: 
[fontclass][size][settings])

))


Ignore these for the time being. ConTeXt MkIV changed behaviour a few days 
before we released the module. This will be fixed in the next release.



2) How to use arbitrary fonts (e.g., specified in type-win)?


See page 25 of the manual, the subsection titled "Choosing your own font" 
:-)


Aditya
___
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] Simpleslides question

2009-06-24 Thread Vyatcheslav Yatskovsky

Hello,

Can I arrange *multiple* images per a page in specified positions (x,y) 
using simpleslides module?


Vyatcheslav


___
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] simpleslides: titlestyle

2009-12-04 Thread Alan BRASLAU
Hi,

The simpleslides module seems to be ignoring
the titlestyle (by default \switchtobodyfont[\TitleSize])
and titlecolor parameters.

Minimal example:
generic-talk-15min-45min.tex
(tex/texmf-context/doc/context/third/simpleslides/solutions)

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
___


[NTG-context] Simpleslides and LMTX

2022-01-17 Thread Otared Kavian via ntg-context
Hi Aditya and Thomas,

Following the hint given by Thomas about fixing the behaviour of the visual 
counter in the simpleslides module, I tried all the possible styles and found 
that once the PageNumber is changed into RealPageNumber in the 
s-simpleslides-*.tex
style files. All the styles work fine unless three of them which I describe 
below.
I don’t know how the modules are maintained on the wiki or elsewhere, but if 
you wish I can send you privately the files where I have changed PageNumber to 
RealPageNumber so that the simpleslides module can be used ot of the box with 
LMTX.

Best regards: Otared
PS: Here are the issues with the three styles which don’t work properly:

• BigNumber: for the style to be typeset,  one has to modify the part where 
BigNumberFont is defined

%\beginOLDTEX
%\loadmapfile[qhv-ec.map]
%\definefontsynonym  [BigNumberFont] [ec-qhvb] 
%\endOLDTEX
%
%\beginXETEX
%\loadmapfile[qhv-ec.map]
%\definefontsynonym  [BigNumberFont] [ec-qhvb] 
%\endXETEX
%
%\beginLUATEX
\definefontsynonym  [BigNumberFont] [name:texgyreherosbold]
%\endLUATEX

Then the file « example.tex » can be typeset, but the big numbers shown are 
always 1.

• Embossed: for the style to be typeset, one has to modify the part where 
EmbossedFont is defined

%\beginOLDTEX
%\loadmapfile[qhv-ec.map]
%\definefontsynonym [Embossed] [ec-qhvb] 
%\endOLDTEX
%
%\beginXETEX
%\loadmapfile[qhv-ec.map]
%\definefontsynonym [Embossed] [ec-qhvb] 
%\endXETEX
%
%\beginLUATEX
\definefontsynonym [Embossed] [name:texgyreherosbold]
%\endLUATEX

• SideToc: the file example.tex can be typeset with this style, but all pages 
come out in black… the text cannot be seen.

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] simpleslides/metapost bug ?

2011-03-11 Thread zs
Hello everybody.

Can you please confirm that following code fails:

\usemodule[simpleslides]
\starttext
\IncludePicture[horizontal][cow][highlight=yes, alternative=circle, x=1, y=1, 
xscale=1, yscale=1, shadow=bottomleft]{hello}
\stoptext

And this does not:

\usemodule[simpleslides]
\starttext
\IncludePicture[horizontal][cow][highlight=no, alternative=circle, x=1, y=1, 
xscale=1, yscale=1, shadow=bottomleft]{hello}
\stoptext

It seems like something goes wrong when circle is made.
I can't find what is wrong from error messages.

I will be back on Friday next week to answer.

Regards

Zdenek

___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Hi

Here's another qpdf problem I've encountered lately. Not sure if it's ConTeXt's 
fault (simpleslides perhaps?) or qpdf.

Given the following very minimalistic examples:
% slides.tex
\usemodule[simpleslides][style=BigNumber,font=Helvetica]
\starttext
\placeTitle
\stoptext

%handout.tex
\setuppapersize
  [A4][A4] % or [A4,landscape][A4,landscape]
\setuplayout
  [header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
\setupfootertexts
  [presentation---\currentdate\space---\space\pagenumber]
\starttext
  \combinepages[slides][nx=2,ny=3,frame=on]
\stoptext

context slides.tex && qpdf --linearize slides.pdf slidesout.pdf
=> results in the expected outputs

context handout.tex
=> compiles fine and output is as expected

qpdf --linearize handout.pdf handoutout.pdf
=> aborts with the following error:
object stream 21 (object 31 0, file position 1601): unknown token while reading 
object (nullnullnullnull)

All with context beta 2011.05.01 and luatex r4233

Can anyone confirm this? Any thoughts?

Adam
___
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] Simpleslides crash

2012-02-04 Thread Thomas A. Schmitz

On 2/3/12 7:45 AM, Otared Kavian wrote:

Dear Aditya and Thomas,

Using the simpleslides seems impossible with the latest beta (ConTeXt  ver: 
2012.01.25 14:16 MKIV  fmt: 2012.1.31): mkiv stops with a « fatal error » on 
this minimal test:


Hi Otared,

yes, we're aware of the problem; Aditya is working on a fix; he hopes 
it'll be out soon. If your presentation is very urgent, try gong back to 
ver 2011.11.29, that is the last one that works with the module in its 
current state.


All best

Thomas
___
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] Simpleslides crash

2012-02-04 Thread Otared Kavian
On 4 févr. 2012, at 09:01, Thomas A. Schmitz wrote:

>> […]
> 
> Hi Otared,
> 
> yes, we're aware of the problem; Aditya is working on a fix; he hopes it'll 
> be out soon. If your presentation is very urgent, try gong back to ver 
> 2011.11.29, that is the last one that works with the module in its current 
> state.
> 

Hi Thomas, 

Thanks for your answer and your suggestion: indeed version 2011.11.29 works 
fine and since I have it on my Mac, there is no emergency for me to have 
simpleslides fixed.

Thanks also to Aditya and you for the nice module you have written!

All the best: OK___
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] Simpleslides crash

2012-02-12 Thread Thomas A. Schmitz

On 02/04/2012 02:16 PM, Otared Kavian wrote:

Hi Thomas,

Thanks for your answer and your suggestion: indeed version 2011.11.29
works fine and since I have it on my Mac, there is no emergency for me
to have simpleslides fixed.

Thanks also to Aditya and you for the nice module you have written!

All the best: OK


Hi Otared and all,

I have just uploaded a new version of simpleslides which should work 
with the latest beta. Thankfully, Aditya has fixed the issue with the 
namespace handling which has made the module incompatible with the 
latest betas. Since Aditya and I have been taking the module into a 
somewhat different direction and added some experimental code to our 
development branch, it was a bit difficult to provide a "stable" version 
of the module, so we'd be very grateful if you (and of course others) 
could take this version for a test drive and provide feedback. We would 
love to say that this version is "guaranteed" to work with the current 
beta 2012-02-08 and then take up development from here.


All best

Thomas
___
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] Simpleslides crash

2012-02-12 Thread Otared Kavian
On 12 févr. 2012, at 23:34, Thomas A. Schmitz wrote:

>> […]
> 
> Hi Otared and all,
> 
> I have just uploaded a new version of simpleslides which should work with the 
> latest beta. Thankfully, Aditya has fixed the issue with the namespace 
> handling which has made the module incompatible with the latest betas. Since 
> Aditya and I have been taking the module into a somewhat different direction 
> and added some experimental code to our development branch, it was a bit 
> difficult to provide a "stable" version of the module, so we'd be very 
> grateful if you (and of course others) could take this version for a test 
> drive and provide feedback. We would love to say that this version is 
> "guaranteed" to work with the current beta 2012-02-08 and then take up 
> development from here.
> 
> All best
> 
> Thomas

Hi Thomas and Aditya,

Many thanks to both of you for uploading a new version of your module.
I installed it with ConTeXt version 2012.02.08, and after doing
context --generate
context --make --all
I tried the following minimal example, which results in an error (see below)

 begin talk-test.tex
\usemodule
  [simpleslides]
  [style=Swoosh]

\setupTitle
  [title={Testing SimpleSlides},
   author={A.U. Thor},
   date={\currentdate}]

\starttext

\placeTitle

%\stoptext % the title page is typeset correctly

\SlideTitle{First slide}

This module is written by Thomas and Aditya.

\stoptext
 end talk-test.tex

The first page (the title page) is typeset correctly if one uncomment the first 
« %\stoptext » in the above lines (well, it is not anymore midaligned, but this 
must be something which can be changed).
However as soon as there is \SlideTitle{First slide}, there is an error 
message, as follows:
 
}
 
   \endgroup 
\meta_handle_use_graphic ...a_process_graphic {#3}
  \endgroup 
\meta_use_graphic ...aphic \currentMPgraphicname }
  \empty \meta_end_graphic_g...
 
   \else 
\executedefinedoverlay ...e \everyoverlay #2\else 
  \lower \d_framed_target_dp…

Best regards: OK


___
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] simpleslides help needed

2012-07-17 Thread Pavneet Arora

Hello all,

I am here at TUG 2012 updating the presentation that I am to give in the 
morning.

I have had a couple of lingering questions regarding simpleslides that I
thought I would put out there.  They are not show stoppers, and I have
lived with them in my other presentations.  It is just that with my
brain on TeX (and ConTeXt) for the past few days, I thought that I would
try to resolve them once and for all.

1.  Fonts

I would like to specify separate mainfont and bodyfont using the
simplefonts module (or some other consistent mechanism).

I have read the thread from:

http://www.ntg.nl/pipermail/ntg-context/2011/056495.html

and have tried to split up Wolfgang's suggestion into the two parts.  I
have tried:

\usemodule[simplefonts][size=18pt]
\setmainfont[grandesignneueserif]

\setupbodyfont[dejavuserif]

which gets me the title font, but not the body font.

The other approach:

\definetypeface[mainface][rm][serif][DejaVu Serif][default]
\definetypeface[mainface][ss][sans][DejaVu Sans][default]
\definetypeface[mainface][tt][mono][Inconsolata][default]
\setupbodyfont[mainface]

also doesn't seem to work at all.  I get what I believe to be Latin
Modern Sans across the board.

I have resorted to using one of the default fonts via the module switch
for now, but would like to customize the font selection to my taste.

2.  Margins

I have the following slide, where only the right margin is affected.  I
have tried variations on backspace, width and margin but haven't gotten
the left margin to move.





\definelayout[quotation][leftmargin=1.5in,rightmargin=1.5in]

\SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet}
\blank
\setuplayout[quotation]
\quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
After a few months of studying existing real-world examples, it became clear 
that the data, views of that data, and the formulas that acted on that data were 
very separate concepts. Yet in every case, the existing spreadsheet programs 
required the user to type all of these items into the same (typically single) 
sheet's cells.}

\par
\setuplayout[reset]
\startalignment[flushright]
\blank[2*big]
{\em Source:  Wikipedia:Lotus Improv}



I am sure that it is something simple that I am missing here, but any
guidance would be most appreciated.

Many thanks.

--
-
- Pavneet Arora

___
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] simpleslides broken?

2012-11-02 Thread Aditya Mahajan

On Fri, 2 Nov 2012, Ondřej Hošek wrote:


Hello,

I'm having troubles with the simpleslides module; for example, my
favorite style, Swoosh, turned from dark-blue-on-light-blue to
white-on-black and the swoosh position seems to have changed.

Minimal testcase:


For the moment, add the following


\usemodule[simpleslides][style=Swoosh]


\definecolor [simpleslides:backgroundcolor] [r=0.88,g=0.92,b=0.95]
\definecolor [simpleslides:contrastcolor]   [r=0.4, g=0.6, b=0.8]
\definecolor [simpleslides:altcontrastcolor][r=0.1, g=0.1, b=0.4]



\starttext
\SlideTitle{Test Slide}
Some content.
\stoptext

Output:
http://ondrahosek.dyndns.org/simpleslides-brokenswoosh.pdf

What went wrong?


Our attempt to make the module more modular backfired due to change in 
context internals.


Aditya___
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] simpleslides broken?

2012-11-02 Thread Ondřej Hošek
On Fre, 2012-11-02 at 15:57 -0400, Aditya Mahajan wrote:
> Our attempt to make the module more modular backfired due to change in 
> context internals.

Ah, okay. Thanks for the prompt response!

Cheers,
~~ Ondra


___
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] simpleslides bug?

2013-02-18 Thread Jaroslav Hajtmar

With older version:
ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english
works too! (Win7 64b).
In actual TeXlive 2012 version this example work too.


It seems that we gradually stop working other variations simpleslides 
module.

Eg. in my version does not work either as this:

\usemodule[simpleslides][style=BottomSquares]
\starttext
\SlideTitle{Test}
test
\stoptext

Win7 64b

This dont work neither in actual TeXlive 2012 version.

Jaroslav Hajtmar



Dne 18.2.2013 13:41, Procházka Lukáš Ing. - Pontex s. r. o. napsal(a):

... Works well with an older version:

ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english

(WinXP 32b)

Lukas


On Mon, 18 Feb 2013 04:41:36 +0100, Zhichu Chen 
 wrote:



\usemodule[simpleslides][style=BigNumber]
\starttext
\SlideTitle{Test}
test
\stoptext





___
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
___


___
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] simpleslides bug?

2013-02-20 Thread Thomas A. Schmitz

Maybe this is my fault. The simpleslides module works just fine these days and I 
"accidentally" updated the ConTeXt to the latest version:

context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file: 
/opt/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2013.02.13 18:06

and this small piece of code failed to compile:

\usemodule[simpleslides][style=BigNumber]
\starttext
\SlideTitle{Test}
test
\stoptext



This must be a consequence of the new MP instance code. I can reproduce 
the error, but I can't isolate it. I think the lines


metapost> initializing instance 'metafun' using format 'metafun'
metapost> loading 'metafun': 
/opt/context/tex/texmf-context/metapost/context/base/metafun.mpiv, using 
method: default

metapost> initializing number mode "scaled"

point to the source of the error, but I don't know where to look.

On 02/18/2013 01:54 PM, Jaroslav Hajtmar wrote:

With older version:
ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english
works too! (Win7 64b).
In actual TeXlive 2012 version this example work too.


It seems that we gradually stop working other variations simpleslides
module.

Jaroslav Hajtmar


I have no idea what this is supposed to mean.

Thomas

___
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] simpleslides bug?

2013-02-20 Thread Zhichu Chen
On Wed, Feb 20, 2013 at 4:54 PM, Thomas A. Schmitz <
thomas.schm...@uni-bonn.de> wrote:

> Maybe this is my fault. The simpleslides module works just fine these days
>> and I "accidentally" updated the ConTeXt to the latest version:
>>
>> context --version
>>
>> mtx-context | ConTeXt Process Management 0.60
>> mtx-context |
>> mtx-context | main context file: /opt/context/tex/texmf-**
>> context/tex/context/base/**context.mkiv
>> mtx-context | current version: 2013.02.13 18:06
>>
>> and this small piece of code failed to compile:
>>
>> \usemodule[simpleslides][**style=BigNumber]
>> \starttext
>> \SlideTitle{Test}
>> test
>> \stoptext
>>
>
>
> This must be a consequence of the new MP instance code. I can reproduce
> the error, but I can't isolate it. I think the lines

Thanks for the tip. After I've committed the lines with Field[Text][Text]
in simpleslides-s-BigNumber.tex, it could compile successfully. I think
this is a metafun bug?

>
>
> metapost> initializing instance 'metafun' using format 'metafun'
> metapost> loading 'metafun': /opt/context/tex/texmf-**
> context/metapost/context/base/**metafun.mpiv, using method: default
> metapost> initializing number mode "scaled"
>
> point to the source of the error, but I don't know where to look.
>
>
> On 02/18/2013 01:54 PM, Jaroslav Hajtmar wrote:
>
>> With older version:
>> ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english
>> works too! (Win7 64b).
>> In actual TeXlive 2012 version this example work too.
>>
>>
>> It seems that we gradually stop working other variations simpleslides
>> module.
>>
>> Jaroslav Hajtmar
>>
>
> I have no idea what this is supposed to mean.
>
> Thomas
>
>
> __**__**
> ___
> 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
> __**__**
> ___
>



-- 
Best Regards
Chen
___
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] simpleslides bug?

2013-02-21 Thread Hans Hagen

On 2/21/2013 2:21 AM, Zhichu Chen wrote:


This must be a consequence of the new MP instance code. I can
reproduce the error, but I can't isolate it. I think the lines

Thanks for the tip. After I've committed the lines with
Field[Text][Text] in simpleslides-s-BigNumber.tex, it could compile
successfully. I think this is a metafun bug?



metapost> initializing instance 'metafun' using format 'metafun'
metapost> loading 'metafun':
/opt/context/tex/texmf-__context/metapost/context/base/__metafun.mpiv,
using method: default
metapost> initializing number mode "scaled"

point to the source of the error, but I don't know where to look.


Make sure that you run the latest beta. Indeed there has been a change 
to these Page related areas because in a recent mp there were several 
issues (most related to memory leaks), so I made a less demanding 
implementation. In the meantime Taco has fixed a lot of mp issues so 
upcoming luatex/mplib are okay (performance and memory wise). It all 
relates to mp now having scaled and double mode.


(Alan is testing the mp double mechanisms.)

Of course there can be other issues,

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] simpleslides bug?

2013-02-21 Thread Thomas A. Schmitz

On 02/21/2013 09:31 AM, Hans Hagen wrote:

On 2/21/2013 2:21 AM, Zhichu Chen wrote:


This must be a consequence of the new MP instance code. I can
reproduce the error, but I can't isolate it. I think the lines

Thanks for the tip. After I've committed the lines with
Field[Text][Text] in simpleslides-s-BigNumber.tex, it could compile
successfully. I think this is a metafun bug?


Do you mean "commented"?



Make sure that you run the latest beta. Indeed there has been a change
to these Page related areas because in a recent mp there were several
issues (most related to memory leaks), so I made a less demanding
implementation. In the meantime Taco has fixed a lot of mp issues so
upcoming luatex/mplib are okay (performance and memory wise). It all
relates to mp now having scaled and double mode.

(Alan is testing the mp double mechanisms.)


So it makes sense to wait a couple of days before looking into this?

Thomas
___
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] simpleslides bug?

2013-02-21 Thread Zhichu Chen
On Thu, Feb 21, 2013 at 5:38 PM, Thomas A. Schmitz <
thomas.schm...@uni-bonn.de> wrote:

> On 02/21/2013 09:31 AM, Hans Hagen wrote:
>
>> On 2/21/2013 2:21 AM, Zhichu Chen wrote:
>>
>>  This must be a consequence of the new MP instance code. I can
>>> reproduce the error, but I can't isolate it. I think the lines
>>>
>>> Thanks for the tip. After I've committed the lines with
>>> Field[Text][Text] in simpleslides-s-BigNumber.tex, it could compile
>>> successfully. I think this is a metafun bug?
>>>
>>
> Do you mean "commented"?

Sure. I have no idea why I typed "committed."

>
>
>
>> Make sure that you run the latest beta. Indeed there has been a change
>> to these Page related areas because in a recent mp there were several
>> issues (most related to memory leaks), so I made a less demanding
>> implementation. In the meantime Taco has fixed a lot of mp issues so
>> upcoming luatex/mplib are okay (performance and memory wise). It all
>> relates to mp now having scaled and double mode.
>>
>> (Alan is testing the mp double mechanisms.)
>>
>
> So it makes sense to wait a couple of days before looking into this?
>

>
> Thomas
> __**__**
> ___
> 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
> __**__**
> ___
>



-- 
Best Regards
Chen
___
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] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky

And another question: how can setup a background *image* for all slides?

Vyatcheslav

___
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
___


Re: [NTG-context] Simpleslides question

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 1:25 PM, Vyatcheslav Yatskovsky wrote:


Hello,

Can I arrange *multiple* images per a page in specified positions  
(x,y) using simpleslides module?


Vyatcheslav


Hi,

no, there is not yet code for this. I usually do it "by hand," but if  
this is something you need/use often, it would be relatively easy to  
provide a macro for it.


Rhomas
___
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
___


Re: [NTG-context] Simpleslides question

2009-06-24 Thread Aditya Mahajan

On Wed, 24 Jun 2009, Vyatcheslav Yatskovsky wrote:


Hello,

Can I arrange *multiple* images per a page in specified positions (x,y) using 
simpleslides module?


Can you elaborate? Do you want the same images to appear in all slides in 
the background (like a corporate design), or do you want to include 
multiple images on a single page, say two images side by side?


Aditya
___
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
___


Re: [NTG-context] Simpleslides question

2009-06-25 Thread Vyatcheslav Yatskovsky
Thanks for asking. The problem is so simple from PowerPoint view. I want 
to place a logo of my academic institution on the front page, above the 
slide title. I can guess its x,y coordinates, but cannot understand how 
to place it there.


I know something about overlays, but it seems that they can add an image 
to a text already placed somewhere. I have no text, I just want to place 
an image at arbitrary location at one page.



>  Hello,
>
>  Can I arrange*multiple*  images per a page in specified positions (x,y) using
>  simpleslides module?
 


Can you elaborate? Do you want the same images to appear in all slides in
the background (like a corporate design), or do you want to include
multiple images on a single page, say two images side by side?

Aditya

Vyatcheslav
___
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
___


Re: [NTG-context] Simpleslides question

2009-06-26 Thread Aditya Mahajan

On Thu, 25 Jun 2009, Vyatcheslav Yatskovsky wrote:

Thanks for asking. The problem is so simple from PowerPoint view. I want to 
place a logo of my academic institution on the front page, above the slide 
title. I can guess its x,y coordinates, but cannot understand how to place it 
there.


I know something about overlays, but it seems that they can add an image to a 
text already placed somewhere. I have no text, I just want to place an image 
at arbitrary location at one page.


With simpleslides, you will need to create your own "style module". 
Currently, there is no documentation for it, but here is the gist of 
creating your own style.


Simpleslides provides four overlays, simpleslides:background:horizontal,
simpleslides:background:vertical, simpleslides:background:title, 
simpleslides:background:ornament.


The title background is placed on the title page, the horizontal and 
ornamanet backgrounds are placed on all pages other than 
\IncludePicture[vertical] where the vertical and ornamenet backgrounds are 
placed.


If you to place a logo at a specific position, use

\startuseMPgraphic{simpleslides:MP:ornament}
StartPage ;
metapost code to draw/place logo at a particular location
StopPage ;
\stopuseMPgraphic

and then

\defineoverlay
  [simpleslides:background:ornament]
  [\useMPgraphic{simpleslides:MP:ornament}]


Aditya
___
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] SimpleSlides and Visual counters

2021-11-15 Thread Otared Kavian via ntg-context
Hi all, in particular Aditya M. and Thomas A.S.,

It seems that the visual counter in  SimpleSlides module (the version I have 
from ConTeXt Garden is from 2014) does not work fine with the latest LMTX.
Is the issue is known ? If so, is there a new version of SimpleSlides in which 
the issue has been fixed ?

Best regards: Otared
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] simpleslides module for LMTX

2022-07-13 Thread Henning Hraban Ramm via ntg-context

Hi y’all,

I took over maintenance for the simpleslides module and fixed most 
problems with LMTX.


You can download it here:
https://codeberg.org/fiee/context-simpleslides/archive/v2022.07.13.zip

I’ll also publish it on modules.contextgarden.net and CTAN ASAP.


BTW I left Github for political reasons, you can also find my other 
ConTeXt stuff at https://codeberg.org/fiee/


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] simpleslides/metapost bug ?

2011-03-13 Thread Thomas Schmitz

On Fri, 11 Mar 2011 16:02:32 +0100
 zs  wrote:

Hello everybody.

Can you please confirm that following code fails:

\usemodule[simpleslides]
\starttext
\IncludePicture[horizontal][cow][highlight=yes, 
alternative=circle, x=1, y=1, xscale=1, yscale=1, 
shadow=bottomleft]{hello}

\stoptext

And this does not:

\usemodule[simpleslides]
\starttext
\IncludePicture[horizontal][cow][highlight=no, 
alternative=circle, x=1, y=1, xscale=1, yscale=1, 
shadow=bottomleft]{hello}

\stoptext

It seems like something goes wrong when circle is made.
I can't find what is wrong from error messages.

I will be back on Friday next week to answer.

Regards

Zdenek


Hi,

what fails is the shadow for the highlight. Aditya wrote 
this code, so please curse him :-) I must admit I don't 
really understand what he did there. As a workaround (or 
solution?): line 835 of simpleslides-s-default.tex:

   withcolor transparent ("normal",
replace this with
   withcolor transparent (1,

We'll upload a new version when we've found out why this 
doesn't work anymore!


HTH

Thomas

___
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] simpleslides/metapost bug ?

2011-04-04 Thread Henning Hraban Ramm

Am 2011-03-13 um 22:31 schrieb Thomas Schmitz:

what fails is the shadow for the highlight. Aditya wrote this code,  
so please curse him :-) I must admit I don't really understand what  
he did there. As a workaround (or solution?): line 835 of  
simpleslides-s-default.tex:

  withcolor transparent ("normal",
replace this with
  withcolor transparent (1,

We'll upload a new version when we've found out why this doesn't  
work anymore!


I just ran on the same issue: I had "normal" in my code, and that  
stopped working. 1 instead works.


Seems like nobody did find/fix the source of this issue?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Aditya Mahajan

On Mon, 2 May 2011, Reviczky, Adam wrote:


Hi

Here's another qpdf problem I've encountered lately. Not sure if it's ConTeXt's 
fault (simpleslides perhaps?) or qpdf.


Does the problem appear if you use do not use simpleslides? If not, does 
it appear if you use style=default? This will help narrowing down the 
cause.


Aditya
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
> Does the problem appear if you use do not use simpleslides? If not, does 
> it appear if you use style=default? This will help narrowing down the 
> cause.

I've tried a "Hello world" file and also a non-simpleslides presentation tex 
file, all of them work.

So it seems it's simpleslides and yeah, you where right, it's the styles.
I'm using "Split" for my presentation and as for the minimal I've provided 
BigNumber, both fail at some point.
Using style=default, does not have this problem with qpdf.

I'm still trying out different styles and different slide content ...

Adam
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Hmm, well, I can reproduce this on my presentation even with style=default ...

Adam
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
Right, I have a feeling that this is MetaPost related, hence the random 
problems with different styles.

I can reproduce this now without simpleslides too, using only metapost.

Here's a minimal example:

Get logo_ignite.mp from: http://pastebin.com/raw.php?i=VqvcWniu

% slides.tex
\startreusableMPgraphic{ignite}
  input logo_ignite;
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{ignite}
\stoptext

%handout.tex
\setuppapersize
  [A4][A4] % or [A4,landscape][A4,landscape]
\setuplayout
  [header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
\setupfootertexts
  [presentation---\currentdate\space---\space\pagenumber]
\starttext
  \combinepages[slides][nx=2,ny=3,frame=on]
\stoptext

context slides.tex && context handout.tex && qpdf --linearize handout.pdf 
out.pdf

results in:
object stream 21 (object 31 0, file position 1547): unknown token while reading 
object (nullnullnullnull)

ConTeXt  ver: 2011.05.01 12:50 MKIV  fmt: 2011.5.2  int: english/english
mkiv lua stats  > luatex banner - this is luatex, version 
beta-0.71.0-2011050213 (rev 4233)

Adam
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Hartmut Henkel
On Mon, 2 May 2011, Reviczky, Adam wrote:

> Right, I have a feeling that this is MetaPost related, hence the random 
> problems with different styles.
>
> I can reproduce this now without simpleslides too, using only metapost.
>
> Here's a minimal example:
>
> Get logo_ignite.mp from: http://pastebin.com/raw.php?i=VqvcWniu
>
> % slides.tex
> \startreusableMPgraphic{ignite}
>   input logo_ignite;
> \stopreusableMPgraphic
> \starttext
> \reuseMPgraphic{ignite}
> \stoptext
>
> %handout.tex
> \setuppapersize
>   [A4][A4] % or [A4,landscape][A4,landscape]
> \setuplayout
>   
> [header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
> \setupfootertexts
>   [presentation---\currentdate\space---\space\pagenumber]
> \starttext
>   \combinepages[slides][nx=2,ny=3,frame=on]
> \stoptext
>
> context slides.tex && context handout.tex && qpdf --linearize handout.pdf 
> out.pdf
>
> results in:
> object stream 21 (object 31 0, file position 1547): unknown token while 
> reading object (nullnullnullnull)
>
> ConTeXt  ver: 2011.05.01 12:50 MKIV  fmt: 2011.5.2  int: english/english
> mkiv lua stats  > luatex banner - this is luatex, version 
> beta-0.71.0-2011050213 (rev 4233)

seems to be a bug in luatex beta-0.71.0-2011050213 (rev 4233).
Checking...

Regards, Hartmut
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Hartmut Henkel
On Mon, 2 May 2011, Hartmut Henkel wrote:

> On Mon, 2 May 2011, Reviczky, Adam wrote:
>
> > Right, I have a feeling that this is MetaPost related, hence the random 
> > problems with different styles.
> >
> > I can reproduce this now without simpleslides too, using only metapost.
> >
> > Here's a minimal example:
> >
> > Get logo_ignite.mp from: http://pastebin.com/raw.php?i=VqvcWniu
> >
> > % slides.tex
> > \startreusableMPgraphic{ignite}
> >   input logo_ignite;
> > \stopreusableMPgraphic
> > \starttext
> > \reuseMPgraphic{ignite}
> > \stoptext
> >
> > %handout.tex
> > \setuppapersize
> >   [A4][A4] % or [A4,landscape][A4,landscape]
> > \setuplayout
> >   
> > [header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle]
> > \setupfootertexts
> >   [presentation---\currentdate\space---\space\pagenumber]
> > \starttext
> >   \combinepages[slides][nx=2,ny=3,frame=on]
> > \stoptext
> >
> > context slides.tex && context handout.tex && qpdf --linearize handout.pdf 
> > out.pdf
> >
> > results in:
> > object stream 21 (object 31 0, file position 1547): unknown token while 
> > reading object (nullnullnullnull)
> >
> > ConTeXt  ver: 2011.05.01 12:50 MKIV  fmt: 2011.5.2  int: english/english
> > mkiv lua stats  > luatex banner - this is luatex, version 
> > beta-0.71.0-2011050213 (rev 4233)
>
> seems to be a bug in luatex beta-0.71.0-2011050213 (rev 4233).
> Checking...

found it: There were 4 null objects in an ObjStm in handout.pdf, stored
now compress: "nullnullnullnull" (not yet so in 0.70.x). Each null
object has a correct pointer to its begin (the 'n'), so one should
suppose that an object ends at the character ('l') just before the start
('n') of the next null object. Like in the TeX string pool.

But qpdf gives an error about a "nullnullnullnull" object (fully
ignoring the start of the 2nd null object!), and also Adobe Reader 9
quits with an error. Interestingly xpdf displays the file handout.pdf
without any problem. The problem is fixed by adding a space at to the
end of each object within an ObjStm, so there is now "null null null
null", see SVN 4242. No comment in the PDF Ref. on this. Looks like a
flaw in qpdf and the Reader?

Regards, Hartmut
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
> found it: There were 4 null objects in an ObjStm in handout.pdf, stored
> now compress: "nullnullnullnull" (not yet so in 0.70.x). Each null
> object has a correct pointer to its begin (the 'n'), so one should
> suppose that an object ends at the character ('l') just before the start
> ('n') of the next null object. Like in the TeX string pool.
> 
> But qpdf gives an error about a "nullnullnullnull" object (fully
> ignoring the start of the 2nd null object!), and also Adobe Reader 9
> quits with an error. Interestingly xpdf displays the file handout.pdf
> without any problem. The problem is fixed by adding a space at to the
> end of each object within an ObjStm, so there is now "null null null
> null", see SVN 4242. No comment in the PDF Ref. on this. Looks like a
> flaw in qpdf and the Reader?
> 
> Regards, Hartmut

Thanks Hartmut for fixing this!

On another note I can't seem to compile the latest trunk anymore, it fails with:

...
mv -f .deps/libluatex_a-writejp2.Tpo .deps/libluatex_a-writejp2.Po
CWEBINPUTS=../../../source/texk/web2c/luatexdir/image 
TEXMFCNF=../../../source/texk/web2c/../kpathsea ./ctangle writepng.w
This is CTANGLE, Version 3.64 (TeX Live 2011)

Writing the output file (writepng.c):.500.
Done.
(No errors were found.)
gcc -DHAVE_CONFIG_H -I. -I../../../source/texk/web2c -I./w2c  
-I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/texk
 
-I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/source/texk
 -DNO_DEBUG  -I/usr/include/libpng12   -DPOPPLER_VERSION=\"0.16.4\" 
-I/usr/include/poppler   
-I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/libs/obsdcompat
 
-I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/source/libs/obsdcompat
 -I../../../source/texk/web2c/libmd5 -I../../../source/texk/web2c/luatexdir 
-I../../../source/texk/web2c/luatexdir/lua51 -DpdfTeX 
-I../../../source/texk/web2c/synctexdir -DSYNCTEX_ENGINE_H='' 
 -Wall -Wunused -Wimplicit -Wreturn-type -Wdeclaration-after-statement 
-Wno-unknown-pragmas -Wmissing-prototypes -Wmissing-declarations -g -Wall -O2 
-Wdeclaration-after-statement -MT libluatex_a-writepng.o -MD -MP -MF 
.deps/libluatex_a-writepng.Tpo -c -o libluatex_a-writepng.o `test -f 
'writepng.c' || echo '../../../source/texk/web2c/'`writepng.c
../../../source/texk/web2c/luatexdir/image/writepng.w: In function ‘write_png’:
../../../source/texk/web2c/luatexdir/image/writepng.w:558:19: error: ‘PNG_FP_1’ 
undeclared (first use in this function)
../../../source/texk/web2c/luatexdir/image/writepng.w:558:19: note: each 
undeclared identifier is reported only once for each function it appears in
make[1]: *** [libluatex_a-writepng.o] Error 1
make[1]: Leaving directory 
`/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/texk/web2c'
luatex binary not stripped
ls: cannot access build/texk/web2c/luatex: No such file or directory
make: *** [build-stamp] Error 2
...

Is that a problem on my end?

Adam
___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Hartmut Henkel
On Tue, 3 May 2011, Reviczky, Adam wrote:

> > found it: There were 4 null objects in an ObjStm in handout.pdf, stored
> > now compress: "nullnullnullnull" (not yet so in 0.70.x). Each null
> > object has a correct pointer to its begin (the 'n'), so one should
> > suppose that an object ends at the character ('l') just before the start
> > ('n') of the next null object. Like in the TeX string pool.
> >
> > But qpdf gives an error about a "nullnullnullnull" object (fully
> > ignoring the start of the 2nd null object!), and also Adobe Reader 9
> > quits with an error. Interestingly xpdf displays the file handout.pdf
> > without any problem. The problem is fixed by adding a space at to the
> > end of each object within an ObjStm, so there is now "null null null
> > null", see SVN 4242. No comment in the PDF Ref. on this. Looks like a
> > flaw in qpdf and the Reader?
> >
> > Regards, Hartmut
>
> Thanks Hartmut for fixing this!
>
> On another note I can't seem to compile the latest trunk anymore, it fails 
> with:
>
> ...
> mv -f .deps/libluatex_a-writejp2.Tpo .deps/libluatex_a-writejp2.Po
> CWEBINPUTS=../../../source/texk/web2c/luatexdir/image 
> TEXMFCNF=../../../source/texk/web2c/../kpathsea ./ctangle writepng.w
> This is CTANGLE, Version 3.64 (TeX Live 2011)
>
> Writing the output file (writepng.c):.500.
> Done.
> (No errors were found.)
> gcc -DHAVE_CONFIG_H -I. -I../../../source/texk/web2c -I./w2c  
> -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/texk
>  
> -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/source/texk
>  -DNO_DEBUG  -I/usr/include/libpng12   -DPOPPLER_VERSION=\"0.16.4\" 
> -I/usr/include/poppler   
> -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/libs/obsdcompat
>  
> -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/source/libs/obsdcompat
>  -I../../../source/texk/web2c/libmd5 -I../../../source/texk/web2c/luatexdir 
> -I../../../source/texk/web2c/luatexdir/lua51 -DpdfTeX 
> -I../../../source/texk/web2c/synctexdir 
> -DSYNCTEX_ENGINE_H=''  -Wall -Wunused -Wimplicit 
> -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas 
> -Wmissing-prototypes -Wmissing-declarations -g -Wall -O2 
> -Wdeclaration-after-statement -MT libluatex_a-writepng.o -MD -MP -MF 
> .deps/libluatex_a-writepng.Tpo -c -o libluatex_a-writepng.o `test -f 
> 'writepng.c' || echo '../../../source/texk/web2c/'`writepng.c
> ../../../source/texk/web2c/luatexdir/image/writepng.w: In function 
> ‘write_png’:
> ../../../source/texk/web2c/luatexdir/image/writepng.w:558:19: error: 
> ‘PNG_FP_1’ undeclared (first use in this function)
> ../../../source/texk/web2c/luatexdir/image/writepng.w:558:19: note: each 
> undeclared identifier is reported only once for each function it appears in
> make[1]: *** [libluatex_a-writepng.o] Error 1
> make[1]: Leaving directory 
> `/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/texk/web2c'
> luatex binary not stripped
> ls: cannot access build/texk/web2c/luatex: No such file or directory
> make: *** [build-stamp] Error 2
> ...
>
> Is that a problem on my end?

the PNG_FP_1 i have added recently, it's defined in png.h. Must be some
configure problem, maybe system png.h is used instead of the one coming
with the libpng within luatex. i don't have the problem here. Sorry,
needs investigation...

Regards, Hartmut___
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] simpleslides + combinepages != qpdf

2011-05-02 Thread Reviczky, Adam
> the PNG_FP_1 i have added recently, it's defined in png.h. Must be some
> configure problem, maybe system png.h is used instead of the one coming
> with the libpng within luatex. i don't have the problem here. Sorry,
> needs investigation...

I was indeed using the system's libpng, my bad.
Strange though, that this comes out just now.

Anyhow, thanks.

Adam
___
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] Simpleslides module is broken?!

2010-10-31 Thread Vyatcheslav Yatskovsky

Hi,

Please, help me a.s.a.p with Simpleslides module. I have a project 
sucessfully compiled a year and a half ago, and now it is broken.


Reduced script of my presentation:

\usemodule[simpleslides]
 [font=Gothic,
 style=Swoosh]

\language[ua]
\setupalign[stretch,hanging,hz]
\setupinteraction[state=start]
\setuppagetransitions[random]

\setupinteractionscreen
  [option=max,delay=10]

\setupcaptions[location=]

\setupTitle
[ title={\\ \bfa Кафедра \\ Авіаційних Комп'ютерно-\\ Інтегрованих 
Комплексів},

author={Факультет \\  Аерокосмічних Систем Управління},
date={}]

%\usemodule[t][fixme]

\defineoverlay
  [simpleslides:background:title]
  [{\externalfigure[Airbus-wing-over-sea-blue-sky-JR][factor=fit]}]

%%

\starttext

\placeTitle


\SlideTitle {Спеціальності}
Кафедра проводить пiдготовку спеціалістів за напрямом

0502 Автоматика та управління --

\bf 6.050202 автоматизація та комп'ютерно-інтегровані технології \tf
%\bf  компьютерно-итегрированным технологическим процессам и 
производствам. \tf


{
\startitemize
  \item
	автоматизоване управління комп’ютерно - інтегрованими \\ системами 
повітряних суден

  \item
автоматизоване проектування комп’ютерно - інтегрованих комплексів
  \item
технічний моніторинг комп’ютерно-інтегрованих комплексів.
\stopitemize
}

\stoptext


Problems observed when compiled today (I use the latest beta with 
--extra option):


* No Russian (Ukrainian) letters at all, only numbers and punctuation signs.
* The background image on the first page (the plane) is not fit to the 
page, but leaves blank stripes.


Don't know where to fix, please help me -- my boss expects updated 
presentation tomorrow!


Regards,
Vyatcheslav



___
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] simpleslides help needed

2012-07-17 Thread Wolfgang Schuster

Am 18.07.2012 um 02:41 schrieb Pavneet Arora:

> Hello all,
> 
> I am here at TUG 2012 updating the presentation that I am to give in the 
> morning.
> 
> I have had a couple of lingering questions regarding simpleslides that I
> thought I would put out there.  They are not show stoppers, and I have
> lived with them in my other presentations.  It is just that with my
> brain on TeX (and ConTeXt) for the past few days, I thought that I would
> try to resolve them once and for all.
> 
> 1.  Fonts
> 
> I would like to specify separate mainfont and bodyfont using the
> simplefonts module (or some other consistent mechanism).
> 
> I have read the thread from:
> 
> http://www.ntg.nl/pipermail/ntg-context/2011/056495.html
> 
> and have tried to split up Wolfgang's suggestion into the two parts.  I
> have tried:
> 
> \usemodule[simplefonts][size=18pt]
> \setmainfont[grandesignneueserif]
> 
> \setupbodyfont[dejavuserif]
> 
> which gets me the title font, but not the body font.
> 
> The other approach:
> 
> \definetypeface[mainface][rm][serif][DejaVu Serif][default]
> \definetypeface[mainface][ss][sans][DejaVu Sans][default]
> \definetypeface[mainface][tt][mono][Inconsolata][default]
> \setupbodyfont[mainface]
> 
> also doesn't seem to work at all.  I get what I believe to be Latin
> Modern Sans across the board.
> 
> I have resorted to using one of the default fonts via the module switch
> for now, but would like to customize the font selection to my taste.

I suggest to look into the manual for the simple slides module how to change 
fonts
because the module has some control which font is used.

> 2.  Margins
> 
> I have the following slide, where only the right margin is affected.  I
> have tried variations on backspace, width and margin but haven't gotten
> the left margin to move.
> 
> 
> 
> \definelayout[quotation][leftmargin=1.5in,rightmargin=1.5in]
> 
> \SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet}
> \blank
> \setuplayout[quotation]
> \quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
> After a few months of studying existing real-world examples, it became clear 
> that the data, views of that data, and the formulas that acted on that data 
> were very separate concepts. Yet in every case, the existing spreadsheet 
> programs required the user to type all of these items into the same 
> (typically single) sheet's cells.}
> \par
> \setuplayout[reset]
> \startalignment[flushright]
> \blank[2*big]
> {\em Source:  Wikipedia:Lotus Improv}
> 
> 
> 
> I am sure that it is something simple that I am missing here, but any
> guidance would be most appreciated.

You can’t use a customized layout to change the margins of a part of the page 
only,
use the quotation environment or put the quotation in a narrower environment.

Wolfgang
___
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] simpleslides help needed

2012-07-18 Thread Hans Hagen

On 18-7-2012 02:41, Pavneet Arora wrote:


also doesn't seem to work at all.  I get what I believe to be Latin
Modern Sans across the board.

I have resorted to using one of the default fonts via the module switch
for now, but would like to customize the font selection to my taste.


Just using (without any additional definitions):

  \setupbodyfont[dejavu,10pt]

works, as there is a type-imp-dejavu typescript.

Hans

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


___
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] simpleslides help needed

2012-07-18 Thread Pavneet Arora

Hans and Wolfgang,

Thanks, as always, for the prompt replies.  Does this mean that I need to focus 
on the typescript mechanism rather than simplefonts?  Wolfgang, that was also 
the point I wanted to clarify since from my earlier reading of the manual's 
section on "Choosing on your own fonts", the example pointed to using 
typescripts. However, from the Aditya's posting I was encouraged that I could 
use (my) default method of relying on simplefonts.


One last question stemming from the Jean-Luc Dumont's article on effective 
communications:  is there a way to turn off the interaction bar in the slides. 
 I am using the simple 'Shaded' style where the interaction bars are displayed 
as small circles along the bottom.


Regards.

On 12-07-18 03:42 AM, Hans Hagen wrote:

On 18-7-2012 02:41, Pavneet Arora wrote:


also doesn't seem to work at all.  I get what I believe to be Latin
Modern Sans across the board.

I have resorted to using one of the default fonts via the module switch
for now, but would like to customize the font selection to my taste.


Just using (without any additional definitions):

   \setupbodyfont[dejavu,10pt]

works, as there is a type-imp-dejavu typescript.

Hans

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




--
-
- Pavneet Arora

Waroc Fine Audio + Custom Home Cinema
www.waroc.com  416.937.WAROC (9276)



___
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] simpleslides help needed

2012-07-18 Thread Hans Hagen

On 18-7-2012 13:23, Pavneet Arora wrote:

Hans and Wolfgang,

Thanks, as always, for the prompt replies.  Does this mean that I need
to focus on the typescript mechanism rather than simplefonts?  Wolfgang,
that was also the point I wanted to clarify since from my earlier
reading of the manual's section on "Choosing on your own fonts", the
example pointed to using typescripts. However, from the Aditya's posting
I was encouraged that I could use (my) default method of relying on
simplefonts.


it depends ... some fonts (those that ship with the distribution) have a 
typescript but for others (fonts that come with the os or that you buy) 
simplefonts is a better choice


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] simpleslides help needed

2012-07-18 Thread Aditya Mahajan

On Wed, 18 Jul 2012, Pavneet Arora wrote:

Thanks, as always, for the prompt replies.  Does this mean that I need to 
focus on the typescript mechanism rather than simplefonts?


In principle both should work with simpleslides module though I never 
tested it with simplefonts.


Wolfgang, that was also the point I wanted to clarify since from my 
earlier reading of the manual's section on "Choosing on your own fonts", 
the example pointed to using typescripts. However, from the Aditya's 
posting I was encouraged that I could use (my) default method of relying 
on simplefonts.


ConTeXt comes with typescripts for lot of the commonly used fonts. 
Earlier, you had to use


\usetypescript[dejavu]
\setupbodyfont[dejavu]

to use an existing typescript. Since a year or more now, the first line is 
not needed. You can just use


\setupbodyfont[dejavu]

and context will run \usetypescript[...] if a typescript is not already 
loaded.


One last question stemming from the Jean-Luc Dumont's article on effective 
communications:  is there a way to turn off the interaction bar in the 
slides. I am using the simple 'Shaded' style where the interaction bars are 
displayed as small circles along the bottom.


The simpleslides module is not designed for configurability. Sorry. The 
best solution is to copy the Shaded style to another file and remove the 
code for the bottom bar.


Thomas and I were working on a more extensible version of simpleslides, 
but haven't had the time to finish it.


Aditya
___
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] simpleslides help needed

2012-07-18 Thread Aditya Mahajan

On Tue, 17 Jul 2012, Pavneet Arora wrote:


Hello all,

I am here at TUG 2012 updating the presentation that I am to give in the 
morning.


I have had a couple of lingering questions regarding simpleslides that I
thought I would put out there.  They are not show stoppers, and I have
lived with them in my other presentations.  It is just that with my
brain on TeX (and ConTeXt) for the past few days, I thought that I would
try to resolve them once and for all.

1.  Fonts

I would like to specify separate mainfont and bodyfont using the
simplefonts module (or some other consistent mechanism).

I have read the thread from:

http://www.ntg.nl/pipermail/ntg-context/2011/056495.html

and have tried to split up Wolfgang's suggestion into the two parts.  I
have tried:

\usemodule[simplefonts][size=18pt]
\setmainfont[grandesignneueserif]

\setupbodyfont[dejavuserif]


With simplefonts, you do not need \setupbodyfont! The following example 
works fine on my old installation (2012.06.08)


\usemodule[simpleslides][style=Shaded]
\usemodule[simplefonts][size=\NormalSize]

\setmainfont[DejaVu Serif]

\setupTitle
  [title={Presentation Title},
   author={Author},
   date={Date / Occasion}]

\starttext

\placeTitle

\SlideTitle{Test Slide}

\input knuth

\stoptext

Aditya
___
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] simpleslides help needed

2012-07-21 Thread Aditya Mahajan

Hi Pavneet,

I am CCing the list as others might find this useful as well.

On Thu, 19 Jul 2012, Pavneet Arora wrote:

One more question, though:  if one wanted to design the slides with 
*different* title and body fonts, as I do, how would one do that?  This is 
why I tried \setupbodyfont and ran into my initial difficulties.


Use

\setupSlideTitle
   [style={ any font command }]

The default value of style is \switchtobodyfont[\SlideTitleSize]. The 
easiest way to switch fonts is to use \definefont or, if you are using the 
simplefonts module, \definesimplefont. For example:


\usemodule[simpleslides]
\usemodule[simplefonts][size=\NormalSize]

\definesimplefont[SlideTitleFont][Dejavu Sans][size=\SlideTitleSize]

\setupSlideTitle[style=\SlideTitleFont]

\starttext

\SlideTitle{Knuth}

\input knuth

\stoptext
___
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] simpleslides help needed

2012-07-23 Thread Pavneet Arora

Dear Wolfgang,

I have tried what I believe to be the two approaches you suggested for 
controlling the margins of a quotation:


1.  Using the switches offered via \setupdelimitedtext in the \setupquotation 
command:


\setupquotation[leftmargin=1.5in]
\quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
After a few months of studying existing real-world examples, it became clear 
that the data, views of that data, and the formulas that acted on that data were 
very separate concepts. Yet in every case, the existing spreadsheet programs 
required the user to type all of these items into the same (typically single) 
sheet's cells.}


The result in this case is that neither margin is affected with any combination 
of leftmargin= and rightmargin=, either alone or in combination.


2.  Creating an environment file env-myquotation.tex, which has as its contents:

\startenvironment myquotation
\setuplayout[leftmargin=1.5in,backspace=1.5in,rightmargin=1.5in]
\stopenvironment

...and then the slide:

\SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet}
\blank
%\setupquotation[leftmargin=1.5in]
{\environment env-myquotation.tex
\quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
After a few months of studying existing real-world examples, it became clear 
that the data, views of that data, and the formulas that acted on that data were 
very separate concepts. Yet in every case, the existing spreadsheet programs 
required the user to type all of these items into the same (typically single) 
sheet's cells.}

}
\par
\startalignment[flushright]
\blank[2*big]
{\em Source:  Wikipedia/Lotus Improv}
\stopalignment

In this case, the margins seem to work for the quotation, but, unfortunately, 
the title is also shifted by the leftmargin (but not the right margin as title 
width appears to remain the same; this title is longer than a single line), and 
the credit which I did not need brought in was also shifted in to the right 
margin of the environment.


So am I limited in my control over margins within a slide do you think?  Or is 
there another approach?


Thanks.


On 12-07-17 11:33 PM, Wolfgang Schuster wrote:



2.  Margins

I have the following slide, where only the right margin is affected.  I
have tried variations on backspace, width and margin but haven't gotten
the left margin to move.





\definelayout[quotation][leftmargin=1.5in,rightmargin=1.5in]

\SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet}
\blank
\setuplayout[quotation]
\quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
After a few months of studying existing real-world examples, it became clear 
that the data, views of that data, and the formulas that acted on that data 
were very separate concepts. Yet in every case, the existing spreadsheet 
programs required the user to type all of these items into the same (typically 
single) sheet's cells.}
\par
\setuplayout[reset]
\startalignment[flushright]
\blank[2*big]
{\em Source:  Wikipedia:Lotus Improv}



I am sure that it is something simple that I am missing here, but any
guidance would be most appreciated.


You can’t use a customized layout to change the margins of a part of the page 
only,
use the quotation environment or put the quotation in a narrower environment.

Wolfgang



--
-
- Pavneet Arora

Waroc Fine Audio + Custom Home Cinema
www.waroc.com  416.937.WAROC (9276)



___
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] simpleslides help needed

2012-07-23 Thread Wolfgang Schuster

Am 23.07.2012 um 23:21 schrieb Pavneet Arora:

> Dear Wolfgang,
> 
> I have tried what I believe to be the two approaches you suggested for 
> controlling the margins of a quotation:
> 
> 1.  Using the switches offered via \setupdelimitedtext in the \setupquotation 
> command:
> 
> \setupquotation[leftmargin=1.5in]
> \quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
> After a few months of studying existing real-world examples, it became clear 
> that the data, views of that data, and the formulas that acted on that data 
> were very separate concepts. Yet in every case, the existing spreadsheet 
> programs required the user to type all of these items into the same 
> (typically single) sheet's cells.}
> 
> The result in this case is that neither margin is affected with any 
> combination of leftmargin= and rightmargin=, either alone or in combination.
> 
> 2.  Creating an environment file env-myquotation.tex, which has as its 
> contents:
> 
> \startenvironment myquotation
>   \setuplayout[leftmargin=1.5in,backspace=1.5in,rightmargin=1.5in]
> \stopenvironment
> 
> ...and then the slide:
> 
> \SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet}
> \blank
> %\setupquotation[leftmargin=1.5in]
> {\environment env-myquotation.tex
> \quotation{Pito Salas, a developer at ATG, decided to attack this problem. 
> After a few months of studying existing real-world examples, it became clear 
> that the data, views of that data, and the formulas that acted on that data 
> were very separate concepts. Yet in every case, the existing spreadsheet 
> programs required the user to type all of these items into the same 
> (typically single) sheet's cells.}
> }
> \par
> \startalignment[flushright]
> \blank[2*big]
> {\em Source:  Wikipedia/Lotus Improv}
> \stopalignment
> 
> In this case, the margins seem to work for the quotation, but, unfortunately, 
> the title is also shifted by the leftmargin (but not the right margin as 
> title width appears to remain the same; this title is longer than a single 
> line), and the credit which I did not need brought in was also shifted in to 
> the right margin of the environment.
> 
> So am I limited in my control over margins within a slide do you think?  Or 
> is there another approach?

You’re doing to wrong, below you can see two different ways to have a quotation 
with margins. The first method uses the quotation environment where you can 
control the margin with the leftmargin and “rightmargin keys, the second method 
uses the quotation command which is put in a narrower environment to create the 
margins/offset.

\showframe[text][text]

\startbuffer
Pito Salas, a developer at ATG, decided to attack this problem.
After a few months of studying existing real-world examples,
it became clear that the data, views of that data, and the
formulas that acted on that data were very separate concepts.
Yet in every case, the existing spreadsheet programs required
the user to type all of these items into the same (typically
single) sheet’s cells.%
\stopbuffer

\starttext

\startquotation \getbuffer \stopquotation

\setupdelimitedtext[quotation][leftmargin=3cm]

\startquotation \getbuffer \stopquotation

\quotation{\getbuffer}

\startnarrower[3*middle]
\quotation{\getbuffer}
\stopnarrower

\stoptext

Wolfgang
___
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] simpleslides help needed

2012-07-24 Thread Pavneet Arora

Ah, I got it now!

\quotation is quite different from \{start|stop}quotation.  I was attempting to 
affect the changes using just \quotation{}, which has no (or in my case 
asymmetrical and strange) effects on the margins, at least within simpleslides.


Now, I don't know whether there should be a difference in behaviour, but there 
definitely is.  When I simply integrated your \setupdelimitedtext and 
\{start|stop}narrower into my existing slide presentation, there was no change. 
 As I kept reducing the presentation there still was no change in behaviour 
until the only thing staring up at me was \quotation{}.


Glad I chased this down even though it might have been painful for others to 
read of my bumbling about.  It gives me another core piece for doing my 
presentations.


Cheers.


On 12-07-24 12:22 AM, Wolfgang Schuster wrote:


You’re doing to wrong, below you can see two different ways to have a quotation 
with margins. The first method uses the quotation environment where you can 
control the margin with the leftmargin and “rightmargin keys, the second method 
uses the quotation command which is put in a narrower environment to create the 
margins/offset.

\showframe[text][text]

\startbuffer
Pito Salas, a developer at ATG, decided to attack this problem.
After a few months of studying existing real-world examples,
it became clear that the data, views of that data, and the
formulas that acted on that data were very separate concepts.
Yet in every case, the existing spreadsheet programs required
the user to type all of these items into the same (typically
single) sheet’s cells.%
\stopbuffer

\starttext

\startquotation \getbuffer \stopquotation

\setupdelimitedtext[quotation][leftmargin=3cm]

\startquotation \getbuffer \stopquotation

\quotation{\getbuffer}

\startnarrower[3*middle]
\quotation{\getbuffer}
\stopnarrower

\stoptext

Wolfgang



--
-
- Pavneet Arora

Waroc Fine Audio + Custom Home Cinema
www.waroc.com  416.937.WAROC (9276)

___
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] simpleslides help needed

2012-07-24 Thread Sietse Brouwer
On Tue, Jul 24, 2012 at 12:51 PM, Pavneet Arora  wrote:
> Now, I don't know whether there should be a difference in behaviour,
> [between \quotation and \startquotation], but there definitely is.

This is deliberate: \quotation is for inline quotations, while
\startquotation is for block quotations. Compare \math and \startmath.

I completely understand that people have gotten into a habit of not
looking up commands on the wiki; there was So Much Blankness on the
command pages, so why bother? By now, though, we have reached the
stage that looking up a basic command, at least, has a good chance of
success. So perhaps people could slowly start looking at the wiki
command reference again? The answer to quotation/startquotation, at
least, was sitting right there. :-)

http://wiki.contextgarden.net/Command/startquotation
http://wiki.contextgarden.net/Command/quotation

Cheers,

Sietse
Sietse Brouwer
___
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] simpleslides help needed

2012-07-24 Thread Pavneet Arora
Yes, indeed the information is there.  What makes the wiki sometime impenetrable 
is that doing a search, even a Google search, with keyword based or topic based 
queries rather than command based queries leads to varying results.  You know 
what you want to do; you just don't know which commands will lead you to the result.


Also just to clarify, as is my habit, I did search the wiki, and in this case I 
had even looked repeatedly at the hints.  I just didn't catch the distinction in 
my own coding.


I guess the trick is to know what commands one should hone in on ;).

Regards.

On 12-07-24 07:44 AM, Sietse Brouwer wrote:

On Tue, Jul 24, 2012 at 12:51 PM, Pavneet Arora  wrote:

Now, I don't know whether there should be a difference in behaviour,
[between \quotation and \startquotation], but there definitely is.


This is deliberate: \quotation is for inline quotations, while
\startquotation is for block quotations. Compare \math and \startmath.

I completely understand that people have gotten into a habit of not
looking up commands on the wiki; there was So Much Blankness on the
command pages, so why bother? By now, though, we have reached the
stage that looking up a basic command, at least, has a good chance of
success. So perhaps people could slowly start looking at the wiki
command reference again? The answer to quotation/startquotation, at
least, was sitting right there. :-)

http://wiki.contextgarden.net/Command/startquotation
http://wiki.contextgarden.net/Command/quotation

Cheers,

Sietse
Sietse Brouwer



--
-
- Pavneet Arora

Waroc Fine Audio + Custom Home Cinema
www.waroc.com  416.937.WAROC (9276)

___
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] simpleslides with minimals

2009-05-07 Thread Amaël Broustet
Thank you for the advice.
I followed it but still run in some problems :
I used

~/context$ sh ./first-setup.sh --extras="t-simpleslides"

then 

:~/context$ source ./tex/setuptex

Everythings look fine :

~/context$ luatools t-simpleslides.tex
/home/amael3/context/tex/texmf-context/tex/context/third/simple-slides/t-simpleslides.tex

~/context$ kpsewhich t-simpleslides.tex
/home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex

~/context$ type texexec
texexec est haché (/home/amael3/context/tex/texmf-linux/bin/texexec)

~/context$ type luatools
luatools est haché (/home/amael3/context/tex/texmf-linux/bin/luatools)

My essai.tex file is :

~/context$ cat essai.tex
\usemodule[simpleslides][style=BigNumber,font=Helvetica,size=24]

\setupTitle
[   title={Essai / Try SimpleSlides},
 author={Amaël Broustet},
date={6 mai 2009},
]

\starttext
\placeTitle
\SlideTitle{Le premier slide}
Essai 
\stoptext

but when I run mark IV :

~/context$ texexec --lua essai.tex
TeXExec | processing document 'essai.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file essai.top
TeXExec | using randomseed 1287
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | running command: luatex
--fmt="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en"
 
--lua="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en.luc"
 "essai.tex" 
This is LuaTeX, Version beta-0.40.0-200904 (Web2C 7.5.7)
 \write18 enabled.
(essai.tex

ConTeXt  ver: 2009.05.06 23:23 MKIV  fmt: 2009.5.7  int: english/english

system  : essai.top loaded
(essai.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module simpleslides not found
! Undefined control sequence.
l.3 \setupTitle


and Mark II :

~/context$ texexec  essai.tex
TeXExec | processing document 'essai.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file essai.top
TeXExec | using randomseed 83
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
 \write18 enabled.
 (/home/amael3/context/tex/texmf-context/web2c/natural.tcx)
entering extended mode
(./essai.tex

ConTeXt  ver: 2009.05.06 23:23 MKII  fmt: 2009.5.7  int: english/english

system  : cont-new loaded
(/home/amael3/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/amael3/context/tex/texmf-context/tex/context/base/cont-new.mkii)
(/home/amael3/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system  : cont-fil loaded
(/home/amael3/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/amael3/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/home/amael3/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/home/amael3/context/tex/texmf-context/tex/context/base/type-siz.tex
(/home/amael3/context/tex/texmf-context/tex/context/base/type-siz.mkii))
(/home/amael3/context/tex/texmf-context/tex/context/base/type-one.tex)
(/home/amael3/context/tex/texmf-context/tex/context/base/type-akb.tex))
system  : essai.top loaded
(./essai.top)
bodyfont: 12pt rm is loaded
language: patterns nl->texnansi:texnansi->1->2:2
nl->ec:ec->2->2:2 us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3
da->ec:ec->6->2:2
 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2
fr->ec:ec->1
0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2
it->texnansi:texnansi->13->2:2 it-
>ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2
pt->ec:ec->17
->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2
pl->qx:qx->21-
>2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2
sk->ec:ec->25
->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2
agr->agr:agr->30
->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->35->2:2
uk->t2a:t2a->3
6->3:3 loaded
specials: dvips loaded
systems : system commands are enabled
language: language en is active
specials: loading definition file tpd
(/home/amael3/context/tex/texmf-context/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/home/amael3/context/tex/texmf-context/tex/context/base/spec-fdf.tex))
system  : module simpleslides loaded
(/home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex
loading : module simpleslides
system  : module default loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-default.tex
simpleslides: loading default style setup
color   : mpcmyk color space is supported
color   : m

Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Amaël Broustet
Ok I thought i didn't need to do 
luatools --generate 
I run it and after that I got the same error with markIV that with
markII :
~/context$ texexec --lua essai.tex
TeXExec | processing document 'essai.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file essai.top
TeXExec | using randomseed 764
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | running command: luatex
--fmt="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en"
 
--lua="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en.luc"
 "essai.tex" 
This is LuaTeX, Version beta-0.40.0-200904 (Web2C 7.5.7)
 \write18 enabled.
(essai.tex

ConTeXt  ver: 2009.05.06 23:23 MKIV  fmt: 2009.5.7  int: english/english

system  : essai.top loaded
(essai.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module simpleslides loaded
(/home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex
loading : module simpleslides
system  : module default loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-default.tex
simpleslides: loading default style setup
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
)
system  : module BigNumber loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex
simpleslides: loading Big Number style
system  : command NormalHeight is already defined
system  : command NormalWidth is already defined
system  : command PictureFrameHeight is already defined
system  : command PictureFrameWidth is already defined
)
system  : module default loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
! Illegal unit of measure (pt inserted).
 
   \relax 
l.31 ...\moduleparameter{simpleslides}{size}\relax
  
? 


If I press "enter" to continue, I get errors with fonts like this one :



  define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*24ptsstfss*

[...]
define font | unable to define unknown as \*30ptmmmr1ss*
fonts   : needs map file: original-base
mplib   : making 'metafun.mp' into
'/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem'
mplib   : problems with 'metafun.mp' from
'/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem'
][1.1]

[...]
mplib   : making 'metafun.mp' into
'/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem'
mplib   : problems with 'metafun.mp' from
'/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem'
[2.2]
systems : end file essai at line 13
 )
mkiv lua stats : used config path
- /home/amael3/context/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path
- /home/amael3/context/tex/texmf-cache
mkiv lua stats : input load time   - 0.034 seconds
mkiv lua stats : stored bytecode data  - 165 modules, 42 tables, 207
chunks
mkiv lua stats : cleaned up reserved nodes - 26 nodes, 9 lists of 1411
mkiv lua stats : node memory usage - 13 glue_spec, 2 dir
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : callbacks - direct: 202, indirect:
1349, total: 1551
mkiv lua stats : luatex banner - this is luatex, version
beta-0.40.0


Might it be related to the actual bugs in beta ?

best,
Amaël


___
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
___


Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Taco Hoekwater


Amaël Broustet wrote:
> Ok I thought i didn't need to do 
> luatools --generate 
> I run it and after that I got the same error with markIV that with
> markII :

After looking at your input, this is expected. The argument to
'size' is a dimension, so it should be followed by 'pt':

  \usemodule[simpleslides][style=BigNumber,font=Helvetica,size=24pt]

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


Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Amaël Broustet
Ok I just put in my essai.tex size=24pt istead of  size=24 and there
were no more errors.
But the generated pdf file is blank (2 pages wihtout test or graphic).
Best,
Amaël

Le jeudi 07 mai 2009 à 13:07 +0200, Amaël Broustet a écrit :
> Ok I thought i didn't need to do 
> luatools --generate 
> I run it and after that I got the same error with markIV that with
> markII :
> ~/context$ texexec --lua essai.tex

> ! Illegal unit of measure (pt inserted).
>  
>\relax 
> l.31 ...\moduleparameter{simpleslides}{size}\relax
>   
> ? 
> 

> 


___
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
___


Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Amaël Broustet
Thank you !!
As I wrote, I have a blank pdf (size is only 1700 bytes). 
>From the log (attached below), it's a problem with fonts :
there is a whole page of 

simpleslides: loading default font setup
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*24ptsstfss*

I'm reading messages about beta and font generation, maybe it's related.

Best
Amaël

Le jeudi 07 mai 2009 à 13:14 +0200, Taco Hoekwater a écrit :
> 
> Amaël Broustet wrote:
> > Ok I thought i didn't need to do 
> > luatools --generate 
> > I run it and after that I got the same error with markIV that with
> > markII :
> 
> After looking at your input, this is expected. The argument to
> 'size' is a dimension, so it should be followed by 'pt':
> 
>   \usemodule[simpleslides][style=BigNumber,font=Helvetica,size=24pt]
> 
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
This is LuaTeX, Version beta-0.40.0-200904 (Web2C 7.5.7) (format=cont-en 2009.5.7)  7 MAY 2009 13:12
 \write18 enabled.
**essai.tex
(essai.tex

ConTeXt  ver: 2009.05.07 12:10 MKIV  fmt: 2009.5.7  int: english/english

system  : essai.top loaded
%
%	begin of optionfile
%
%	% essai.top
%	\unprotect
%	\def\MPOSTformatswitch{-progname=metafun -mem=}
%	\setupsystem[\c!n=2,\c!m=3]
%	\setupsystem[\c!method=2]
%	\setupsystem[\c!type=linux]
%	\setupsystem[\c!random=734]
%	\setupsystem[inputfile=essai.tex]
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	\startsetups *runtime:modules
%	\stopsetups
%	\protect \endinput
%
%	end of optionfile
%
(essai.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module simpleslides loaded
(/home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex
loading : module simpleslides
system  : module default loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-default.tex
simpleslides: loading default style setup
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
)
system  : module BigNumber loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex
simpleslides: loading Big Number style
system  : command NormalHeight is already defined
system  : command NormalWidth is already defined
system  : command PictureFrameHeight is already defined
system  : command PictureFrameWidth is already defined
)
system  : module default loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*24ptsstfss*
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*16.8ptmmmr2ss*
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*24ptmmmr1ss*))
systems : begin file essai at line 9
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*30ptsstfss*
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*15ptmmmr3ss*
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*21ptmmmr2ss*
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*30ptmmmr1ss*
fonts   : needs map file: original-base
mplib   : making 'metafun.mp' into '/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem'
mplib   : problems with 'metafun.mp' from '/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem'
][1.1]
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*30ptsstfss*
define font | font wi

Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Thomas A. Schmitz


On May 7, 2009, at 1:27 PM, Amaël Broustet wrote:


Thank you !!
As I wrote, I have a blank pdf (size is only 1700 bytes).

From the log (attached below), it's a problem with fonts :

there is a whole page of

simpleslides: loading default font setup
define font | font with name unknown is not found
define font | unknown font unknown, loading aborted
define font | unable to define unknown as \*24ptsstfss*

I'm reading messages about beta and font generation, maybe it's  
related.


Best
Amaël


Hmm, I get proper output with the test document you sent, and I'm  
using the same version you are. Just to be safe, could you run these  
commands


1. rm ~/context/tex/texmf-cache/luatex-cache/*

2. luatools --generate

3. context --make

4. then rm all essai.tu* files and process essai.tex again with mkiv:

5. context essai

Sorry you're having so much trouble, as you may have seen, mkiv is  
having a particularly busy time right now; things will probably calm  
down during the next days.


Thomas
___
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
___


Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Aditya Mahajan

On Thu, 7 May 2009, Amaël Broustet wrote:


Ok I just put in my essai.tex size=24pt istead of  size=24 and there
were no more errors.
But the generated pdf file is blank (2 pages wihtout test or graphic).


Simpleslides comes with a test script. Try the following

  mkdir styles
  mtxrun --script simpleslides --styles=BigNumber --engine=context

This will create BigNumber-blue.pdf and BigNumber-red.pdf in the styles 
directory. Are these files correct?


Aditya___
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
___


Re: [NTG-context] simpleslides with minimals

2009-05-07 Thread Amaël
These files are fine. But still no luck with my sample file (I try to
remove font=Helvetica but it still not works).

Best,
Amaël  

Le jeudi 07 mai 2009 à 17:39 -0400, Aditya Mahajan a écrit :
> On Thu, 7 May 2009, Amaël Broustet wrote:
> 
> > Ok I just put in my essai.tex size=24pt istead of  size=24 and there
> > were no more errors.
> > But the generated pdf file is blank (2 pages wihtout test or graphic).
> 
> Simpleslides comes with a test script. Try the following
> 
>mkdir styles
>mtxrun --script simpleslides --styles=BigNumber --engine=context
> 
> This will create BigNumber-blue.pdf and BigNumber-red.pdf in the styles 
> directory. Are these files correct?
> 
> Aditya
> ___
>  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 
> ___

___
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
___


Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky

And another question: how can setup a background *image* for all slides?

Vyatcheslav

___
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
___


Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 1:30 PM, Vyatcheslav Yatskovsky wrote:

And another question: how can setup a background *image* for all  
slides?


Vyatcheslav



The cleanest way would be to write your own "submodule." It's easy;  
maybe just use one of the existing simpleslides-s-XXX.tex files and  
modify it; replace the lines


\defineoverlay
  [simpleslides:background:horizontal]
  [\useMPgraphic{simpleslides:MP:horizontal}]

with

\defineoverlay
  [simpleslides:background:horizontal]
  [{\externalfigure[][width=...]}]

Last semester, for the presentations in my class, I had defined a  
macro that would randomly pick one out of 25 pictures for every slide.  
I can send you the code if you want.


Thomas
___
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] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
Hi,

With the latest luatex change from
https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59
(and MKIV 2021-05-09 17:14:00) I get an input stack overflow:

simpleslides> loading style Boxed
system  > command '\NormalHeight' is already defined
system  > command '\NormalWidth' is already defined
system  > command '\PictureFrameHeight' is already defined
system  > command '\PictureFrameWidth' is already defined
close source> level 4, order 8, name
'/usr/share/texmf/tex/context/third/simpleslides/s-simpleslides-Boxed.tex'
close source> level 3, order 8, name
'/usr/share/texmf/tex/context/third/simpleslides/t-simpleslides.mkiv'
fonts   > bodyfont '24.0414pt' is defined (can better be done
global)
metapost> initializing instance 'metafun:1' using format 'metafun'
and method 'default'
metapost> loading 'metafun' as
'/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
'default'
metapost> initializing number mode 'scaled'
input stack overflow
mtx-context | fatal error: return code: 256

MWE from the documentation:
\usemodule[simpleslides][style=Boxed]
\setupTitle[title={Title of the presentation},author={Name of
authors},date={Date of presentation}]
\starttext
\placeTitle
\SlideTitle{The first slide}
Write whatever you want.
\SlideTitle{The second slide}
Continue writing.
\stoptext

Does that mean the simpleslides module has some recursion problems?
I have tried a couple of themes but getting the same error.

Adam
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] SimpleSlides and Visual counters

2021-11-16 Thread Aditya Mahajan via ntg-context
On Mon, 15 Nov 2021, Otared Kavian via ntg-context wrote:

Hi Otared,

> It seems that the visual counter in  SimpleSlides module (the version I have 
> from ConTeXt Garden is from 2014) does not work fine with the latest LMTX.
> Is the issue is known ? If so, is there a new version of SimpleSlides in 
> which the issue has been fixed ?

I haven't looked at simpleslides in over a decade! The module did use some 
low-level macros, which are unlikely to work with LMTX without change. 

It could also be a bug with visualcounter module. I haven't tested in with LMTX 
(I still use MkIV for most of my presentations). If you can post a minimal 
example, I could take a look.

Thanks,
Aditya

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] SimpleSlides and Visual counters

2021-11-16 Thread Otared Kavian via ntg-context
Hi Aditya,

Thank you for your attention and your kind reply.

I am sending a setup file with an example of presentation, which shows the 
issue with LMTX while with mkiv the result is fine.
Actually as you can see in the setup file, I have slightly modified the visula 
counter in order for it to be interactive (clicking in the center of the visula 
counter gives a jump to the previous location…).

Best regards: Otared



presentation.tex
Description: Binary data



conf-pre-setup.tex
Description: Binary data


> On 16 Nov 2021, at 18:34, Aditya Mahajan via ntg-context  
> wrote:
> 
> On Mon, 15 Nov 2021, Otared Kavian via ntg-context wrote:
> 
> Hi Otared,
> 
>> It seems that the visual counter in  SimpleSlides module (the version I have 
>> from ConTeXt Garden is from 2014) does not work fine with the latest LMTX.
>> Is the issue is known ? If so, is there a new version of SimpleSlides in 
>> which the issue has been fixed ?
> 
> I haven't looked at simpleslides in over a decade! The module did use some 
> low-level macros, which are unlikely to work with LMTX without change. 
> 
> It could also be a bug with visualcounter module. I haven't tested in with 
> LMTX (I still use MkIV for most of my presentations). If you can post a 
> minimal example, I could take a look.
> 
> Thanks,
> Aditya
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
Hi Aditya,

Some time ago I reported an issue with LMTX regarding your visual counter (at 
least the version used in the simpleslides module).
Now I think I have found where the issue comes from: it is due to the fact that 
somehow the conditional

if PageNumber > 2 :

[some code]

fi ;

is not treated correctly, and if one removes the conditional while keeping only 
[some code] above, then the visual counter is shown correctly. 

I am sending you the TeX file where you can see that if lines 17 and 46 are 
uncommented then the visual counter does not show up.

Thanks for your help: Otared K.



bug-visual-counter.tex
Description: Binary data




bug-visual-counter.pdf
Description: Adobe PDF document



> On 16 Nov 2021, at 23:11, Otared Kavian  wrote:
> 
> Hi Aditya,
> 
> Thank you for your attention and your kind reply.
> 
> I am sending a setup file with an example of presentation, which shows the 
> issue with LMTX while with mkiv the result is fine.
> Actually as you can see in the setup file, I have slightly modified the 
> visula counter in order for it to be interactive (clicking in the center of 
> the visula counter gives a jump to the previous location…).
> 
> Best regards: Otared
> 
> 
> 
> 
>> On 16 Nov 2021, at 18:34, Aditya Mahajan via ntg-context 
>>  wrote:
>> 
>> On Mon, 15 Nov 2021, Otared Kavian via ntg-context wrote:
>> 
>> Hi Otared,
>> 
>>> It seems that the visual counter in  SimpleSlides module (the version I 
>>> have from ConTeXt Garden is from 2014) does not work fine with the latest 
>>> LMTX.
>>> Is the issue is known ? If so, is there a new version of SimpleSlides in 
>>> which the issue has been fixed ?
>> 
>> I haven't looked at simpleslides in over a decade! The module did use some 
>> low-level macros, which are unlikely to work with LMTX without change. 
>> 
>> It could also be a bug with visualcounter module. I haven't tested in with 
>> LMTX (I still use MkIV for most of my presentations). If you can post a 
>> minimal example, I could take a look.
>> 
>> Thanks,
>> Aditya
>> 
>> ___
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ___
> 

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Thomas A. Schmitz via ntg-context


On 16.01.22 15:56, Otared Kavian via ntg-context wrote:

Hi Aditya,

Some time ago I reported an issue with LMTX regarding your visual counter (at 
least the version used in the simpleslides module).
Now I think I have found where the issue comes from: it is due to the fact that 
somehow the conditional

if PageNumber > 2 :

[some code]

fi ;


Hi Otared,

I'm not Aditya, but I've encountered the same problem within 
simpleslides. Can you replace PageNumber with RealPageNumber and see 
whether this solves your problem?


Best

Thomas
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
Hi Thomas,

Thanks for your attention. Indeed I could have asked you, but since Aditya 
answered my previous message I continued asking him…

Anyway, you are correct: replacing PageNumber with RealPageNumber everywhere, 
the visual counter is shown correctly…

For the sake of the mail archives, in case someone else encounters the issue, I 
add the example below.

Many thanks for help !
Best regards: Otared 

% begin interactive-visual-counter.tex
%% to use with the simpleslides module
\setupinteraction[state=start]
\usemodule[simpleslides]
[style=swoosh]

\startuseMPgraphic{simpleslides:MP:counter}
save b, s, t, p, circcenter, theta, pic ;
path p[] ;
pair t[] ;
pair s[] ;
pair circcenter ; 
circcenter = urcorner Page shifted (-1cm,-1cm) ; % the counter is shown 
in the upper right corner
%   circcenter = lrcorner Page shifted (-1cm,1cm) ; % the counter is shown 
in the lower right corner
pair zt, zr, zb, zl ;
picture pic ;
b = 1.5cm ;
if RealPageNumber > 1 : % the page after which the visual counter is 
shown
theta = (RealPageNumber - 1)/(NOfPages - 1) ;
p[4] = fullcircle scaled b rotated 90 ;
p[4] := p[4] shifted circcenter ;
fill p[4] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
t[0] = center p[4] ;
t[1] = point 1 along p[4] ;
t[2] = point -theta along p[4] ;
t[3] = point -theta/2 along p[4] ;
p[5] = t[0] -- t[1] .. t[3] .. t[2] -- cycle ;
fill p[5] withcolor \MPcolor{simpleslides:contrastcolor} ;
for i = 1 upto NOfPages :
s[i] = point i/(NOfPages -1) along p[4] ;
pickup pencircle scaled 1pt ;
draw s[i] -- t[0] 
withcolor 
\MPcolor{simpleslides:backgroundcolor} ;
endfor ;
zt = t[0] shifted (0, b * 0.2) ;
zr = t[0] shifted (b * 0.2, 0) ;
zb = t[0] shifted (0, -b * 0.2) ;
zl = t[0] shifted (-b * 0.2, 0) ;
p[3] = zt .. zr .. zb .. zl .. cycle ;
fill p[3] withcolor  \MPcolor{simpleslides:contrastcolor} ;
draw p[3] withcolor \MPcolor{simpleslides:backgroundcolor} ;
label(textext("\start\switchtobodyfont[10pt]%

\setupinteraction[color=simpleslides:backgroundcolor,style=normal]%
\startcolor[simpleslides:backgroundcolor]
\goto{\pagenumber}[PreviousJump]
\stopcolor\stop"),center p[3]) ;
fi ;
\stopuseMPgraphic

\starttext

\setupTitle
[title={Somewhere university},
author={Someone Else},
date={Somewhere, Someday 2021}]
\placeTitle

\page
\SlideTitle{Knuth} 

\input knuth.tex

\SlideTitle{Ward} 

\input ward.tex

\SlideTitle{Lorem} 

\input lorem.tex

\SlideTitle{Thuan} 

\input thuan.tex

\stoptext
% end interactive-visual-counter.tex



> On 16 Jan 2022, at 16:14, Thomas A. Schmitz via ntg-context 
>  wrote:
> 
> 
> On 16.01.22 15:56, Otared Kavian via ntg-context wrote:
>> Hi Aditya,
>> Some time ago I reported an issue with LMTX regarding your visual counter 
>> (at least the version used in the simpleslides module).
>> Now I think I have found where the issue comes from: it is due to the fact 
>> that somehow the conditional
>>  if PageNumber > 2 :
>>  
>>  [some code]
>>  fi ;
> 
> Hi Otared,
> 
> I'm not Aditya, but I've encountered the same problem within simpleslides. 
> Can you replace PageNumber with RealPageNumber and see whether this solves 
> your problem?
> 
> Best
> 
> Thomas
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Wolfgang and Aditya,

Is it possible to have a list of topics on a page when one uses the 
simpleslides module?
For instance when using the swoosh model, as in the following example, and then 
navigate to each topic with a link?

%%% begin example-swoosh.tex
\usemodule[simpleslides]
[style=swoosh]
\setupTitle
  [ title={Title of the presentation},
   author={Name of authors},
 date={Date of presentation},
  ]

\starttext
\placeTitle

\SlideTitle {Content of today’s talk}

Here we want a list of the topics, with a link to that topic…

\SlideTitle {First topic}
This is our first topic

\SlideTitle {Second topic}
This is our second topic

\stoptext

%%% end example-swoosh.tex
___
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] simpleslides - no macros found errors

2010-01-20 Thread Himanshu B. Dave
I am a new user of simpleslides.
Linux 2.6.21 kernel, Slackware 12.0, teTeX
installed latest version of t-simpleslides via t-simpleslides.zip in
/usr/share/texmf tree
Executed:   mktexlsr
confirmed:  appearance of t-simpleslides.tex in /usr/share/texmf/ls-R
confirmed:  path via kpsewhich t-simpleslides.tex
copied:  speaker_introduction-2min.tex  to my HOME directory, and
tried to compile it. Got the following errors:

system  : no macros found in module style=Boxed
system  : macros of module font=Bookman already loaded

... ... ...
! Undefined control sequence.
l.29 \SlideTitle
 {Speaker's Name}
?

Incidentally, context system itself is running OK.

Am I missing something? Or, doing something silly?
Help requested. Thanks.
___
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] Simpleslides module is broken?!

2010-10-31 Thread Aditya Mahajan

On Sun, 31 Oct 2010, Vyatcheslav Yatskovsky wrote:


Hi,

Please, help me a.s.a.p with Simpleslides module. I have a project 
sucessfully compiled a year and a half ago, and now it is broken.


Reduced script of my presentation:


Are you using MkII or MkIV?


\usemodule[simpleslides]
 [font=Gothic,
 style=Swoosh]

\language[ua]
\setupalign[stretch,hanging,hz]
\setupinteraction[state=start]
\setuppagetransitions[random]

\setupinteractionscreen
 [option=max,delay=10]

\setupcaptions[location=]

\setupTitle
[ title={\\ \bfa Кафедра \\ Авіаційних Комп'ютерно-\\ Інтегрованих 
Комплексів},

author={Факультет \\  Аерокосмічних Систем Управління},
date={}]

%\usemodule[t][fixme]

\defineoverlay
 [simpleslides:background:title]
 [{\externalfigure[Airbus-wing-over-sea-blue-sky-JR][factor=fit]}]

%%

\starttext

\placeTitle


\SlideTitle {Спеціальності}
Кафедра проводить пiдготовку спеціалістів за напрямом

0502 Автоматика та управління --

\bf 6.050202 автоматизація та комп'ютерно-інтегровані технології \tf
%\bf  компьютерно-итегрированным технологическим процессам и производствам. 
\tf


{
\startitemize
 \item
	автоматизоване управління комп’ютерно - інтегрованими \\ системами 
повітряних суден

 \item
автоматизоване проектування комп’ютерно - інтегрованих комплексів
 \item
технічний моніторинг комп’ютерно-інтегрованих комплексів.
\stopitemize
}

\stoptext


Problems observed when compiled today (I use the latest beta with --extra 
option):


* No Russian (Ukrainian) letters at all, only numbers and punctuation signs.


No idea about the fonts. I do not know whether the Gothic font contains 
Russian letters or not. You can try to use your own typescript using fonts 
that work with Russian. See pg 27 of the manual.


* The background image on the first page (the plane) is not fit to the page, 
but leaves blank stripes.


I do not have the figure, so I cannot test this. But I do get a complete 
gray box saying that the figure is missing. (Tested using MkIV)


Aditya___
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] Simpleslides module is broken?!

2010-10-31 Thread Wolfgang Schuster

Am 31.10.2010 um 20:43 schrieb Aditya Mahajan:

>> Problems observed when compiled today (I use the latest beta with --extra 
>> option):
>> 
>> * No Russian (Ukrainian) letters at all, only numbers and punctuation signs.
> 
> No idea about the fonts. I do not know whether the Gothic font contains 
> Russian letters or not. You can try to use your own typescript using fonts 
> that work with Russian. See pg 27 of the manual.

Older versions of the TeX Gyre fonts had cyrillic but the glyphs where removed 
from the fonts.

Wolfgang

___
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] Simpleslides module is broken?!

2010-10-31 Thread Vyatcheslav Yatskovsky
> Older versions of the TeX Gyre fonts had cyrillic but the glyphs 
where removed from the fonts.


OMG!

Wolfgang, please, tell me how to change the font in Simpleslides to any 
of Windows ones.


--
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] Simpleslides module is broken?!

2010-10-31 Thread Aditya Mahajan

On Sun, 31 Oct 2010, Vyatcheslav Yatskovsky wrote:

Older versions of the TeX Gyre fonts had cyrillic but the glyphs where 

removed from the fonts.

OMG!

Wolfgang, please, tell me how to change the font in Simpleslides to any of 
Windows ones.


As I said, read pg 27 if the simpleslides manual which explains how to 
choose your own fonts.


Aditya
___
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] Simpleslides module is broken?!

2010-10-31 Thread Giulio Bertellini
I added the following two lines

\usemodule[simplefonts]
\setmainfont[Minion Pro]

and I got the attached output. It is only a  problem of fons, I am
using ConTeXt
ver: 2010.10.14 13:14 MKIV  fmt: 2010.10.25  int: english/english.

giulio


On Sun, Oct 31, 2010 at 9:31 PM, Aditya Mahajan  wrote:

> On Sun, 31 Oct 2010, Vyatcheslav Yatskovsky wrote:
>
>  Older versions of the TeX Gyre fonts had cyrillic but the glyphs where
>>>
>> removed from the fonts.
>>
>> OMG!
>>
>> Wolfgang, please, tell me how to change the font in Simpleslides to any of
>> Windows ones.
>>
>
> As I said, read pg 27 if the simpleslides manual which explains how to
> choose your own fonts.
>
> Aditya
>
>
> ___
> 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
>
> ___
>


russian.pdf
Description: Adobe PDF document
___
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] Simpleslides module is broken?!

2010-10-31 Thread Giulio Bertellini
fonts

On Sun, Oct 31, 2010 at 11:22 PM, Giulio Bertellini wrote:

> I added the following two lines
>
> \usemodule[simplefonts]
> \setmainfont[Minion Pro]
>
> and I got the attached output. It is only a  problem of fons, I am using 
> ConTeXt
> ver: 2010.10.14 13:14 MKIV  fmt: 2010.10.25  int: english/english.
>
> giulio
>
>
> On Sun, Oct 31, 2010 at 9:31 PM, Aditya Mahajan  wrote:
>
>> On Sun, 31 Oct 2010, Vyatcheslav Yatskovsky wrote:
>>
>>  Older versions of the TeX Gyre fonts had cyrillic but the glyphs where

>>> removed from the fonts.
>>>
>>> OMG!
>>>
>>> Wolfgang, please, tell me how to change the font in Simpleslides to any
>>> of Windows ones.
>>>
>>
>> As I said, read pg 27 if the simpleslides manual which explains how to
>> choose your own fonts.
>>
>> Aditya
>>
>>
>> ___
>> 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
>>
>> ___
>>
>
>
___
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] Simpleslides module is broken?!

2010-10-31 Thread Vyatcheslav Yatskovsky

Hi,


I added the following two lines

\usemodule[simplefonts]
\setmainfont[Minion Pro]

and I got the attached output.


Thank you very much, indeed!

But in my output the font is smaller (I need it bigger), and the image
still does not 'fit'. Source and output are uploaded here (too big for
an attachment):

http://rapidshare.com/files/428217689/1.zip

--
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] Simpleslides module is broken?!

2010-10-31 Thread Aditya Mahajan

On Mon, 1 Nov 2010, Vyatcheslav Yatskovsky wrote:


Hi,


I added the following two lines

\usemodule[simplefonts]
\setmainfont[Minion Pro]

and I got the attached output.


Thank you very much, indeed!

But in my output the font is smaller (I need it bigger),


Then why don't you follow the advice of the manual and set the font size 
to \NormalSize?


\usemodule[simplefonts][size=\NormalSize]


and the image still does not 'fit'.


That is because the image is 1280x1024 (aspect ratio of 1.25 or 5:4) while 
the paper size has an aspect ratio of 4:3.


If you do not mind the distortion, use

\externalfigure[...][width=\paperwidth,height=\paperheight]

Aditya
___
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] Simpleslides module is broken?!

2010-11-01 Thread Vyatcheslav Yatskovsky

Thank you all for help!

I managed my task and can confirm that the subject is not valid -- 
Simpleslides module is operational! :)


--
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
___


[NTG-context] simpleslides placeTitle undefined control sequence

2012-11-16 Thread Ondřej Hošek
Hi,

I've encountered another simpleslides problem, which can probably be
chalked up to mkiv's "moving target" status.

Minimal example:

\usemodule[simpleslides]
\setupTitle[title=Hi]
\starttext
\placeTitle
\stoptext

Error with mkiv, ConTeXt 2012.11.14 11:37:

! Undefined control sequence.
{snip}
 \??vars 
   :simpleslides:title:
\dousestylehashparameter #1#2->\ifcsname #1
   #2\endcsname \expandafter
\douses...
\dostartattributes ...estylehashparameter {#1}{#2}

\dousecolorhashparameter {...
\placeTitle ...pleslides:title:}\c!style \c!color 

\simpleslidestitlecomponen...
l.4 \placeTitle

Cheers,
~~ Ondra

___
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] simpleslides ubuntu jaunty (9.04)

2009-05-07 Thread Thomas A. Schmitz


On May 6, 2009, at 6:59 PM, Amaël Broustet wrote:


Dear list members,
I'm a new user of conTeXt and was interested in the simpleslides  
module.


It looks great and partially works but most graphical stuffs don't
work :
I've only the text using Mark IV, and get some of the graphical  
effects

with Mark II  (but not all) (I've attached pdf output and logs).

I use a freshly installed ubuntu 9.04



It seems you are using the texlive install from ubuntu. Normally, I  
would advise installing the minimals (see http://wiki.contextgarden.net/ConTeXt_Minimals 
 ), but the ConTeXt beta is a bit unstable these days. I have run  
your essai.tex here and get proper output both in mkii and mkiv.



I've installed the module (in my ~/texmf).
I've added in /etc/environment the variable
TEXMFCNF=/usr/share/texmf/web2c in order for luatools and MarkIV to
work. cf
http://wiki.contextgarden.net/Debian_installation#Postscript:_Mark_IV
(the exemple file works)

Yes, your logs indicate that the module and its submodules are found,  
so the installation is correct.



versions :
$ texexec --lua -v
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

$ luatools -v
LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT

$ luatex -v
This is LuaTeX, Version snapshot-0.28.0-2009041620


I hope that you have some hints on what I might have wrong,
In mark IV, it looks like I have a version problem for metafun, but  
I'm

not sure and don't now how to get the version number.

Best regards
Amaël Broustet


In order to get the version number, simply look at the log files. It  
says in the first few lines:


ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2009.4.29  int: english/ 
english


and

ConTeXt  ver: 2008.05.21 15:21 MKIV  fmt: 2009.5.5  int: english/english

So your ConTeXt version is almost a year old. For mkiv, which is  
moving very fast, this means the stone age, and I don't think anybody  
will be able or willing to help you with such an old version. The  
problem in the mkiv log is that your metafun version is not able to  
process the background (after l. 80), that's why you don't get any  
graphics. In mkii, I don't see anything obvious in the log. But as I  
wrote: your example compiles fine here on the latest version

ConTeXt  ver: 2009.05.06 16:26 MKII  fmt: 2009.5.7  int: english/english

so you should try and install the minimals. It's no problem having  
them in addition to your system TeX installation, they shouldn't  
interfere.


Thomas
___
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
___


Re: [NTG-context] simpleslides with minimals : OK

2009-05-07 Thread Amaël
Merci 
Than you very much, it works !
I don't know why.
Just a question : what is the difference between "texexec --lua" and
context ?

Best,
Amaël 

Le jeudi 07 mai 2009 à 15:08 +0200, Thomas A. Schmitz a écrit :
> On May 7, 2009, at 1:27 PM, Amaël Broustet wrote:
> 
> > Thank you !!
> > As I wrote, I have a blank pdf (size is only 1700 bytes).
> >> From the log (attached below), s the iit's a problem with fonts :
> > there is a whole page of
> >
> > simpleslides: loading default font setup
> > define font | font with name unknown is not found
> > define font | unknown font unknown, loading aborted
> > define font | unable to define unknown as \*24ptsstfss*
> >
> > I'm reading messages about beta and font generation, maybe it's  
> > related.
> >
> > Best
> > Amaël
> 
> Hmm, I get proper output with the test document you sent, and I'm  
> using the same version you are. Just to be safe, could you run these  
> commands
> 
> 1. rm ~/context/tex/texmf-cache/luatex-cache/*
> 
> 2. luatools --generate
> 
> 3. context --make
> 
> 4. then rm all essai.tu* files and process essai.tex again with mkiv:
> 
> 5. context essai
> 
> Sorry you're having so much trouble, as you may have seen, mkiv is  
> having a particularly busy time right now; things will probably calm  
> down during the next days.
> 
> Thomas
> ___
> 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
> ___

___
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
___


Re: [NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
Hi,

Looks like it is a problem with "StartPage" and "StopPage" in metapost.

I get the same error with any MP graphic using those commands.

More minimal example (without simpleslides) as per the wiki:
https://wiki.contextgarden.net/Cover_Pages

colors  > 'rgb' color space is supported
colors  > 'cmyk' color space is supported
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
metapost> initializing instance 'metafun:1' using format 'metafun'
and method 'default'
metapost> loading 'metafun' as
'/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
'default'
metapost> initializing number mode 'scaled'
input stack overflow
mtx-context | fatal error: return code: 256

Commenting out "StartPage" and "StopPage" compiles.

mtx-context | current version: 2021.05.09 17:14
This is LuaTeX, Version 1.14.0
Development id: 7438

Adam

On Sun, May 9, 2021 at 9:57 PM Adam Reviczky  wrote:

> Hi,
>
> With the latest luatex change from
> https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59
> (and MKIV 2021-05-09 17:14:00) I get an input stack overflow:
>
> simpleslides> loading style Boxed
> system  > command '\NormalHeight' is already defined
> system  > command '\NormalWidth' is already defined
> system  > command '\PictureFrameHeight' is already defined
> system  > command '\PictureFrameWidth' is already defined
> close source> level 4, order 8, name
> '/usr/share/texmf/tex/context/third/simpleslides/s-simpleslides-Boxed.tex'
> close source> level 3, order 8, name
> '/usr/share/texmf/tex/context/third/simpleslides/t-simpleslides.mkiv'
> fonts   > bodyfont '24.0414pt' is defined (can better be done
> global)
> metapost> initializing instance 'metafun:1' using format 'metafun'
> and method 'default'
> metapost> loading 'metafun' as
> '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
> 'default'
> metapost> initializing number mode 'scaled'
> input stack overflow
> mtx-context | fatal error: return code: 256
>
> MWE from the documentation:
> \usemodule[simpleslides][style=Boxed]
> \setupTitle[title={Title of the presentation},author={Name of
> authors},date={Date of presentation}]
> \starttext
> \placeTitle
> \SlideTitle{The first slide}
> Write whatever you want.
> \SlideTitle{The second slide}
> Continue writing.
> \stoptext
>
> Does that mean the simpleslides module has some recursion problems?
> I have tried a couple of themes but getting the same error.
>
> Adam
>
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] simpleslides gives 'input stack overflow'

2021-05-10 Thread luigi scarso
On Sun, May 9, 2021 at 11:25 PM Adam Reviczky  wrote:

> Hi,
>
> Looks like it is a problem with "StartPage" and "StopPage" in metapost.
>
> I get the same error with any MP graphic using those commands.
>
> More minimal example (without simpleslides) as per the wiki:
> https://wiki.contextgarden.net/Cover_Pages
>
> colors  > 'rgb' color space is supported
> colors  > 'cmyk' color space is supported
> fonts   > preloading latin modern fonts (second stage)
> fonts   > 'fallback modern-designsize rm 12pt' is loaded
> metapost> initializing instance 'metafun:1' using format 'metafun'
> and method 'default'
> metapost> loading 'metafun' as
> '/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
> 'default'
> metapost> initializing number mode 'scaled'
> input stack overflow
> mtx-context | fatal error: return code: 256
>
> Commenting out "StartPage" and "StopPage" compiles.
>
> mtx-context | current version: 2021.05.09 17:14
> This is LuaTeX, Version 1.14.0
> Development id: 7438
>

it should be ok now in Development id: 7439
 (just for the records)

-- 
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Thomas A. Schmitz

On 15.09.2016 11:35, Otared Kavian wrote:

Is it possible to have a list of topics on a page when one uses the 
simpleslides module?
For instance when using the swoosh model, as in the following example, and then 
navigate to each topic with a link?


Hi Otared,

I'm neither Wolfgang nor Aditya, but the one who is currently in charge 
of the module (Aditya did not have time to do more work on it). The 
answer is: there are a few styles that have a topic list integrated, 
(such as FuzzyTopic), but not swoosh (and I don't see where such a list 
would be an esthetically pleasing fit on this design). As for 
interactive links: the simpleslides module doesn't have them since I 
have never understood who would use them (the way I use presentations is 
always linear; if you want to go back to a particular slide, you may 
want to look at a tool such as impressive). If somebody makes a 
convincing case, I might implement it.


Sorry for the negative answer, best wishes

Thomas
___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Thomas,

Thanks for your quick answer. Actually, mistakenly, I thought you had gave up 
the simplesildes module, not Aditya… And I included Wolfgang because he follows 
everything and has insight for everything…

Anyhow, thank you for sharing this nice module. Actually sometimes it is useful 
to have the interaction and some links working in a presentation, at least in 
maths. Imagine a case in which you introduce an equation and later on you refer 
to it and someone asks to show it again. 
Also it is handy to have a list of topics because this way one can go back 
easily to the page where the list is and go quickly to such and such topic. 
Moreover it happens that one can prepare a topic but not show it unless there 
is a specific demand.

Now, from an esthetic point of view for the swoosh, it is not obvious where to 
put the list, but when there are only a few topics (as is usually the case) 
then one can find an appropriate setting of the list.
Another solution would be to have the nice visual counter to be interactive and 
so clicking on a certain number would go to the wanted topic.

In any case thanks again!
Best regards: OK



> On 15 Sep 2016, at 11:50, Thomas A. Schmitz  
> wrote:
> 
> On 15.09.2016 11:35, Otared Kavian wrote:
>> Is it possible to have a list of topics on a page when one uses the 
>> simpleslides module?
>> For instance when using the swoosh model, as in the following example, and 
>> then navigate to each topic with a link?
> 
> Hi Otared,
> 
> I'm neither Wolfgang nor Aditya, but the one who is currently in charge of 
> the module (Aditya did not have time to do more work on it). The answer is: 
> there are a few styles that have a topic list integrated, (such as 
> FuzzyTopic), but not swoosh (and I don't see where such a list would be an 
> esthetically pleasing fit on this design). As for interactive links: the 
> simpleslides module doesn't have them since I have never understood who would 
> use them (the way I use presentations is always linear; if you want to go 
> back to a particular slide, you may want to look at a tool such as 
> impressive). If somebody makes a convincing case, I might implement it.
> 
> Sorry for the negative answer, best wishes
> 
> Thomas
> ___
> 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
> ___

___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Aditya Mahajan

On Thu, 15 Sep 2016, Otared Kavian wrote:


Hi Thomas,

Thanks for your quick answer. Actually, mistakenly, I thought you had gave up 
the simplesildes module, not Aditya… And I included Wolfgang because he follows 
everything and has insight for everything…

Anyhow, thank you for sharing this nice module. Actually sometimes it is useful to have the interaction and some links working in a presentation, at least in maths. Imagine a case in which you introduce an equation and later on you refer to it and someone asks to show it again. 
Also it is handy to have a list of topics because this way one can go back easily to the page where the list is and go quickly to such and such topic. Moreover it happens that one can prepare a topic but not show it unless there is a specific demand.


Now, from an esthetic point of view for the swoosh, it is not obvious where to 
put the list, but when there are only a few topics (as is usually the case) 
then one can find an appropriate setting of the list.
Another solution would be to have the nice visual counter to be interactive and 
so clicking on a certain number would go to the wanted topic.


I use my unreleased overview module to place a visual ToC at the end:
https://randomdeterminism.wordpress.com/2014/01/01/announcing-the-overview-module/

There have been some changes in the module since that blog post; the most 
up-to-date code is at github: 
https://github.com/adityam/context-overviewpage


I use this in two ways: Either in the conclusions as in the 2nd last slide 
at 
http://www.ece.mcgill.ca/~amahaj1/projects/real-time/slides/2016-wiopt.pdf


or as a visual ToC as in the last slide at
http://www.ece.mcgill.ca/~amahaj1/talks/rutgers-2015.pdf

There is very little documentation, but if you are interested I can write 
some notes on how to use the module.


Aditya___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Aditya and Thomas,

Thanks to both of your for your attention to my bizarre request.
Actually it is quite easy to have a page a list of the topics on a page, as one 
can see in the following example (please see below). Tne only thing I am 
lacking write now, is a trick to go the list of topics from any page, without 
adding manually a link to that page on each slide.

Another question: I am not at all familiar with the code you have written for 
the nice visual counter used in simpleslides module. Would it be possible to 
add interactivity to each portion of that visual counter, in such that upon 
clicking on that portion one jumps to the corresponding page?

Best regards: OK
%%% begin example-swoosh-topics.tex
\usemodule[simpleslides]
[style=swoosh]

\setupinteraction[state=start]

\definelist[ListOfTopics]
\setuplist[ListOfTopics][alternative=f]

\define[1]\Topic{%
\SlideTitle{#1}
\unexpanded\define\TopicTitle{#1}
\writetolist[ListOfTopics]{}{#1}
}
\define\Slide{\SlideTitle{\TopicTitle}}

\define[1]\placeListOfTopics{%
\SlideTitle{#1}
\startalignment[middle]
\completelist[ListOfTopics]
\stopalignment}

\setupTitle
  [ title={Title of the presentation},
   author={Name of authors},
 date={Date of presentation},
  ]

\starttext
\placeTitle

\placeListOfTopics{Today's talk}

\Topic{First topic}
We introduce here our first topic: to find a solution to\dots

\Slide

The first slide.

Write whatever you want.

\Slide

The second slide.

Continue writing.

\Topic{Second topic}
We introduce here our second topic: to find another solution to\dots

\Slide

The first slide.

Write whatever you want.

\Slide

The second slide.

Continue writing.

\stoptext
%%% end example-swoosh-topics.tex

> On 15 Sep 2016, at 17:05, Aditya Mahajan  wrote:
> 
> On Thu, 15 Sep 2016, Otared Kavian wrote:
> 
>> Hi Thomas,
>> 
>> Thanks for your quick answer. Actually, mistakenly, I thought you had gave 
>> up the simplesildes module, not Aditya… And I included Wolfgang because he 
>> follows everything and has insight for everything…
>> 
>> Anyhow, thank you for sharing this nice module. Actually sometimes it is 
>> useful to have the interaction and some links working in a presentation, at 
>> least in maths. Imagine a case in which you introduce an equation and later 
>> on you refer to it and someone asks to show it again. Also it is handy to 
>> have a list of topics because this way one can go back easily to the page 
>> where the list is and go quickly to such and such topic. Moreover it happens 
>> that one can prepare a topic but not show it unless there is a specific 
>> demand.
>> 
>> Now, from an esthetic point of view for the swoosh, it is not obvious where 
>> to put the list, but when there are only a few topics (as is usually the 
>> case) then one can find an appropriate setting of the list.
>> Another solution would be to have the nice visual counter to be interactive 
>> and so clicking on a certain number would go to the wanted topic.
> 
> I use my unreleased overview module to place a visual ToC at the end:
> https://randomdeterminism.wordpress.com/2014/01/01/announcing-the-overview-module/
> 
> There have been some changes in the module since that blog post; the most 
> up-to-date code is at github: https://github.com/adityam/context-overviewpage
> 
> I use this in two ways: Either in the conclusions as in the 2nd last slide at 
> http://www.ece.mcgill.ca/~amahaj1/projects/real-time/slides/2016-wiopt.pdf
> 
> or as a visual ToC as in the last slide at
> http://www.ece.mcgill.ca/~amahaj1/talks/rutgers-2015.pdf
> 
> There is very little documentation, but if you are interested I can write 
> some notes on how to use the module.
> 
> Aditya___
> 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
> ___

___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Aditya,

I’ll have a look at the examples you are mentionning: thanks for sharing.

As I said in another message, for now I can use the simpleslides module, which 
is already full of features for me.

Best regards: OK

> On 15 Sep 2016, at 17:05, Aditya Mahajan  wrote:
> 
> On Thu, 15 Sep 2016, Otared Kavian wrote:
> 
>> Hi Thomas,
>> 
>> Thanks for your quick answer. Actually, mistakenly, I thought you had gave 
>> up the simplesildes module, not Aditya… And I included Wolfgang because he 
>> follows everything and has insight for everything…
>> 
>> Anyhow, thank you for sharing this nice module. Actually sometimes it is 
>> useful to have the interaction and some links working in a presentation, at 
>> least in maths. Imagine a case in which you introduce an equation and later 
>> on you refer to it and someone asks to show it again. Also it is handy to 
>> have a list of topics because this way one can go back easily to the page 
>> where the list is and go quickly to such and such topic. Moreover it happens 
>> that one can prepare a topic but not show it unless there is a specific 
>> demand.
>> 
>> Now, from an esthetic point of view for the swoosh, it is not obvious where 
>> to put the list, but when there are only a few topics (as is usually the 
>> case) then one can find an appropriate setting of the list.
>> Another solution would be to have the nice visual counter to be interactive 
>> and so clicking on a certain number would go to the wanted topic.
> 
> I use my unreleased overview module to place a visual ToC at the end:
> https://randomdeterminism.wordpress.com/2014/01/01/announcing-the-overview-module/
> 
> There have been some changes in the module since that blog post; the most 
> up-to-date code is at github: https://github.com/adityam/context-overviewpage
> 
> I use this in two ways: Either in the conclusions as in the 2nd last slide at 
> http://www.ece.mcgill.ca/~amahaj1/projects/real-time/slides/2016-wiopt.pdf
> 
> or as a visual ToC as in the last slide at
> http://www.ece.mcgill.ca/~amahaj1/talks/rutgers-2015.pdf
> 
> There is very little documentation, but if you are interested I can write 
> some notes on how to use the module.
> 
> Aditya___
> 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
> ___

___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Thomas A. Schmitz

On 15.09.2016 12:11, Otared Kavian wrote:

Hi Thomas,

Thanks for your quick answer. Actually, mistakenly, I thought you had gave up 
the simplesildes module, not Aditya… And I included Wolfgang because he follows 
everything and has insight for everything…

Anyhow, thank you for sharing this nice module. Actually sometimes it is useful 
to have the interaction and some links working in a presentation, at least in 
maths. Imagine a case in which you introduce an equation and later on you refer 
to it and someone asks to show it again.
Also it is handy to have a list of topics because this way one can go back 
easily to the page where the list is and go quickly to such and such topic. 
Moreover it happens that one can prepare a topic but not show it unless there 
is a specific demand.

Now, from an esthetic point of view for the swoosh, it is not obvious where to 
put the list, but when there are only a few topics (as is usually the case) 
then one can find an appropriate setting of the list.
Another solution would be to have the nice visual counter to be interactive and 
so clicking on a certain number would go to the wanted topic.

In any case thanks again!
Best regards: OK


Hi Otared,

I think you're best off following Aditya's suggestion. Excuse me for 
saying that I still don't find your use case quite compelling and would 
be very reluctant to introduce a change in design which rests on so many 
ifs (if there are only few topics and if interaction is desired...). 
Moreover, I'm not quite certain what you're looking for: a special slide 
that will hold some sort of TOC? Or a list of topics that will be 
displayed on every slide (as in s-pre-19, provided in the distribution)? 
What is a "topic": every slide title? Or a sort of section that will 
encompass several slides?


As for the counter: that may be possible, but is far beyond my coding 
ability. There is an interactionmenu which is part of the distribution 
(see scrn-but.mkvi); maybe it would be easier if you used this rather 
than the counters provided by simpleslides.


All best

Thomas
___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Aditya Mahajan
Another question: I am not at all familiar with the code you have 
written for the nice visual counter used in simpleslides module. Would 
it be possible to add interactivity to each portion of that visual 
counter, in such that upon clicking on that portion one jumps to the 
corresponding page?


Not really. The visual counter code is simply using \rawcountervalue and 
\lastcountervalue to draw a metapost graphic. I don't know of an easy way 
to add a link to "page where this counter has value n". Nor do I know how 
to add interaction to a metapost image.


Hans had written some visual progressbars that use \vrule and variants 
(and only work for pagenumber counter), that can jump to a specific page 
when you click on them.


Aditya
___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Thomas,

A topic for me is just the title of a section (or chapter): in a presentation 
it happens that one has a few of them, and in my case certainly less than ten. 
It is useful to be able to go back to the list of these topics and jump to one 
of them. But you are right, usually a presentation is in principle linear.

Actually what I wanted to do was just to put a list of my topics on one page 
(and this can be done easily), and then what is lacking at the moment is a link 
to jump to that page from any other slide.
For the latter aspect, I think I can cook up a (non optimal) solution for now.

I understand that what I am looking for, may not be justified in most cases, 
and thus I do not at all suggest that you should modify anything in the 
simpleslides module… The idea of your module is to remain simple, and simple is 
beautiful!


Thanks again for your attention and your remarks.
Best regards: OK

> On 15 Sep 2016, at 22:30, Thomas A. Schmitz  
> wrote:
> 
> On 15.09.2016 12:11, Otared Kavian wrote:
>> Hi Thomas,
>> 
>> Thanks for your quick answer. Actually, mistakenly, I thought you had gave 
>> up the simplesildes module, not Aditya… And I included Wolfgang because he 
>> follows everything and has insight for everything…
>> 
>> Anyhow, thank you for sharing this nice module. Actually sometimes it is 
>> useful to have the interaction and some links working in a presentation, at 
>> least in maths. Imagine a case in which you introduce an equation and later 
>> on you refer to it and someone asks to show it again.
>> Also it is handy to have a list of topics because this way one can go back 
>> easily to the page where the list is and go quickly to such and such topic. 
>> Moreover it happens that one can prepare a topic but not show it unless 
>> there is a specific demand.
>> 
>> Now, from an esthetic point of view for the swoosh, it is not obvious where 
>> to put the list, but when there are only a few topics (as is usually the 
>> case) then one can find an appropriate setting of the list.
>> Another solution would be to have the nice visual counter to be interactive 
>> and so clicking on a certain number would go to the wanted topic.
>> 
>> In any case thanks again!
>> Best regards: OK
> 
> Hi Otared,
> 
> I think you're best off following Aditya's suggestion. Excuse me for saying 
> that I still don't find your use case quite compelling and would be very 
> reluctant to introduce a change in design which rests on so many ifs (if 
> there are only few topics and if interaction is desired...). Moreover, I'm 
> not quite certain what you're looking for: a special slide that will hold 
> some sort of TOC? Or a list of topics that will be displayed on every slide 
> (as in s-pre-19, provided in the distribution)? What is a "topic": every 
> slide title? Or a sort of section that will encompass several slides?
> 
> As for the counter: that may be possible, but is far beyond my coding 
> ability. There is an interactionmenu which is part of the distribution (see 
> scrn-but.mkvi); maybe it would be easier if you used this rather than the 
> counters provided by simpleslides.
> 
> All best
> 
> Thomas
> ___
> 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
> ___

___
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] Simpleslides presentation: list of topics

2016-09-15 Thread Aditya Mahajan
Actually what I wanted to do was just to put a list of my topics on one 
page (and this can be done easily), and then what is lacking at the 
moment is a link to jump to that page from any other slide.


I simply put the overview page (it could be the TOC in your case) on the 
last page. Then press "End" to jump to it. No hyperlinks required :-)


Aditya
___
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] simpleslides - no macros found errors

2010-01-20 Thread Taco Hoekwater

Himanshu B. Dave wrote:

I am a new user of simpleslides.
Linux 2.6.21 kernel, Slackware 12.0, teTeX
installed latest version of t-simpleslides via t-simpleslides.zip in
/usr/share/texmf tree
Executed:   mktexlsr
confirmed:  appearance of t-simpleslides.tex in /usr/share/texmf/ls-R
confirmed:  path via kpsewhich t-simpleslides.tex
copied:  speaker_introduction-2min.tex  to my HOME directory, and
tried to compile it. Got the following errors:

system  : no macros found in module style=Boxed
system  : macros of module font=Bookman already loaded

... ... ...
! Undefined control sequence.
l.29 \SlideTitle
 {Speaker's Name}
?

Incidentally, context system itself is running OK.

Am I missing something? Or, doing something silly?


For 'context' (which is context mark iv, as apposed to texexec which
is context mark ii) you have to run luatools --generate instead of
mktexlsr.

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] simpleslides - no macros found errors

2010-01-21 Thread Aditya Mahajan

On Thu, 21 Jan 2010, Himanshu B. Dave wrote:


I am a new user of simpleslides.
Linux 2.6.21 kernel, Slackware 12.0, teTeX

  ^^

Which version of context does tetex use? You can check with

ctxtools --contextversion



installed latest version of t-simpleslides via t-simpleslides.zip in
/usr/share/texmf tree
Executed:   mktexlsr
confirmed:  appearance of t-simpleslides.tex in /usr/share/texmf/ls-R
confirmed:  path via kpsewhich t-simpleslides.tex
copied:  speaker_introduction-2min.tex  to my HOME directory, and
tried to compile it. Got the following errors:

system  : no macros found in module style=Boxed
system  : macros of module font=Bookman already loaded


At first glance it seems that you are using too old a version of context, 
one that does not understand passing of options to \usemodule.


Aditya
___
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
___


  1   2   >