[NTG-context] figurelibrary broken (mkiv)

2009-10-28 Thread Peter Rolf

Hi,

I just noticed that figurelib is broken again.
MTXrun | current version: 2009.10.27 16:35
This is LuaTeX, Version beta-0.44.0-2009102808

Test file is contexttest/tex/context/base/x-res-00.tex/test-001.tex


Best wishes,  Peter
___
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] New current context

2009-10-28 Thread Taco Hoekwater
Hi,

Some (most?) of you will have noticed this already, but just in case:
Hans released a new current context yesterday. This is mostly a bugfix/
catchup release for mkiv functionality, but there are also a few other
bugfixes.

See http://wiki.contextgarden.net/Context_2009.10.27 for details.

Best wishes,
Taco
___
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] Operator symbols ?

2009-10-28 Thread Steffen Wolfrum

Hi,


hopefully the four symbols that should come next are still in your  
email:

¬
∨
∧
≡

I assume they are called conjunction, disjunction, negation and equals  
(with three lines).


Does anybody know how to set  them in (con)tex?


Thanks

Steffen
___
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] Operator symbols ?

2009-10-28 Thread Steffen Wolfrum


Am 28.10.2009 um 15:21 schrieb Steffen Wolfrum:


Hi,


hopefully the four symbols that should come next are still in your  
email:

¬
∨
∧
≡

I assume they are called conjunction, disjunction, negation and  
equals (with three lines).


Does anybody know how to set  them in (con)tex?



Found it (in http://en.wikipedia.org/wiki/Table_of_logic_symbols):

\lnot
\lor
\land
\equiv


Steffen
___
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] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Bruce
I've been gravitating to a presentation system where I author
presentations in markdown, and then convert them to an HTML-based
system that results in examples like this:

http://www.users.muohio.edu/darcusb/s6test/test.html

This allows me to focus on content, but very quickly create
high-quality slides.

So I have a kind of default representation of a slide, but I also have
a couple of CSS classes that I attach (via XSLT) to individual slides
depending on the content. For example, if I have a title without any
other text content, then I attach a title class to the slide, which
renders the title larger, and vertical-centered on the page. If
there's a single image, I attach a imgbig class, which floats the
image to the background, and enlarges it to fill the slide.

I would like to be able to do the same with PDF using ConTeXt, ideally
using simple-slides. I know some styles have similar parameter options
for things like image placement, but I'm not seeing anything
equivalent for titles. Is this possible to add?

Bruce

___
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] filter contents of xml elements

2009-10-28 Thread Jelle Huisman

Hi all,

First of all a big thank you to Hans for MkIV xml support which is so 
much easier to understand than the MKII based method (or is that just 
me?) Anyway, I'm processing a rather messy html file and I would like to 
do some conditional processing based on the actual content of the 
element. See example below: I have linked h3 with \subject but I would 
like to drop this element if the content of the element matches 'Skip 
title'.

Any hints? Thanks!
Jelle

\startbuffer[test]
html
h3Title 1/h3
pHello world./p
h3Skip title/h3
pHello world!/p
h3Title 2/h3
pHello world?/p
h3Title 3/h3
pHello :-)/p
/html
\stopbuffer

\startxmlsetups xml:setups
\xmlsetsetup{main}{html|h3|p}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:setups}

\startxmlsetups xml:html
\xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:h3
\subject{\xmlflush{#1}} % but drop this if content of element is 
'Skip Title'

\stopxmlsetups

\startxmlsetups xml:p
\xmlflush{#1}\par
\stopxmlsetups

\starttext
  \xmlprocessbuffer{main}{test}{}
\stoptext

Expected outcome:
  Title 1
  Hello world.
  Hello world!
  Title 2
  Hello world?
  Title 3
  Hello :-)
___
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] filter contents of xml elements

2009-10-28 Thread Taco Hoekwater


Jelle Huisman wrote:
 Any hints? Thanks!

The next does not deserve a price for elegance, but because
\xmlflush is expandable (this is its best feature, I think!)
you can use the traditional tex toolkit macros:

\startxmlsetups xml:h3
\doifinstringelse{Skip title}{\xmlflush{#1}}
  {}
  {\subject{\xmlflush{#1}}}
\stopxmlsetups

I'm fairly certain that there are nicer solutions, however.

Best wishes,
Taco
___
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] filter contents of xml elements

2009-10-28 Thread Taco Hoekwater


Taco Hoekwater wrote:
 
 Jelle Huisman wrote:
 Any hints? Thanks!
 
 The next does not deserve a price for elegance, but because

Hm, and that should have been prize, not price.


___
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] filter contents of xml elements

2009-10-28 Thread Jelle Huisman

On 28/10/2009 15:32, Taco Hoekwater wrote:

The next does not deserve a price for elegance, but because
\xmlflush is expandable (this is its best feature, I think!)
you can use the traditional tex toolkit macros:

\startxmlsetups xml:h3
 \doifinstringelse{Skip title}{\xmlflush{#1}}
   {}
   {\subject{\xmlflush{#1}}}
\stopxmlsetups

I'm fairly certain that there are nicer solutions, however.
   


Thanks Taco, this works, I owe you a beer at next year's ConTeXt 
meeting! I'm still interested in a 'proper' xml (= non-TeX) based 
solution, anyone?


Jelle
___
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] filter contents of xml elements

2009-10-28 Thread Hans Hagen

Jelle Huisman wrote:

On 28/10/2009 15:32, Taco Hoekwater wrote:

The next does not deserve a price for elegance, but because
\xmlflush is expandable (this is its best feature, I think!)
you can use the traditional tex toolkit macros:

\startxmlsetups xml:h3
 \doifinstringelse{Skip title}{\xmlflush{#1}}
   {}
   {\subject{\xmlflush{#1}}}
\stopxmlsetups

I'm fairly certain that there are nicer solutions, however.
   


Thanks Taco, this works, I owe you a beer at next year's ConTeXt 
meeting! I'm still interested in a 'proper' xml (= non-TeX) based 
solution, anyone?


\startxmlsetups xml:h3
   \xmldoifnot {#1} {[text()='Skip title']} {
   \subject{\xmlflush{#1}}
   }
\stopxmlsetups

or:

\xmlsetsetup {main} {h3[text()='Skip title']} {-}


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


Re: [NTG-context] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Thomas A. Schmitz

Bruce,

very briefly: I'm very very short on time this week, so won't be able  
to look into this until middle of next week, but I just wanted to let  
you know that I find your idea great. I had been thinking of adding an  
xml template for simple presentations. your html-based stuff looks  
gorgeous, so I would like to know more about it. And let us know what  
exactly it is that you're missing in simple-slides. In theory, titles  
are typeset in layers, so everything should be there.


All best

Thomas

On Oct 28, 2009, at 4:11 PM, Bruce wrote:


I've been gravitating to a presentation system where I author
presentations in markdown, and then convert them to an HTML-based
system that results in examples like this:

http://www.users.muohio.edu/darcusb/s6test/test.html

This allows me to focus on content, but very quickly create
high-quality slides.

So I have a kind of default representation of a slide, but I also have
a couple of CSS classes that I attach (via XSLT) to individual slides
depending on the content. For example, if I have a title without any
other text content, then I attach a title class to the slide, which
renders the title larger, and vertical-centered on the page. If
there's a single image, I attach a imgbig class, which floats the
image to the background, and enlarges it to fill the slide.

I would like to be able to do the same with PDF using ConTeXt, ideally
using simple-slides. I know some styles have similar parameter options
for things like image placement, but I'm not seeing anything
equivalent for titles. Is this possible to add?

Bruce

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


___
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] filter contents of xml elements

2009-10-28 Thread Jelle Huisman

On 28/10/2009 16:54, Hans Hagen wrote:

\startxmlsetups xml:h3
   \xmldoifnot {#1} {[text()='Skip title']} {
   \subject{\xmlflush{#1}}
   }
\stopxmlsetups

or:

\xmlsetsetup {main} {h3[text()='Skip title']} {-}


OK thanks, that's even better.

Jelle
___
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] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Bruce
Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes:

 
 Bruce,
 
 very briefly: I'm very very short on time this week, so won't be able  
 to look into this until middle of next week, 

OK; feel free to get back to me as time permits, here or off-list (I 
don't often check this list).

 but I just wanted to let  
 you know that I find your idea great. I had been thinking of adding an  
 xml template for simple presentations. your html-based stuff looks  
 gorgeous, so I would like to know more about it. 

It's just a JQuery-based version of S5, called S6. My fork of it is here:

http://github.com/bdarcus/s6

The background image is just a simple, very small, SVG gradient.

I author in markdown, run the file through pandoc to convert to XHTML 
(though any markdown processor will do), and then pipe it to an XSLT 
that converts it into my (idiosyncratic) S6 XHTML.

 And let us know what  
 exactly it is that you're missing in simple-slides. 

Am looking to be able to (easily) do something vaguely like ...

\SlideTitle{Some Slide}[style=big-title]

.. where 'big-title' gets me the title large and centered 
vertically on the page.

More generally, it's just the idea to be able to adept the 
rendering on a per-page basis with a simple parameter (rather than 
me having to figure out how to write lower-level code). It is 
therefore conceptually analogous to the master slide feature you 
see in apps like Keynote or PowerPoint.

Bruce

 In theory, titles  
 are typeset in layers, so everything should be there.
 
 All best
 
 Thomas

___
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] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Aditya Mahajan

On Wed, 28 Oct 2009, Thomas A. Schmitz wrote:


Bruce,

very briefly: I'm very very short on time this week, so won't be able to look 
into this until middle of next week, but I just wanted to let you know that I 
find your idea great. I had been thinking of adding an xml template for 
simple presentations. your html-based stuff looks gorgeous, so I would like 
to know more about it. And let us know what exactly it is that you're missing 
in simple-slides. In theory, titles are typeset in layers, so everything 
should be there.


I also like this idea. In fact, it will not be too difficult to map these 
to simple-slides. Basically


  li class=slide title
h1Test Slide Show/h1
  /li

should be translated to

 \setupTitle[title=Test Slide Show,author=,date=]
 \placeTitle

and
 li class=slide
h1Hello/h1
ul
  lione/li
  litwo/li
/ul
  /li

should be translated to

\SlideTitle{Hello}
\startitemize
\item one
\item two
\stopitemize

we currently do not have any specific environment for blockquote (but 
Thomas and I have discussed adding something similar). The vanilla ConTeXt 
equivalent \startblockquote ... \stopblockquote doesn't do anything fancy.


Finally,
li class=slide imgbig
   h1Container Ships/h1
   img src=filename.jpg /
/li

should be translated to

\IncludePicture[horizontal][filename.jpg]{Container Ships}


I do not know what is the best way to do these translations. ConTeXt can 
also handle XML files, so it is just a matter of writing the translation 
rules in ConTeXt. Or, if you prefer, you can write an XSLT transformation.


Aditya
___
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] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Aditya Mahajan

On Wed, 28 Oct 2009, Bruce wrote:


Am looking to be able to (easily) do something vaguely like ...

\SlideTitle{Some Slide}[style=big-title]

.. where 'big-title' gets me the title large and centered
vertically on the page.


I use something similar in my presentations. For example, see pg 3 and 14 
of http://pantheon.yale.edu/~am894/pub/talk/allerton-2009a.pdf


In my styles, I have a macro that takes care of this. I think that adding 
such a macro for all styles might be useful.


Aditya


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

2009-10-28 Thread Hans Hagen

Hi,

On the website we now have tagged manuals as:

- all  - mkii and mkiv
- mkii - written with mkii in mind, so not always optimal for mkiv
- mkiv - written with mkiv in mind, so mostly not optimal for mkii
- obsolete - (partially) obsolete or in need of an update

This is visible in show-man.* and the pages that describe the manuals.

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


Re: [NTG-context] presentation (simple-slides?) master-like feature?

2009-10-28 Thread Aditya Mahajan

On Wed, 28 Oct 2009, Bruce D'Arcus wrote:


     li class=slide title
       h1Test Slide Show/h1
     /li

should be translated to

    \setupTitle[title=Test Slide Show,author=,date=]
    \placeTitle


Well, except that I want the option to have this sort of rendering
elsewhere in the presentation. I see you address that in a followup;
would love to see you add that macro.


This is just a modification of the Interlude macro 
http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-context/


\def\Interlude{\dowithpargument\doInterlude}

\def\doInterlude#1%
  {\page
\null
\vfill \vfill
   \startalignment[center]
 \let\\\crlf
 \interludefont
   \setupinterlinespace[big]
  #1
  \endgraf
  \stopalignment
   \vfill \vfill \vfill
   \page}


But this is ad-hoc. To integrate this with all styles, this macro 
should have its own background and the user should be able to configure 
the font, alignment, color, etc using a proper interface. So, that will 
have to wait until Thomas and I have more time (basically, the end of 
semester). However, as a stop-gap measure, the above should work. Just 
translate



     li class=slide title
       h1Test Slide Show/h1
     /li


to

\Interlude{Test Slide Show}

Aditya

___
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] [Dev-luatex] Luatex 0.44.0 announcement

2009-10-28 Thread Mojca Miklavec
On Tue, Oct 27, 2009 at 12:06, Taco Hoekwater wrote:
 Hi,

 I have just uploaded the archives for a new luatex release, 0.44.0.

Is there any Mac Tiger volunteer willing to test if binaries compiled
on Snow Leopard work on Tiger? (No binaries are in minimals yet; I
need some volunteer to test first.)

(In case there is no volunteer, we'll target the binaries for Leopard.)

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


[NTG-context] Page breaks

2009-10-28 Thread Andreas Harder

Hi all!

What is the benefit of the page break chosen by ConTeXt. Look at the  
following example:


% \setupalign[line]
\starttext  \showframe[text] % \showgrid
\chapter{Test}
\input tufte \par \input knuth \par
\input bryson \par \input tufte \par
\section{Another head}
\stoptext

What's would be wrong about to place the three lines of the second  
page on the first page and to start the second page with the section?


Greetings,
Andreas
___
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] Page breaks

2009-10-28 Thread Arthur Reutenauer
 What's would be wrong about to place the three lines of the second page 
 on the first page and to start the second page with the section?

  It's funny that you should say this, because what you describe is exactly
what I see on my computer with my ConTeXt installation (see attachment).
Please send a PDF along with the log file.

Arthur


harder.pdf
Description: Adobe PDF document
___
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] Page breaks

2009-10-28 Thread Wolfgang Schuster


Am 28.10.2009 um 22:53 schrieb Andreas Harder:


Hi all!

What is the benefit of the page break chosen by ConTeXt. Look at the  
following example:


The answer why this happens in MkIV can only give Hans (could be a  
side effect of the new
spacing mechanism) but you can give TeX/ConTeXt hints where pagebreaks  
are allowed.


\setuphead[section][before={\allowbreak\blank[2*big]}]

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


Re: [NTG-context] Page breaks

2009-10-28 Thread Andreas Harder


Am 28.10.2009 um 23:05 schrieb Arthur Reutenauer:

What's would be wrong about to place the three lines of the second  
page

on the first page and to start the second page with the section?


 It's funny that you should say this, because what you describe is  
exactly
what I see on my computer with my ConTeXt installation (see  
attachment).

Please send a PDF along with the log file.




test-pagebreak2.pdf
Description: Adobe PDF document


test-pagebreak2.log
Description: Binary data



That's interesting …

Andreas___
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] pdfs with boxes instead of letters

2009-10-28 Thread Michael Green
When I open the pdfs that I make with ConTeXt (II or IV), I often see  
x'd out boxes instead of letters. I'm writing in the hopes that  
someone has some ideas about what I might do.


Here is some more specific information about what happens

1. I have posted a jpeg of a representative page: 
http://carneades.pomona.edu/test/badpdf.jpg

2. The problem comes up when the pdf viewer is either Apple's Preview  
or Skim (which, as I understand it, uses the same basic code). This  
happens on machines with both OSX 10.4 PPC and 10.5 Intel.


3. It happens with a wide variety of fonts.

4. When opened with one of Adobe's pdf readers (Adobe Reader, Acrobat  
Pro), the file always looks fine.


5. Opening and closing the file can make the problem parts change. So,  
for instance, opening and closing the file can make it so that roman  
letters show while italic letters are crossed boxes or vice versa.  
Usually, if I do this enough, I can get to a normal view with all  
letters looking like letters.


6. It started happening in the spring. (I've been hoping it would go  
away in the normal course of ConTeXt changes.)


One obvious answer is just to use Adobe's software. That won't work  
for me because those programs cannot successfully send a file to  
either of the printers I have available here. (They also don't  
automatically update when a file changes, which is a nuisance.)


So I have a dilemma. If I want to print, I have to use the Apple and  
Apple-derived software. If I want to see letters, I have to use the  
Adobe software. But I cannot do both.


I doubt this is a ConTeXt specific problem, but hope there might be a  
solution through ConTeXt. More generally, I would be terrifically  
grateful for any ideas about what to do. Thank you for your time.


Michael
___
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] Page breaks

2009-10-28 Thread Andreas Harder


Am 28.10.2009 um 23:17 schrieb Wolfgang Schuster:



Am 28.10.2009 um 22:53 schrieb Andreas Harder:


Hi all!

What is the benefit of the page break chosen by ConTeXt. Look at  
the following example:


The answer why this happens in MkIV can only give Hans (could be a  
side effect of the new
spacing mechanism) but you can give TeX/ConTeXt hints where  
pagebreaks are allowed.


\setuphead[section][before={\allowbreak\blank[2*big]}]


Thank you Wolfgang, it looks much better now!

Andreas___
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] NTG-context] [Dev-luatex] Luatex 0.44.0 announcement

2009-10-28 Thread Michael Green

On Oct 28, 2009, at 3:04 PM, Mojca Miklavec wrote:



Message: 7
Date: Wed, 28 Oct 2009 22:40:54 +0100
From: Mojca Miklavec mojca.miklavec.li...@gmail.com
To: mailing list for ConTeXt users ntg-context@ntg.nl
Subject: Re: [NTG-context] [Dev-luatex] Luatex 0.44.0 announcement
Message-ID:
6faad9f00910281440w4077606bk71a0de0d8fc23...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 27, 2009 at 12:06, Taco Hoekwater wrote:

Hi,

I have just uploaded the archives for a new luatex release, 0.44.0.


Is there any Mac Tiger volunteer willing to test if binaries compiled
on Snow Leopard work on Tiger? (No binaries are in minimals yet; I
need some volunteer to test first.)

(In case there is no volunteer, we'll target the binaries for  
Leopard.)


Mojca



I'm willing. I even think I'm able, assuming the testing isn't very  
extensive.


mjg
___
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] pdfs with boxes instead of letters

2009-10-28 Thread Arthur Reutenauer
Hello,

 3. It happens with a wide variety of fonts.

 4. When opened with one of Adobe's pdf readers (Adobe Reader, Acrobat  
 Pro), the file always looks fine.

  That's extremely odd.  Can you send a sample PDF file (along with the source
code) for us to inspect it?  I'm using Mac OS 10.5 on Intel, so I'd like to
confirm the behaviour you report.

 5. Opening and closing the file can make the problem parts change. So,  
 for instance, opening and closing the file can make it so that roman  
 letters show while italic letters are crossed boxes or vice versa.  
 Usually, if I do this enough, I can get to a normal view with all  
 letters looking like letters.

  That really doesn't make sense at all.  Sounds like a problem with the Apple
code analyzing the PDF file, but I've never observed such a bizarre behaviour
myself, and I use mostly Preview on the Mac to view PDFs.

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


Re: [NTG-context] pdfs with boxes instead of letters

2009-10-28 Thread luigi scarso
On Thu, Oct 29, 2009 at 12:38 AM, Michael Green merely.ridicul...@gmail.com
 wrote:

 When I open the pdfs that I make with ConTeXt (II or IV), I often see x'd
 out boxes instead of letters. I'm writing in the hopes that someone has some
 ideas about what I might do.

 Here is some more specific information about what happens

 1. I have posted a jpeg of a representative page:
 http://carneades.pomona.edu/test/badpdf.jpg

 2. The problem comes up when the pdf viewer is either Apple's Preview or
 Skim (which, as I understand it, uses the same basic code). This happens on
 machines with both OSX 10.4 PPC and 10.5 Intel.

 3. It happens with a wide variety of fonts.

 4. When opened with one of Adobe's pdf readers (Adobe Reader, Acrobat Pro),
 the file always looks fine.

 5. Opening and closing the file can make the problem parts change. So, for
 instance, opening and closing the file can make it so that roman letters
 show while italic letters are crossed boxes or vice versa. Usually, if I do
 this enough, I can get to a normal view with all letters looking like
 letters.

 6. It started happening in the spring. (I've been hoping it would go away
 in the normal course of ConTeXt changes.)

 One obvious answer is just to use Adobe's software. That won't work for me
 because those programs cannot successfully send a file to either of the
 printers I have available here. (They also don't automatically update when a
 file changes, which is a nuisance.)

 So I have a dilemma. If I want to print, I have to use the Apple and
 Apple-derived software. If I want to see letters, I have to use the Adobe
 software. But I cannot do both.

 I doubt this is a ConTeXt specific problem, but hope there might be a
 solution through ConTeXt. More generally, I would be terrifically grateful
 for any ideas about what to do. Thank you for your time.

 I don't  know, and I have not a Mac either.
But you can try with
\pdfminorversion=4
\pdfobjcompresslevel=0
\pdfcompresslevel=0
at the beginnig of your tex source

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


Re: [NTG-context] pdfs with boxes instead of letters

2009-10-28 Thread luigi scarso


 Extremely odd, doesn't make any sense, bizarre ... that's pretty much what
 I think.

 The pdf that I took a picture of and the source that produced it are in a
 zip file at this address:

 http://carneades.pomona.edu/test/badpdf-source.zip

 If you're willing to have a look, that would be great.

It looks ok in my lunux box
with xpdf, acroread 9 , evince, kghostview


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