ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Murth" <context@wmsmt.com>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Heros Condensed
Date: Mon, 23 Nov 2009 20:08:27 +0100	[thread overview]
Message-ID: <3EC340D37AFC45998DAB87FD074A1030@rechenknecht> (raw)
In-Reply-To: <A737AE9D-3259-49B8-8066-4D999BDFF639@googlemail.com>

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



Hi Wolfgang,

> Can you try to compile it without the images, the following message looks suspicious:
I found the problem.
 
The lines 187 and 188 are the troublemakers.

\setupbackgrounds[header][text][background=nicetop]
\setupbackgrounds[footer][text][background=nicebottom]

With commenting them out the document is ok.

Wolfgang Murth

[-- Attachment #2: 07_Access.tex --]
[-- Type: application/octet-stream, Size: 6012 bytes --]


%====================================================
%
%  Einstellen der Sprache auf deutsch

\language[de]
\mainlanguage[de]

%====================================================
%
%  PDF Version 1.4

\pdfminorversion=4

%====================================================
%
%  PDF Bookmark Einstellungen

\setupinteraction
    [state=start,
    color=,
    contrastcolor=,
    style=]

\placebookmarks[chapter,section,subsection][chapter,section]
%\setupinteractionscreen[option=bookmark]

%\setupinteractionscreen[option=bookmark] % open bookmarks
\setupinteractionscreen[option=bookmark,option=fit] % closed bookmarks!
%\placebookmarks[section,subsection][section]


%====================================================
%
%  Seitenlayout definieren

\setuplayout[
    header=1cm,
    footer=1cm,
    width=16.5cm,
    topspace=1.98cm
    ]

%====================================================
%
%  Grundfont definieren

%HELVETICA
\usetypescript[helvetica][texnansi]
\setupbodyfont[helvetica,ss,10pt]


%====================================================
%
%  Font Defines

\definefont[BigFontTwo][Bold sa 1.2]   %%RegularSlanted
\definefont[ChapterHeaderFont][Normal sa 1.6]   %%RegularSlanted

%\setuphead
%   [chapter]
%   [style=\BigFontTwo,
%   page=no]
\setuphead
   [chapter]
   [style=\ChapterHeaderFont,
   page=no]

%==============Setup Paragraph Formatting==============
\setupwhitespace[big]
\setupindenting[no,medium,next]

\starttext

%===============================================
%
%   KOPF- UND FUSSZEILEN

% Header und Footer zurücksetzen
\setupheadertexts[]
\setupfootertexts[]

\startsetups[header]
   \framed[width=\textwidth,frame=off]
     { \it \headnumber[chapter] \getmarking[chapter]}
\stopsetups


\startsetups[footer]
    \framed[width=\textwidth,frame=off]
     {  \pagenumber}
\stopsetups

\setupheadertexts[\setups{header}]
\setupfootertexts[\setups{footer}]

%=================================================
%
%   TITELSEITE

\setuppapersize
  [A4][A4]
\definelayer
	[LyTitlepage]
	[width=\paperwidth,
	 height=\paperheight]
\setupbackgrounds
	[page]
	[background=LyTitlepage]

\setupframed
	[align=middle,
	 frame=on]

\useexternalfigure[tp_erd][images/cow.pdf][height=5.5cm]
\useexternalfigure[tp_dateneingeben][images/cow.pdf][height=4cm]

\startstandardmakeup
	\setlayerframed
		[LyTitlepage]
		[voffset=24.6cm,
        hoffset=2.5cm,
		 preset=lefttop,
		 width=5cm,
		 frame=off,
		 align=right]
		{Ing. Mag (FH) Wolfgang Murth\\
            W09.V1.IT1\\
            Oktober 2009\\
            }
	\setlayerframed
		[LyTitlepage]
		[voffset=12cm,
        hoffset=2.5cm,
		 preset=lefttop,
		 frame=off,
         width=\textwidth,
		 align=right]
		{\externalfigure[tp_erd]
            }

	\setlayerframed
		[LyTitlepage]
		[voffset=16cm,
        hoffset=2.5cm,
		 preset=lefttop,
		 frame=off,
         width=\textwidth,
		 align=left]
		{\externalfigure[tp_dateneingeben]
            }

    \raggedcenter \vskip 0cm \definedfont[Bold sa 2]\setstrut \strut
    Vorlesung\\
    Grundlagen Wirtschaftsinformatik\\
    Vom ER Diagramm zur Access Datenbank\\
    V1.IT1 - BAFI 2009\\
    \vfill
\stopstandardmakeup


% Linie bei Kopf und Fußzeile setzen
% Muss nach der Titelseite sein, da sonst auch auf der
% Titelseite die Linie zu sehen ist
% Linie oberhalb des Fußtextes
\startuniqueMPgraphic{nicebottom}
   draw bottomboundary OverlayBox
     leftenlarged 6pt rightenlarged 6pt
     shifted (0,.39HeaderHeight) ;
   setbounds currentpicture to OverlayBox ; % forces dimensions
\stopuniqueMPgraphic
\defineoverlay[nicebottom][\uniqueMPgraphic{nicebottom}]

\startuniqueMPgraphic{nicetop}
   draw bottomboundary OverlayBox
     leftenlarged 6pt rightenlarged 6pt
     shifted (0,.18HeaderHeight) ;
   setbounds currentpicture to OverlayBox ; % forces dimensions
\stopuniqueMPgraphic
\defineoverlay[nicetop][\uniqueMPgraphic{nicetop}]

%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

%\setupbackgrounds[header][text][background=nicetop]
%\setupbackgrounds[footer][text][background=nicebottom]

%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

%=================================================
%
%   FARBENDEFINITION

\definecolor [grey] [r=.9, g=.9, b=.9]
\definecolor [tableheader] [r=.6, g=0, b=.2]%[r=.6 g=0 b=.2]
\definecolor [caution] [r=1, g=.78, b=.62]

%=================================================
%
%   Standardzeilenabstand

\setupinterlinespace[line=1.5\bodyfontsize]

%=================================================
%
%   EXTERNE IMAGES DEFINIEREN

\useexternalfigure[ok][images/ok.png][height=10pt]


%=================================================
%
%   TOC
%   alternative=c, space to the page number is filled with dots

\setupcombinedlist[content][level=3,alternative=c]
\setuplist[chapter][width=7mm,style=bold]
\setuplist[section][width= 7 mm, margin=7mm]
\setuplist[subsection][width=10mm, margin=14mm]


\completecontent

% List of Figures with dots
%\completelistoffigures[alternative=c]
\page[yes]

%\input chapters/02_commands
%\input chapters/Access

\chapter{TEST1}
\input tufte

\chapter{TEST2}
\input tufte

\stoptext



[-- Attachment #3: Type: text/plain, Size: 486 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
___________________________________________________________________________________

      reply	other threads:[~2009-11-23 19:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21  8:06 Wolfgang Murth
2009-11-21 12:32 ` Wolfgang Schuster
2009-11-21 14:49   ` Wolfgang Murth
2009-11-23  9:05     ` Wolfgang Murth
2009-11-23 10:08       ` Hans Hagen
2009-11-23 14:52         ` Wolfgang Murth
2009-11-23 15:07         ` Wolfgang Murth
2009-11-23 18:11         ` Wolfgang Murth
2009-11-23 18:32           ` Wolfgang Schuster
2009-11-23 19:08             ` Wolfgang Murth [this message]

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=3EC340D37AFC45998DAB87FD074A1030@rechenknecht \
    --to=context@wmsmt.com \
    --cc=ntg-context@ntg.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).