Re: [NTG-context] pdfselect and context command?

2011-12-13 Thread Verhaag, G.C.H.M.

On 12/12/2011 11:57 AM, Hans Hagen wrote:

On 12-12-2011 11:10, Verhaag, G.C.H.M. wrote:

Hi ConTeXTt User's,

I was looking for the --pdfselect option in the context-command, but it
doesn't seem to be available.

This option is available in texexec to select certain pages from a pdf
file.

Can it also be done in some way using the context-command?


context --extra=select --help





Hi,

I tried to extract the first page of a recently (using ConTeXt ver: 
2011.11.29 23:11 MKIV fmt: 2011.12.5 int: english/english) generated pdf 
file with the following command:


context --select=extras --selection=1:1 myfile.pdf

which gave the following result/error:

! String contains an invalid utf-8 sequence.

system  tex  error on line 9 in file website.pdf: String contains an 
invalid utf-8 sequence ...


1 %PDF-1.6
2 %���
3 19 0 obj
4 
5 /Length 4260
6 /Filter /FlateDecode
7 
8 stream
9  x^�[Ɏ%I^^Q��W�#^^\*;#W 
�D�L!0'^^P\h!N�n�KD���f�U�z���ዹӧ�~'�4�c���/�cM�0N�?�C�}��^^_���4
10 ��㥒 
g�|�_|��v�/�}~��GZ���)=��S^^V�KI�2��,kZ˰���^^_�qM�%1�q\��$?�n׾���e�'p5��U�I��=��wq�~�(�^^O��^^W��g^^[^^U��i|.��/�~���7^^H�W��a���X�,˒!��^^Y^^_��^^G~���m~��yا1���~�U$�2X�}^^]S�}62�ddٱ��^^N۾l.�%�c�*^^[�r�^^Q^^Q̨� 
^^H�`ٸ^���,�d`��M�b�A�k^^^_�kΛ,u�^^^K���6��'Y3^^EOr8~0��^^]�U��^^^��,Ǐߋ��Ǩ��,�E^^L�^^_��Ju05�l)��^^C�ˮ�*�3rg��0�i��d�'v�J�.��Z]���\�?��1�]�{c^^_�fި%��e^^Q�^^T�H�0�b�f}��^^]���}^^S^^_:^^X^^\^^W���c[PPY4�^^[���ERA�^^A9��é�l�(��`^^KX��Y7|�C�ia%X��w��z=
11 
yOU��%��a4�?u^^Y!�̻QC3dϭ~cG�#�^^^�7���o'y��R^^YJY�z�2�!%y���R^^Z�yNE�P�Q�8l���^^WyiNUQ���Z�N�8ựI��V�N��^^X7^^T��[z�þ�E^^\�y��P4��?��v*W}��:^^U^^D�h�$^^TT

12
13 
ri��Y�xQ{#��u�/ڣ��^^R�^^S���^^X^^[�^^[7��-���U^^T/^^Yъ/.���^^V��^^Q�3L^^Ww��2�k8WS^^U�\�M�T���r�2t��r

14 9�X^^QD�N��h�^^V6��0^^G6
15 �a^^^9?�UO�?�#�c6���m�W^^G��2^^O^^[�0^^V�50KqI��^^Y
16 \��ll�=�^^^�� �3\^^V�z�^^[�L��[Y^^^�[ݴb�/rj8a 
^^W��K^^F^^Y^^D�F��y,R﫤]�^^T^^AŻ^^V��ӣf\
17 g�^^D\�m 
�1$�f�g���B���4�^^K}^^Rc�7^^Vх�,�^^WP�#*1^^G^^]U��y�qeq�~r�^^Rc

18 �ƪ!^^Q^^[^^_�
19 
7�^^\2��SO$x^^U[�*}�`^^Y�(���^^O{D5Ý�2��:���^^W]�^^_.F��,8B��^^P�^^^���W�K?�F�^^^M�i^^G^^Lo�o���ᇺݺ^^R(,��'^^Q%^^V�Z=L^^A 
\��8�aٚ���ۘ^^^ +�-�1^^Rt^^Fb��6


l.9 x^
�[Ɏ%I^^Q��W�#^^\*;#W �D�L!0'^^P\h!N�n�KD���f�U�z���ዹӧ�~'�4...

But the file myfile.pdf displays correctly in Acrobat Reader! Any idea 
what I did wrong?


Regards,
Gerard Verhaag
___
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
___

[NTG-context] pdfselect and context command?

2011-12-12 Thread Verhaag, G.C.H.M.

Hi ConTeXTt User's,

I was looking for the --pdfselect option in the context-command, but it 
doesn't seem to be available.


This option is available in texexec to select certain pages from a pdf file.

Can it also be done in some way using the context-command?

Regards,
Gerard Verhaag
___
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
___


Re: [NTG-context] pdfselect and context command?

2011-12-12 Thread Hans Hagen

On 12-12-2011 11:10, Verhaag, G.C.H.M. wrote:

Hi ConTeXTt User's,

I was looking for the --pdfselect option in the context-command, but it
doesn't seem to be available.

This option is available in texexec to select certain pages from a pdf
file.

Can it also be done in some way using the context-command?


context --extra=select --help


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___