ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pdf bizareness...
@ 2008-06-27  9:45 Alan Stone
  2008-06-27 10:17 ` Alan Stone
  2008-06-27 14:22 ` Alan Stone
  0 siblings, 2 replies; 14+ messages in thread
From: Alan Stone @ 2008-06-27  9:45 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 655 bytes --]

Hi,

- ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
- XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)

When using

(1) \setupinteraction[state=start,
    title={éèçàù},
    subtitle={éèçàù},
    author={éèçàù},
    keyword={éèçàù}]

the accented characters get al scrambled up in the pdf
document properties fields while in the document itself
all is ok.

Qué passa ?


(2) \pdfminorversion=5 (or whatever) gives

! Undefined control sequence.
l.31 \pdfminorversion
                     =5
?
! Emergency stop.
l.31 \pdfminorversion
                     =5

What's the alternative ?

Thanks,
Alan

[-- Attachment #1.2: Type: text/html, Size: 1009 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

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

* Re: pdf bizareness...
  2008-06-27  9:45 pdf bizareness Alan Stone
@ 2008-06-27 10:17 ` Alan Stone
  2008-06-27 14:22 ` Alan Stone
  1 sibling, 0 replies; 14+ messages in thread
From: Alan Stone @ 2008-06-27 10:17 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1111 bytes --]

In addition to question (1)...

Compiling

\setupinteraction[state=start,
    title=éèçàù,
    subtitle=éèçàù,
    author=éèçàù,
    keyword=éèçàù]

with xetex doesn't work either - still scrambled.  :O(

With texexec --autopdf --pdf, accented characters
are displayed correctly. It seems to be something with
xetex...


2008/6/27 Alan Stone <software.list.1es9s@gmail.com>:

> Hi,
>
> - ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
> - XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)
>
> When using
>
> (1) \setupinteraction[state=start,
>     title={éèçàù},
>     subtitle={éèçàù},
>     author={éèçàù},
>     keyword={éèçàù}]
>
> the accented characters get al scrambled up in the pdf
> document properties fields while in the document itself
> all is ok.
>
> Qué passa ?
>
>
> (2) \pdfminorversion=5 (or whatever) gives
>
> ! Undefined control sequence.
> l.31 \pdfminorversion
>                      =5
> ?
> ! Emergency stop.
> l.31 \pdfminorversion
>                      =5
>
> What's the alternative ?
>
> Thanks,
> Alan
>

[-- Attachment #1.2: Type: text/html, Size: 1781 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

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

* Re: pdf bizareness...
  2008-06-27  9:45 pdf bizareness Alan Stone
  2008-06-27 10:17 ` Alan Stone
@ 2008-06-27 14:22 ` Alan Stone
  2008-06-27 15:33   ` Khaled Hosny
  1 sibling, 1 reply; 14+ messages in thread
From: Alan Stone @ 2008-06-27 14:22 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1358 bytes --]

Re (1)

Would somebody please de so kind to compile this minimal example
with XeTeX and inform me what you see in the pdf's document
properties for: title, subject, author and keywords ?

The good looking characters or the messed up ones ?

--- begin code ---

\mainlanguage[fr]

\setupinteraction[
    title=ÀÂÆ ÇÉÈÊË ÎÏÔŒ ÙÜŸ,
    subtitle=àâæ çéèêë îïôœ ùûüÿ,
    author=àâæ ÀÂÆ,
    keyword=àâæ çéèêë îïôœ ùûüÿ]

\starttext

À Â Æ Ç É È Ê Ë Î Ï Ô Œ Ù Ü Ÿ

à â æ ç é è ê ë î ï ô œ ù û ü ÿ

\stoptext

--- end code ---


Thanks on beforehand,
Alan


2008/6/27 Alan Stone <software.list.1es9s@gmail.com>:

> Hi,
>
> - ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
> - XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)
>
> When using
>
> (1) \setupinteraction[state=start,
>     title={éèçàù},
>     subtitle={éèçàù},
>     author={éèçàù},
>     keyword={éèçàù}]
>
> the accented characters get al scrambled up in the pdf
> document properties fields while in the document itself
> all is ok.
>
> Qué passa ?
>
>
> (2) \pdfminorversion=5 (or whatever) gives
>
> ! Undefined control sequence.
> l.31 \pdfminorversion
>                      =5
> ?
> ! Emergency stop.
> l.31 \pdfminorversion
>                      =5
>
> What's the alternative ?
>
> Thanks,
> Alan
>

[-- Attachment #1.2: Type: text/html, Size: 2057 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

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

* Re: pdf bizareness...
  2008-06-27 14:22 ` Alan Stone
@ 2008-06-27 15:33   ` Khaled Hosny
  2008-06-27 17:22     ` Alan Stone
  0 siblings, 1 reply; 14+ messages in thread
From: Khaled Hosny @ 2008-06-27 15:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2238 bytes --]

I'm getting a bunch of ��ï symbols.

On Fri, Jun 27, 2008 at 04:22:14PM +0200, Alan Stone wrote:
> Re (1)
> 
> Would somebody please de so kind to compile this minimal example
> with XeTeX and inform me what you see in the pdf's document
> properties for: title, subject, author and keywords ?
> 
> The good looking characters or the messed up ones ?
> 
> --- begin code ---
> 
> \mainlanguage[fr]
> 
> \setupinteraction[
>     title=            Ԍ    ,
>     subtitle=                   ,
>     author=       ,
>     keyword=                   ]
> 
> \starttext
> 
>                              
> 
>                                
> 
> \stoptext
> 
> --- end code ---
> 
> 
> Thanks on beforehand,
> Alan
> 
> 
> 2008/6/27 Alan Stone <software.list.1es9s@gmail.com>:
> 
>     Hi,
> 
>     - ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
>     - XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)
> 
>     When using
> 
>     (1) \setupinteraction[state=start,
>         title={     },
>         subtitle={     },
>         author={     },
>         keyword={     }]
> 
>     the accented characters get al scrambled up in the pdf
>     document properties fields while in the document itself
>     all is ok.
> 
>     Qu  passa ?
> 
> 
>     (2) \pdfminorversion=5 (or whatever) gives
> 
>     ! Undefined control sequence.
>     l.31 \pdfminorversion
>                          =5
>     ?
>     ! Emergency stop.
>     l.31 \pdfminorversion
>                          =5
> 
>     What's the alternative ?
> 
>     Thanks,
>     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://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

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

* Re: pdf bizareness...
  2008-06-27 15:33   ` Khaled Hosny
@ 2008-06-27 17:22     ` Alan Stone
  2008-06-27 17:44       ` Alan Stone
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Stone @ 2008-06-27 17:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks Khaled.

In the meantime found
http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers#PDF_Headers
so...

--- begin code ---

\mainlanguage[fr]

\setupinteraction[
   state=start,
   title={ÀÂÆ ÇÉÈÊË ÎÏÔŒ ÙÜŸ},
   subtitle={àâæ çéèêë îïôœ ùûüÿ},
   author={àâæ ÀÂÆ},
   keyword={àâæ çéèêë îïôœ ùûüÿ}]

\starttext

À Â Æ Ç É È Ê Ë Î Ï Ô Œ Ù Ü Ÿ

à â æ ç é è ê ë î ï ô œ ù û ü ÿ

\stoptext

--- end code ---

Still scramled pdf headers.

Looking for an enlightened and enlightening soul...

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


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

* Re: pdf bizareness...
  2008-06-27 17:22     ` Alan Stone
@ 2008-06-27 17:44       ` Alan Stone
  2008-06-27 21:00         ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Stone @ 2008-06-27 17:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

FYI, log file in attachment. There's a ( for me obscure ) warning message...

Have a good weekend everybody,
Alan

[-- Attachment #2: minifr.log --]
[-- Type: application/octet-stream, Size: 4382 bytes --]

>texexec --xtx minifr
TeXExec | processing document 'minifr'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file minifr.top
TeXExec | using randomseed 699
TeXExec | tex engine: xetex
TeXExec | tex format: cont-en
This is XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)
 \write18 enabled.
entering extended mode
(./minifr.tex

ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23  int: english/english

language        : language en is active
system          : cont-new loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/opt/context/tex/texmf-context/tex/context/base/cont-new.mkii)
(/opt/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(/opt/context/tex/texmf-context/tex/context/user/cont-sys.tex
(/opt/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-otf.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-xtx.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->ec:ec->1->2:3 fr->ec:ec->2->2:3 de->ec:ec->3->2:
3 it->ec:ec->4->2:3 pt->ec:ec->5->2:3 hr->ec:ec->6->2:3 pl->ec:ec->7->2:3 cz->e
c:ec->8->2:3 sk->ec:ec->9->2:3 sl->ec:ec->10->2:3 ru->ec:ec->12->2:3 en->ec:ec-
>13->2:3 uk->ec:ec->14->2:3 us->ec:ec->15->2:3 agr->ec:ec->16->2:3 da->ec:ec->1
7->2:3 sv->ec:ec->18->2:3 af->ec:ec->19->2:3 no->ec:ec->20->2:3 deo->ec:ec->21-
>2:3 es->ec:ec->25->2:3 ca->ec:ec->26->2:3 la->ec:ec->27->2:3 ro->ec:ec->28->2:
3 tr->ec:ec->29->2:3 fi->ec:ec->31->2:3 hu->ec:ec->32->2:3 loaded
specials        : tex,postscript,rokicki loaded
system          : minifr.top loaded
(./minifr.top
specials        : loading definition file dpx
(/opt/context/tex/texmf-context/tex/context/base/spec-dpx.tex
specials        : loading definition file fdf
(/opt/context/tex/texmf-context/tex/context/base/spec-fdf.tex
(/opt/context/tex/texmf-context/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,dpx loaded
specials        : loading definition file xet
(/opt/context/tex/texmf-context/tex/context/base/spec-xet.tex)
specials        : fdf,dpx loaded
) (/opt/context/tex/texmf-context/tex/context/base/spec-tst.tex)
interaction     : active
(./minifr.tuo) (./minifr.tuo) (./minifr.tuo) (./minifr.tuo) (./minifr.tuo)
(./minifr.tuo) (./minifr.tuo) (./minifr.tuo) (./minifr.tuo) (./minifr.tuo)
(./minifr.tuo) (./minifr.tuo)
systems         : begin file minifr at line 12
fonts           : resetting map file list
fonts           : using map file: original-base
fonts           : using map file: lm-math
fonts           : using map file: lm-rm
fonts           : using map file: texnansi-base
fonts           : using map file: ec-base
fonts           : using map file: qx-base
fonts           : using map file: t5-base
fonts           : using map file: 8r-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-ams-euler
fonts           : using map file: original-public-lm
(/opt/context/tex/texmf-context/tex/context/base/sort-def.tex
(/opt/context/tex/texmf-context/tex/context/base/sort-def.mkii))
(/opt/context/tex/texmf-context/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(/opt/context/tex/texmf-context/tex/context/base/sort-lan.mkii))
interaction     : DVIPDFMx code inserted
[1.1]
** WARNING ** Could not open config file "dvipdfmx.cfg".
stdin -> minifr.pdf
[1]
5366 bytes written

systems         : end file minifr at line 18
 )
(see the transcript file for additional information)
Output written on minifr.pdf (1 page).
Transcript written on minifr.log.
TeXUtil | parsing file minifr.tui
TeXUtil | shortcuts : 169
TeXUtil | expansions: 304
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 21
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 2.912231
>Exit code: 0


[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

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

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

* Re: pdf bizareness...
  2008-06-27 17:44       ` Alan Stone
@ 2008-06-27 21:00         ` Hans Hagen
  2008-06-28 10:44           ` Alan Stone
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2008-06-27 21:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> FYI, log file in attachment. There's a ( for me obscure ) warning message...

you mean ...

[1.1]
** WARNING ** Could not open config file "dvipdfmx.cfg".
stdin -> minifr.pdf
[1]
5366 bytes written

probably harmless

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


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

* Re: pdf bizareness...
  2008-06-27 21:00         ` Hans Hagen
@ 2008-06-28 10:44           ` Alan Stone
  2008-06-28 11:29             ` Hans Hagen
       [not found]             ` <6faad9f00806280445i5679f2b7l764f96294270a617@mail.gmail.com>
  0 siblings, 2 replies; 14+ messages in thread
From: Alan Stone @ 2008-06-28 10:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Yep Hans, that one. Ok I won't bother about it any longer.

Any clues regarding the other issues, i.e.

(1) the scrambled PDF headers ?

(2) the inability to lower the \pdfminorversion setting ?

using

- ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
- XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)

Best,
Alan


On Fri, Jun 27, 2008 at 11:00 PM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
>> FYI, log file in attachment. There's a ( for me obscure ) warning message...
>
> you mean ...
>
> [1.1]
> ** WARNING ** Could not open config file "dvipdfmx.cfg".
> stdin -> minifr.pdf
> [1]
> 5366 bytes written
>
> probably harmless
>
> Hans
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: pdf bizareness...
  2008-06-28 10:44           ` Alan Stone
@ 2008-06-28 11:29             ` Hans Hagen
  2008-06-28 12:07               ` Alan Stone
       [not found]             ` <6faad9f00806280445i5679f2b7l764f96294270a617@mail.gmail.com>
  1 sibling, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2008-06-28 11:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> Yep Hans, that one. Ok I won't bother about it any longer.
> 
> Any clues regarding the other issues, i.e.
> 
> (1) the scrambled PDF headers ?
> 
> (2) the inability to lower the \pdfminorversion setting ?
> 
> using
> 
> - ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
> - XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)

in pdf traditionally there was only pdf doc encoding; this is supported 
by default

when unicode encoding was added to the spec, i started supporting it too 
  and given that one enables it, traditional tex should work out ok (for 
instance chinese bookmark were possible)

i've now enabled it for luatex (context mkiv) and when that works ou ok 
i'll see if i can support it for xet ex too (the problem is that i need 
to rework some code in the spec drivers and that was not on my current 
agenda)

(it means that i need to replace defaults for pdftex/xetex/luatex and 
since luatex is experimental anyway, let's start there)

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


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

* Re: pdf bizareness...
  2008-06-28 11:29             ` Hans Hagen
@ 2008-06-28 12:07               ` Alan Stone
  2008-06-28 12:14                 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Stone @ 2008-06-28 12:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ok Hans. Thanks for taking it into consideration. Take your time do to
whatever you intended to do first. It'll be worthwhile waiting for
sure.

The more I dig into ConTeXt the more I like it ( compared to LaTeX ) -
although the font handling is quite a tough nut to crack. XeTeX makes
it a bit more comprehensible, though I don't have a clue what I'm
doing. I just try different things and keep what works.

Thanks for all that you do.

Have a great weekend,
Alan


On Sat, Jun 28, 2008 at 1:29 PM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
>> Yep Hans, that one. Ok I won't bother about it any longer.
>>
>> Any clues regarding the other issues, i.e.
>>
>> (1) the scrambled PDF headers ?
>>
>> (2) the inability to lower the \pdfminorversion setting ?
>>
>> using
>>
>> - ConTeXt  ver: 2008.06.22 17:38 MKII  fmt: 2008.6.23 ( ctx minimal)
>> - XeTeX, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)
>
> in pdf traditionally there was only pdf doc encoding; this is supported
> by default
>
> when unicode encoding was added to the spec, i started supporting it too
>  and given that one enables it, traditional tex should work out ok (for
> instance chinese bookmark were possible)
>
> i've now enabled it for luatex (context mkiv) and when that works ou ok
> i'll see if i can support it for xet ex too (the problem is that i need
> to rework some code in the spec drivers and that was not on my current
> agenda)
>
> (it means that i need to replace defaults for pdftex/xetex/luatex and
> since luatex is experimental anyway, let's start there)
>
> Hans
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: pdf bizareness...
  2008-06-28 12:07               ` Alan Stone
@ 2008-06-28 12:14                 ` Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2008-06-28 12:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> Ok Hans. Thanks for taking it into consideration. Take your time do to
> whatever you intended to do first. It'll be worthwhile waiting for
> sure.
> 
> The more I dig into ConTeXt the more I like it ( compared to LaTeX ) -
> although the font handling is quite a tough nut to crack. XeTeX makes
> it a bit more comprehensible, though I don't have a clue what I'm
> doing. I just try different things and keep what works.

the context fonts system is geared to 'users combining fonts of 
different nature' and 'multiple such sets in parallel in one document'
which is what happens a lot over here

in principle font support can be made very simple:

- add 500 extra files that we call a style
- define a combination of fonts in such a file
- expect users to know what file to load to get what they want

(my guess is that latex is doing that)

however, the downside would be ...

- many, many useless files
- inconsistent combinations (you really need to scale relatively)
- still an additional system to defining your own

it's a bit the same with setting up a page .. it takes one command 
(setuplayout) and putting that in a style would add a file and 
eventually users would use that same comman dto modify their page anyway

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


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

* Re: pdf bizareness...
       [not found]               ` <6faad9f00806280445i5679f2b7l764f96294270a617@mail.gmail.co m>
@ 2008-06-29 10:56                 ` Alan Stone
  2008-06-29 19:28                   ` Hans Hagen
  2008-06-29 23:29                   ` Mojca Miklavec
  0 siblings, 2 replies; 14+ messages in thread
From: Alan Stone @ 2008-06-29 10:56 UTC (permalink / raw)
  To: ntg-context

Jonathan Kew's response...

---
You can't use \pdfminorversion in XeTeX, that's a pdfTeX-specific
command. I think you need to pass the -V command-line option to
xdvipdfmx (I expect this can be done somewhere in the ConTeXt
scripts, but don't know any details), or else set it in the
dvipdfmx.cfg configuration file. AFAIK, the usual default is 4, but
you can set it higher if you need to embed other PDFs that use a
higher version.

JK
---

 >you need to pass the -V command-line option to
 >xdvipdfmx (I expect this can be done somewhere in the ConTeXt
 >scripts, but don't know any details),

Somebody knows the details ?

Alan

At Saturday 28/06/2008 13:45, you wrote:
>On Sat, Jun 28, 2008 at 12:44 PM, Alan Stone
><software.list.1es9s@gmail.com> wrote:
> > Yep Hans, that one. Ok I won't bother about it any longer.
> >
> > Any clues regarding the other issues, i.e.
> >
> > (1) the scrambled PDF headers ?
> >
> > (2) the inability to lower the \pdfminorversion setting ?
>
>For XeTeX it's set in tex.rb:
>         @@runoptions['xetex']   = ['--8bit','-output-driver="xdvipdfmx
>-E -d 4 -V 5"']
>you can modify that one, but it will be replaced next time when you
>update ConTeXt.
>
>Can you please ask on the XeTeX mailing list if there is some command
>to specify PDF version with a command? Then, "-V 5" could go out of
>tex.rb into the format. But I'm not sure if that functionality has
>already been implemented (though it should probably be trivial to do).
>
>Mojca

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


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

* Re: pdf bizareness...
  2008-06-29 10:56                 ` Alan Stone
@ 2008-06-29 19:28                   ` Hans Hagen
  2008-06-29 23:29                   ` Mojca Miklavec
  1 sibling, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2008-06-29 19:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> Jonathan Kew's response...
> 
> ---
> You can't use \pdfminorversion in XeTeX, that's a pdfTeX-specific
> command. I think you need to pass the -V command-line option to
> xdvipdfmx (I expect this can be done somewhere in the ConTeXt
> scripts, but don't know any details), or else set it in the
> dvipdfmx.cfg configuration file. AFAIK, the usual default is 4, but
> you can set it higher if you need to embed other PDFs that use a
> higher version.

maybe it makes sense to support the \pdfminotversion primitive in xetex; 
after all, its' determined by what trickery happens in the macro package

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


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

* Re: pdf bizareness...
  2008-06-29 10:56                 ` Alan Stone
  2008-06-29 19:28                   ` Hans Hagen
@ 2008-06-29 23:29                   ` Mojca Miklavec
  1 sibling, 0 replies; 14+ messages in thread
From: Mojca Miklavec @ 2008-06-29 23:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jonathan Kew

On Sun, Jun 29, 2008 at 12:56 PM, Alan Stone wrote:
> Jonathan Kew's response...
>
> ---
> You can't use \pdfminorversion in XeTeX, that's a pdfTeX-specific
> command. I think you need to pass the -V command-line option to
> xdvipdfmx (I expect this can be done somewhere in the ConTeXt
> scripts, but don't know any details), or else set it in the
> dvipdfmx.cfg configuration file. AFAIK, the usual default is 4, but
> you can set it higher if you need to embed other PDFs that use a
> higher version.
>
> JK
> ---
>
>  >you need to pass the -V command-line option to
>  >xdvipdfmx (I expect this can be done somewhere in the ConTeXt
>  >scripts, but don't know any details),
>
> Somebody knows the details ?

On Sun, Jun 29, 2008 at 9:28 PM, Hans Hagen wrote
> maybe it makes sense to support the \pdfminotversion primitive in xetex;
> after all, its' determined by what trickery happens in the macro package

At the moment the only reasonable answer is to edit tex.rb (every time
when you update ConTeXt) I'm affraid. Hans doesn't provide any command
line opton to change that, and apparently Jonathan didn't provide any
primitive to change that either. You could create or edit a
configuration file for dvipdfmx, but I'm affraid that passing an
option to xdvipdfmx (which is done by default in ConTeXt already)
would overwrite that setting anyway.

You have two options if you really really need that:
1.) bribe Hans for command-line option and volunteer to write man
pages for TeX Live (for ConTeXt they are still missing)
2.) bribe Jonathan to add a primitive
(but have a good excuse for it :)

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-06-29 23:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-27  9:45 pdf bizareness Alan Stone
2008-06-27 10:17 ` Alan Stone
2008-06-27 14:22 ` Alan Stone
2008-06-27 15:33   ` Khaled Hosny
2008-06-27 17:22     ` Alan Stone
2008-06-27 17:44       ` Alan Stone
2008-06-27 21:00         ` Hans Hagen
2008-06-28 10:44           ` Alan Stone
2008-06-28 11:29             ` Hans Hagen
2008-06-28 12:07               ` Alan Stone
2008-06-28 12:14                 ` Hans Hagen
     [not found]             ` <6faad9f00806280445i5679f2b7l764f96294270a617@mail.gmail.com>
     [not found]               ` <6faad9f00806280445i5679f2b7l764f96294270a617@mail.gmail.co m>
2008-06-29 10:56                 ` Alan Stone
2008-06-29 19:28                   ` Hans Hagen
2008-06-29 23:29                   ` Mojca Miklavec

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