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

2009-10-29 Thread Bruce D'Arcus
On Wed, Oct 28, 2009 at 2:40 PM, Aditya Mahajan adit...@umich.edu wrote:
 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

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.

BTW, I'm an  academic as well, so using this for both teaching and
research presentations (my immediate concern here; have a talk coming
up in a few weeks I'd like to try this on).

 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.

Yeah, using XSLT is pretty straightforward for this.

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
___


Re: [NTG-context] Luatex 0.44.0 announcement

2009-10-29 Thread Mojca Miklavec
On Thu, Oct 29, 2009 at 00:42, Michael Green wrote:
 On Oct 28, 2009, at 3:04 PM, Mojca Miklavec wrote:

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

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

No, I just wanted to know if the binary works at all. I wanted to send
you the binary off-list first, but here it is instead:
http://dl.contextgarden.net/misc/luatex
once you download it you need to execute
chmod +x luatex
./luatex

All I want to know is if it works on Tiger, no extensive testing is needed.

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
___


Re: [NTG-context] Luatex 0.44.0 announcement

2009-10-29 Thread Mojca Miklavec
On Thu, Oct 29, 2009 at 10:35, Mojca Miklavec wrote:
 On Thu, Oct 29, 2009 at 00:42, Michael Green wrote:
 On Oct 28, 2009, at 3:04 PM, Mojca Miklavec wrote:

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

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

 No, I just wanted to know if the binary works at all. I wanted to send
 you the binary off-list first, but here it is instead:
    http://dl.contextgarden.net/misc/luatex
 once you download it you need to execute
    chmod +x luatex
    ./luatex

 All I want to know is if it works on Tiger, no extensive testing is needed.

Sorry, I guess that I need to repeat the exercise. Can you please try just if
http://dl.contextgarden.net/misc/hello
works. Luatex most probably won't work ... and I need to figure out
how to modify the building scripts. Apparently 10.6 compiles all the
binaries for 64-bit architecture by default despite the fact that it
claims to be i386.

Luatex building scripts would need to be modified, pdftex doesn't
cross-compile at all.

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
___


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

2009-10-29 Thread Mojca Miklavec
The PDFs look OK here with both Preview and Skim. I would try to
delete the font cache on your computer and restart it.

Use google, I'm not sure that I still remember how this should be
done. Some untested sample links:
http://www.macosxhints.com/article.php?story=20071026081555971
http://www.creativetechs.com/iq/garbled_font_fix_corrupt_font_cache.html
http://kb2.adobe.com/cps/167/tn_16763.html

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
___


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

2009-10-29 Thread Wolfgang Schuster


Am 29.10.2009 um 11:56 schrieb Mojca Miklavec:


The PDFs look OK here with both Preview and Skim. I would try to
delete the font cache on your computer and restart it.

Use google, I'm not sure that I still remember how this should be
done. Some untested sample links:
   http://www.macosxhints.com/article.php?story=20071026081555971
   http://www.creativetechs.com/iq/garbled_font_fix_corrupt_font_cache.html
   http://kb2.adobe.com/cps/167/tn_16763.html


Another method that don't require an extra program:
http://email.esm.psu.edu/pipermail/macosx-tex/2009-September/041310.html

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

2009-10-29 Thread Arthur Reutenauer
 The PDFs look OK here with both Preview and Skim. I would try to
 delete the font cache on your computer and restart it.

  That indeed sounds like a reasonable cause.  Well spotted, Mojca!  :-)

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] Minimals (solved)

2009-10-29 Thread Mojca Miklavec
On Sat, Oct 24, 2009 at 12:58, Hans Hagen wrote:
 Mojca Miklavec wrote:

 The reason for this weird behavior is that we removed almost all the
 variables from setuptex back in May 2009.

 This is just the contrary of what Hans tried to achieve several years
 ago to overwrite the tetex's pollution with variables. Now that hardly
 anyone uses tetex ... we didn't bother about that any more, but it is
 still a problem if one sets up an old distribution in .bashrc and then
 tries to use a new one. (In that case the old ConTeXt behaves just as
 impolitely as tetex and hinders the ability to use the latest one.)

 so, maybe we can add an extra script that resets these variables?

I would prefer to leave an option to users to set those variables
themselves (at least to those who know what they are doing).

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] Jumping headers

2009-10-29 Thread Andreas Harder

Hello,

I found another funny effect. Please look at the following example:

\setuplayout[header=\lineheight,headerdistance=\lineheight]
\setupinterlinespace[line=18pt]
\setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace 
[line=2.8ex]}]

\setupheader[style=\tfxx] % strut=yes

\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}]  % or this

\startsetups[head]
  \framed
[width=broad,strut=yes,height=\lineheight,framecolor=red]
{\getmarking[chapter]\hfill\getmarking[section]}
\stopsetups

\starttext  \showstruts  \showframe[text]
\chapter{ÄÖÜy}  \section{ÄÖÜy}
\dorecurse{3}{%
  \dorecurse{3}{\input tufte \par}
  \startblockquote
\dorecurse{3}{\input tufte \par}
  \stopblockquote}
\stoptext

Can you see the header jumping? What can one do to avoid this behavior?

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] Luatex 0.44.0 announcement

2009-10-29 Thread Vyatcheslav Yatskovsky

Hi Mojca,

I'm willing to test luatex 0.44 binary on Windows ;) It has SyncTex support.

Regards,
Vyatcheslav

___
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] Lua error on unailable fonts

2009-10-29 Thread Matthijs Kooijman
Hi,

after upgrading to the latest context beta, I'm fased with the following lua
error:

  define font | forced type otf of lmmono8-regular not found
  define font | font with name lmmono8-regular is not found
  [...]
  ! LuaTeX error /usr/share/texmf/tex/context/base/math-vfu.lua:366: table index
  is nil
  stack traceback:
  /usr/share/texmf/tex/context/base/math-vfu.lua:366: in function
  /usr/share/texmf/tex/context/base/math-vfu.lua:261
  (tail call): ?
  (tail call): ?
  /usr/share/texmf/tex/context/base/font-def.lua:549: in function 'read'
  /usr/share/texmf/tex/context/base/font-ctx.lua:359: in function 
'command_2'
  main ctx instance:1: in main chunk.

Apparently there is still some font cache somewhere that's not updated, and
context says it has a font that is not found. However, a bit further down,
this crashes.

The cause of this is that the nullfont is returned as defined in
font-ini.lua, not just nil:

  fonts.ids[0] = { -- nullfont
  characters   = { },   
 
  descriptions = { },   
 
  }

This font has no name, but math-vfu.lua uses fs.name unconditionally. Either
math-vfu.lua should be fixed to test for this, or a line should be added to
the null font above:

  name = ,

I've tested the latter, and it solves my immediate problem.

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] \attachment not working in MkIV

2009-10-29 Thread Matthijs Kooijman
Hi,

I've been trying to get \attachment to work, but I get a Lua error. The
following example, (taken from scrn-int.mkiv and stripped a bit) provides an
error:

  \setupinteraction[state=start]

  \useattachment[whatever][test.tex]
  \starttext \attachment[whatever] \stoptext

The tail of the output is:
  interaction : active
  ! LuaTeX error main ctx instance:1: attempt to index global 'interactions' 
(a nil value)
  stack traceback:
  main ctx instance:1: in main chunk.
  \douseattachment ...newname=#2, filename=#2 }}
\else \ctxlua 
{interaction...
  to be read again 
 \starttext
  l.4 \starttext 
 \attachment[whatever] \stoptext

What's up with this?

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] Lua error on unailable fonts

2009-10-29 Thread Hans Hagen

Matthijs Kooijman wrote:

Hi,

after upgrading to the latest context beta, I'm fased with the following lua
error:

  define font | forced type otf of lmmono8-regular not found
  define font | font with name lmmono8-regular is not found
  [...]
  ! LuaTeX error /usr/share/texmf/tex/context/base/math-vfu.lua:366: table index
  is nil
  stack traceback:
  /usr/share/texmf/tex/context/base/math-vfu.lua:366: in function
  /usr/share/texmf/tex/context/base/math-vfu.lua:261
  (tail call): ?
  (tail call): ?
  /usr/share/texmf/tex/context/base/font-def.lua:549: in function 'read'
  /usr/share/texmf/tex/context/base/font-ctx.lua:359: in function 
'command_2'
  main ctx instance:1: in main chunk.

Apparently there is still some font cache somewhere that's not updated, and
context says it has a font that is not found. However, a bit further down,
this crashes.

The cause of this is that the nullfont is returned as defined in
font-ini.lua, not just nil:

  fonts.ids[0] = { -- nullfont
  characters   = { },
  descriptions = { },
  }


This font has no name, but math-vfu.lua uses fs.name unconditionally. Either
math-vfu.lua should be fixed to test for this, or a line should be added to
the null font above:

  name = ,

I've tested the latter, and it solves my immediate problem.


i fixed it but that probably does not solve your missing font problem

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] Dash missed in Windows' Times

2009-10-29 Thread Hans Hagen

Vyatcheslav Yatskovsky wrote:

Hello Hans,

did you enable feature

tlig=yes
   


Yes! It works!

One question. If I have [features=default] in typescript, how can I 
add tlig feature to existing default ones?

Is [features=default, tlig=yes] valid?


\definefontfeatures[default][default][tlig=yes]

will extend the vector

the features key is fpe very special purposed

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
___


[NTG-context] \label equivalent in a section?

2009-10-29 Thread Pau
Hello,

how do I translate


\section{Introduction}
\label{intro}

In Section \ref{intro}, we show an example of labelling


in ConTeXt?

I have looked in the wiki, and googled and I haven't found out...

Thanks a lot,

Pau
___
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] \attachment not working in MkIV

2009-10-29 Thread Hans Hagen

Matthijs Kooijman wrote:

Hi,

I've been trying to get \attachment to work, but I get a Lua error. The
following example, (taken from scrn-int.mkiv and stripped a bit) provides an
error:

  \setupinteraction[state=start]

  \useattachment[whatever][test.tex]
  \starttext \attachment[whatever] \stoptext


add

\registerctxluafile{scrn-int}{1.001}

to scrn-int.mkiv as it seems that it's not loaded

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] Luatex 0.44.0 announcement

2009-10-29 Thread Mojca Miklavec
On Thu, Oct 29, 2009 at 15:46, Vyatcheslav Yatskovsky wrote:
 Hi Mojca,

 I'm willing to test luatex 0.44 binary on Windows ;) It has SyncTex support.

I wasn't asking about testing Windows binaries, though it could be
that the binary in minimals is already at 0.44 (if not yet, then it
will be very soon or I can force an update; the w32tex page is already
updated).

I only need some Mac Tiger tester.

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
___


Re: [NTG-context] \label equivalent in a section?

2009-10-29 Thread Boštjan Vesnicer
\section[intro]{Introduction}

On Thu, Oct 29, 2009 at 5:06 PM, Pau vim.u...@googlemail.com wrote:
 Hello,

 how do I translate

 
 \section{Introduction}
 \label{intro}

 In Section \ref{intro}, we show an example of labelling
 

 in ConTeXt?

 I have looked in the wiki, and googled and I haven't found out...

 Thanks a lot,

 Pau
 ___
 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] \label equivalent in a section?

2009-10-29 Thread Matthijs Kooijman
Hi Pau,

 
 \section{Introduction}
 \label{intro}
 
 In Section \ref{intro}, we show an example of labelling
 
\section[intro]{Introduction}

In \in{Section}[intro] (on \at{Page}[intro]), we show an example of labelling.



This should work. There's some info at
http://wiki.contextgarden.net/References

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] \label equivalent in a section?

2009-10-29 Thread Pau
Thanks!

now, this is a friendly mailing list!

I was trying to guess it with \section{Introduction}[label=intro]

but that didn't work out.

The main problem is to find the keywords. My English is not exactly
excellent and sometimes I find it difficult to find the right place to
look at...

Thanks again,

Pau

2009/10/29 Matthijs Kooijman matth...@stdin.nl:
 Hi Pau,

 
 \section{Introduction}
 \label{intro}

 In Section \ref{intro}, we show an example of labelling
 
 \section[intro]{Introduction}

 In \in{Section}[intro] (on \at{Page}[intro]), we show an example of labelling.

 

 This should work. There's some info at
 http://wiki.contextgarden.net/References

 Gr.

 Matthijs

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkrpwCQACgkQz0nQ5oovr7z//gCfViE/S/fH7qXZ6WritVypRg4R
 RZwAoMdDTuuOboMRJGH/8bSgID+CLaQi
 =c/DG
 -END PGP SIGNATURE-


___
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] \attachment not working in MkIV

2009-10-29 Thread Matthijs Kooijman
 add
 
 \registerctxluafile{scrn-int}{1.001}
 
 to scrn-int.mkiv as it seems that it's not loaded
Yup, that removed the error. I even get something icon in the file, but
acrobat reader somehow silently fails to open the file... Oh well, let's do
without it.

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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-29 Thread Michael Green

On Oct 29, 2009, at 11:56 PM, Mojca Miklavec wrote:



Message: 3
Date: Thu, 29 Oct 2009 11:56:05 +0100
From: Mojca Miklavec mojca.miklavec.li...@gmail.com
To: mailing list for ConTeXt users ntg-context@ntg.nl
Subject: Re: [NTG-context] pdfs with boxes instead of letters
Message-ID:
6faad9f00910290356j522794fw1326911d8a70b...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

The PDFs look OK here with both Preview and Skim. I would try to
delete the font cache on your computer and restart it.



That seems to have solved it. I see letters again! My quality of life  
just went up measurably. Thank you very much!


For the record, I used the simple method Wolfgang pointed to:  
restarting in Safe Mode then restarting again in normal mode.


It's extremely easy with no software or mucking around in unusual  
directories.


Specifically, I followed these instructions:

http://www.ascendercorp.com/support/
___
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] \label equivalent in a section?

2009-10-29 Thread Aditya Mahajan

On Thu, 29 Oct 2009, Pau wrote:


Thanks!

now, this is a friendly mailing list!

I was trying to guess it with \section{Introduction}[label=intro]

but that didn't work out.


MKIV only ...

\startsection[reference=intro, title=Test]

  In \in{Section}[intro] we show an example of labelling

\stopsection


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] Luatex 0.44.0 announcement

2009-10-29 Thread Vyatcheslav Yatskovsky

Hi Mojca,

I wasn't asking about testing Windows binaries

I know, I'm was joking :)

though it could be that the binary in minimals is already at 0.44 (if not yet, 
then it
will be very soon or I can force an update; the w32tex page is already
updated).
   
The binary in minimals is NOT already at 0.44 (as I checked today). 
Looking forward to have 0.44 version because I want to try synctex support.


Regards,
Vyatcheslav
___
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] Jumping headers

2009-10-29 Thread Hans Hagen

Andreas Harder wrote:

Hello,

I found another funny effect. Please look at the following example:

\setuplayout[header=\lineheight,headerdistance=\lineheight]
\setupinterlinespace[line=18pt]
\setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace[line=2.8ex]}] 


\setupheader[style=\tfxx] % strut=yes

\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}]  % or this

\startsetups[head]
  \framed
[width=broad,strut=yes,height=\lineheight,framecolor=red]
{\getmarking[chapter]\hfill\getmarking[section]}
\stopsetups

\starttext  \showstruts  \showframe[text]
\chapter{ÄÖÜy}  \section{ÄÖÜy}
\dorecurse{3}{%
  \dorecurse{3}{\input tufte \par}
  \startblockquote
\dorecurse{3}{\input tufte \par}
  \stopblockquote}
\stoptext

Can you see the header jumping? What can one do to avoid this behavior?


kind of tricky ... i uploaded a beta where you can say:

\setupdelimitedtext[blockquote][style={\tfx\switchtointerlinespace[line=2.8ex]}]

(analogue to \switchtobodyfont it is kind of local)


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


[NTG-context] alternative=text for setuphead

2009-10-29 Thread Aditya Mahajan

Hi,

alternative=text does not work for setuphead. Compare the output of mkii 
and mkiv.


\setuphead[section][alternative=text]

\starttext
\section{One} \input ward
\stoptext


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] Math symbols rigt floor and left floor

2009-10-29 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Oct 1, 2009, at 10:21 AM, luigi scarso wrote:


I don't know if can help you.
http://www.mozilla.org/projects/mathml/fonts/stix/STIXBeta.zip


Well, if I were 20 years younger, I would definitely hope for the Stix 
fonts. But alas, I think I will be dead and gone before they are 
released...


I wonder if this is a joke or not ... (http://www.stixfonts.org/):

We have discovered many missing glyphs in the non-Unicode fonts (Unicode 
Private Use Area. Resolution of these problems is still being 
investigated. We will post a revised target for release date as soon as 
the missing glyphs have been replaced.


clicking on the styx font glyph table is also puzzling as it pops up a 
message in firefox that one needs to install fonts that of course are 
non existent


So, Thomas, you need to adapt the '20 years' criterium -)

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
___


[NTG-context] for prefix lovers

2009-10-29 Thread Hans Hagen

Hi,

I uploaded a beta that provides control over prefixes in references. 
It's sort of experimental but it migh thelp those struggling with the 
new mkiv structure support.


\starttext

\chapter{test}

\placefigure[here][xx:1]{}{\framed{one}}
\placefigure[here][xx:2]{}{\framed{three}}
\placetable [here][xx:3]{}{\framed{two}}
\placetable [here][xx:4]{}{\framed{four}}

\start
\in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4]
\stop

\blank

\start
\setupreferencestructureprefix[default][prefix=no]
\in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4]
\stop

\blank

\start
\setupreferencestructureprefix[float][default][prefix=no]
\in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4]
\stop

\blank

\start
\setupreferencestructureprefix[figure][default][prefix=no]
\in{fig}[xx:1] and \in{fig}[xx:2] \in{tab}[xx:3] and \in{tab}[xx:4]
\stop

\blank

\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
-
___
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] alternative=text for setuphead

2009-10-29 Thread Hans Hagen

Aditya Mahajan wrote:

Hi,

alternative=text does not work for setuphead. Compare the output of mkii 
and mkiv.


\setuphead[section][alternative=text]

\starttext
\section{One} \input ward
\stoptext


ok, will be fixed (headdisplay mode was not set at all in mkiv)

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
___


[NTG-context] [OT] goosh

2009-10-29 Thread luigi scarso
http://www.goosh.org


-- 
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] Jumping headers

2009-10-29 Thread Andreas Harder


Am 29.10.2009 um 19:13 schrieb Hans Hagen:


Andreas Harder wrote:

Hello,
I found another funny effect. Please look at the following example:
\setuplayout[header=\lineheight,headerdistance=\lineheight]
\setupinterlinespace[line=18pt]
\setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace 
[line=2.8ex]}] \setupheader[style=\tfxx] % strut=yes

\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}]  % or this
\startsetups[head]
 \framed
   [width=broad,strut=yes,height=\lineheight,framecolor=red]
   {\getmarking[chapter]\hfill\getmarking[section]}
\stopsetups
\starttext  \showstruts  \showframe[text]
\chapter{ÄÖÜy}  \section{ÄÖÜy}
\dorecurse{3}{%
 \dorecurse{3}{\input tufte \par}
 \startblockquote
   \dorecurse{3}{\input tufte \par}
 \stopblockquote}
\stoptext
Can you see the header jumping? What can one do to avoid this  
behavior?


kind of tricky ... i uploaded a beta where you can say:

\setupdelimitedtext[blockquote][style={\tfx\switchtointerlinespace 
[line=2.8ex]}]


(analogue to \switchtobodyfont it is kind of local)


Thank you Hans, looks much better now.

By the way, is grid typesetting still not working? If I try
\setupdelimitedtext
  [blockquote]
  [before=\startgridcorrection,
   after=\stopgridcorrection,
   style={\tfx\switchtointerlinespace[line=2.8ex]}]

the quote is alway kept on one page.

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] Jumping headers

2009-10-29 Thread Wolfgang Schuster


Am 29.10.2009 um 22:24 schrieb Andreas Harder:


By the way, is grid typesetting still not working? If I try
\setupdelimitedtext
 [blockquote]
 [before=\startgridcorrection,
  after=\stopgridcorrection,
  style={\tfx\switchtointerlinespace[line=2.8ex]}]

the quote is alway kept on one page.


\start/\stopbaselinecorrection store the content in a unbreakable box
and the text will be always kept together, you can try

\setupdelimitedtext
  [blockquote]
  [before=\baselinecorrection,
   after=\baselinecorrection,
   style={\tfx\switchtointerlinespace[line=2.8ex]}]

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] [OT] goosh

2009-10-29 Thread John Haltiwanger
That site was up for only a couple days before Lightspeed Content Filter
labelled it a security proxy at the library where I used to work. Drove me
crazy, as it is definitely the best interface for Google ;)

On Thu, Oct 29, 2009 at 9:31 PM, luigi scarso luigi.sca...@gmail.comwrote:

 http://www.goosh.org


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

 ___


___
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] Jumping headers

2009-10-29 Thread Andreas Harder


Am 29.10.2009 um 22:36 schrieb Wolfgang Schuster:


\start/\stopbaselinecorrection store the content in a unbreakable box
and the text will be always kept together, you can try

\setupdelimitedtext
 [blockquote]
 [before=\baselinecorrection,
  after=\baselinecorrection,
  style={\tfx\switchtointerlinespace[line=2.8ex]}]


Thanks, but that kills the \switchtointerlinespace-setting.

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] OT: Book Templates

2009-10-29 Thread Wolfgang Schuster

Here is a interesting message from the XeTeX list.

I am currently writing a textbook about Lua programming language and  
you can look at the pdf file at http://svn.berlios.de/viewvc/*checkout*/luaprogramming/trunk/lua-programming.pdf?revision=1


It is open source, so you can actually change the document class for  
your own use.


--
Vafa


___
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-29 Thread Michael Green

Michael Green wrote:


On Oct 29, 2009, at 11:56 PM, Mojca Miklavec wrote:



Message: 3
Date: Thu, 29 Oct 2009 11:56:05 +0100
From: Mojca Miklavec mojca.miklavec.li...@gmail.com
To: mailing list for ConTeXt users ntg-context@ntg.nl
Subject: Re: [NTG-context] pdfs with boxes instead of letters
Message-ID:
6faad9f00910290356j522794fw1326911d8a70b...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

The PDFs look OK here with both Preview and Skim. I would try to
delete the font cache on your computer and restart it.



That seems to have solved it. I see letters again! My quality of  
life just went up measurably. Thank you very much!


For the record, I used the simple method Wolfgang pointed to:  
restarting in Safe Mode then restarting again in normal mode.


It's extremely easy with no software or mucking around in unusual  
directories.


Specifically, I followed these instructions:

http://www.ascendercorp.com/support/


I seem to have spoken too soon. The very next document I prepared had  
the same boxes-rather-than-letters problem.


That said, I cleared the font caches again and, after restarting, the  
document looked correct. Perhaps this is a coincidence. Or perhaps  
there is something amiss with the way my computers are caching fonts.  
Sigh.

___
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] Error with \inline[…]

2009-10-29 Thread Andreas Harder

Hello Hans.

With the current beta referencing lines is broken again. It used to  
work yesterday.


Here is a test file and the error message:

\starttext
\startlinenumbering
  \input tufte \someline[lin:b]
  \startline[lin:a]
\input tufte
  \stopline[lin:a]
\stoplinenumbering
\inline[lin:b]
\stoptext

! LuaTeX error no string to print
stack traceback:
[C]: in function 'texsprint'
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:840: in  
function 'get_current_prefixspec'

main ctx instance:1: in main chunk.
\currentreferencecontent ...ixspec(\v!default )}
  )}
argument ...freference \currentreferencecontent
  \the  
\rightreferencetoks \...

\doifelsenothing #1-\edef \!!stringa {#1
 }\ifx \!!stringa \empty  
\expandafte...

argument ...ghtreferencetoks \rightofreference }
  \dosymbolreference  
\dowant...

\firstoftwoarguments #1#2-#1

\dodoinatreferenceindeed ...eference {#1}{#2}[#4]}
  \endgroup
...
l.9 \inline[lin:b]


Thanks in advance!

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
___