ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pierre Goossens <pierre.goossens@wxs.nl>
Subject: Problem with demo suite
Date: Wed, 17 Jan 2001 18:29:44 +0100	[thread overview]
Message-ID: <3.0.6.32.20010117182944.007dea80@pop.wxs.nl> (raw)

Hello everyone,

One question before going on: what is the restriction on attachments? I
tried to include a zip file of 130 kB in an earlier posting but that
message did not arrive on the list. 

I assume the most of you have at one time looked at the ConTeXt demo suite:
http://www.pragma-ade.com/pragma-ade/zipped/demos-en.zip

I have compiled all examples (d-en-all.tex after minor modification:
changed the font, deleted the reference to a picture I don't have) and they
all worked like they should. A question though, what's the use of having a
file d-en-000.tex around? I don't see the point. Anyone?

One of the things I like to do is to translate any english examples to
dutch ones. This to gain a better understanding of the dutch ConTeXt
interface. So I made myself a demos-nl with filenames d-nl-000.tex through
d-nl-all.tex.

So far, so good. In the future I would like to make some dutch interactive
documents. So in my first effort I took d-en-all.tex and changed it into
d-nl-all.tex and compiled it. But no matter what I do I can't get the
interactionmenu to show itself. I believe I have used the proper commands
and used \showframe and \showlayout to see if I was right. When using the
\showframe command I see that my right margin is missing. But when looking
in the code and using \showlayout I cannot find any proof of that. 

----------
\stelpapierformaatin
  [S6][S6]

\stellayoutin
  [hoofd=0cm,
   kopwit=.5cm,
   rugwit=2cm,
   margeafstand=.5cm,
   marge=1cm,
   rechtermarge=0cm,
   rechterrandafstand=2cm,
   randafstand=.5cm,
   breedte=passend,
   voet=1cm,
   hoogte=midden]

\stelkorpsin
  [cmr]

\stelkopin
  [hoofdstuk]
  [variant=inmarge,
   nummer=nee,
   eigennummer=ja,
   na={\blanko[3*middel]}]

\stelvoettekstenin
  [tekst]
  [hoofdstuk][hoofdstuknummer]

\stelkleurenin
  [status=start]

\steltypenin
  [optie=tex]  % tex-code wordt opgelicht

\stelinteractiein
  [status=start,
   letter=,
   kleur=,
   contrastkleur=,
   menu=aan,
   titel=ConTeXt Demo Suite NL,
   auteur=Hans Hagen]

\definieerkleur [DarkGray]   [s=.6]
\definieerkleur [MediumGray] [s=.8]
\definieerkleur [LightGray]  [s=.9]

\stelinteractiemenuin
  [rechts]
  [achtergrond=kleur,
   achtergrondkleur=LightGray,
   kader=uit,
   status=start]

\startinteractiemenu[rechts]
  \but [inhoud]        inhoud    \\
  \but [voorbeeld]     voorbeeld \\
  \but [PreviousJump]  terug     \\
  \but [CloseDocument] stop      \\
  \vfill
\stopinteractiemenu

\stelachtergrondenin
  [pagina]
  [achtergrond=kleur,
   achtergrondkleur=MediumGray]

\stelachtergrondenin
  [tekst][tekst]
  [achtergrond=kleur,
   achtergrondkleur=LightGray,
   achtergrondoffset=1.25mm]

\stellijstin
  [hoofdstuk]
  [variant=f,
   na=,
   voor=]

\steltypenin
  [voor=,
   na=]

\definieerfont [RatherLarge] [RegularBold at 42pt]

\def\ToonVoorbeeld#1#2%
  {\hoofdstuk{#1}{#2}
   \definieerreferentie[voorbeeld][d-nl-#1::]
   \startregelnummeren
   \typefile {d-nl-#1.tex}
   \stopregelnummeren
   \pagina
   \definieerreferentie[voorbeeld][]}

\starttekst

\stellayoutin
  [linkermarge=0cm,rugwit=.5cm,voet=0cm]

\stelteksttekstenin
  []

\startstandaardopmaak
  \vskip.5cm
  \vfill
  \startkleur[DarkGray]
    \raggedleft
    \RatherLarge\stelinterliniein
    \ConTeXt\kern.5cm\par
    demo suite NL\kern.5cm\par
    \huidigedatum\kern.5cm\par
  \stopkleur
  \vskip.5cm
\stopstandaardopmaak

\stelteksttekstenin
  []

\stellayoutin
  [linkermarge=1cm,rugwit=2cm,voet=1cm]

\volledigeinhoud

 \ToonVoorbeeld {001} {Een simpel document}
 \ToonVoorbeeld {002} {De pagina instellen}
 \ToonVoorbeeld {003} {De marge gebruiken}
 \ToonVoorbeeld {004} {Aangepaste kopteksten en voetteksten}
 \ToonVoorbeeld {005} {Enkele bookmarks}

\schrijftussenlijst[hoofdstuk]{\blanko}

\ToonVoorbeeld {all} {Dit bestand}

\stoptekst
----------

My question: does anyone have a clue what might be going on here? I
certainly don't ...

With regards,

Pierre Goossens


             reply	other threads:[~2001-01-17 17:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pierre Goossens's message of "Wed, 17 Jan 2001 18:29:44 +0100">
2001-01-17 17:29 ` Pierre Goossens [this message]
2001-01-17 18:30   ` Frans Goddijn
2001-01-17 18:55   ` Ed L Cashin
2001-01-18  9:05     ` Hans Hagen
2001-01-18  7:40 Petr Ferdus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.6.32.20010117182944.007dea80@pop.wxs.nl \
    --to=pierre.goossens@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).