ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Broken 'project-mechanism'
@ 2002-06-28 15:51 Willi Egger
  2002-06-28 19:23 ` Berend de Boer
  0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2002-06-28 15:51 UTC (permalink / raw)


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

Hello Hans,

Please find attached a minimal project. - When I compile the whole project a
normal pdf file is generated. However when compiling a product, there are
weird brackets on the first and second page. Sometimes even the pdf file
generated can not be opend i.e. that Acrobat 5.05 is closed down by Windows.

Could you please have a look into this?

Thanks on beforehand!

Willi

[-- Attachment #2: test.tex --]
[-- Type: application/octet-stream, Size: 344 bytes --]

\startproduct[test]
\project HBBbrev

\defineblock[Ablok]
\defineblock[Bblok]

\setupblock[Ablok]
   [before={\start\bf\em},after=\stop]

\chapter{Lyonese band}

\beginAblok
This is A-block slanted
\endAblok

\beginBblok
This is B-block normal
\endBblok

\placefigure
 [here,right]
 []
 {Test plaatje}
 {\externalfigure[Lyonese4]}
\stopproduct

[-- Attachment #3: HBBbrev.tex --]
[-- Type: application/octet-stream, Size: 906 bytes --]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Projectfile 'Aantekeningen handboekbinden'          %
%        HBB-brevier                                   %
%  Lay-out: Willi Egger, Sambeek                       %
%                                                      %
%  Author:  Willi Egger, Sambeek                       %
%                                                      %
%  Date:    07 february 2001                           %
%                                                      %
%  Start the project with:                             %
%         texexec --mode=paper                         %
%         texexec --mode=screen                        %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\startproject HBBbrev   %Handboekbind-brevier

\environment layout

\startbodymatter

\environment lo-3

\product test

\stopbodymatter

\nomorefiles

\stopproject

[-- Attachment #4: layout.tex --]
[-- Type: application/octet-stream, Size: 954 bytes --]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                              %%
%%    Layout HBBbrevier         %%
%%                              %%
%%    by Willi Egger            %%
%%    filename: layout.tex      %%
%%    January 2001              %%
%%                              %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\startenvironment layout

\setupoutput[pdftex]

\mainlanguage[nl]
\language[nl]

\definetypeface [HBBBfont][rm][serif][palatino][default]
[encoding=texnansi]

\setupbodyfont[HBBBfont,10pt]

\setuppagenumber[state=start]

\startmode[paper]
    \setuppapersize[A4][A4]
    \setuppagenumbering[alternative=singlesided, location={header,marginedge}]

    \setuplayout
      [header=20pt,
       headerdistance=0.5cm,
       backspace=2.0cm,
       location=middle,
         footerdistance=0.1cm,
         footer=12pt]

\stopmode

\environment lo-fig  %File with all external figures

\stopenvironment

[-- Attachment #5: lo-3.tex --]
[-- Type: application/octet-stream, Size: 502 bytes --]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                  %%
%%    Environment lay-out 3         %%
%%    CONTEXTfile                   %%
%%    by Willi Egger                %%
%%    filename: lo-3.tex            %%
%%    October 2000                  %%
%%                                  %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\startenvironment lo-3

\setupbackgrounds
	[header]
	[text]
	[bottomframe=on,
	 frame=off]

\setupheadertexts[HBB-Brevier][chapter]

\stopenvironment

[-- Attachment #6: lo-fig.tex --]
[-- Type: application/octet-stream, Size: 499 bytes --]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                  %%
%%    External figures              %%
%%                                  %%
%%    by Willi Egger                %%
%%    filename: lo-fig.tex          %%
%%    February 2001                 %%
%%                                  %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\startenvironment lo-fig

\useexternalfigure
    [Lyonese4]    % reference
    [lyon4]    % filename
    [width=0.6\makeupwidth]

\stopenvironment

[-- Attachment #7: lyon4.png --]
[-- Type: image/png, Size: 8309 bytes --]

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

* Re: Broken 'project-mechanism'
  2002-06-28 15:51 Broken 'project-mechanism' Willi Egger
@ 2002-06-28 19:23 ` Berend de Boer
  0 siblings, 0 replies; 2+ messages in thread
From: Berend de Boer @ 2002-06-28 19:23 UTC (permalink / raw)
  Cc: ntg-context

"Willi Egger" <w.egger@boede.nl> writes:

> Please find attached a minimal project. - When I compile the whole project a
> normal pdf file is generated. However when compiling a product, there are
> weird brackets on the first and second page. Sometimes even the pdf file
> generated can not be opend i.e. that Acrobat 5.05 is closed down by Windows.

In test.tex don't put [ ] around \startproduct test

-- 
Live long and prosper,

Berend de Boer


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

end of thread, other threads:[~2002-06-28 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-28 15:51 Broken 'project-mechanism' Willi Egger
2002-06-28 19:23 ` Berend de Boer

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