ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Greek in ConTeXt
@ 2005-03-30 12:28 Thomas A.Schmitz
  2005-03-30 12:48 ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas A.Schmitz @ 2005-03-30 12:28 UTC (permalink / raw)


Gang,

during the last weeks, I've been working on two modules to support 
ancient (polytonic) Greek. THey are finished now and will be ready for 
download at Patrick's site soon. They require the latest ConTeXt beta 
2005.03.16 (actually, some parts from these modules have been 
integrated into the main distribution). Moreover, I've written a MyWay 
about the process. Even if you're not particularly interested in 
Ancient Greek (rumor has it that some people might not be), this may be 
useful for you as it explains how I enabled support for Unicode 
TrueType fonts and utf-input, so this should be valid for other Unicode 
vectors as well. Patrick has agreed to host this MyWay at his site:

http://dl.contextgarden.net/myway/GreekInContext.pdf

Hope this will be useful to some of you!

Best wishes

Thomas

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

* Re: Greek in ConTeXt
  2005-03-30 12:28 Greek in ConTeXt Thomas A.Schmitz
@ 2005-03-30 12:48 ` Hans Hagen
  2005-03-30 12:55   ` Patrick Gundlach
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2005-03-30 12:48 UTC (permalink / raw)


Thomas A.Schmitz wrote:
> Gang,
> 
> during the last weeks, I've been working on two modules to support 
> ancient (polytonic) Greek. THey are finished now and will be ready for 
> download at Patrick's site soon. They require the latest ConTeXt beta 
> 2005.03.16 (actually, some parts from these modules have been integrated 
> into the main distribution). Moreover, I've written a MyWay about the 
> process. Even if you're not particularly interested in Ancient Greek 
> (rumor has it that some people might not be), this may be useful for you 
> as it explains how I enabled support for Unicode TrueType fonts and 
> utf-input, so this should be valid for other Unicode vectors as well. 
> Patrick has agreed to host this MyWay at his site:
> 
> http://dl.contextgarden.net/myway/GreekInContext.pdf

my browser says: file does not begin with %pdf ...

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

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

* Re: Greek in ConTeXt
  2005-03-30 12:48 ` Hans Hagen
@ 2005-03-30 12:55   ` Patrick Gundlach
  2005-03-30 13:05     ` Taco Hoekwater
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Patrick Gundlach @ 2005-03-30 12:55 UTC (permalink / raw)


Hello Hans,

> my browser says: file does not begin with %pdf ...

this is strange. I just checked with my browser (safari, firefox) and
they downloaded the file well. And 'file' gives me:

$ file GreekInContext.pdf 
GreekInContext.pdf: PDF document, version 1.5

Anybody else having trouble?

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

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

* Re: Re: Greek in ConTeXt
  2005-03-30 12:55   ` Patrick Gundlach
@ 2005-03-30 13:05     ` Taco Hoekwater
  2005-03-30 13:30     ` Matthias Weber
  2005-03-30 13:36     ` Tobias Burnus
  2 siblings, 0 replies; 11+ messages in thread
From: Taco Hoekwater @ 2005-03-30 13:05 UTC (permalink / raw)



This has happened to me sometimes (not on this file though),
and is usually caused by Mozilla's cache-ing the document
in memory. You could try restarting the browser, that usually
works for me.


Patrick Gundlach wrote:
> Hello Hans,
> 
> 
>>my browser says: file does not begin with %pdf ...
> 
> 
> this is strange. I just checked with my browser (safari, firefox) and
> they downloaded the file well. And 'file' gives me:
> 
> $ file GreekInContext.pdf 
> GreekInContext.pdf: PDF document, version 1.5
> 
> Anybody else having trouble?
> 
> Patrick

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

* Re: Re: Greek in ConTeXt
  2005-03-30 12:55   ` Patrick Gundlach
  2005-03-30 13:05     ` Taco Hoekwater
@ 2005-03-30 13:30     ` Matthias Weber
  2005-03-30 13:48       ` Patrick Gundlach
  2005-03-30 14:20       ` Patrick Gundlach
  2005-03-30 13:36     ` Tobias Burnus
  2 siblings, 2 replies; 11+ messages in thread
From: Matthias Weber @ 2005-03-30 13:30 UTC (permalink / raw)


I have no time right now to check what server you are running,
but I had this type  of  problem on my Suse/Apache server with some 
MS/Acrobat combinations.
It works well with Linux/OS-X.

I had to change the mime settings of pdf files to xpdf for Apache
to make things work.

Matthias

On Mar 30, 2005, at 7:55 AM, Patrick Gundlach wrote:

> Hello Hans,
>
>> my browser says: file does not begin with %pdf ...
>
> this is strange. I just checked with my browser (safari, firefox) and
> they downloaded the file well. And 'file' gives me:
>
> $ file GreekInContext.pdf
> GreekInContext.pdf: PDF document, version 1.5
>
> Anybody else having trouble?
>
> Patrick
> -- 
> ConTeXt wiki: http://contextgarden.net
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

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

* Re: Re: Greek in ConTeXt
  2005-03-30 12:55   ` Patrick Gundlach
  2005-03-30 13:05     ` Taco Hoekwater
  2005-03-30 13:30     ` Matthias Weber
@ 2005-03-30 13:36     ` Tobias Burnus
  2 siblings, 0 replies; 11+ messages in thread
From: Tobias Burnus @ 2005-03-30 13:36 UTC (permalink / raw)


Hello,

>>my browser says: file does not begin with %pdf ...
>>    
>this is strange. I just checked with my browser (safari, firefox) and
>they downloaded the file well. And 'file' gives me:
>  
I have also the same problems. In FireFox 1.0.2/Linux with AR7pre
plugin, the AR plugin starts and states:
"File does not begin with '%PDF-'". But using telnet, it looks quite ok
(see below); and using wget and then acroread, I have no problems at all.

Tobias


~> telnet dl.contextgarden.net 80
Trying 83.151.29.228...
Connected to dl.contextgarden.net.
Escape character is '^]'.
GET /myway/GreekInContext.pdf HTTP/1.1
Host: dl.contextgarden.net

HTTP/1.1 200 OK
Date: Wed, 30 Mar 2005 13:02:10 GMT
Server: Apache
Last-Modified: Wed, 30 Mar 2005 11:17:00 GMT
ETag: "3b348-6c94d-ea770300"
Accept-Ranges: bytes
Content-Length: 444749
Vary: Accept-Encoding,User-Agent
Content-Type: application/pdf
X-Pad: avoid browser bug

%PDF-1.5
1 0 obj <<
[...]

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

* Re: Greek in ConTeXt
  2005-03-30 13:30     ` Matthias Weber
@ 2005-03-30 13:48       ` Patrick Gundlach
  2005-03-30 13:53         ` Matthias Weber
  2005-03-30 14:20       ` Patrick Gundlach
  1 sibling, 1 reply; 11+ messages in thread
From: Patrick Gundlach @ 2005-03-30 13:48 UTC (permalink / raw)


Hello Matthias,

> I have no time right now to check what server you are running,

debian/apache 2

> but I had this type  of  problem on my Suse/Apache server with some
> MS/Acrobat combinations.
> It works well with Linux/OS-X.


> I had to change the mime settings of pdf files to xpdf for Apache
> to make things work.

xpdf or x-pdf? I have set the mime type of the file to
application/x-pdf for now. Is this the correct way?

Patrick (clueless)

-- 
ConTeXt wiki: http://contextgarden.net

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

* Re: Re: Greek in ConTeXt
  2005-03-30 13:48       ` Patrick Gundlach
@ 2005-03-30 13:53         ` Matthias Weber
  2005-03-30 14:14           ` Hans Hagen
  2005-03-30 14:17           ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: Matthias Weber @ 2005-03-30 13:53 UTC (permalink / raw)


x-pdf should work fine. I am still clueless about this problem, too.
In my class of 30, only some Windows users had exactly this problem.
I could never reproduce it on our Campus machines, and never on a Mac 
either.

I only know that changing the mime type has fixed it since. Maybe Hans 
or Tobias can retry now?

Matthias

On Mar 30, 2005, at 8:48 AM, Patrick Gundlach wrote:

> Hello Matthias,
>
>> I have no time right now to check what server you are running,
>
> debian/apache 2
>
>> but I had this type  of  problem on my Suse/Apache server with some
>> MS/Acrobat combinations.
>> It works well with Linux/OS-X.
>
>
>> I had to change the mime settings of pdf files to xpdf for Apache
>> to make things work.
>
> xpdf or x-pdf? I have set the mime type of the file to
> application/x-pdf for now. Is this the correct way?
>
> Patrick (clueless)
>
> -- 
> ConTeXt wiki: http://contextgarden.net
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

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

* Re: Re: Greek in ConTeXt
  2005-03-30 13:53         ` Matthias Weber
@ 2005-03-30 14:14           ` Hans Hagen
  2005-03-30 14:17           ` Hans Hagen
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2005-03-30 14:14 UTC (permalink / raw)


Matthias Weber wrote:
> x-pdf should work fine. I am still clueless about this problem, too.
> In my class of 30, only some Windows users had exactly this problem.
> I could never reproduce it on our Campus machines, and never on a Mac 
> either.
> 
> I only know that changing the mime type has fixed it since. Maybe Hans 
> or Tobias can retry now?

doesn't work (yet); the message comes pretty fast (i use firefox); i just tried 
ie and it first downloads the file and then acrobat bombs; maybe byteserving is 
not working ok in the garden

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

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

* Re: Re: Greek in ConTeXt
  2005-03-30 13:53         ` Matthias Weber
  2005-03-30 14:14           ` Hans Hagen
@ 2005-03-30 14:17           ` Hans Hagen
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2005-03-30 14:17 UTC (permalink / raw)


Matthias Weber wrote:

> x-pdf should work fine. I am still clueless about this problem, too.
> In my class of 30, only some Windows users had exactly this problem.
> I could never reproduce it on our Campus machines, and never on a Mac 
> either.
> 
> I only know that changing the mime type has fixed it since. Maybe Hans 
> or Tobias can retry now?

i cleared all caches and now the document open sin a separate acrobat window (no 
browser integration)

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

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

* Re: Greek in ConTeXt
  2005-03-30 13:30     ` Matthias Weber
  2005-03-30 13:48       ` Patrick Gundlach
@ 2005-03-30 14:20       ` Patrick Gundlach
  1 sibling, 0 replies; 11+ messages in thread
From: Patrick Gundlach @ 2005-03-30 14:20 UTC (permalink / raw)


Hello again,

> I have no time right now to check what server you are running,
> but I had this type  of  problem on my Suse/Apache server with some
> MS/Acrobat combinations.
> It works well with Linux/OS-X.

you put me on the right track. It looks as if there is some bug with
acrobat (reader) plugin/chunked web server responses.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25960

Patrick
(it should work now, I have disabled pdf compression on server)
-- 
ConTeXt wiki: http://contextgarden.net

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

end of thread, other threads:[~2005-03-30 14:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-30 12:28 Greek in ConTeXt Thomas A.Schmitz
2005-03-30 12:48 ` Hans Hagen
2005-03-30 12:55   ` Patrick Gundlach
2005-03-30 13:05     ` Taco Hoekwater
2005-03-30 13:30     ` Matthias Weber
2005-03-30 13:48       ` Patrick Gundlach
2005-03-30 13:53         ` Matthias Weber
2005-03-30 14:14           ` Hans Hagen
2005-03-30 14:17           ` Hans Hagen
2005-03-30 14:20       ` Patrick Gundlach
2005-03-30 13:36     ` Tobias Burnus

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