ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* beginner's hazzles with backgrounds and definitions.
@ 2003-07-27  1:07 Matthias Weber
  2003-07-29 17:02 ` Hans Hagen
  0 siblings, 1 reply; 23+ messages in thread
From: Matthias Weber @ 2003-07-27  1:07 UTC (permalink / raw)


Hi,

I am new to context, migrating from latex for the purpose of writing an
online book. I would like to set up a few definitions in the 
environment file
that would replace latex's  \begin{definition} ... \end{definition}
environments. I realize that this can  be done conveniently with 
\defineenumeration,
but I want of course a few more features in it then in latex's setup. 
For example, I'd like to have the
definition typeset in some color against some background. I tried the 
following
in the environment file:

\setupcolors[state=start]

\definetextbackground
[defbackground]
[backgroundcolor=blue,
backgroundoffset=.25cm,
offset=.25cm,
frame=off,
location=paragraph,
color=green]

\defineenumeration
[definition]
[text=Definition,
location=left,
before={\starttextbackground[defbackground]},
after={\stoptextbackground},
letter=it]

Then, in the text, when I use

\startdefinition
This is my definition.
\stopdefinition

the text comes out green all right, but the blue background is  smeared 
all over two pages.
I have tried a few modifications to no avail, so I fear I am doing it 
all wrong.

Curiously, when I typeset the above th first time, I only get the green 
text (no blue), and the
mess shows only up when typesetting the second time.

Any help?

Thanks,

Matthias

^ permalink raw reply	[flat|nested] 23+ messages in thread
* installation of ConTeXt
@ 2008-09-11 14:08 Goebel, Juergen
  2008-09-11 14:26 ` Hans Hagen
  2008-09-11 15:47 ` Mojca Miklavec
  0 siblings, 2 replies; 23+ messages in thread
From: Goebel, Juergen @ 2008-09-11 14:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 285 bytes --]

Hi,

Do I really have to install ruby?  I downloaded it, but can't find
anything like install, setup or something like this.  Even the
readme is not very helpful at all.  And another question: for
using Ruby - and therefore ConTeXt - do I need cygwin?

Regards,

Juergen



[-- Attachment #1.2: Type: text/html, Size: 918 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Installation of Context
@ 2000-10-31 14:59 michou
  2000-10-31 15:16 ` Hans Hagen
  0 siblings, 1 reply; 23+ messages in thread
From: michou @ 2000-10-31 14:59 UTC (permalink / raw)


Hi all,
I'm new to Context but I'm using succesfully  LaTeX with the MikTeX
distribution on WinNT.
I have just installed  Context and made the format files (en, uk,nl,de) as
described in the installation manual (minstall.pdf). I copied the fmt files
in the directories where MikTeX searches.
However, when I try to compile a simple test file,  cont-en is not found. I
think I'm not alone in this case from what I can see from other messages. 
Also I would like to make a french format file if possible. So I modified
the file cont-user.tex and uncommented the corresponding lines, but no
format file was created for french.
I  join below the output of the compilation of the file "text.tex".

Thanks for any  clue.

Yanick Michou
---------------------------------------------------------------------------
> texexec --verbose test.tex

TeXExec 2.0 - ConTeXt / PRAGMA ADE 1997-2000

     locating ini file : kpsewhich not found in path
     locating ini file : found by searching
               reading : d:\LOCALT~2\context\perltk\texexec.ini
               setting : 'TeXShell' to 'miktex' for 'all'
               setting : 'UsedInterfaces' to 'en,nl,de,uk' for 'all'
               setting : 'UserInterface' to 'en' for 'all'
               setting : 'TeXExecutable' to 'tex' for 'all'
               setting : 'MpExecutable' to 'mpost' for 'all'
               setting : 'MpToTeXExecutable' to 'mpto' for 'all'
               setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
               setting : 'DviSpecialScript' to 'dvispec' for 'all'
               setting : 'MpFormat' to 'metafun' for 'all'
               setting : 'TeXFormatFlag' to '&' for 'all'
               setting : 'MpFormatFlag' to '&' for 'all'
               setting : 'TeXFontsPath' to
'l:/tex/texmf;l:/tex/texmf-local;' for 'all'
               setting : 'UsedInterfaces' to 'en,nl,de,uk' for 'miktex'
               setting : 'UserInterface' to 'en' for 'miktex'
               setting : 'TeXExecutable' to 'pdftex' for 'miktex'
               setting : 'TeXVirginFlag' to '--initialize' for 'miktex'
               setting : 'TeXBatchString' to '' for 'miktex'
               setting : 'MpVirginFlag' to '-ini' for 'miktex'
               setting : 'MpPassString' to '' for 'miktex'
               setting : 'MpBatchString' to '' for 'miktex'

          used setting : TeXShell = miktex
          used setting : SetupPath = 
          used setting : UserInterface = en
          used setting : UsedInterfaces = en,nl,de,uk
          used setting : TeXFontsPath = l:/tex/texmf;l:/tex/texmf-local;
          used setting : MpExecutable = mpost
          used setting : MpToTeXExecutable = mpto
          used setting : DviToMpExecutable = dvitomp
          used setting : TeXProgramPath = 
          used setting : TeXFormatPath = 
          used setting : ConTeXtPath = 
          used setting : TeXScriptsPath = 
          used setting : TeXExecutable = pdftex
          used setting : TeXVirginFlag = --initialize
          used setting : TeXPassString = 
          used setting : TeXFormatFlag = &
          used setting : FmtLanguage = 
          used setting : FmtBodyFont = 
          used setting : TcXPath = 

            executable : pdftex
                format : cont-en
             inputfile : test
                output : standard
             interface : en
               options : verbose
          current mode : all
               TeX run : 1

pdftex    &cont-en test

cont-en: not found
cont-en: not found

              run time : 0 seconds
This is pdfTeX, Version 3.14159-14e-released-20000217 (MiKTeX 1.20e
(Snapshot build 187))
**
! End of file on the terminal... why?


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

end of thread, other threads:[~2008-09-12  5:44 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27  1:07 beginner's hazzles with backgrounds and definitions Matthias Weber
2003-07-29 17:02 ` Hans Hagen
2003-07-30  1:44   ` Matthias Weber
2003-07-30  8:49     ` Patrick Gundlach
2003-07-30 12:31       ` Matthias Weber
2003-07-30 16:58         ` Hans Hagen
2003-07-30 20:15           ` Henning Hraban Ramm
2003-07-30 20:47           ` Matthias Weber
2003-07-31  8:56             ` Hans Hagen
2003-08-02 16:22               ` installation of ConTeXt Patrick Gundlach
2003-07-31 21:25           ` Re: beginner's hazzles with backgrounds and definitions Gerben Wierda
2003-07-31 21:44             ` Thomas A.Schmitz
2003-08-02  4:33               ` Matthias Weber
2003-08-01  3:20             ` How to run context under mac os x - was(is): " Matthias Weber
2003-08-03 13:09         ` Gerben Wierda
2003-08-03 13:52           ` Matthias Weber
  -- strict thread matches above, loose matches on Subject: below --
2008-09-11 14:08 installation of ConTeXt Goebel, Juergen
2008-09-11 14:26 ` Hans Hagen
2008-09-12  5:44   ` Goebel, Juergen
2008-09-11 15:47 ` Mojca Miklavec
2008-09-12  5:44   ` Goebel, Juergen
2000-10-31 14:59 Installation of Context michou
2000-10-31 15:16 ` Hans Hagen

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).