Re: [NTG-context] Update problems

2019-01-07 Thread Alan Braslau
On Mon, 7 Jan 2019 18:57:41 +0100
Hans Hagen  wrote:

> looking at this pdf file it makes sense to save as pdf from 
> illustrator because now you basically use the illustrator edit file 
> (with a lot of crap in it) and also some versioning (i suspect that the 
> xref is also bad so then you depend on recovering capabilities of readers)

I have worked with a large number of Adobe Illustrator files and have found 
that one *must* save them as PDFs in order for them to be reliably used 
anywhere outside of the Adobe world. One need not use Illustrator, for opening 
the .ai file in Adobe Reader and then saving it as a .pdf gets rid of all of 
the editing crap that is embedded.

Alan
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Update problems

2019-01-07 Thread luigi scarso
On Mon, Jan 7, 2019 at 6:47 PM Weber, Matthias  wrote:

>
> I still don’t know what’s going on with PDF inclusion. The ones that cause
> trouble are kind of old (from 2005), and I could “upgrade”
>
>  fixing it now
-- 
luigi
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Update problems

2019-01-07 Thread Hans Hagen

On 1/7/2019 6:47 PM, Weber, Matthias wrote:

Update:

The page setup works after Hans’ fix. Thanks, that was a relief.
I still don’t know what’s going on with PDF inclusion. The ones that cause 
trouble are kind of old (from 2005), and I could “upgrade”


we found the reason

but anyway, looking at this pdf file it makes sense to save as pdf from 
illustrator because now you basically use the illustrator edit file 
(with a lot of crap in it) and also some versioning (i suspect that the 
xref is also bad so then you depend on recovering capabilities of readers)



Them manually and things work now for this document. I have others that might 
cause problems, too. Unfortunately, the error message only tells which page 
couldn’t be flushed but not what figure is causing issues. Going through a 
hundred figures and trying whether they work is somewhat painful.

A more verbose error message would be helpful, or a hint what has changed with 
pdf import.

only the library, not in the way inclusion works

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
Update:

The page setup works after Hans’ fix. Thanks, that was a relief.
I still don’t know what’s going on with PDF inclusion. The ones that cause 
trouble are kind of old (from 2005), and I could “upgrade”
Them manually and things work now for this document. I have others that might 
cause problems, too. Unfortunately, the error message only tells which page 
couldn’t be flushed but not what figure is causing issues. Going through a 
hundred figures and trying whether they work is somewhat painful.

A more verbose error message would be helpful, or a hint what has changed with 
pdf import.

Thanks,

Matthias

> On Jan 7, 2019, at 11:26 AM, Weber, Matthias  wrote:
> 
> Dear List,
> 
> After a while I decided updating my ConTeXt installation to ConTeXt  ver: 
> 2019.01.07 10:07 MKIV beta  fmt: 2019.1.7.
> 
> With an old document of mine I ran into two issues so far: Some of my old pdf 
> images are not accepted as figures anymore.
> 
> Example:
> 
> \starttext
> \externalfigure[cardioid.pdf][width=1.5in]{Cardioid}
> \stoptext
> Using the following pdf which is version 1.4 
> 
> 
> More recent PDFs (1.5)seem to work.
> 
> Secondly, paper setup seems to require a new kind of massage.
> 
> \setuppapersize[S6][S6]
> 
> \starttext
> \dorecurse{10}{\input knuth}
> \input knuth
> \stoptext
> 
> produces
> 
> 
> On the other hand, the garden version looks ok. What could be wrong on my end?
> 
> Thanks!
> 
> Matthias___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
Dear List,

After a while I decided updating my ConTeXt installation to ConTeXt  ver: 
2019.01.07 10:07 MKIV beta  fmt: 2019.1.7.

With an old document of mine I ran into two issues so far: Some of my old pdf 
images are not accepted as figures anymore.

Example:

\starttext
\externalfigure[cardioid.pdf][width=1.5in]{Cardioid}
\stoptext
Using the following pdf which is version 1.4 



cardioid.pdf
Description: cardioid.pdf

More recent PDFs (1.5)seem to work.

Secondly, paper setup seems to require a new kind of massage.

\setuppapersize[S6][S6]

\starttext
\dorecurse{10}{\input knuth}
\input knuth
\stoptext

produces



test0.pdf
Description: test0.pdf

On the other hand, the garden version looks ok. What could be wrong on my end?

Thanks!

Matthias___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Update problems: TOC

2004-03-08 Thread Mari Voipio

Hello, all ConTeXters!

I finally got around to trying TeXLive2003 and the ConTeXt there. The good
news is that it installs into Windows2000 like a charm and all the old
font woes are now past worries, the fonts worked the first try. After
installing TeXLive I downloaded the newest ConTeXt from Pragma's pages and
it seems to be a working installation, too.

However, I have a problem to which I didn't find a solution in the mailing
list archives:
The Table of Contents doesn't work and that hangs the whole thing. If I
get rid of the command \placecontent, everything works perfectly, but once
I try to compile the file(s) with a TOC, this is what I get:

myContents : - Table of contents
(./pr-03.tuo
! Undefined control sequence.
\exitloop -\let \endofloop
\nodoloop
argument ...\zeropoint \unskip \else \exitloop
  \fi
\doloop ...@@arecurse \recursedepth \endcsname {#1
  }\global [EMAIL PROTECTED] \let
\csname...

\removeunwantedspaces ...kip \else \exitloop \fi }
  \fi
\endstrut ...trut \fi \else \removeunwantedspaces
  \normalpenalty [EMAIL PROTECTED]
\normal...
argument ...tentry {\v!hoofdstuk }{Introduction}
  }
...
l.7 ...1}{1}{Introduction}{2::0:1:0:0:0:0:0::1}{5}

?

---

Below you'll find a simplified version of my setups etc, maybe that will
help to pinpoint the problem. I hope somebody has a solution as I won't be
able to upgrade to any newer ConTeXt's until this is fixed.


Thanks for any help,

Mari



% --
% File starts here
% --

%output=pdftex

\definepapersize[a4short][width=210mm,height=11in]
\setuppapersize[a4short][a4]

\enableregime[il1]
\usetypescript[berry][ec]
\setupbodyfont[pos,10pt]

% This sets the look of the first level headings
\setuphead
[chapter]
[style=\sstfc,
prefix=+]

% This sets the look of the second level headings
\setuphead
[section]
[style=\sstfb]

% Third level headings
\setuphead
[subsection]
[style=\ssbf]

% Fourth level headings
\setuphead
[subsubsection]
[style=\ssit]

% -
% Settings concerning the Table of contents (TOC)
% -

% The combination below sets the look of the title of the TOC
\definehead
 [myContents]
 [title]

\setuphead
 [myContents]
 [alternative=left,
 style=\sstfb]

% These settings are for the first level (chapter) entries
% in the TOC
\setuplist
[chapter]
[criterium=chapter,
alternative=c,
aligntitle=yes,
textstyle={\tfa\cap}]

\setuplist
[section]
[criterium=section,
alternative=c,
margin=0.7cm,
textstyle=bold]

\setuplist
[subsection]
[criterium=subsection,
alternative=c,
margin=0.9cm]

% This sets the fourth level (subsubsection) entries in the TOC
\setuplist
[subsubsection]
[criterium=subsubsection,
alternative=c,
margin=1.2cm,
textstyle=italic]


%-
% TOC settings end here

\starttext


\startfrontmatter

\myContents{Table of contents}
\placecontent

\stopfrontmatter
% ---


% Each chapter is a file of its own, the files are collected
% into one document here

\input pr-03_ch01/ch01.tex % first chapter (Introduction)
\input pr-03_ch02/ch02.tex % second chapter (Sensor)
\input pr-03_ch03/ch03.tex % third chapter (IT-R)
\input pr-03_ch04/ch04.tex % fourth chapter (Accessory units)
\input pr-03_ch05/ch05.tex % fifth chapter (Startup and configuration)
\input pr-03_ch06/ch06.tex % sixth chapter (Regular maintenance)
\input pr-03_ch07/ch07.tex % seventh chapter (Troubleshooting)
\input pr-03_ch08/parts_tables.tex % tables for chapter 8 are loaded first
\input pr-03_ch08/ch08.tex % eighth chapter (Sensor
   % specifications and parts lists)
\input pr-03_ch09/ch09.tex % ninth chapter (IT-R specifications
   % and parts lists)


%This part gets alphabets (A, B...)
\startappendices

\input glossary.tex
\input dds.tex  % Information on the Delivary Data Sheet
\input calibration_data_report.tex  % The Calibration data report
sheet
\input verification.tex % How to do ISO 9000 Verification
\stopappendices


\startbackmatter


% --
% Index settings
% --

\chapter[index]{Index}

\placeindex

% --- End of Index -


\stopbackmatter


% Here's where the document ends, nothing comes below this command
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context