[NTG-context] Presentation

2005-08-03 Thread Jessica Holle
Hi,

I've searching for a dokumentation how to build a presentation, like
in Powerpoint but better :-) with ConTeXt.
I haven't found somethink in the PDF's on the Pragma page and on the
Wiki.
Only the Raw Steps module, which I doesn't understand.
Has somebody information to this theme?

Greetings

Jessica

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


Re: [NTG-context] Presentation

2005-08-03 Thread Brooks Moses

At 12:09 AM 8/3/2005, Jessica Holle wrote:

I've searching for a dokumentation how to build a presentation, like
in Powerpoint but better :-) with ConTeXt.
I haven't found somethink in the PDF's on the Pragma page and on the
Wiki.
Only the Raw Steps module, which I doesn't understand.
Has somebody information to this theme?


There should be quite a bit around; I think you're just not finding 
it.  (Unfortunately, it's rather late here, so I shall leave that to 
someone else)


One thing that you might find useful as an example, though, is a 
presentation that I recently created in ConTeXt, and then put online (with 
both the PDF and the ConTeXt source available -- though, without the images 
and the fonts, it's a little hard to process directly).  That's on my 
webpage here:


  http://dpdx.net/research/papers/ILASS2005_Moses_abstract.html

(See the Slides: tex and pdf links.)

- Brooks

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


Antwort: Re: [NTG-context] Presentation

2005-08-03 Thread Jessica Holle

Thanks, this looks good :-)
I try to build my own presentation.

When someone has more detailed dokumentations, please let me know.
I've found only the show-pre.pdf but when there are more dokus let
me know

Greetings Jessica

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


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Willi Egger

Hi Hans,

I donwloaded the big Mscontext.zip. After installing and generating the
formats placing the spell-*.txt files (which are not included in the big
zip), including the import scite-ctx in the user file and setting the
environmnet variable I tried to get the spell-checking options working.

When starting Scite from the commandline with
cscite c:\usr\local\context
now messages turn up in the right pane of Scite.
Pressing shift+F11 results in a small dropdown box, offering the options
 Auto Wrap Margin Wrap and Discard Wrap and under the line
Process Text -- Activating Process Text does not cause any action.
The tools menu does not show any spellchecking options.
Still I see that the properties of context, default and scite-ctx are
loaded in the list of the options menu.
Might there be a stack problem? I coud immagine this, because I had to
comment several of the import statements in the global.properties file
before Scite would import context.properties and default.properties
which reside at the end of the list.

Willi


Hans Hagen wrote:

Willi Egger wrote:

As in my other post is mentioned now there is an error while scite 
attempts to load lua.



Also in the big zipped version ?

I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt

{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file



fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) 
Hans

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

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


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


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Willi Egger

Hi Hans,

I donwloaded the big Mscontext.zip. After installing and generating the 
formats placing the spell-*.txt files (which are not included in the big 
zip), including the import scite-ctx in the user file and setting the 
environmnet variable I tried to get the spell-checking options working.


When starting Scite from the commandline with
cscite c:\usr\local\context
now messages turn up in the right pane of Scite.
Pressing shift+F11 results in a small dropdown box, offering the options 
 Auto Wrap Margin Wrap and Discard Wrap and under the line 
Process Text -- Activating Process Text does not cause any action.

The tools menu does not show any spellchecking options.
Still I see that the properties of context, default and scite-ctx are 
loaded in the list of the options menu.
Might there be a stack problem? I coud immagine this, because I had to 
comment several of the import statements in the global.properties file 
before Scite would import context.properties and default.properties 
which reside at the end of the list.


Willi


Hans Hagen wrote:

Willi Egger wrote:

As in my other post is mentioned now there is an error while scite 
attempts to load lua.



Also in the big zipped version ?

I downloaded the mswintex.zip of 30-07-05. After installing I see no 
major problems with different testfiles. Of course the lua loading 
error remains.
Further I detected: that there must have been changes in the Antykwa 
Torunska environment:


...
texnansi-antt
fonts   : using map file: rm-antt
fonts   : using map file: mi-antt
fonts   : using map file: sy-antt
fonts   : using map file: ex-antt

{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file



fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) 
Hans

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

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

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


Re: [NTG-context] mswincontext.zip

2005-08-03 Thread Willi Egger

Also BitDefender does not complain about any problem in the mswincontext.zip

Willi

Lutz Haseloff wrote:

Hi all,

Coydell Rivers schrieb:

Let me gladly, and openly report that the latest release of 
mswincontext.zip, had no files detected as a virus from AVG Free.
 




On my System (Win XP) F-Secure AV remains complaining about
Trojan.Win32.Agent.ez in texmfstart.exe (timestamp: 03.08.05 00:15).

I had to put this file into the exclude list for F-Secure by hand.

btw ClamWin doesn't find any suspect in mswintex.zip


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

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


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Hans Hagen

Willi Egger wrote:


Pressing shift+F11 results in a small dropdown box, offering the options
 Auto Wrap Margin Wrap and Discard Wrap and under the line
Process Text -- Activating Process Text does not cause any action.
The tools menu does not show any spellchecking options.


how about the 'check' option

also, you need to tell what language you use (top of file % language=nl)


Still I see that the properties of context, default and scite-ctx are
loaded in the list of the options menu.



{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file



i added these



fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) Hans




there is a problem with kurier, seems that the font files were renamed 
so there is a map file mismatch


Hans

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

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


Re: [NTG-context] Scite spelling support

2005-08-03 Thread Willi Egger

Hi Hans,

Hans Hagen wrote:

Willi Egger wrote:


Pressing shift+F11 results in a small dropdown box, offering the options
 Auto Wrap Margin Wrap and Discard Wrap and under the line
Process Text -- Activating Process Text does not cause any action.
The tools menu does not show any spellchecking options.



how about the 'check' option


Hm, unfortunatley there is no 'check' option neither in the dropdown nor 
in the tools menu. As already said, I miss all the menue of 
spellchecking in the toosl menu.




also, you need to tell what language you use (top of file % language=nl)


Still I see that the properties of context, default and scite-ctx are
loaded in the list of the options menu.




{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-urw-zapfchan 

.map}{c:\NEWCON~1\tex\texmf-fonts/fonts/map/pdftex/context/texnansi-public-antp 


.map}{c:\NEWCON~1\tex\texmf/fonts/map/pdftex/context/texnansi-antt.map}
Warning: pdfetex.exe (file rm-antt.map): cannot open font map file

Warning: pdfetex.exe (file mi-antt.map): cannot open font map file

Warning: pdfetex.exe (file sy-antt.map): cannot open font map file

Warning: pdfetex.exe (file ex-antt.map): cannot open font map file




i added these


This part works fine with the mswin context-installation. Thanks!





fixed (i hope); i also added iwona and kurier and removed plr/csr/vnr 
since we have mlr (oeps, i need to remove aer too) Hans





there is a problem with kurier, seems that the font files were renamed 
so there is a map file mismatch


I did not yet try the new fonts ...

Willi


Hans

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

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

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


Re: [NTG-context] Presentation

2005-08-03 Thread Maurice Diamantini


Le 3 août 05 à 10:02, Brooks Moses a écrit :


One thing that you might find useful as an example, though, is a  
presentation that I recently created in ConTeXt, and then put  
online (with both the PDF and the ConTeXt source available --  
though, without the images and the fonts, it's a little hard to  
process directly).  That's on my webpage here:


  http://dpdx.net/research/papers/ILASS2005_Moses_abstract.html

(See the Slides: tex and pdf links.)



Nice self contained slides, thanks you for the model;
but the pdf link for the slides actualy links to the tex files
(changing the .tex suffix to .pdf is OK)



- Brooks

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






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


Re: [NTG-context] Presentation

2005-08-03 Thread Wolfgang Zillig

Hello Brooks,

nice presentation! With which software do you produce your graphics?

Wolfgang

Maurice Diamantini schrieb:



Le 3 août 05 à 10:02, Brooks Moses a écrit :


One thing that you might find useful as an example, though, is a  
presentation that I recently created in ConTeXt, and then put  online 
(with both the PDF and the ConTeXt source available --  though, 
without the images and the fonts, it's a little hard to  process 
directly).  That's on my webpage here:


  http://dpdx.net/research/papers/ILASS2005_Moses_abstract.html

(See the Slides: tex and pdf links.)



Nice self contained slides, thanks you for the model;
but the pdf link for the slides actualy links to the tex files
(changing the .tex suffix to .pdf is OK)



- Brooks

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






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



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


Re:[NTG-context] Presentation

2005-08-03 Thread piskala upendran
Hi, Jessica

The context/base has so many modules s-pre-**.tex. At
the end of the module you have the examples are given.
copy the examples in seperate file and add the module
no name from with the example was taken.

\usemodule[pre-**]
 and compile the files. iam sure you can select your
flavour. you can also tweat the colors to suit your
requirement.

thanks
upendran

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Presentation

2005-08-03 Thread Matthias Weber

Hi Jessica et al too,

I can only support what Upendran wrote. A while ago I asked about 
presentation styles on this list,
and got the hints to look at the source of them. You do not even to 
write your own style in the beginning,

you can just overwrite the definitions to change the settings.
I was reluctant to look at source  code at first, but it was
much simpler and more educational I had imagined.

Matthias

On Aug 3, 2005, at 8:31 AM, piskala upendran wrote:


Hi, Jessica

The context/base has so many modules s-pre-**.tex. At
the end of the module you have the examples are given.
copy the examples in seperate file and add the module
no name from with the example was taken.

\usemodule[pre-**]
 and compile the files. iam sure you can select your
flavour. you can also tweat the colors to suit your
requirement.

thanks
upendran

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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


Re: [NTG-context] Presentation

2005-08-03 Thread Brooks Moses

At 06:25 AM 8/3/2005, Wolfgang Zillig wrote:

Hello Brooks,

nice presentation! With which software do you produce your graphics?


Thanks!

I used TecPlot for those, since our department has a site 
license.  (Unfortunately, it seems to be one of the sorts of software that 
is difficult to purchase as an individual, so I'll have to find something 
else once I graduate.)


For importing the images into ConTeXt, I printed them using Acrobat 5.0's 
print to PDF driver, and then did some minor cropping before importing them.



Maurice Diamantini schrieb:

Nice self contained slides, thanks you for the model;
but the pdf link for the slides actualy links to the tex files
(changing the .tex suffix to .pdf is OK)


Ah, indeed.  That should be corrected now; thanks for telling me.

- Brooks

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


Re: [NTG-context] Presentation

2005-08-03 Thread andrea valle

Hi,
very interesting. But I'm having troubles. Probably because I'm pretty 
new to this kind of stuff (I'm using ConTeXt very basically).


I made a demoTest.tex filestarting from s-pre-22.tex.
I copied the demo part of s-pre-22.

Here it is:

%D \module
%D   [  file=s-pre-22,

\usemodule[s-pre-22]
%D The demo text.

\starttext
etc.


Now,  I compiled but I obtained:

! Undefined control sequence.
l.9 \TitlePage
  {Indeed}{The Title Page}


What am I missing?

Thanks a lot

-a-




On 3 Aug 2005, at 15:31, piskala upendran wrote:


Hi, Jessica

The context/base has so many modules s-pre-**.tex. At
the end of the module you have the examples are given.
copy the examples in seperate file and add the module
no name from with the example was taken.

\usemodule[pre-**]
 and compile the files. iam sure you can select your
flavour. you can also tweat the colors to suit your
requirement.

thanks
upendran

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



Andrea Valle
Laboratorio multimediale G. Quazza
Facoltà di Scienze della Formazione
Università degli Studi di Torino
[EMAIL PROTECTED]

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


Re: [NTG-context] Presentation

2005-08-03 Thread Matthias Weber

It does work here. Make sure that your file begins like

\usemodule[s-pre-22]

\starttext

\TitlePage{Indeed}{The Title Page}

\StartSummary{Alpha}{Title}
  A simple and not too long text just to show the topic.
  A simple and not too long text just to show the topic.
  A simple and not too long text just to show the topic.
\StopSummary

etc etc

and that it finds s-pre-22.tex . I does so here without problems, and 
I'm sure it should, but if you still get that error message,
copy s-pre-22.tex into the same directory as the sample file, and try 
again. If it works now, you should reinstall ConTeXt at some point
to make sure you have a working installation, if it doesn't, you need 
the help of somebody more knowledgeable...


Matthias



On Aug 3, 2005, at 3:36 PM, andrea valle wrote:


Hi,
very interesting. But I'm having troubles. Probably because I'm pretty 
new to this kind of stuff (I'm using ConTeXt very basically).


I made a demoTest.tex filestarting from s-pre-22.tex.
I copied the demo part of s-pre-22.

Here it is:

%D \module
%D   [  file=s-pre-22,

\usemodule[s-pre-22]
%D The demo text.

\starttext
etc.


Now,  I compiled but I obtained:

! Undefined control sequence.
l.9 \TitlePage
  {Indeed}{The Title Page}


What am I missing?

Thanks a lot

-a-




On 3 Aug 2005, at 15:31, piskala upendran wrote:


Hi, Jessica

The context/base has so many modules s-pre-**.tex. At
the end of the module you have the examples are given.
copy the examples in seperate file and add the module
no name from with the example was taken.

\usemodule[pre-**]
 and compile the files. iam sure you can select your
flavour. you can also tweat the colors to suit your
requirement.

thanks
upendran

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



Andrea Valle
Laboratorio multimediale G. Quazza
Facoltà di Scienze della Formazione
Università degli Studi di Torino
[EMAIL PROTECTED]

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


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


[NTG-context] \placelist disturbs grid?

2005-08-03 Thread Vit Zyka

Hello Hans, Taco, and the next gurus,

sorry for bother with another thing I can not understand. Very high 
glyphs like \v S disturb grid in the \placelist. The same glyph in the 
common paragraph with the same (intentionally) interline setting 
preserves grid:


---
\setupbodyfont[10pt,rm]
\setupinterlinespace[line=12pt]
\setuplayout[grid=yes,width=8cm]
\showgrid

\writetolist[section]{}{See the next line:}
\writetolist[section]{}{\v Sejba}
\writetolist[section]{}{Another list line}

\starttext
\v Sejba\par
Here grid is OK, but in \type{placelist}:

\placelist[section]

no!
\stoptext
--
I was looking in definitions for some font-size dependent line setting, 
I also tried to

\setuplist[section]{style=\baselineskip=12pt\lineskiplimit=-10pt}
but without success to lounging on the grid.

Can somebody help me, please?
vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] What's the easiest way to create numbered captions?

2005-08-03 Thread Eugene Toporov
Hello!

I've faced a problem briefly discussed before... when the table (natural table) placed using sample below is not split to pages:

\placetable[here][mytable1]{Table Caption}{
\bTABLE[split=repeat]
 \bTR \bTH Header\eTH \eTR 
\dorecurse{150}{
 \bTR \bTD row text \eTD \eTR}
\eTABLE
}

Everything works fine if I do not use \placetable. But I do not have
the numbered caption in this case and cannot reference this table in a
link.

Is there any other simple way to give tables (even not only tables) a caption with number?

I almost made it using the numbered labels the like below:

\definelabel[tableLable][text=Table,headstyle=boldslanted]

\tableLable \em{ Table Caption}
\reference[mytable1]{Table Caption}
\bTABLE[split=repeat]
 \bTR \bTH Header\eTH \eTR 
\dorecurse{150}{

 \bTR \bTD row text \eTD \eTR}

\eTABLE
This way I can have numbered caption where I need, which is almost cool.
But the problem is that I cannot create table link with text Table N.N Table_Caption

\in{Table}[mytable1] gives the link like Table Table_Caption and I cannot add number there :(

I hope I miss something really obvious,

Thanks everyone in advance!
-- Regards.Eugene Toporov
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \placelist disturbs grid?

2005-08-03 Thread Hans Hagen

Vit Zyka wrote:


Hello Hans, Taco, and the next gurus,

sorry for bother with another thing I can not understand. Very high 
glyphs like \v S disturb grid in the \placelist. The same glyph in the 
common paragraph with the same (intentionally) interline setting 
preserves grid:


---
\setupbodyfont[10pt,rm]
\setupinterlinespace[line=12pt]
\setuplayout[grid=yes,width=8cm]
\showgrid

\writetolist[section]{}{See the next line:}
\writetolist[section]{}{\v Sejba}
\writetolist[section]{}{Another list line}

\starttext
\v Sejba\par
Here grid is OK, but in \type{placelist}:

\placelist[section]

no!
\stoptext
--
I was looking in definitions for some font-size dependent line 
setting, I also tried to

\setuplist[section]{style=\baselineskip=12pt\lineskiplimit=-10pt}
but without success to lounging on the grid.



this is the default ratio:

\setupinterlinespace
 [height=.72,
  depth=.28]

you can change that (as long as it adds up to 1.0) 

Hans 


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

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


[NTG-context] XY arranging ignores dx/dy

2005-08-03 Thread Angus Lees
The XY arranging macro basically ignores dx/dy parameters by always
padding out the space between pages.

Here's the existing ConTeXt macro for reference - removing \vss and
\hss makes it do the right thing (imo).  I'd give a simple patch, but
I think the ideal behaviour might be to pad if (and only if) dx/dy
were not specified, which is starting to push my TeX skills.

\def\pusharrangedpageXY#1%
  {\doglobal\increment\arrangedpageN
   \reportarrangedpage\arrangedpageN
   \doglobal\increment\arrangedpageM
   \global\setbox\arrangedpageB\hbox
 \ifdim\@@ppwidth\zeropoint to \@@ppwidth \fi
 {\ifvoid\arrangedpageB\else
\unhbox\arrangedpageB\hss\hskip\@@ppdx\hss
  \fi
  \box#1}%
   \ifnum\arrangedpageM\arrangedpageX\else
 \global\setbox\arrangedpageA\vbox
  \ifdim\@@ppheight\zeropoint to \@@ppheight \fi
   {\offinterlineskip
\ifvoid\arrangedpageA\else
  \unvbox\arrangedpageA\vss\vskip\@@ppdy\vss
\fi
\box\arrangedpageB}%
 \doglobal\newcounter\arrangedpageM
   \fi
   \ifnum\arrangedpageN\arrangedpageT\else
 \poparrangedpages
   \fi}


Minimal test, note the dx/dy distances:

 \definepapersize[label][width=30mm,height=20mm]
 \setuppapersize[label][A4]
 \setuppaper[dx=1mm,dy=1mm,nx=2,ny=6]
 \setuparranging[XY]
 \showframe[edge]
 \starttext \dorecurse{6}{test \recurselevel \page} \stoptext

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


Re: [NTG-context] Presentation

2005-08-03 Thread Mojca Miklavec
 %D \module
 %D   [  file=s-pre-22,
 
 \usemodule[s-pre-22]

The files with s-name and t-name are included with \usemodule[name],
so you only have to try
\usemodule[pre-22]
or
\usemodule[pre-cycle]
(see cont-fil.tex for other synonyms)

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