Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread luigi scarso
On Tue, Jan 20, 2009 at 6:53 AM, Bart C. Wise
bntgcont...@wiseguysweb.comwrote:

 On Mon January 19 2009 10:06:37 pm Bart C. Wise wrote:
  I received the following message from a publisher:
 
  [The PDF generator] you used flattens the file such that is has no meta
  tags whatsoever.  We need the tags that give page separations, page
 count,
  header info, etc.
 
  How do I get those meta tags enabled?
  Would setting \interaction[state=start] do what's needed?
 
  Running minimals-beta.
 Running ConTeXt/LuaTeX.

Hi bart,
I can't help you
but I remember this
http://tug.ctan.org/tex-archive/macros/latex/contrib/pdfx


-- 
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Minimals and dvipng

2009-01-20 Thread Jean Magnan de Bornier
Hi all,

My TeX setup: TeXLive (systemwide) for evetything but ConTeXt, and the
minimals for ConTeXt, in my userspace.

I have some issues using dvipng with minimals.

I first compile this file with texexec:
..
\setupoutput[dvi]
\enableregime[utf]
\starttext
\startTEXpage
$
SP=\int_0^{Q_0}(p_0-Cm(Q))dQ
$
\stopTEXpage
\stoptext
..

In the minimals environment, dvipng says: 
..  

This is dvipng 1.11 Copyright 2002-2008 Jan-Ake Larsson dvipng warning:
cannot find ps2pk.map, nor psfonts.map [1dvipng warning: font rm-lmr12 at
400 dpi not found, characters will be left blank dvipng warning: font
rm-lmr7 at 400 dpi not found, characters will be left blank dvipng
warning: font rm-lmr9 at 400 dpi not found, characters will be left blank
dvipng warning: unable to draw glyph 61, skipping dvipng warning: unable
to draw glyph 48, skipping dvipng warning: unable to draw glyph 48,
skipping dvipng warning: unable to draw glyph 40, skipping dvipng warning:
unable to draw glyph 48, skipping dvipng warning: unable to draw glyph 40,
skipping dvipng warning: unable to draw glyph 41, skipping dvipng warning:
unable to draw glyph 41, skipping ]

..

And the output is awful!!

But if I dvipng in the TL environment, it works like a charm. So what
should I add to my minimals install, or do to have all the TL stuff not
forgotten when I use minimals?

tia,
-- 
Jean
___
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
___


Re: [NTG-context] Minimals and dvipng

2009-01-20 Thread Arthur Reutenauer
 But if I dvipng in the TL environment, it works like a charm. So what
 should I add to my minimals install, or do to have all the TL stuff not
 forgotten when I use minimals?

  dvipng is not part of the minimals at all, which means you're probably
using it from TL's path, where it can't find the minimals' fonts.  If
you're ready to hack a bit, just copy dvipng to the minimals' path.

Arthur
___
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
___


[NTG-context] 2NUP, spreading a table on 2 pages

2009-01-20 Thread Antoine Junod
Hello List,

I'm trying to design a little booklet on the form two A5 pages on a A4
sheet. It's not hard to do as it is well documented.

The problem is the following: I would like to add a table (actually a
people list with firstname, lastname, mobile, address and so on and so
on) that is quite wide. The idea is to put it on a double page (ie,
when you open the booklet, the table is on both the left and the right
page).

The easy way would be to 1) manually cut the table in two tables (a
left one and a right one) that fit on a page and 2) to put them each
on their own page, beeing sure the left one is on a left page. Here,
the difficulty is to align both tables accross the pages.

Another way would be to ask context to do that by himself. Is there a
way to do that?

Thanks for your reply,
-AJ

___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Martin Schröder
2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com:
 [The PDF generator] you used flattens the file such that is has no meta tags
 whatsoever.  We need the tags that give page separations, page count, header
 info, etc.

I call that BS: I've never heard of such meta tags for PDF giving
the page count. The page count is in the root /Pages object per PDF
specification.

This meta tags BS sounds suspiciously like PostScript DSC.

Best
   Martin
___
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
___


Re: [NTG-context] 2NUP, spreading a table on 2 pages

2009-01-20 Thread Diego Depaoli
On Tue, Jan 20, 2009 at 9:20 AM, Antoine Junod t...@tots-ns.net wrote:
 Hello List,

 I'm trying to design a little booklet on the form two A5 pages on a A4
 sheet. It's not hard to do as it is well documented.

 The problem is the following: I would like to add a table (actually a
 people list with firstname, lastname, mobile, address and so on and so
 on) that is quite wide. The idea is to put it on a double page (ie,
 when you open the booklet, the table is on both the left and the right
 page).

 The easy way would be to 1) manually cut the table in two tables (a
 left one and a right one) that fit on a page and 2) to put them each
 on their own page, beeing sure the left one is on a left page. Here,
 the difficulty is to align both tables accross the pages.

 Another way would be to ask context to do that by himself. Is there a
 way to do that?
look here
http://archive.contextgarden.net/message/20080623.074757.6c4176a1.en.html
Hope that helps


-- 
Diego Depaoli
___
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
___


Re: [NTG-context] Minimals and dvipng

2009-01-20 Thread Jean Magnan de Bornier
Le 20 janvier à 09:25:29 Arthur Reutenauer arthur.reutena...@normalesup.org 
écrit notamment:

|  But if I dvipng in the TL environment, it works like a charm. So what
|  should I add to my minimals install, or do to have all the TL stuff not
|  forgotten when I use minimals?

|   dvipng is not part of the minimals at all, which means you're probably
| using it from TL's path, where it can't find the minimals' fonts.  If
| you're ready to hack a bit, just copy dvipng to the minimals' path.

Well Arthur, thanks!

But just copying or linking dvipng is not enough (same result); what kind
of hack would you suggest?

-- 
Jean
___
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
___


Re: [NTG-context] 2NUP, spreading a table on 2 pages

2009-01-20 Thread Antoine Junod
Hi,

Diego Depaoli trebes...@gmail.com writes:

 On Tue, Jan 20, 2009 at 9:20 AM, Antoine Junod t...@tots-ns.net wrote:
 Hello List,

 I'm trying to design a little booklet on the form two A5 pages on a A4
 sheet. It's not hard to do as it is well documented.

 The problem is the following: I would like to add a table (actually a
 people list with firstname, lastname, mobile, address and so on and so
 on) that is quite wide. The idea is to put it on a double page (ie,
 when you open the booklet, the table is on both the left and the right
 page).

 The easy way would be to 1) manually cut the table in two tables (a
 left one and a right one) that fit on a page and 2) to put them each
 on their own page, beeing sure the left one is on a left page. Here,
 the difficulty is to align both tables accross the pages.

 Another way would be to ask context to do that by himself. Is there a
 way to do that?

 look here
 http://archive.contextgarden.net/message/20080623.074757.6c4176a1.en.html
 Hope that helps

Thanks Diego, it seems to do exactly what I need :)

A+
-AJ
___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread luigi scarso
On Tue, Jan 20, 2009 at 12:10 PM, Arthur Reutenauer 
arthur.reutena...@normalesup.org wrote:

  I call that BS: I've never heard of such meta tags for PDF giving
  the page count. The page count is in the root /Pages object per PDF
  specification.

   I still suspect Bart's publisher means the tags that are part of
 Tagged PDF, even if he doesn't know their actual name, and has clearly
 a wrong idea of what they really contain.


to avoid confusione (at least to me):
xmp and Tagged pdf are different things.
-- 
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] 2NUP, spreading a table on 2 pages

2009-01-20 Thread Antoine Junod
Hi,

Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 Am 20.01.2009 um 09:20 schrieb Antoine Junod:

 Hello List,

 I'm trying to design a little booklet on the form two A5 pages on a A4
 sheet. It's not hard to do as it is well documented.

 The problem is the following: I would like to add a table (actually a
 people list with firstname, lastname, mobile, address and so on and so
 on) that is quite wide. The idea is to put it on a double page (ie,
 when you open the booklet, the table is on both the left and the right
 page).

 The easy way would be to 1) manually cut the table in two tables (a
 left one and a right one) that fit on a page and 2) to put them each
 on their own page, beeing sure the left one is on a left page. Here,
 the difficulty is to align both tables accross the pages.


 How about linetables?

 \setuplinetable[nx=2,width=.125\textwidth]

 \starttext

 \startlinetable
 \NC firstname \NC lastname \NC phone   \NC mobile  \NC postal
 code \NC city\NC address\NC\NR
 \NC John  \NC Jonhsons \NC 0800/987654 \NC 0171/123456 \NC  12345
 \NC New TeX \NC Meta street 12 \NC\NR
 \stoplinetable

 \stoptext

Excellent, thanks Wolfgang. It exactly matches my needs :)

All the best,
-AJ
___
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
___


Re: [NTG-context] Minimals and dvipng

2009-01-20 Thread Arthur Reutenauer
   3. export TEXFONTMAPS=/path/to/texlive/texmf-var/fonts/map/dvips

  Did I write fonts/map/dvips?  It should have been fonts/map/dvips/updmap
(or, alternatively, fonts/map/dvips// with the trailing double slash).
And it seems to work without copying the dvipng binary, and with
setuptex as well.  Of course your mileage may vary, but anyway, the key
is setting TEXFONTMAPS.

Arthur
___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Bart C. Wise
On Tue January 20 2009 4:33:27 am luigi scarso wrote:
 On Tue, Jan 20, 2009 at 12:10 PM, Arthur Reutenauer 

 arthur.reutena...@normalesup.org wrote:
   I call that BS: I've never heard of such meta tags for PDF giving
   the page count. The page count is in the root /Pages object per PDF
   specification.
 
I still suspect Bart's publisher means the tags that are part of
  Tagged PDF, even if he doesn't know their actual name, and has clearly
  a wrong idea of what they really contain.

 to avoid confusione (at least to me):
 xmp and Tagged pdf are different things.

Thanks to all for the information so far, although from all indications, it 
doesn't look promising.

I talked to the publisher again and he said that he would send me the exact 
error message, but I have not received it yet.  But he did say that his 
printing shop wants the ability to download just the header information from a 
pdf rather than the whole pdf file which may be up to 80 mbytes.  From that 
header information they will have the ability to render individual pages 
rather than the whole document.  For example, they could request page 264 and 
render that single page as a jpeg.

Note that this is information from the publisher, not the printing shop that 
is doing the work, so technically, the publisher's jargon may be inaccurate, 
but a basic understanding of the needed functionality is there.

When I get specific information from the printing shop, I'll pass it along.

As a side note, I have published with them in the past, and this seems to be a 
recent change on their part. So I may be able to talk my way into letting them 
take the pdf file without the tagged information.

But needless to say, I'm very concerned.  If tagged pdf support is not 
available in ConTeXt/LuaTeX, I feel that difficulties are either here now, or 
at 
best, looming on the horizon.

Thanks so much,
Bart
___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread luigi scarso
 I talked to the publisher again and he said that he would send me the exact
 error message, but I have not received it yet.  But he did say that his
 printing shop wants the ability to download just the header information
 from a
 pdf rather than the whole pdf file which may be up to 80 mbytes.  From that
 header information they will have the ability to render individual pages
 rather than the whole document.  For example, they could request page 264
 and
 render that single page as a jpeg.

 Note that this is information from the publisher, not the printing shop
 that
 is doing the work, so technically, the publisher's jargon may be
 inaccurate,
 but a basic understanding of the needed functionality is there.

 When I get specific information from the printing shop, I'll pass it along.

ok , I'm really interested about it .

-- 
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Martin Schröder
2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com:
 I talked to the publisher again and he said that he would send me the exact
 error message, but I have not received it yet.  But he did say that his
 printing shop wants the ability to download just the header information from a
 pdf rather than the whole pdf file which may be up to 80 mbytes.  From that
 header information they will have the ability to render individual pages
 rather than the whole document.  For example, they could request page 264 and
 render that single page as a jpeg.

Sounds like they are talking about linearized PDF.
pdfopt from GhostScript can generate that; and of course Acrobat.

Best
   Martin
___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Henning Hraban Ramm
2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com:
 I talked to the publisher again and he said that he would send me the exact
 error message, but I have not received it yet.  But he did say that his
 printing shop wants the ability to download just the header information from a
 pdf rather than the whole pdf file which may be up to 80 mbytes.  From that
 header information they will have the ability to render individual pages
 rather than the whole document.  For example, they could request page 264 and
 render that single page as a jpeg.

This sounds like web optimized PDFs, those contain a second object
index at the start (normal PDFs have it at the end), so a *browser*
can request selected pages from the *webserver* without loading the
whole document.

It's meant as a web technology, and I never heard of anyone using it
in a print workflow. But it's not impossible.


Tha has *nothing* to do with tagged PDF!
Tagged is a technology to enable re-flowing text contents to e.g.
small devices or extracting of content for alternative readers, e.g.
screenreaders.
PDFs for print should *not* be tagged in this way, for it can confuse
a print workflow.

Printshops should adhere to printing standards like PDF/X-1a and
PDF/X-3 - and these never need web optimization or tagging!


Greetlings, Hraban
(printing engineer and PDF workflow techie)
___
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
___


Re: [NTG-context] 2NUP, spreading a table on 2 pages

2009-01-20 Thread Antoine Junod
Antoine Junod t...@tots-ns.net writes:

 Hi,

 Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 Am 20.01.2009 um 09:20 schrieb Antoine Junod:

 Hello List,

 I'm trying to design a little booklet on the form two A5 pages on a A4
 sheet. It's not hard to do as it is well documented.

 The problem is the following: I would like to add a table (actually a
 people list with firstname, lastname, mobile, address and so on and so
 on) that is quite wide. The idea is to put it on a double page (ie,
 when you open the booklet, the table is on both the left and the right
 page).

 The easy way would be to 1) manually cut the table in two tables (a
 left one and a right one) that fit on a page and 2) to put them each
 on their own page, beeing sure the left one is on a left page. Here,
 the difficulty is to align both tables accross the pages.


 How about linetables?

 \setuplinetable[nx=2,width=.125\textwidth]

 \starttext

 \startlinetable
 \NC firstname \NC lastname \NC phone   \NC mobile  \NC postal
 code \NC city\NC address\NC\NR
 \NC John  \NC Jonhsons \NC 0800/987654 \NC 0171/123456 \NC  12345
 \NC New TeX \NC Meta street 12 \NC\NR
 \stoplinetable

 \stoptext

 Excellent, thanks Wolfgang. It exactly matches my needs :)

In fact my reply was a bit fast: in the example below the table is
split on pages 2 and 3. But the lines of the table are not
aligned. I'll dig the sources too see if it's possible to do that. But
if anyone has a solution, I'm interested :)

Thanks for your help,
-AJ

 Page setup
% Use A5 pages on A4 paper
\setuppapersize[A5][A4]

% Arrange the A5 pages such that there are two of them on each A4
% sheet. They are arranged such that they can be send to the printer
% set to print on both pages, flipping on the long edge.
\setuparranging[2UP,rotated,doublesided]

% The layout of the page
\setuplayout[margin=1cm,width=middle,height=middle,topspace=0cm,backspace=1.2cm]

 Colors
% Enable the use of colors for the whole document
\setupcolors[state=start]

 Debug
% Display the layout borders
\showframe

% Display the grid
\showgrid

% Display the current layout setup value
%\showsetups

 Font
% Accept accents by default as input, like é, à and others.
\enableregime[utf]

 Beginning of the document
\starttext

\section{Le mot du président}
\dorecurse{2}{\input tufte \par}

\section{Les comptes}

\section{Les récits}
\subsection{La dora}
\subsection{Mon premier match de polo}
\subsection{La piscine}

\section{List des membres}
% magic
\setuplinetable[nx=2,width=.125\textwidth]
\startlinetable
\NC firstname \NC lastname \NC phone   \NC mobile  \NC postal
code \NC city\NC address\NC\NR
\NC John  \NC Jonhsons \NC 0800/987654 \NC 0171/123456 \NC  12345
\NC New TeX \NC Meta street 12 \NC\NR
\stoplinetable

\stoptext
___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread luigi scarso


  I'm just learning about XMP (Extensible Metadata Platform) which Luigi
 mentioned, but it doesn't really look like it contains the information
 you mention (although you can apparently add all sort of metadata,
 including images).


yes and
XMP is not only for pdf :
http://labs.adobe.com/technologies/xmplibrary/


-- 
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Layout for writing a letter

2009-01-20 Thread Cecil Westerhof
I am just starting with working with ConTeXt. I was wondering if there
is a good template for writing letters?

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Joseph Wright
Cecil Westerhof wrote:
 I am just starting with working with ConTeXt. I was wondering if there
 is a good template for writing letters?
 

http://wiki.contextgarden.net/Letter_style, perhaps?
-- 
Joseph Wright
___
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
___


Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Bart C. Wise
On Tuesday 20 January 2009 08:19:04 am Arthur Reutenauer wrote:
  But he did say that his
  printing shop wants the ability to download just the header information
  from a pdf rather than the whole pdf file which may be up to 80 mbytes.

   OK.  That's not Tagged PDF.  Tagged PDF's main features focus on
 accessibility, adding information for the visually impaired (you can, for
 example, tag some text as part of the page header, by contrast to the
 page body: an application that reads the document out loud would know
 not to read that part).  It also allows better archiving (the PDF/A
 standard).  All concerns very distinct from the needs of publishers.

   I'm just learning about XMP (Extensible Metadata Platform) which Luigi
 mentioned, but it doesn't really look like it contains the information
 you mention (although you can apparently add all sort of metadata,
 including images).

   Actually, the kind of information the printing shop asks for is
 available in any PDF file in a straightforward way: the very format has
 been designed so that all the PDF objects can be accessed directly with
 extreme efficience (there is a cross-reference table with the byte
 offsets to every object inside the file).  Individual pages are objects
 in a PDF file; they contain references to the resources needed to render
 them (fonts, images, etc.), so the basic functionality to render each
 page individually is already present in the format.  And it's been there
 from day one -- which is, by the way, the reason why the insides of a
 PDF file look so undecipherable to the human eye: it's designed to be
 efficient to process automatically, not to be read by a programmer.  By
 contrast, an XML-based format would be (somewhat) more human-friendly,
 but much slower to parse.

   There's a variation on this basic feature: if you look at a PDF file
 over the Internet, the cross-reference table isn't conveniently located
 because it is at the very end of the file; so you need to download the
 entire file before your PDF viewer can start displaying it (I think the
 argument behind that design decision was that a PDF-producing
 application only knows the entire list of objects at the end of the
 first pass, and can thus output the whole file sequentially in a single
 pass.  Of course that clashes directly with the needs of PDF-consuming
 applications).  To circumvent this, Adobe devised a special type of
 object that contains the same information as the cross-reference table,
 which you can put at the very beginning of the file, together with the
 material needed to render the first pages.  This is Linearized PDF
 (sometimes, confusingly enough, called optimized PDF).  It's rather
 unlikely that it'd be what your printer wants (I suppose the file is
 already available on disk somewhere), but in any case, Ghostscript can
 produce it with the utility pdfopt.  ConTeXt isn't able to produce it;
 it has been ruled that it was beyond the scope of pdfTeX and luaTeX.

  When I get specific information from the printing shop, I'll pass it
  along.

   I'm interested, too.

  But needless to say, I'm very concerned.  If tagged pdf support is not
  available in ConTeXt/LuaTeX, I feel that difficulties are either here
  now, or at best, looming on the horizon.

   Why?  There's progress made every day.  Tagged PDF is indeed a problem
 for the moment, but it's clearly not the feature your printer asks for,
 and as a rule, you can be sure that if some functionality is essential
 to publishers, it will be added quickly to ConTeXt :-)


Thanks again to all for the responses.  The information has been very 
enlightening.

I have sent an optimized (I know, badly named,) PDF file off to the publisher 
and I'm waiting for his response.  From all indications on this thread, I'm 
somewhat optimistic that it will solve the problem.  I'll let you know what I 
hear back.

Thanks so much again,
Bart
___
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
___


Re: [NTG-context] 2NUP, spreading a table on 2 pages

2009-01-20 Thread Wolfgang Schuster


booklet.tex
Description: Binary data


Am 20.01.2009 um 16:25 schrieb Antoine Junod:


In fact my reply was a bit fast: in the example below the table is
split on pages 2 and 3. But the lines of the table are not
aligned. I'll dig the sources too see if it's possible to do that. But
if anyone has a solution, I'm interested :)


You can solve it with twopassdata and a few wrapper macros to hide
the underlying macros in your document. Take a look in my example
how this can be done.

You need the arrange key for texexec to let it work in imposition  
mode.


Wolfgang

___
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
___


Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Wolfgang Schuster


Am 20.01.2009 um 16:53 schrieb Joseph Wright:


Cecil Westerhof wrote:
I am just starting with working with ConTeXt. I was wondering if  
there

is a good template for writing letters?


http://wiki.contextgarden.net/Letter_style, perhaps?



The list miss the style from Joe Hogg

  http://www.tug.org/pracjourn/2006-3/hogg/

and the style from Karel Wesseling

  http://maps.aanhet.net/maps/pdf/28_15.pdf

Wolfgang

___
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
___


Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Cecil Westerhof
2009/1/20 Joseph Wright joseph.wri...@morningstar2.co.uk:
 I am just starting with working with ConTeXt. I was wondering if there
 is a good template for writing letters?


 http://wiki.contextgarden.net/Letter_style, perhaps?

I tried the second. The shell variable $HOMETEXMF is not set on my
system, thus I tried putting t-letterhead.tex in the same directory
and also in /usr/share/texmf/tex/context/third. When trying to
generate I get:
! Undefined control sequence.
l.5 \addressee
  {Prof.\crlf

What is going wrong?

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] Layout for writing a letter

2009-01-20 Thread Cecil Westerhof
2009/1/20 Cecil Westerhof cldwester...@gmail.com:
 I am just starting with working with ConTeXt. I was wondering if there
 is a good template for writing letters?


 http://wiki.contextgarden.net/Letter_style, perhaps?

 I tried the second. The shell variable $HOMETEXMF is not set on my
 system, thus I tried putting t-letterhead.tex in the same directory
 and also in /usr/share/texmf/tex/context/third. When trying to
 generate I get:
! Undefined control sequence.
l.5 \addressee
  {Prof.\crlf

 What is going wrong?

It was an to old version I used. It was 5.2.4, on a 6.2.0 it works. I
can now taylor it to my needs.

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] Minimals and dvipng

2009-01-20 Thread Jean Magnan de Bornier
Le 20 janvier à 13:49:28 Arthur Reutenauer arthur.reutena...@normalesup.org 
écrit notamment:

|3. export TEXFONTMAPS=/path/to/texlive/texmf-var/fonts/map/dvips

|   Did I write fonts/map/dvips?  It should have been fonts/map/dvips/updmap
| (or, alternatively, fonts/map/dvips// with the trailing double slash).
| And it seems to work without copying the dvipng binary, and with
| setuptex as well.  Of course your mileage may vary, but anyway, the key
| is setting TEXFONTMAPS.

|   Arthur

Ho yes!!
Thanks a lot, it works. Will there be any side-effect on normal uses of context?
-- 
Jean
___
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
___


Re: [NTG-context] Minimals and dvipng

2009-01-20 Thread Arthur Reutenauer
 Thanks a lot, it works. Will there be any side-effect on normal uses of 
 context?

  Definitely.  TEXFONTMAPS is the path to the various font mapping files
for dvips, (x)dvipdfm(x) and pdfTeX.  I would strongly advise against
setting that variable for normal use of the minimals.  What you could do
without tweaking with TEXFONTMAPS, is to put ps2pk.map in some directory
inside fonts/map in the minimals, together with the dvipng binary.  Best
in texmf-local, for this is the location for local changes.  But then,
you of course need to make sure that the necessary fonts are available
in the minimals, etc.

  Since you have TeX Live installed, your best bet is probably to use
the minimals with the special TEXFONTMAPS setting only for ConTeXt +
dvipng, and otherwise use the minimals only, or TeX Live only.

Arthur
___
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
___


[NTG-context] setupindenting

2009-01-20 Thread Cecil Westerhof
With setupindenting I can define the level of indenting. But I want a
different level of indentation for different paragraphs. How can I do
this?

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] backgrounds: help needed

2009-01-20 Thread Alan BRASLAU
I, too, do not understand the
\definetextbackground
\starttextbackground
\stoptextbackground
commands, even though I tried looking at details.pdf (and core-pgr.tex).

My particular problem is rather classic, that of illustrating examples, set off 
from the main text.
I first used

\defineframedtext [example] 
[width=fit,background=screen,backgroundscreen=0.7]

\startexample
...
\stopexample

and this is appropriate if the example is short enough to fit on one page.
However, a long example (many paragraphs) that spans more than one page
runs off the bottom.
Textbackground seems more appropriate, so I tried

\definetextbackground [example] 
[location=paragraph,backgroundcolor=middlegray,frame=off]
\definestartstop [example] 
[before={\starttextbackground[example]},after=\stoptextbackground]

but this does not work. I tried other variants (such as adding state=start, 
...) with no success.

Does anyone have suggestions on where to look for further documentation or 
examples of use?
Thanks.
___
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
___


Re: [NTG-context] backgrounds: help needed

2009-01-20 Thread Wolfgang Schuster


Am 20.01.2009 um 23:51 schrieb Alan BRASLAU:


I, too, do not understand the
\definetextbackground
\starttextbackground
\stoptextbackground
commands, even though I tried looking at details.pdf (and core- 
pgr.tex).
My particular problem is rather classic, that of illustrating  
examples, set off from the main text.

I first used
\defineframedtext [example]
[width=fit,background=screen,backgroundscreen=0.7]
\startexample
...
\stopexample
and this is appropriate if the example is short enough to fit on one  
page.
However, a long example (many paragraphs) that spans more than one  
page

runs off the bottom.
Textbackground seems more appropriate, so I tried
\definetextbackground [example]
[location=paragraph,backgroundcolor=middlegray,frame=off]
\definestartstop [example]
[before={\starttextbackground[example]},after=\stoptextbackground]
but this does not work. I tried other variants (such as adding  
state=start, ...) with no success.
Does anyone have suggestions on where to look for further  
documentation or examples of use?



This works for me.

\setupcolors[state=start]

\definetextbackground
  [example]
  [location=paragraph,
   background=color,
   backgroundcolor=middlegray,
   frame=off]

\starttext

\input knuth

\startexample
\dorecurse{4}{\input knuth\par}
\stopexample

\input knuth

\stoptext

Wolfgang

___
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
___


Re: [NTG-context] colored column

2009-01-20 Thread Wolfgang Werners-Lucchini
Hallo Hans,

   What is the problem here?
 
  maybe a typo? \{C{red} looks weird
  
 
 See:
 ---
 % Key \{: Enclose template in braces.
 \NewFormatKey \{{%
   \!taDataColumnTemplate=\!thx{\!thx{\the\!taDataColumnTemplate}}%
   \ReadFormatKeys}
 ---
 in thrd-tab.tex

Will this FormatKey be repaired?

If yes, I would keep this in my example collection.

Gruß, Wolfgang
___
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
___


Re: [NTG-context] colored column

2009-01-20 Thread Wolfgang Schuster


Am 18.01.2009 um 17:09 schrieb Wolfgang Werners-Lucchini:


This doesn't work! Try


\letvalue{!tk\string C}=\undefined

\NewFormatKey C#1%
  {\ReadFormatKeys b{\localstartcolor[#1]\bgroup} a{\egroup 
\localstopcolor}}



\starttable[o1|C{red}|c|]
\VL red \VL should be black \VL\SR
\stoptable


Wolfgang

___
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
___