Re: [NTG-context] texmf - texmf-dist in TeX Live

2013-04-09 Thread Mojca Miklavec
On Mon, Apr 8, 2013 at 6:42 PM, Mojca Miklavec wrote:
 Hi,

 TeX Live has switched from texmf to texmf-dist. Please let me know if
 there will be any problems associated with that (like missing files in
 distribution).

I already spotted some problems.

I'll try to freeze updates from TeX Live to prevent unexpected problems.

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] hyperlink bug in \cite

2013-04-09 Thread Alan BRASLAU
Hello,

\cite[A] can yield a hyperlink to the bibliography. However,
\cite[A,B] does not (and should).

I suppose that this could be a bit complicated when using numbered references 
(rather than Author, year), in the particular case where one collapses the list 
of numbers, in which case the hyperlink could naturally point to the first 
numbered reference of the list.

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


[NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
Hello,

I am having difficulties with the use of unnumbered chapters (\title)
as well as the use of appendices.

http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
gives a few recipes for the use of unnumbered titles and their inclusion in
the table of contents. Unfortunately, they do not work!

\definehead [intro] [chapter] \setuphead [intro] [number=no]
will increment the chapter number, as does 
\setuphead [title] [incrementnumber=yes,number=no]

trying coupling=no gives missing number errors (in the toc).

Furthermore, placing chapters into \frontmatter and \backmatter might not 
always be a solution.



In a document structured in *parts*, one might want to have an introduction
(and other front matter) as well as conclusions (and other back matter).
One needs a means of switching section blocks, for example, without resetting 
everything.
Maybe this can become an option in
\startfrontmatter [reset=no]
\startappendices [reset=no]
\startbackmatter [reset=no]
for example, or else:
\setupsectionblock [appendix] [resetnumber=no] % number=yes|no


Another route could be through the use of the *mysterious* structureresetset
\definestructureresetset [default] [0,0] [1] % do not reset parts and chapters
\setuphead [part,chapter] [sectionresetset=default]
coupled somehow to the section blocks.

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


[NTG-context] garden distribuition

2013-04-09 Thread Hans Hagen

Hi,

*don't* update from the garden ... the configuration seems broken

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster

Am 09.04.2013 um 12:53 schrieb Alan BRASLAU alan.bras...@cea.fr:

 Hello,
 
 I am having difficulties with the use of unnumbered chapters (\title)
 as well as the use of appendices.
 
 http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
 gives a few recipes for the use of unnumbered titles and their inclusion in
 the table of contents. Unfortunately, they do not work!
 
 \definehead [intro] [chapter] \setuphead [intro] [number=no]
 will increment the chapter number, as does 
 \setuphead [title] [incrementnumber=yes,number=no]
 
 trying coupling=no gives missing number errors (in the toc).

Use

  \placelist[chapter,intro,section,…]

to flush a list with your intro heading or extend \completecontent with \intro:

  \definecombinedlist[content][chapter,intro,section,…]

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] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
On Tue, 9 Apr 2013 13:17:06 +0200
Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 Am 09.04.2013 um 12:53 schrieb Alan BRASLAU alan.bras...@cea.fr:
 
  Hello,
  
  I am having difficulties with the use of unnumbered chapters (\title)
  as well as the use of appendices.
  
  http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
  gives a few recipes for the use of unnumbered titles and their inclusion in
  the table of contents. Unfortunately, they do not work!
  
  \definehead [intro] [chapter] \setuphead [intro] [number=no]
  will increment the chapter number, as does 
  \setuphead [title] [incrementnumber=yes,number=no]
  
  trying coupling=no gives missing number errors (in the toc).  
 
 Use
 
   \placelist[chapter,intro,section,…]
 
 to flush a list with your intro heading or extend \completecontent with 
 \intro:
 
   \definecombinedlist[content][chapter,intro,section,…]


This is *not* the problem.

The use of such unnumbered sections will increment the *chapter* numbers,
even if they do not display numbers themselves (number=no).
Otherwise, they will not create a list and cannot be included in a toc.

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

[NTG-context] prezi presentations

2013-04-09 Thread Thomas A. Schmitz

Hi all,

this is a very far shot, but just maybe... I have been looking at prezi 
(http://prezi.com/). There's lots of aspects there that don't appeal to 
me, but I find the general idea very nice: a presentation is sort of a 
big poster, with some background graphics. You define areas on this 
poster into which your content goes (so these would be the slides in a 
conventional presentation). When you show your presentation, your viewer 
will zoom in on these areas and present them full screen, and it will 
move along a predefined path, thus showing the areas (slides) in a 
certain order. The nice thing is that you can, at any moment, zoom out 
and show the entire poster, thus giving an overview of your presentation 
in which only the bigger elements (headlines etc.) will be readable. Now 
I was wondering if the same couldn't be done with ConTeXt, pdf and 
javascript: producing a big pdf with a background image would be fairly 
easy (metapost's vector graphics would look good at any zoom level). 
Placing slides with content there could be done via layers. Zooming in 
and showing certain areas is doable (but obviously would depend on the 
pdf viewer, especially for the full screen mode). I have no idea if we 
have support for rotating areas in a pdf viewer. Would javascript be 
capable of automating this, i.e. defining areas in a pdf, displaying 
them at a certain zoom level, and move from one area to the next? I 
think this would be a nice alternative to traditional slide shows.


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
___


[NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread H. Özoguz

Hi there,

normally I use simplefont, with protrusion and typescript. But 
Simplefont does not recognize the regular, italic, and bold of 
AdobeGaramondPro correctly by default. So I tried to work with a 
typescript definition, and it works - with the exception of hanging (and 
protrusion?). This is my example:

+++
\enableregime[utf]


\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript


\definetypeface [nimbus] [rm] [serif] [nimbus]


\definefontfeature

[default]

[default]

[protrusion=quality,expansion=quality]


\setupalign[hz,hanging]

\setupbodyfont[nimbus,rm,12pt]


\starttext

\input tufte

\stoptext
+


The Font is correctly used by ConText, but no hanging is applied. How to 
achieve that?


Thanks.

Huseyin

___
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] sozi presentations

2013-04-09 Thread Romain Diss
Hi,

Le mardi 09 avril 2013, Thomas A. Schmitz a écrit :
 this is a very far shot, but just maybe... I have been looking at prezi
 (http://prezi.com/). There's lots of aspects there that don't appeal to
(...)

I just wanted to mention a free (GPL) alternative to prezi : sozi 
(http://sozi.baierouge.fr/wiki/doku.php). It works with as inkscape plugin.

All the best

-- 
Romain Diss
romain.d...@yahoo.fr
___
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] prezi presentations

2013-04-09 Thread Alan BRASLAU
On Tue, 9 Apr 2013 14:04:44 +0200
Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote:

 Hi all,
 
 this is a very far shot, but just maybe... I have been looking at prezi 
 (http://prezi.com/). There's lots of aspects there that don't appeal to 
 me, but I find the general idea very nice: a presentation is sort of a 
 big poster, with some background graphics. You define areas on this 
 poster into which your content goes (so these would be the slides in a 
 conventional presentation). When you show your presentation, your viewer 
 will zoom in on these areas and present them full screen, and it will 
 move along a predefined path, thus showing the areas (slides) in a 
 certain order. The nice thing is that you can, at any moment, zoom out 
 and show the entire poster, thus giving an overview of your presentation 
 in which only the bigger elements (headlines etc.) will be readable. Now 
 I was wondering if the same couldn't be done with ConTeXt, pdf and 
 javascript: producing a big pdf with a background image would be fairly 
 easy (metapost's vector graphics would look good at any zoom level). 
 Placing slides with content there could be done via layers. Zooming in 
 and showing certain areas is doable (but obviously would depend on the 
 pdf viewer, especially for the full screen mode). I have no idea if we 
 have support for rotating areas in a pdf viewer. Would javascript be 
 capable of automating this, i.e. defining areas in a pdf, displaying 
 them at a certain zoom level, and move from one area to the next? I 
 think this would be a nice alternative to traditional slide shows.
 
 Thomas

Very fashionable, phluffy, breaks the ice at parties...

I sat through a prezi presentation recently. The speaker took us on a
long trip. It was cool! But in the end, there was not much to retain,
and I thought: where's the beef?.

As to the constant zooming in and out, I kept wondering what the little
specks represented (that I knew we would soon be visiting). Sort of like
the old transparency technique of hiding parts with paper flaps. Lots of
suspense! :)

Remember, viewed from afar, all organisms look just like flies.

For further discussion, I suggest:
http://www.edwardtufte.com/tufte/books_pp

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


Re: [NTG-context] sozi presentations

2013-04-09 Thread Mojca Miklavec
On Tue, Apr 9, 2013 at 4:14 PM, Romain Diss wrote:
 Hi,

 Le mardi 09 avril 2013, Thomas A. Schmitz a écrit :
 this is a very far shot, but just maybe... I have been looking at prezi
 (http://prezi.com/). There's lots of aspects there that don't appeal to
 (...)

 I just wanted to mention a free (GPL) alternative to prezi : sozi
 (http://sozi.baierouge.fr/wiki/doku.php). It works with as inkscape plugin.

And the main presentation uses Iwona. ;)

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] prezi presentations

2013-04-09 Thread luigi scarso
not very related, but still  doable in ConTeXt
Designing conference posters
http://colinpurrington.com/tips/academic/posterdesign

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


[NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
Hi list,

I noticed that the sign for the square root does not adapt to the size
of a fraction as in the attached minimal example.

Thanks,
Xenia
(/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.24 15:11 MKIV  fmt: 2013.3.24  int: english/english

system   'cont-new.mkiv' loaded
(/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'sqrt', input 'sqrt', result 'sqrt'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(sqrt.tex{/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
backend  xmp  using file '/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
 ) )/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=sqrt.tex foundname=sqrt.tex usedmethod=direct
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure

used structure   text: sqrt

system   structure  stop used structure


system   files  start used files

used file   1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file   2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file   3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file   4: filename=sqrt.tex foundname=sqrt.tex usedmethod=direct
used file   5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used file   6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file   7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used file   8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used file   9: filename=lm-rm.map filetype=map format=map 

Re: [NTG-context] graphics: figure combination and single figure side by side

2013-04-09 Thread Xenia
On 09.04.2013 00:29, Wolfgang Schuster wrote:
 
 Am 08.04.2013 um 19:46 schrieb Xenia yor...@googlemail.com:
 
 Hi context list,

 I want to place three figures in a row, but two of them as part of a
 combination with a common caption.
 I tried this with columns, but did not manage it, because I only read
 how to span 2 columns with single figures.

 How can this be done properly?
 
 You can use a table.

Thanks for this tip. But using this with placefigure and a combination
it starts counting with Figure 7.


(/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.24 15:11 MKIV  fmt: 2013.3.24  int: english/english

system   'cont-new.mkiv' loaded
(/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname 'combination_in_table', input 'combination_in_table', result 'combination_in_table'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(combination_in_table.tex{/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown library 'loc'
{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
floatblocks  '1' placed
floatblocks  '2' placed
floatblocks  '3' placed
floatblocks  '4' placed
floatblocks  '5' placed
floatblocks  '6' placed
floatblocks  '7' placed
floatblocks  '8' placed
backend  xmp  using file '/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
 /home/maja/context/tex/texmf-context/tex/context/sample/cow.pdf /home/maja/context/tex/texmf-context/tex/context/sample/mill.png /home/maja/context/tex/texmf-context/tex/context/sample/hacker.jpg
pagesflushing realpage 1, userpage 1
 ) )/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

system   files  start used files

used files  1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files  2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files  3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files  4: filename=combination_in_table.tex foundname=combination_in_table.tex usedmethod=direct
used files  5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files  6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files  7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files  8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files  9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files 10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files 11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files 13: filename=cow.pdf filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/sample/cow.pdf usedmethod=database
used files 14: filename=mill.png filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/sample/mill.png usedmethod=database
used files 15: filename=lmroman12-bold filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-bold.otf usedmethod=database
used files 16: filename=hacker.jpg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/sample/hacker.jpg usedmethod=database
used files 17: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system   files  stop used files


system   structure  start used structure


Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen

On 4/9/2013 9:02 PM, Xenia wrote:

Hi list,

I noticed that the sign for the square root does not adapt to the size
of a fraction as in the attached minimal example.


In what sense? Sqrt's grow in discrete steps.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread Hans Hagen

On 4/9/2013 3:10 PM, H. Özoguz wrote:

Hi there,

normally I use simplefont, with protrusion and typescript. But
Simplefont does not recognize the regular, italic, and bold of
AdobeGaramondPro correctly by default. So I tried to work with a
typescript definition, and it works - with the exception of hanging (and
protrusion?). This is my example:


Best look into some type-imp files to see how typescript are defined.


+++
\enableregime[utf]


^^ not needed



\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript


what features? maybe add *default or so ... depends on how general 
definitions are




\definetypeface [nimbus] [rm] [serif] [nimbus]


\definefontfeature

[default]

[default]

[protrusion=quality,expansion=quality]


should come before \definetypeface



\setupalign[hz,hanging]

\setupbodyfont[nimbus,rm,12pt]


\starttext

\input tufte

\stoptext
+


The Font is correctly used by ConText, but no hanging is applied. How to
achieve that?

Thanks.

Huseyin

___

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
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
On 09.04.2013 21:18, Hans Hagen wrote:
 On 4/9/2013 9:02 PM, Xenia wrote:
 Hi list,

 I noticed that the sign for the square root does not adapt to the size
 of a fraction as in the attached minimal example.
 
 In what sense? Sqrt's grow in discrete steps.

Oh, I didn't know that. For my feelings, all variables should have the
same size here (a,b and c).

Xenia
___
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] markdown: referencing tables

2013-04-09 Thread Xenia
Dear context list,

I love simple tables in markdown like this one

\startmarkdown
  Right Left Center Default
--- -- --   ---
 12 121212
123 123   123  123
  1 1  1 1

Table:  Demonstration of simple table syntax.
\stopmarkdown

Is there a way to reference this table?
With \starttabulate (\stoptabulate) tables can be referenced with
\placetable, but \placetable just creates another (empty) table in case
of a markdown table.

Thanks,
Xenia
___
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] Hanging and Protrusion with Typescript

2013-04-09 Thread H. Özoguz




Best look into some type-imp files to see how typescript are defined. 


I looked in the wiki, and my minexample is from the wiki, too. What is a 
type-imp?


So I changed the code into:
+++
\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript



\definefontfeature

[default]

[default]

[protrusion=quality,expansion=quality]


\setupalign[hz,hanging]

\setupbodyfont[nimbus,rm,12pt]


\definetypeface [nimbus] [rm] [serif] [nimbus]


\starttext

\input tufte

\stoptext



Hanging is now activated, but not with the defined font AGaramondPro, 
but with Computer Modern, so now the typescript is not accepted. So 
changing the command orders does not help, at least not alone.



Sorry, I did not understand, what you mean with
what features? maybe add *default or so ... depends on how general 
definitions are.



Which features do you mean, and what is the question? I simply copied 
this from the wiki, and hoped that I could use AdobeGaramond now. It 
works, but not together with Hanging.





___
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: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen

On 4/9/2013 9:25 PM, Xenia wrote:

On 09.04.2013 21:18, Hans Hagen wrote:

On 4/9/2013 9:02 PM, Xenia wrote:

Hi list,

I noticed that the sign for the square root does not adapt to the size
of a fraction as in the attached minimal example.


In what sense? Sqrt's grow in discrete steps.


Oh, I didn't know that. For my feelings, all variables should have the
same size here (a,b and c).


ah, you mean the symbols; i'll check it ... probably a wrong default

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sozi presentations

2013-04-09 Thread Marcin Borkowski
Dnia 2013-04-09, o godz. 16:14:43
Romain Diss romain.d...@yahoo.fr napisał(a):

 Hi,
 
 Le mardi 09 avril 2013, Thomas A. Schmitz a écrit :
  this is a very far shot, but just maybe... I have been looking at
  prezi (http://prezi.com/). There's lots of aspects there that don't
  appeal to
 (...)
 
 I just wanted to mention a free (GPL) alternative to prezi : sozi 
 (http://sozi.baierouge.fr/wiki/doku.php). It works with as inkscape
 plugin.

For the sake of completeness: there's also impress.js
(http://bartaz.github.io/impress.js/#/bored).

 
 All the best
 

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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: size of sqrt to small for fractions

2013-04-09 Thread Alan BRASLAU
On Tue, 9 Apr 2013 21:25:16 +0200
Xenia yor...@googlemail.com wrote:

 Oh, I didn't know that. For my feelings, all variables should have the
 same size here (a,b and c).

In this case you should probably use:

a = \sqrt{b/c}

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


Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
On 09.04.2013 22:39, Alan BRASLAU wrote:
 On Tue, 9 Apr 2013 21:25:16 +0200
 Xenia yor...@googlemail.com wrote:
 
 Oh, I didn't know that. For my feelings, all variables should have the
 same size here (a,b and c).
 
 In this case you should probably use:
 
 a = \sqrt{b/c}

Okay, but this was just a minimal example. I am handling much bigger
fractions.

___
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] Hanging and Protrusion with Typescript

2013-04-09 Thread Wolfgang Schuster

Am 09.04.2013 um 21:45 schrieb H. Özoguz h.oezo...@mmnetz.de:

 
 
 Best look into some type-imp files to see how typescript are defined. 
 
 I looked in the wiki, and my minexample is from the wiki, too. What is a 
 type-imp?

Hans speaks of the type-imp-texgyre.mkiv, type-imp-latinmodern.mkiv etc. files

 So I changed the code into:
 +++
 \starttypescript [serif] [nimbus]
 
 \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
 
 \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
 
 \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
 
 \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 
 \stoptypescript
 
 
 
 \definefontfeature
 
 [default]
 
 [default]
 
 [protrusion=quality,expansion=quality]
 
 
 \setupalign[hz,hanging]
 
 \setupbodyfont[nimbus,rm,12pt]
 
 
 \definetypeface [nimbus] [rm] [serif] [nimbus]
 
 
 \starttext
 
 \input tufte
 
 \stoptext
 
 
 
 Hanging is now activated, but not with the defined font AGaramondPro, but 
 with Computer Modern, so now the typescript is not accepted. So changing the 
 command orders does not help, at least not alone.

You tried to load your nimbus font before it was defined, move \definetypeface 
*before* \setupbodyfont to make it work.

 Sorry, I did not understand, what you mean with
 what features? maybe add *default or so ... depends on how general 
 definitions are.

You need [features=default] either at the end of each \definefontsynonym 
command or at the end of \definetypeface.

 Which features do you mean, and what is the question? I simply copied this 
 from the wiki, and hoped that I could use AdobeGaramond now. It works, but 
 not together with Hanging.


I corrected your example above:

\starttypescript [serif] [nimbus]
  \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
  \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
  \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
  \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
\stoptypescript

\definefontfeature[default][default][protrusion=quality,expansion=quality]

\definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]

\setupbodyfont[nimbus,rm,12pt]

\setupalign[hz,hanging]

\starttext
\input tufte
\stoptext

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] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster

Am 09.04.2013 um 13:57 schrieb Alan BRASLAU alan.bras...@cea.fr:

 On Tue, 9 Apr 2013 13:17:06 +0200
 Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
 
 Am 09.04.2013 um 12:53 schrieb Alan BRASLAU alan.bras...@cea.fr:
 
 Hello,
 
 I am having difficulties with the use of unnumbered chapters (\title)
 as well as the use of appendices.
 
 http://wiki.contextgarden.net/Titles#Unnumbered_titles_in_table_of_contents
 gives a few recipes for the use of unnumbered titles and their inclusion in
 the table of contents. Unfortunately, they do not work!
 
 \definehead [intro] [chapter] \setuphead [intro] [number=no]
 will increment the chapter number, as does 
 \setuphead [title] [incrementnumber=yes,number=no]
 
 trying coupling=no gives missing number errors (in the toc).  
 
 Use
 
  \placelist[chapter,intro,section,…]
 
 to flush a list with your intro heading or extend \completecontent with 
 \intro:
 
  \definecombinedlist[content][chapter,intro,section,…]
 
 
 This is *not* the problem.
 
 The use of such unnumbered sections will increment the *chapter* numbers,
 even if they do not display numbers themselves (number=no).
 Otherwise, they will not create a list and cannot be included in a toc.

To include a unnumbered section in the toc you have to add 
“incrementnumber=list”
to \setuphead and *not* “incrementnumber=yes” as you did.

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] Hanging and Protrusion with Typescript

2013-04-09 Thread Peter Münster
On Tue, Apr 09 2013, Wolfgang Schuster wrote:

 \starttypescript [serif] [nimbus]
   \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
   \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
   \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 \stoptypescript

 \definefontfeature[default][default][protrusion=quality,expansion=quality]

 \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]

 \setupbodyfont[nimbus,rm,12pt]

 \setupalign[hz,hanging]

 \starttext
 \input tufte
 \stoptext

Or with the marvelous simplefonts module:

\usemodule[simplefonts]
\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
  italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
  protrusion=quality, expansion=quality]
\setupalign[hz, hanging]
\starttext
\input tufte
\stoptext

;)

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


Re: [NTG-context] single spacing TOC

2013-04-09 Thread Wolfgang Schuster

Am 04.04.2013 um 22:37 schrieb john Culleton j...@wexfordpress.com:

 I had a line \setupwhitespace[medium] in the preamble to the
 file. I moved it to occur after \startbodymatter and all was fine. 

You can use \startsectionblockenvironment to enable the setup
with the begin of a certain sectionblock, e.g.

\startsectionblockenvironment[bodypart]
  \setuphitespace[medium]
\stopsectionblockenvironment

enables the parskip at the \startbodymatter line in your document.

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] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen

On 4/9/2013 9:25 PM, Xenia wrote:

On 09.04.2013 21:18, Hans Hagen wrote:

On 4/9/2013 9:02 PM, Xenia wrote:

Hi list,

I noticed that the sign for the square root does not adapt to the size
of a fraction as in the attached minimal example.


In what sense? Sqrt's grow in discrete steps.


Oh, I didn't know that. For my feelings, all variables should have the
same size here (a,b and c).


Hopefully ok now ... I also made the mathstyle more conformant the new 
math style mechanism and added coloring of the fraction rule.


\definemathfraction[innerfrac][frac][alternative=inner,mathstyle=script,color=red]
\definemathfraction[outerfrac][frac][alternative=outer,mathstyle=script,color=blue]

\starttext

\startformula
a = \frac{b}{c} = \sqrt{\frac{b}{c}} = \sqrt{{b}\over{c}}
a = \frac{b}{c} = \sqrt{\frac{b}{c}} = \sqrt{{b}\over{c}}
a = \outerfrac{a}{b} = \innerfrac{a}{b} = \frac{a}{b}
\stopformula

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen

On 4/9/2013 10:39 PM, Alan BRASLAU wrote:

On Tue, 9 Apr 2013 21:25:16 +0200
Xenia yor...@googlemail.com wrote:


Oh, I didn't know that. For my feelings, all variables should have the
same size here (a,b and c).


In this case you should probably use:

a = \sqrt{b/c}


there was a wrong default in displaymode (fractions are being made 
configurable like fences and arrows and such) ...


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Khaled Hosny
On Tue, Apr 09, 2013 at 10:39:25PM +0200, Alan BRASLAU wrote:
 On Tue, 9 Apr 2013 21:25:16 +0200
 Xenia yor...@googlemail.com wrote:
 
  Oh, I didn't know that. For my feelings, all variables should have the
  same size here (a,b and c).
 
 In this case you should probably use:
 
 a = \sqrt{b/c}

Unless \startformula \stopformula are set in \textstyle, fractions
should not be set that small, not in the default TeX settings.

Regards,
Khaled
$$a = \sqrt{b\over c}$$
\centerline{$a = \sqrt{b\over c}$}
\bye


sqrt.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] markdown: referencing tables

2013-04-09 Thread Hans Hagen

On 4/9/2013 9:29 PM, Xenia wrote:

Dear context list,

I love simple tables in markdown like this one

\startmarkdown
   Right Left Center Default
--- -- --   ---
  12 121212
 123 123   123  123
   1 1  1 1

Table:  Demonstration of simple table syntax.
\stopmarkdown

Is there a way to reference this table?
With \starttabulate (\stoptabulate) tables can be referenced with
\placetable, but \placetable just creates another (empty) table in case
of a markdown table.


Also if you put {} around the code? or use

\startplacetable{xx}
...
\stopplacetable

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___