ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Displaying text on a page in several steps
@ 2011-04-18 19:11 Cecil Westerhof
  2011-04-18 20:52 ` Hans Hagen
  2011-04-19  9:01 ` Cecil Westerhof
  0 siblings, 2 replies; 7+ messages in thread
From: Cecil Westerhof @ 2011-04-18 19:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I want to have several points on a page, but have them displayed one
after the other.

For example, the complete page is:

MY POINTS
1. The first point
2. The second point
3. The third point
4. The fourth point

Initially you see:
MY POINTS
1. The first point

After giving space you see:
MY POINTS
1. The first point
2. The second point

When giving again space, you see:
MY POINTS
1. The first point
2. The second point
3. The third point

And another space gives:
MY POINTS
1. The first point
2. The second point
3. The third point
4. The fourth point

Is this possible?

-- 
Cecil Westerhof
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Displaying text on a page in several steps
  2011-04-18 19:11 Displaying text on a page in several steps Cecil Westerhof
@ 2011-04-18 20:52 ` Hans Hagen
  2011-04-19  9:01 ` Cecil Westerhof
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2011-04-18 20:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 18-4-2011 9:11, Cecil Westerhof wrote:
> I want to have several points on a page, but have them displayed one
> after the other.
>
> For example, the complete page is:
>
> MY POINTS
> 1. The first point
> 2. The second point
> 3. The third point
> 4. The fourth point
>
> Initially you see:
> MY POINTS
> 1. The first point
>
> After giving space you see:
> MY POINTS
> 1. The first point
> 2. The second point
>
> When giving again space, you see:
> MY POINTS
> 1. The first point
> 2. The second point
> 3. The third point
>
> And another space gives:
> MY POINTS
> 1. The first point
> 2. The second point
> 3. The third point
> 4. The fourth point
>
> Is this possible?

see s-pre-6*.*

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Displaying text on a page in several steps
  2011-04-18 19:11 Displaying text on a page in several steps Cecil Westerhof
  2011-04-18 20:52 ` Hans Hagen
@ 2011-04-19  9:01 ` Cecil Westerhof
  2011-04-19  9:03   ` Cecil Westerhof
  1 sibling, 1 reply; 7+ messages in thread
From: Cecil Westerhof @ 2011-04-19  9:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Something went wrong and I posted the rest to Hans Hagen instead of to the list.

I have the attached tex-file which should be correct I think. But it
goes wrong: see the attached log-file. Anybody an idea what is
happening?

-- 
Cecil Westerhof
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Displaying text on a page in several steps
  2011-04-19  9:01 ` Cecil Westerhof
@ 2011-04-19  9:03   ` Cecil Westerhof
  2011-04-19 13:42     ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Cecil Westerhof @ 2011-04-19  9:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

Now with the files attached. :-{

2011/4/19 Cecil Westerhof <cldwesterhof@gmail.com>:
> Something went wrong and I posted the rest to Hans Hagen instead of to the list.
>
> I have the attached tex-file which should be correct I think. But it
> goes wrong: see the attached log-file. Anybody an idea what is
> happening?
>
> --
> Cecil Westerhof
>



-- 
Cecil Westerhof

[-- Attachment #2: test2.tex --]
[-- Type: application/x-tex, Size: 267 bytes --]

[-- Attachment #3: test2.log --]
[-- Type: text/x-log, Size: 9182 bytes --]

(test2.tex

ConTeXt  ver: 2011.04.03 22:32 MKIV  fmt: 2011.4.5  int: english/english

system          > cont-new.mkiv loaded
(/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > test2.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "test2",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=test2]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(test2.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
resolvers       > modules > loaded: 'pre-61'
(/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/s-pre-61.tex
resolvers       > modules > loaded: 'pre-60'
(/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/s-pre-60.mkiv
fonts           > beware: no fonts are loaded yet, using 'lm mono' in box
(/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/java-imp-stp.mkiv)
interactions    > javascripts > loaded: library 'stp'
metapost        > loaded: library 'nav' (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/meta-imp-nav.mkiv)) (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv) (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-hgz.mkiv (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-ghz.mkiv))
fonts           > preloading latin modern fonts (math)
{/home/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/home/cecil/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > fallback modern mm 18pt is loaded
fonts           > preloading latin modern fonts (mono)
fonts           > fallback modern tt 18pt is loaded
fonts           > defining > font with asked name 'lt55483' is not found using lookup 'file'
fonts           > defining > unknown font lt55483, loading aborted
fonts           > defining > unable to define lt55483 as \*mainface18ptsstfss*
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > defining > font with asked name 'lt55483' is not found using lookup 'file'
fonts           > defining > unknown font lt55483, loading aborted
fonts           > defining > unable to define lt55483 as \*mainface18ptsstf*
){/home/cecil/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-px.map}
fonts           > virtual math > the mapping is incomplete for 'pxmath' at 9pt
system          > begin file test2 at line 5
! Missing number, treated as zero.

system          > tex > error on line 17 in file test2.tex: Missing number, treated as zero ...

 7     \StartSteps
 8     
 9     \starttabulate
10     \NC test \FlushStep \NC test \FlushStep \NC \NR
11     \NC test \FlushStep \NC test \FlushStep \NC \NR
12     \NC test \FlushStep \NC test \FlushStep \NC \NR
13     \stoptabulate
14     
15     \StopSteps
16     
17 >>  \stoptext
18     

<to be read again> 
                   o
\@@ambottomoffset ->o
                     verlay
\scrn_menu_set_used ...uparameter \c!bottomoffset 
                                                  \scrn_menu_asked_width \in...
\scrn_menu_packager ->\scrn_menu_set_used 
                                          \vskip \scrn_menu_next_distance \s...
\scrn_menu_action ...\v!start \scrn_menu_packager 
                                                  \else \ifx \currentinterac...
\@@am:menu:horizontal ...dinteractionmenulocation 
                                                  }\scrn_menu_apply_final \b...
...
l.17 \stoptext
              
? quit
OK, entering \batchmode...
! Illegal unit of measure (pt inserted).


system          > tex > error on line 17 in file test2.tex: Illegal unit of measure (pt inserted) ...

 7     \StartSteps
 8     
 9     \starttabulate
10     \NC test \FlushStep \NC test \FlushStep \NC \NR
11     \NC test \FlushStep \NC test \FlushStep \NC \NR
12     \NC test \FlushStep \NC test \FlushStep \NC \NR
13     \stoptabulate
14     
15     \StopSteps
16     
17 >>  \stoptext
18     

<to be read again> 
                   o
\@@ambottomoffset ->o
                     verlay
\scrn_menu_set_used ...uparameter \c!bottomoffset 
                                                  \scrn_menu_asked_width \in...
\scrn_menu_packager ->\scrn_menu_set_used 
                                          \vskip \scrn_menu_next_distance \s...
\scrn_menu_action ...\v!start \scrn_menu_packager 
                                                  \else \ifx \currentinterac...
\@@am:menu:horizontal ...dinteractionmenulocation 
                                                  }\scrn_menu_apply_final \b...
...
l.17 \stoptext
              
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

references      > unknown reference [][topics]
metapost        > initializing instance 'metafun' using format 'metafun'
metapost        > loading 'metafun.mp' (experimental metapost version two)
backend         > xmp > using file '/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
system          > end file test2 at line 17
 )LuaTeX warning (dest): Page 9 has been referenced but does not exist!

LuaTeX warning (dest): Page 2 has been referenced but does not exist!

</home/cecil/ConTeXt/tex/texmf-context/fonts/type1/hoekwater/context/contnav.pfb></home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf>
references      > number of unknown references: 1
mkiv lua stats  > used config file          - selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - /home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > input load time           - 0.011 seconds
mkiv lua stats  > stored bytecode data      - 282 modules, 57 tables, 339 chunks
mkiv lua stats  > loaded tex modules        - 2 requested, 2 found (*-pre-60 *-pre-61), 0 missing
mkiv lua stats  > cleaned up reserved nodes - 41 nodes, 10 lists of 424
mkiv lua stats  > node memory usage         - 21 glue_spec, 8 pdf_literal
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 4326 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 4683 direct, 3853 indirect, 8536 total
mkiv lua stats  > randomizer                - resumed with value 0.021746073859626
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 11 lpath calls, 0 cached calls
mkiv lua stats  > interactive elements      - 7 references, 0 destinations
mkiv lua stats  > result saved in file      - test2.pdf
mkiv lua stats  > loaded fonts              - 24 files: contnav.afm stmary10.afm lmmono10-regular.otf lmroman10-bold.otf lmroman10-regular.otf lmsans10-bold.otf lmsans10-regular.otf texgyrepagella-regular.otf eufb10.tfm eufm10.tfm msam10.tfm msbm10.tfm lmex10.tfm lmmi10.tfm lmmib10.tfm lmsy10.tfm rm-lmr10.tfm pxex.tfm pxsy.tfm pxsya.tfm pxsyb.tfm rpxmi.tfm rpxpplri.tfm rpxr.tfm
mkiv lua stats  > fonts load time           - 0.372 seconds 
mkiv lua stats  > metapost processing time  - 0.005 seconds, loading: 0.066 seconds, execution: 0.005 seconds, n: 1
mkiv lua stats  > pdf annotations           - 7 embedded, 7 unique
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.65.0-2010121316
mkiv lua stats  > control sequences         - 31922 of 165536
mkiv lua stats  > current memory usage      - 29 MB (ctx: 29 MB)
mkiv lua stats  > runtime                   - 2.990 seconds, 1 processed pages, 1 shipped pages, 0.334 pages/second


[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Displaying text on a page in several steps
  2011-04-19  9:03   ` Cecil Westerhof
@ 2011-04-19 13:42     ` Wolfgang Schuster
  2011-04-19 13:59       ` Cecil Westerhof
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-04-19 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 19.04.2011 um 11:03 schrieb Cecil Westerhof:

> Now with the files attached. :-{

For the moment add \setupinteraction[menu=off] to your document.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Displaying text on a page in several steps
  2011-04-19 13:42     ` Wolfgang Schuster
@ 2011-04-19 13:59       ` Cecil Westerhof
  2011-04-19 14:18         ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Cecil Westerhof @ 2011-04-19 13:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/4/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>> Now with the files attached. :-{
>
> For the moment add \setupinteraction[menu=off] to your document.

That works. I can continue. ;-}

Why is this statement needed.?

Shall I change the wiki page, or is this only temporally needed?

-- 
Cecil Westerhof
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Displaying text on a page in several steps
  2011-04-19 13:59       ` Cecil Westerhof
@ 2011-04-19 14:18         ` Wolfgang Schuster
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2011-04-19 14:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 19.04.2011 um 15:59 schrieb Cecil Westerhof:

> 2011/4/19 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>>> Now with the files attached. :-{
>> 
>> For the moment add \setupinteraction[menu=off] to your document.
> 
> That works. I can continue. ;-}
> 
> Why is this statement needed.?

Invalid setting in s-pre-61.tex

\setupinteractionmenu
  [bottom]
  [offset=overlay]

The offset key accepts only dimensions but not keywords like it did in mkii.

> Shall I change the wiki page, or is this only temporally needed?

To use the stepper only you don’t need this because it
comes from the file s-pre-60.mkiv (or “pre-stepwise”).

\usemodule[pre-stepwise]

\setupinteraction[state=start,click=off]

\setupbodyfont[palatino]

\starttext

\StartSteps

\starttabulate
\NC test \FlushStep \NC test \FlushStep \NC \NR
\NC test \FlushStep \NC test \FlushStep \NC \NR
\NC test \FlushStep \NC test \FlushStep \NC \NR
\stoptabulate

\StopSteps

\stoptext

The module pre-61 (or “pre-stepper”) is only the presentation style.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-19 14:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-18 19:11 Displaying text on a page in several steps Cecil Westerhof
2011-04-18 20:52 ` Hans Hagen
2011-04-19  9:01 ` Cecil Westerhof
2011-04-19  9:03   ` Cecil Westerhof
2011-04-19 13:42     ` Wolfgang Schuster
2011-04-19 13:59       ` Cecil Westerhof
2011-04-19 14:18         ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).