Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Vit Zyka
Hans Hagen wrote:
Vit Zyka wrote:
I have played with this yesterday evening, but without success. I tried
\pdfcompresslevel=0
\pdftrailer{/Encrypt << /Filter /Standard /V 1 /R 2 /P 252 >> }
  Hallo
\end

technically it's possible to have no password (at least the specs say 
so) but i can't get it working;

do you have a file without password that is editable made by another 
app?

Unfortunately not. Using pdfcrypt I created encrypted but not editable 
PDF, see http://typokvitek.com/tmp/pdfpermit3.pdf
open password 'A', user password 'B'.

it looks like something needs to be done with the stream as well; simply 
setting a password fails (even the empty one, the funny hex stream); 
btw, your 252 should be a negative number)
I see. I have to read the specification notes... But in this case the 
flag number for allowing everything is -4.
(see http://typokvitek.com/tmp/pdfpermit4.pdf)

In this case all Document Security are allowed, but not Document 
Restrictions Summary!? Bu still no success with commenting...

Vit Zyka
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Mark Smith
Henning Hraban Ramm wrote:

>Am 05.01.2005 um 12:03 schrieb Mark Smith:
>> The general opinion was that this is effectively an Acrobat-only 
>> feature. In fact, it seems that one needs Acrobat 6 or 7 Pro to enable 
>> commenting in this way and that (at least on Mac) the "commmenting 
>> author" needs Reader 7 to be able to participate. That said, it was
>
>The other way round:
>You need Acrobat 7 Pro to enable "Reader Extensions" for a document, 
>afterwards you can comment PDFs with Reader 6 or 7

Same way round actually. 7 Pro enables the enabling of comments (a paraphrase 
of "enables commenting") in a document. The "commenting author" is the one who 
writes the comments and needs (as I said) on Mac (I believe), Reader 7. We are 
saying the same thing.

The meat of the thread was more about the how-to's and why-not's of enabling 
"Reader Extensions" w/o 7 Pro.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Henning Hraban Ramm
Am 05.01.2005 um 12:03 schrieb Mark Smith:
The general opinion was that this is effectively an Acrobat-only 
feature. In fact, it seems that one needs Acrobat 6 or 7 Pro to enable 
commenting in this way and that (at least on Mac) the "commmenting 
author" needs Reader 7 to be able to participate. That said, it was
The other way round:
You need Acrobat 7 Pro to enable "Reader Extensions" for a document, 
afterwards you can comment PDFs with Reader 6 or 7

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] function that purges 8 bit text?

2005-01-05 Thread Henning Hraban Ramm
Hi there!
I try to typeset a roleplaying character sheet as PDF form;
it contains a table of skills, each line is a \SkillField after this 
def:

\def\SkillField#1#2{\bTR\bTD #1\hfill (#2) \eTD \bTD 
\definefield[#1][line][SkillSetup][#2]\field[#3]\eTD\eTR}
e.g.
\SkillField{Climbing}{+8}

becomes a table line like:
Climbing   (+8)  [+8]
Now there are a lot of skills that contain e.g. umlauts, so that 
\definefield[#1] fails.
I don't like to introduce a third parameter.

Is there a possibility to strip all invalid chars from a string, so that
\SkillField{Erzählen}{0} can define a field named "Erzaehlen" or 
"Erzhlen" or "Erzahlen"?
(Sorry, I can't program in TeX.)

If this is not possible, I'll try an optional parameter.
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bibdemo.tex

2005-01-05 Thread Taco Hoekwater
Willi Egger wrote:
Hi,
Testing the file provided by Taco before installing the new 
alpha-Context did not result in a reference from \cite[don], only a () 
is typeset.

After installing the new alpha-Context, the problem with the \section 
command is indeed solved. Still there is only a () from the citation.

What is going wrong?
my example was incomplete (it produces no cite-able output). The fact
that there are empty braces indicates that it actually *does* work 
though. Otherwise, you'd have seen something like (X, ).
Sorry, not the best example I ever created ...

Greetings, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] alpha release

2005-01-05 Thread Willi Egger
Thanks Taco! This makes things clear.
Willi
Taco Hoekwater wrote:
Adam Lindsay wrote:
Willi Egger said this at Wed, 5 Jan 2005 20:33:08 +0100:

language   : patterns en for en loaded (n=1)
(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ushyph.tex)
language   : no hyphenations en for en (n=1)

Yeah, huh. I got the same, too. Empirically, it works:

This message hits a minor language problem. Please read as follows:
language   : \patterns en for en loaded (n=1)
(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ushyph.tex)
language   : no \hyphenation's en for en (n=1)
So yes, all is fine (unless you want to typeset the word
'JavaScript' a few times in a narrow column).
Greetings, Taco ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bibdemo.tex

2005-01-05 Thread Willi Egger
Hi,
Testing the file provided by Taco before installing the new 
alpha-Context did not result in a reference from \cite[don], only a () 
is typeset.

After installing the new alpha-Context, the problem with the \section 
command is indeed solved. Still there is only a () from the citation.

What is going wrong?
Kind regards Willi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] alpha release

2005-01-05 Thread Taco Hoekwater
Adam Lindsay wrote:
Willi Egger said this at Wed, 5 Jan 2005 20:33:08 +0100:

language   : patterns en for en loaded (n=1)
(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ushyph.tex)
language   : no hyphenations en for en (n=1)
Yeah, huh. I got the same, too. Empirically, it works:
This message hits a minor language problem. Please read as 
follows:

language   : \patterns en for en loaded (n=1)
(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ushyph.tex)
language   : no \hyphenation's en for en (n=1)
So yes, all is fine (unless you want to typeset the word
'JavaScript' a few times in a narrow column).
Greetings, Taco 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] alpha release

2005-01-05 Thread Adam Lindsay
Willi Egger said this at Wed, 5 Jan 2005 20:33:08 +0100:

>language   : patterns en for en loaded (n=1)
>(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ushyph.tex)
>language   : no hyphenations en for en (n=1)

Yeah, huh. I got the same, too. Empirically, it works:
\starttext
\framedtext[width=8cm]{\input tufte }
\stoptext

lots and lots of hyphens.
But those are unsettling messages, you're right.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] alpha release

2005-01-05 Thread Willi Egger
Hi,
I donwloaded your latest release ...
After generating the format files I checked the log files of 
format-generation.
Following up the discussion on another thread (hyphenation peculiarity) 
I would like to ask how the follwing lines should be interpreted:

language   : patterns en for en loaded (n=1)
(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ushyph.tex)
language   : no hyphenations en for en (n=1)
language   : patterns uk for uk loaded (n=2)
(c:\NEWCON~1\tex\texmf/tex/generic/hyphen/ukhyph.tex)
language   : no hyphenations uk for uk (n=2)
encoding   : coding texnansi
Are the hyphenations for the english language now correctly set?
Kind regards Willi
Hans Hagen wrote:
Hi,
I uploaded an alpha release. Well, not that alpha, since i run it here 
as default, but this one has the bib files packahed. Some code moved to 
the system modules and some bits and pieces were cleaned up. Taco and I 
will discuss a further clean up / internationalization later. I hope 
that this fisex some of the reported problems.

(next on the list is the nath module, but i wait till GB tells me to do so)
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] alpha release

2005-01-05 Thread Hans Hagen
Hi,
I uploaded an alpha release. Well, not that alpha, since i run it here as 
default, but this one has the bib files packahed. Some code moved to the system 
modules and some bits and pieces were cleaned up. Taco and I will discuss a 
further clean up / internationalization later. I hope that this fisex some of 
the reported problems.

(next on the list is the nath module, but i wait till GB tells me to do so)
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Hans Hagen
Vit Zyka wrote:
I have played with this yesterday evening, but without success. I tried
\pdfcompresslevel=0
\pdftrailer{/Encrypt << /Filter /Standard /V 1 /R 2 /P 252 >> }
  Hallo
\end
technically it's possible to have no password (at least the specs say 
so) but i can't get it working;

do you have a file without password that is editable made by another app?

Unfortunately not. Using pdfcrypt I created encrypted but not editable 
PDF, see http://typokvitek.com/tmp/pdfpermit3.pdf
open password 'A', user password 'B'.
it looks like something needs to be done with the stream as well; simply setting 
a password fails (even the empty one, the funny hex stream); btw, your 252 
should be a negative number)

so ... we need more info
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: No bonds visibel with ppchtex

2005-01-05 Thread Kai Straube
Am Freitag, 31. Dezember 2004 22:22 schriebst Du:
> Kai Straube wrote:
> > % original texmf.cnf -- runtime path configuration file for kpathsea.
> > % Enable system commands via \write18{...}?
> > shell_escape = f
>
> shell_escape = t
>
> Hans

Thank you for your engagement! But after I changed it nothing new was 
happend ;-((

Kai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Vit Zyka
I have played with this yesterday evening, but without success. I tried
\pdfcompresslevel=0
\pdftrailer{/Encrypt << /Filter /Standard /V 1 /R 2 /P 252 >> }
  Hallo
\end

technically it's possible to have no password (at least the specs say 
so) but i can't get it working;

do you have a file without password that is editable made by another app?
Unfortunately not. Using pdfcrypt I created encrypted but not editable 
PDF, see http://typokvitek.com/tmp/pdfpermit3.pdf
open password 'A', user password 'B'.

Vit Zyka
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Hans Hagen
Vit Zyka wrote:
Do we have a ConTeXt tool which can enable users of e.g. AdobeReader 7 
to add comments to PDF files ?
Or is it true that this "comments enabled flag" can only be set for 
PDFs generated by Acrobat -- and only by the original author?

I have played with this yesterday evening, but without success. I tried
\pdfcompresslevel=0
\pdftrailer{/Encrypt << /Filter /Standard /V 1 /R 2 /P 252 >> }
  Hallo
\end
technically it's possible to have no password (at least the specs say so) but i 
can't get it working;

do you have a file without password that is editable made by another app?
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Figure captions

2005-01-05 Thread Albrecht Kauffmann


On Wed, 5 Jan 2005, Taco Hoekwater wrote:

> Hi,
>
> Does anybody know how I can get a dot after the figure number in
> a caption, without 'promoting' that dot to figure references in
> the body text as well?

\let\floatcaptionsuffix=.

Greetings
Albrecht


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Figure captions

2005-01-05 Thread Taco Hoekwater
Hi,
Does anybody know how I can get a dot after the figure number in
a caption, without 'promoting' that dot to figure references in
the body text as well? I remember I've had this problem before, but
that was a long time ago and I don't remember the solution any more.
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Mark Smith
Hans Hagen wrote:

>you can read comments in the reader, but not add them; but you can use tex 
>to add them and the reader will recognize them

Hope I'm not misrepresenting anyone here, but I think the utility of this 
function for [Con|La]TeX[t] users is not so much in being able to add comments 
oneself in the input file(s) (though this has its uses), but in being able to 
send a draft PDF to non-TeX-savvy co-authors +/or editors and giving them (more 
or less) free reign to add their comments to it, if possible w/o completely 
destroying any security. (I'm currently having to generate RTF or "Word HTML" 
drafts for such purposes.)

mark.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Vit Zyka
Do we have a ConTeXt tool which can enable users of e.g. AdobeReader 7 to add 
comments to PDF files ?
Or is it true that this "comments enabled flag" can only be set for PDFs 
generated by Acrobat -- and only by the original author?
I have played with this yesterday evening, but without success. I tried
\pdfcompresslevel=0
\pdftrailer{/Encrypt << /Filter /Standard /V 1 /R 2 /P 252 >> }
  Hallo
\end
AFAIK /P 252 allows everything (in revision 2). But you need password 
key sequences /O and /U generation in the /Encrypt dictionary. Even if I 
added them by pdfcrypt utility there was no possibility to comment PDF. 
No idea for now.

Vit Zyka

Steffen

Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:

There's a lot of new or enhanced features for us prepress people, e.g. 
for Reader Extensions you don't need this expensive server product any 
more, that means, if you own Acrobat 7 Professional you can enable the 
correction tools in Reader for your document.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
--
Vít Zýka --- http://typokvitek.com
Automatic document typesetting
Automaticka sazba dokumentu --
--

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Hans Hagen
Steffen Wolfrum wrote:
Hi,
in the MacOSX-TeX-list (mainly on LaTeX) I just read a discussion on "Comments in 
PDF" (by AcrobatReader7).
Do we have a ConTeXt tool which can enable users of e.g. AdobeReader 7 to add 
comments to PDF files ?
Or is it true that this "comments enabled flag" can only be set for PDFs 
generated by Acrobat -- and only by the original author?
you can read comments in the reader, but not add them; but you can use tex to 
add them and the reader will recognize them

\setupinteraction[state=start]
\starttext
\startcomment should work in older readers as well \stopcomment
\input bryson
\stoptext
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Mark Smith
I wrote:

(regarding enabling comments in PDFs)

>I wonder if either (or both) of these:
>
>a1241e335670fc0b939a8c03b77536f2>
>
>a1241e335670fc0b939a8c03b77536f2>
>
>allow it ?

well, I took the plunge and applied for demos of both. It looks like neither 
does the trick.

mark.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Mark Smith
Steffen Wolfrum wrote:

>Hi,
>
>in the MacOSX-TeX-list (mainly on LaTeX) I just read a discussion on 
>"Comments in PDF" (by AcrobatReader7).

I was involved in that discussion.

>Do we have a ConTeXt tool which can enable users of e.g. AdobeReader 7 to 
>add comments to PDF files ?
>Or is it true that this "comments enabled flag" can only be set for PDFs 
>generated by Acrobat -- and only by the original author?

Quick summary of the thread:

The general opinion was that this is effectively an Acrobat-only feature. In 
fact, it seems that one needs Acrobat 6 or 7 Pro to enable commenting in this 
way and that (at least on Mac) the "commmenting author" needs Reader 7 to be 
able to participate. That said, it was suggested that (though ill-advisable) 
the Acrobat security model could probably be readily breached in this respect 
by third party tools. I wonder if either (or both) of these:





allow it ? Setting comments is not AFAICS mentioned in the blurb, but similar 
tricks are. OTOH an academic license for 7 Pro is not *that* much more 
expensive.

mark.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-05 Thread Steffen Wolfrum
Hi,

in the MacOSX-TeX-list (mainly on LaTeX) I just read a discussion on "Comments 
in PDF" (by AcrobatReader7).

Do we have a ConTeXt tool which can enable users of e.g. AdobeReader 7 to add 
comments to PDF files ?
Or is it true that this "comments enabled flag" can only be set for PDFs 
generated by Acrobat -- and only by the original author?


Steffen



Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:

> There's a lot of new or enhanced features for us prepress people, e.g. 
> for Reader Extensions you don't need this expensive server product any 
> more, that means, if you own Acrobat 7 Professional you can enable the 
> correction tools in Reader for your document.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context