Re: [NTG-context] math symbol: blacktriangle

2012-07-18 Thread Andreas Mang
Hi Hans,


 On 17-7-2012 20:41, Andreas Mang wrote:
 mathname=blacktriangle,
 
 to
 
 [0x25B4]={
   adobename=blackuppointingsmalltriangle,
   category=so,
   description=BLACK UP-POINTING SMALL TRIANGLE,
   direction=on,
   linebreak=al,
   unicodeslot=0x25B4,
  },
 
 why not 25B2 (the bigger one)
 
  [0x25BE]={
   category=so,
   description=BLACK DOWN-POINTING SMALL TRIANGLE,
   direction=on,
   linebreak=al,
   unicodeslot=0x25BE,
  },
 
 with mathname=blacktriangledown under the assumption you'd like to be 
 consistent with the naming convention of latex.
 
 or 25BC (the bigger one)

To make it short: I think Hans is correct. From my perspective there is an 
error in char-def.lua for blacktriangleleft and secondly the internet page I 
have looked this up is not consistent with what is implemented in ConTeXt, both 
facts of which lead me into the wrong direction (see below (P.S.), if you are 
interested).

Both,

http://www.unicodemap.org/details/0x25B2/index.html

and

http://www.unicodemap.org/details/0x25BC/index.html

look consistent to \blacktriangleright (which I am already using in my 
document):

http://www.unicodemap.org/details/0x25B6/index.html

Cheers,
Andreas


P.S.: When I started to look into this I thought it might be possilble to 
define some command in the preamble of my document that uses unicode. From 
searching the internet I found 

http://www-sop.inria.fr/marelle/tralics/doc-b.html

which says The \blacktriangle command is valid only in math mode. Its 
translation is moblacktriangle;/mo (Unicode U+25B4, ▴).

However, there indeed is a problem (which I have not spotted in the first 
place). I had a look at char-def.lua which at first confirmed my impression on 
using small triangels: 

 [0x25B8]={
  category=so,
  description=BLACK RIGHT-POINTING SMALL TRIANGLE,
  direction=on,
  linebreak=al,
  mathclass=bin,
  mathname=blacktriangleleft,
  unicodeslot=0x25B8,
 },

However, this is not consistent with what you can find on the internetpage from 
above, since it 0x25B8 should be blacktriangleright 

The \blacktriangleright command is valid only in math mode. Its translation is 
moblacktriangleright;/mo (Unicode U+25B8, ▸). 

Secondly, the \triangleleft, which I have not used before, does not work (at 
least for me ConTeXt  ver: 2012.07.10 09:52 MKIV fmt: 2012.7.15 int: 
english/english):

simple example: 


\starttext
$\blacktriangleleft$ % does not appear
$\blacktriangleright$ % works
\stoptext


For the blacktriangleright we have:

 [0x25B6]={
  adobename=blackrightpointingtriangle,
  category=so,
  cjkwd=a,
  description=BLACK RIGHT-POINTING TRIANGLE,
  direction=on,
  linebreak=ai,
  mathclass=bin,
  mathname=blacktriangleright,
  unicodeslot=0x25B6,
 },

which is _not_ consistent with The \blacktriangleright command is valid only 
in math mode. Its translation is moblacktriangleright;/mo (Unicode U+25B8, 
▸).

However, looking at http://www.unicodemap.org/details/0x25B6/index.html and 
given the fact that blacktriangleright works nicely, I'd assume that Hans is 
correct and it indeed is not the small ones but the big tirangles.
___
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] write my own text in the header

2012-07-18 Thread Thomas A. Schmitz

Hi Dalyoung,

On 07/17/2012 06:25 PM, dalyoung wrote:

Dear all,

I have two questions.

1. I'd like to write various text in the header differently at every page.
It is like SlideTitle{} used in the simpleslide module.

I tried \setupheadertexts[text] at the beginning of every page.
But only the text defined at last appeared at the header of every page.

Is there a way to do such a job?


This has been answered already, I assume? And wasn't specific to the 
simpleslides module?



2. Is it possible to use my own figure as a background under the simpleslide 
module?
 -- Example--

The background yellow-spring is appeared in the first page(Title page), but 
from the second page only horizontalstripes appeared.

It is absolutely possible to have your own image as a background, but 
you will have to wrap it into your own style for the simpleslides 
module; you can't have a background to an existing style. It's not that 
difficult (best start from an existing style, rename it and then edit 
it), but if you're having trouble, let me know, and I can send you an 
example.


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] simpleslides help needed

2012-07-18 Thread Hans Hagen

On 18-7-2012 02:41, Pavneet Arora wrote:


also doesn't seem to work at all.  I get what I believe to be Latin
Modern Sans across the board.

I have resorted to using one of the default fonts via the module switch
for now, but would like to customize the font selection to my taste.


Just using (without any additional definitions):

  \setupbodyfont[dejavu,10pt]

works, as there is a type-imp-dejavu typescript.

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
___


[NTG-context] Critical editions with ConTeXt

2012-07-18 Thread MANUEL GONZALEZ SUAREZ
Hey. First, thanks to Andreas for his solution to the bibliographies. Second, a question: is there a module to produce critical editions with ConTeXt? In critical editions usually have several groups of footnotes and reference is usually made by line number. With LaTeX can be done using ledmac, but perhaps would have to customize the footnotes with ConTeXt. Thank you. critical editions-- Manuel González Suárez
___
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 symbol: blacktriangle

2012-07-18 Thread Hans Hagen

Hi,

I uploaded a new beta .. still not ok I guess:

\setuplayout[header=0pt,footer=0pt,height=middle,width=middle]
\setupbodyfont[dejavu,10pt]

\startbuffer
\starttabulate[|||pT|]
\HL
\NC \type{\blacktriangle } \NC \blacktriangle  \NC 
\meaning\blacktriangle  \NC \NR
\NC \type{\blacktriangledown } \NC \blacktriangledown  \NC 
\meaning\blacktriangledown  \NC \NR
\NC \type{\blacktriangleleft } \NC \blacktriangleleft  \NC 
\meaning\blacktriangleleft  \NC \NR
\NC \type{\blacktriangleright} \NC \blacktriangleright \NC 
\meaning\blacktriangleright \NC \NR

\HL
\NC \type{\triangle }  \NC \triangle   \NC 
\meaning\triangle   \NC \NR
\NC \type{\bigtriangleup}  \NC \bigtriangleup  \NC 
\meaning\bigtriangleup  \NC \NR
\NC \type{\triangledown }  \NC \triangledown   \NC 
\meaning\triangledown   \NC \NR
\NC \type{\bigtriangledown}\NC \bigtriangledown\NC 
\meaning\bigtriangledown\NC \NR
\NC \type{\triangleleft }  \NC \triangleleft   \NC 
\meaning\triangleleft   \NC \NR
\NC \type{\triangleright}  \NC \triangleright  \NC 
\meaning\triangleright  \NC \NR

\HL
\stoptabulate
\stopbuffer

\starttext

\switchtobodyfont[modern-designsize] \subject{modern-designsize} 
\getbuffer \blank
\switchtobodyfont[modern]\subject{modern} 
\getbuffer \blank
\switchtobodyfont[xits]  \subject{xits} 
\getbuffer \blank
\switchtobodyfont[pagella]   \subject{pagella} 
\getbuffer \blank


\stoptext

I tend to taking xits as reference.

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 symbol: blacktriangle

2012-07-18 Thread Andreas Mang
Hi,

Thanks Hans. It works for me :) Relating the output (\blacktriangleright and 
\blacktriangle) to some figure I have created with latex + tikz I do not see 
any difference. 

Cheers,
Andreas
 
Am Jul 18, 2012 um 10:37 AM schrieb Hans Hagen:

 Hi,
 
 I uploaded a new beta .. still not ok I guess:
 
 \setuplayout[header=0pt,footer=0pt,height=middle,width=middle]
 \setupbodyfont[dejavu,10pt]
 
 \startbuffer
 \starttabulate[|||pT|]
 \HL
 \NC \type{\blacktriangle } \NC \blacktriangle  \NC 
 \meaning\blacktriangle  \NC \NR
 \NC \type{\blacktriangledown } \NC \blacktriangledown  \NC 
 \meaning\blacktriangledown  \NC \NR
 \NC \type{\blacktriangleleft } \NC \blacktriangleleft  \NC 
 \meaning\blacktriangleleft  \NC \NR
 \NC \type{\blacktriangleright} \NC \blacktriangleright \NC 
 \meaning\blacktriangleright \NC \NR
 \HL
 \NC \type{\triangle }  \NC \triangle   \NC 
 \meaning\triangle   \NC \NR
 \NC \type{\bigtriangleup}  \NC \bigtriangleup  \NC 
 \meaning\bigtriangleup  \NC \NR
 \NC \type{\triangledown }  \NC \triangledown   \NC 
 \meaning\triangledown   \NC \NR
 \NC \type{\bigtriangledown}\NC \bigtriangledown\NC 
 \meaning\bigtriangledown\NC \NR
 \NC \type{\triangleleft }  \NC \triangleleft   \NC 
 \meaning\triangleleft   \NC \NR
 \NC \type{\triangleright}  \NC \triangleright  \NC 
 \meaning\triangleright  \NC \NR
 \HL
 \stoptabulate
 \stopbuffer
 
 \starttext
 
 \switchtobodyfont[modern-designsize] \subject{modern-designsize} 
 \getbuffer \blank
 \switchtobodyfont[modern]\subject{modern} 
 \getbuffer \blank
 \switchtobodyfont[xits]  \subject{xits} 
 \getbuffer \blank
 \switchtobodyfont[pagella]   \subject{pagella} 
 \getbuffer \blank
 
 \stoptext
 
 I tend to taking xits as reference.
 
 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
 -

--
Andreas Mang, MSc
  Research Associate

UNIVERSITY OF LUEBECK
  INSTITUTE OF MEDICAL ENGINEERING

  Division of Computer Science, 
  Engineering and Natural Sciences

  Ratzeburger Allee 160, Building 64
  23562 Luebeck, Germany

  Phone: +49 (0) 451 500 5416
  Fax:   +49 (0) 451 500 5403
  m...@imt.uni-luebeck.de
  http://www.imt.uni-luebeck.de

___
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] A Lorem ipsum module?

2012-07-18 Thread Marcin Borkowski
Hi all,

in LaTeX, there is quite a useful package called lipsum, for
typesetting varioud amounts of Lorem ipsum stuff.  Is there anything
like that in ConTeXt?  (I know about \input knuth, \input tufte etc.,
but that is not exactly what I have in mind, especially when giving a
sample of some design to a customer;).)

If not (as I suspect), what should I do to write such a module?  I
expect this shouldn't be too difficult, and I could learn a few things
(like using key-value syntax in ConTeXt, for instance); are there any
recommendations for people wanting to learn to write a (simple) module
for ConTeXt (other than the relevant wiki page)?  For example, which
existing modules might I want to take and read the source code of?

Best,

-- 
Marcin Borkowski
http://mbork.pl
___
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] Critical editions with ConTeXt

2012-07-18 Thread Thomas A. Schmitz

On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote:

Hey.
First, thanks to Andreas for his solution to the bibliographies.
Second, a question: is there a module to produce critical editions with
ConTeXt? In critical editions usually have several groups of footnotes
and reference is usually made by line number. With LaTeX can be done
using ledmac, but perhaps would have to customize the footnotes with
ConTeXt.
Thank you.

critical editions


No, there isn't a single module to do this. Most of the functionality is 
there (search for linenotes in the mailing list and look at the TEI 
xml example on the wiki), but you will still have to write your own 
style/module.


Best wishes

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] A Lorem ipsum module?

2012-07-18 Thread Marco
On 2012-07-18 Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 in LaTeX, there is quite a useful package called lipsum, for
 typesetting varioud amounts of Lorem ipsum stuff.  Is there anything
 like that in ConTeXt?  (I know about \input knuth, \input tufte etc.,
 but that is not exactly what I have in mind, especially when giving a
 sample of some design to a customer;).)

You can use the visual module for generating “fake” text or the dum
MP module for dummy figures. Example:

% fake words
\usemodule
  [visual]

% for colourful dummy figures
\useMPlibrary
  [dum]

\setupindenting
  [yes, medium]

\starttext

\fakenwords{100}{200}

\externalfigure [dummy]

% Rumours say, Mojca used this feature for her thesis
\simplethesis

\stoptext

 are there any recommendations for people wanting to learn to write
 a (simple) module for ConTeXt (other than the relevant wiki page)?

Have a look at the existing modules.

Marco


___
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] Is startalign broken in mkiv?

2012-07-18 Thread Khaled Hosny
On Tue, Jul 17, 2012 at 09:48:31PM -0400, Matthias Weber wrote:
 It was never a problem in TeX to modify the control characters used
 according to your own pleasure.

Except that is not the kind of thing ConTeXt users are supposed to mess
with, I feel guilty every time I mess with catcodes in my style file.

Regards,
 Khaled
___
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] simpleslides help needed

2012-07-18 Thread Pavneet Arora

Hans and Wolfgang,

Thanks, as always, for the prompt replies.  Does this mean that I need to focus 
on the typescript mechanism rather than simplefonts?  Wolfgang, that was also 
the point I wanted to clarify since from my earlier reading of the manual's 
section on Choosing on your own fonts, the example pointed to using 
typescripts. However, from the Aditya's posting I was encouraged that I could 
use (my) default method of relying on simplefonts.


One last question stemming from the Jean-Luc Dumont's article on effective 
communications:  is there a way to turn off the interaction bar in the slides. 
 I am using the simple 'Shaded' style where the interaction bars are displayed 
as small circles along the bottom.


Regards.

On 12-07-18 03:42 AM, Hans Hagen wrote:

On 18-7-2012 02:41, Pavneet Arora wrote:


also doesn't seem to work at all.  I get what I believe to be Latin
Modern Sans across the board.

I have resorted to using one of the default fonts via the module switch
for now, but would like to customize the font selection to my taste.


Just using (without any additional definitions):

   \setupbodyfont[dejavu,10pt]

works, as there is a type-imp-dejavu typescript.

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
-




--
-
- Pavneet Arora

Waroc Fine Audio + Custom Home Cinema
www.waroc.com  416.937.WAROC (9276)



___
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 symbol: blacktriangle

2012-07-18 Thread Khaled Hosny
On Wed, Jul 18, 2012 at 12:29:52AM +0200, Hans Hagen wrote:
 On 17-7-2012 22:36, Khaled Hosny wrote:
 On Tue, Jul 17, 2012 at 09:40:15PM +0200, Hans Hagen wrote:
 On 17-7-2012 19:39, Aditya Mahajan wrote:
 On Tue, 17 Jul 2012, Andreas Mang wrote:
 
 Dear all,
 
 The \blacktriangle and \blacktriangledown symbol seem to be missing,
 though \blacktriangleright and \...-left are defined. Is there a quick
 way to add missing symbols by myself from the knowledge of Unicode /
 XML identifier (http://www-sop.inria.fr/marelle/tralics/doc-b.html)?
 
 For opentype math fonts, have a look at char-def.lua. To add missing
 symbols, you need to add appropriate fields in the lua table.
 
 The hard part is verifying the symbol to unicode slot mapping (the list
 at tralics is not always consistent with the ams list that is used by
 unicode-math package). If you know the right mappings, add a patch to
 char-def.lua and send it to the list (or the dev-context list);
 otherwise, just send the mappings and I can add them to the lua table.
 
 keep in mind that not all those black triangles in ams math ended up
 in unicode
 
 AFAIK all ams symbols are in Unicode now (I know because the STIX LaTeX
 support covers them all from STIX Unicode fonts).
 
 Also the black triangles left and right (in ams compatible font sizes)?
 
 (Last time I messed with it I had to get them from the navigational
 symbol font).

I don't know about the sizes, but every csname defined by amsfonts and
amssymb is covered.

Regards,
 Khaled
___
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] A Lorem ipsum module?

2012-07-18 Thread Philipp Gesang
Hey Marcin,

···date: 2012-07-18, Wednesday···from: Marcin Borkowski···

 If not (as I suspect), what should I do to write such a module?  I
 expect this shouldn't be too difficult, and I could learn a few things
 (like using key-value syntax in ConTeXt, for instance); are there any
 recommendations for people wanting to learn to write a (simple) module
 for ConTeXt (other than the relevant wiki page)?  For example, which
 existing modules might I want to take and read the source code of?

Wolfgang’s fancybreak module is a good place to start, because it
demonstrates the current namespace syntax quite nicely. Also, it
is very specific wrt functionality, so it can be understood
completely by just reading the code. (Of course you should be
familiar with the module from a user perspective but that’s no
effort.)

  
https://bitbucket.org/wolfs/fancybreak/src/20ec76c5e154/files/t-fancybreak.mkvi

Happy TeXing!
Philipp

 
 Best,
 
 -- 
 Marcin Borkowski
 http://mbork.pl
 ___
 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpWJYPtXMBic.pgp
Description: 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] simpleslides help needed

2012-07-18 Thread Hans Hagen

On 18-7-2012 13:23, Pavneet Arora wrote:

Hans and Wolfgang,

Thanks, as always, for the prompt replies.  Does this mean that I need
to focus on the typescript mechanism rather than simplefonts?  Wolfgang,
that was also the point I wanted to clarify since from my earlier
reading of the manual's section on Choosing on your own fonts, the
example pointed to using typescripts. However, from the Aditya's posting
I was encouraged that I could use (my) default method of relying on
simplefonts.


it depends ... some fonts (those that ship with the distribution) have a 
typescript but for others (fonts that come with the os or that you buy) 
simplefonts is a better choice


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
___


[NTG-context] Need help

2012-07-18 Thread Shiv Shankar Dayal
Hi,

Mu current chapter setup is as below:

\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=.5em,frame=off]
\tbox{\framed[width=3cm,align=left]{#1}}%
\tbox{\framed[width=4cm,align=right,leftframe=on]{#2}}%
\egroup}
\setuphead [chapter]
[color=green1,
 textstyle=,
 align=normal,
 continue=no,
 page=right,
 style=\tfc,
 before={\blank[2*big]},
 after={\blank[2*big]},
 command=\HeadTitle]

I want a local TOC after each chapter title. If I manually put

\placelist[section][criterium=chapter]

immediately after \chapter command then it does not work. Please help.

-- 
Best regards,
Shiv Shankar Dayal
___
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] Local TOC after each chapter title (was: Re: Need help)

2012-07-18 Thread Marco
On 2012-07-18 Shiv Shankar Dayal shivshankar.da...@gmail.com wrote:

Hi Shiv!

For your next posts please

∙ Provide a meaningful subject, not just “Need help”.
  E.g. “Local TOC after each chapter title”

∙ Provide a MWE, a minimal *working* example. A small code snippet
  that compiles and demonstrates you problem. That way you increase
  the chance of getting an answer by magnitudes.

∙ Be specific! “Does not work” doesn't say much. State clearly what
  you expect and what you got instead. E.g. TOC does not show up on
  the page, leads to compilation error: “Undefined control
  sequence”, TOC is not centred, etc.

 I want a local TOC after each chapter title.

How about this:

\setuphead
  [chapter]
  [after=\placecontent]

\starttext

\startchapter [title=Foo]
  \startsection [title=First A]
\input knuth
  \stopsection
  \startsection [title=First B]
\input knuth
  \stopsection
\stopchapter

\startchapter [title=Bar]
  \startsection [title=Second A]
\input knuth
  \stopsection
  \startsection [title=Second B]
\input knuth
  \stopsection
  \input zapf
\stopchapter

\stoptext


Marco


___
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] Local TOC after each chapter title (was: Re: Need help)

2012-07-18 Thread Wolfgang Schuster

Am 18.07.2012 um 16:15 schrieb Marco:

 How about this:
 
 \setuphead
  [chapter]
  [after=\placecontent]

When you use the start/stop-commands you can use “insidesection=…” which comes 
after the “after” key.

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] Local TOC after each chapter title (was: Re: Need help)

2012-07-18 Thread Marco
On 2012-07-18 Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 When you use the start/stop-commands you can use “insidesection=…”
 which comes after the “after” key.

Nice, I didn't know that one, yet. Wikified under \setupheads.

Marco


___
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] simpleslides help needed

2012-07-18 Thread Aditya Mahajan

On Wed, 18 Jul 2012, Pavneet Arora wrote:

Thanks, as always, for the prompt replies.  Does this mean that I need to 
focus on the typescript mechanism rather than simplefonts?


In principle both should work with simpleslides module though I never 
tested it with simplefonts.


Wolfgang, that was also the point I wanted to clarify since from my 
earlier reading of the manual's section on Choosing on your own fonts, 
the example pointed to using typescripts. However, from the Aditya's 
posting I was encouraged that I could use (my) default method of relying 
on simplefonts.


ConTeXt comes with typescripts for lot of the commonly used fonts. 
Earlier, you had to use


\usetypescript[dejavu]
\setupbodyfont[dejavu]

to use an existing typescript. Since a year or more now, the first line is 
not needed. You can just use


\setupbodyfont[dejavu]

and context will run \usetypescript[...] if a typescript is not already 
loaded.


One last question stemming from the Jean-Luc Dumont's article on effective 
communications:  is there a way to turn off the interaction bar in the 
slides. I am using the simple 'Shaded' style where the interaction bars are 
displayed as small circles along the bottom.


The simpleslides module is not designed for configurability. Sorry. The 
best solution is to copy the Shaded style to another file and remove the 
code for the bottom bar.


Thomas and I were working on a more extensible version of simpleslides, 
but haven't had the time to finish it.


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] simpleslides help needed

2012-07-18 Thread Aditya Mahajan

On Tue, 17 Jul 2012, Pavneet Arora wrote:


Hello all,

I am here at TUG 2012 updating the presentation that I am to give in the 
morning.


I have had a couple of lingering questions regarding simpleslides that I
thought I would put out there.  They are not show stoppers, and I have
lived with them in my other presentations.  It is just that with my
brain on TeX (and ConTeXt) for the past few days, I thought that I would
try to resolve them once and for all.

1.  Fonts

I would like to specify separate mainfont and bodyfont using the
simplefonts module (or some other consistent mechanism).

I have read the thread from:

http://www.ntg.nl/pipermail/ntg-context/2011/056495.html

and have tried to split up Wolfgang's suggestion into the two parts.  I
have tried:

\usemodule[simplefonts][size=18pt]
\setmainfont[grandesignneueserif]

\setupbodyfont[dejavuserif]


With simplefonts, you do not need \setupbodyfont! The following example 
works fine on my old installation (2012.06.08)


\usemodule[simpleslides][style=Shaded]
\usemodule[simplefonts][size=\NormalSize]

\setmainfont[DejaVu Serif]

\setupTitle
  [title={Presentation Title},
   author={Author},
   date={Date / Occasion}]

\starttext

\placeTitle

\SlideTitle{Test Slide}

\input knuth

\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 symbol: blacktriangle

2012-07-18 Thread Aditya Mahajan
On Wed, 18 Jul 2012, Hans Hagen wrote:

 Hi,

 I uploaded a new beta .. still not ok I guess:

I haven't checked the new beta, but FWIW, these are the slots that 
unicode-math package uses (I usually treat that as a reference):

\UnicodeMathSymbol{025B2}{\bigblacktriangleup   }{\mathord}{black 
up-pointing triangle}%
\UnicodeMathSymbol{025B3}{\bigtriangleup}{\mathbin}{big up 
triangle, open}%
\UnicodeMathSymbol{025B4}{\blacktriangle}{\mathord}{up triangle, 
filled}%
\UnicodeMathSymbol{025B5}{\vartriangle  }{\mathrel}{/triangle - up 
triangle, open}%
\UnicodeMathSymbol{025B6}{\blacktriangleright   }{\mathord}{(large) right 
triangle, filled}%
\UnicodeMathSymbol{025B7}{\triangleright}{\mathbin}{(large) right 
triangle, open; z notation range restriction}%
\UnicodeMathSymbol{025B8}{\smallblacktriangleright  }{\mathord}{right 
triangle, filled}%
\UnicodeMathSymbol{025B9}{\smalltriangleright   }{\mathord}{right 
triangle, open}%
\UnicodeMathSymbol{025BA}{\blackpointerright}{\mathord}{black 
right-pointing pointer}%
\UnicodeMathSymbol{025BB}{\whitepointerright}{\mathord}{white 
right-pointing pointer}%
\UnicodeMathSymbol{025BC}{\bigblacktriangledown }{\mathord}{big down 
triangle, filled}%
\UnicodeMathSymbol{025BD}{\bigtriangledown  }{\mathord}{big down 
triangle, open}%
\UnicodeMathSymbol{025BE}{\blacktriangledown}{\mathord}{down triangle, 
filled}%
\UnicodeMathSymbol{025BF}{\triangledown }{\mathord}{down triangle, 
open}%
\UnicodeMathSymbol{025C0}{\blacktriangleleft}{\mathord}{(large) left 
triangle, filled}%
\UnicodeMathSymbol{025C1}{\triangleleft }{\mathbin}{(large) left 
triangle, open; z notation domain restriction}%
\UnicodeMathSymbol{025C2}{\smallblacktriangleleft   }{\mathord}{left triangle, 
filled}%
\UnicodeMathSymbol{025C3}{\smalltriangleleft}{\mathord}{left triangle, 
open}%

Aditya

 \setuplayout[header=0pt,footer=0pt,height=middle,width=middle]
 \setupbodyfont[dejavu,10pt]

 \startbuffer
 \starttabulate[|||pT|]
 \HL
 \NC \type{\blacktriangle } \NC \blacktriangle  \NC 
 \meaning\blacktriangle  \NC \NR
 \NC \type{\blacktriangledown } \NC \blacktriangledown  \NC 
 \meaning\blacktriangledown  \NC \NR
 \NC \type{\blacktriangleleft } \NC \blacktriangleleft  \NC 
 \meaning\blacktriangleleft  \NC \NR
 \NC \type{\blacktriangleright} \NC \blacktriangleright \NC 
 \meaning\blacktriangleright \NC \NR
 \HL
 \NC \type{\triangle }  \NC \triangle   \NC \meaning\triangle  
 \NC \NR
 \NC \type{\bigtriangleup}  \NC \bigtriangleup  \NC 
 \meaning\bigtriangleup  \NC \NR
 \NC \type{\triangledown }  \NC \triangledown   \NC 
 \meaning\triangledown   \NC \NR
 \NC \type{\bigtriangledown}\NC \bigtriangledown\NC 
 \meaning\bigtriangledown\NC \NR
 \NC \type{\triangleleft }  \NC \triangleleft   \NC 
 \meaning\triangleleft   \NC \NR
 \NC \type{\triangleright}  \NC \triangleright  \NC 
 \meaning\triangleright  \NC \NR
 \HL
 \stoptabulate
 \stopbuffer

 \starttext

 \switchtobodyfont[modern-designsize] \subject{modern-designsize} \getbuffer 
 \blank
 \switchtobodyfont[modern]\subject{modern} \getbuffer \blank
 \switchtobodyfont[xits]  \subject{xits} \getbuffer \blank
 \switchtobodyfont[pagella]   \subject{pagella} \getbuffer \blank

 \stoptext

 I tend to taking xits as reference.

 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
 ___

___
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] Critical editions with ConTeXt

2012-07-18 Thread Pablo Rodríguez
On 18/07/12 12:09, Thomas A. Schmitz wrote:
 On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote:
 Hey.
 First, thanks to Andreas for his solution to the bibliographies.
 Second, a question: is there a module to produce critical editions with
 ConTeXt? In critical editions usually have several groups of footnotes
 and reference is usually made by line number. With LaTeX can be done
 using ledmac, but perhaps would have to customize the footnotes with
 ConTeXt.
 Thank you.
 
 No, there isn't a single module to do this. Most of the functionality is 
 there (search for linenotes in the mailing list and look at the TEI 
 xml example on the wiki), but you will still have to write your own 
 style/module.

Hi Manuel,

As Thomas replied, linenotes is your friend. TEI XML
(http://wiki.contextgarden.net/TEI_xml) shows the features of critical
edition typesetting, but you have to learn XML, TEI, ConTeXt and how
ConTeXt deals directly with XML files . This is a much better way to
work with documents, but you'll need to learn much more.

I provide here a minimal example on how ConTeXt works with linenotes:

\definelinenote[lnote]
\setuplinenote[lnote][rule=off,paragraph=yes,numbercommand=,inbetween=\qquad]
\setupdescriptions[lnote][display=yes,location=serried,distance=1em]
\starttext
\startlinenumbering
En un lugar\lnote{lugar: place} de la Mancha, de cuyo
nombre\lnote{nombre: name} no quiero\lnote{querer: want}
acordarme\lnote{acordarse: remember}.
\stoplinenumbering
\stoptext

I'm not a classical philologist, but the way ConTeXt works is much
clearer than ledmac to me (although I have only tested ledmac for a
couple of days).

But there are two features from ledmac that aren't available in ConTeXt
(or at least I don't know how to achieve them):

-ConTeXt numbers all linenotes that come from the same line and there
seems to be no way to limit number in the apparatus to only the first
linenote from that line.

-From the way linenotes are implemented, linenotes mark a point in the
body text, but not a text passage, so it seems to be impossible to refer
to a passage that is typeset in different lines (such as 2-3).

Apart from these two issues and since the other issues involved in
linenotes are known to the ones in this mailing list, it might be easier
that you start a thread at the Spanish TeX mailing list (I'm also
subscribed to that list). I'm only suggesting this, since it might be
easier for you, the topic is known to the members from this list and it
may be interesting for the members from ES-TEX (I apologize if I'm wrong).

I hope this might help,


Pablo
-- 
http://www.ousia.tk
___
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] glyph outlines

2012-07-18 Thread Jan Kula

Hello to everybody,

On 07/09/2012 10:00 AM, Jan Kula wrote:

how to draw character outlines for plotter to cut the letters out of the
plate in mkiv? mmakempy.pdf is over 10 years old, so the situation could
change since then.

Anyway, even if I stick to the above method, the minimal example

\starttext
\startMPcode
graphictext Test;
\stopMPcode
\stoptext

doesn't work as expected in mkiv. *.mpy file is empty.

In mkii error is issued during the run. Ignoring it finally produces the
outlines, so it seems, everything needed is available (gs, pdftops,
pstoedit). Anyway, mkiv way is preferred.


Here is the mkiv answer:

% define the spot color for the plotter
\definecolor[CutContour][c=0,m=1,y=0,k=0]
\definespotcolor[Contour][CutContour][p=1]

% here is the outline feature
\defineeffect[outline][alternative=outer,rulethickness=.25pt]

\starttext
\startcolor[Contour]
\definedfont[Serif at 50pt]

\starteffect[outline]
And here is the magic.
\stopeffect

\stopcolor
\stoptext

In this case CutContour is the name of the spot color, which is usually 
used in the industry. Anyway, the plotter can require different spot 
color name, or sometimes you can assign the color to be cut off the 
plate in the plotter software. Consult at your printing house :)


Jano



___
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] Width of text in startcolumns environment (MkIV)

2012-07-18 Thread Martin Bruchanov
Hello,

I found following problem in version: 2012.07.17 16:42. The
frame width goes over both columns (with texexec the width is
only over one column, I used \makeupwidth but it is same). 

\setuppapersize[A5] 
\starttext

\startcolumns[n=2]
\title{Test page}

\framed[frame=off,bottomframe=on,width=\textwidth,frameoffset=1mm]{
\startalignment[middle]
{\tfx \copyright{} \date[][year] Donald E. Knuth}
\stopalignment
}

\input knuth

\stoptext

Is there another variable defining the width of column?

Best regards,

-- 
Martin Bruchanov

Skype :  bruxytronics
WWW   :  http://bruxy.regnet.cz/
GPG-Key   :  http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53)
Linked-In :  http://www.linkedin.com/in/bruxy
Google+   :  http://gplus.to/BruXy


pgpWbJOZLI0Ny.pgp
Description: 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] glyph outlines

2012-07-18 Thread Marco
On 2012-07-18 Jan Kula jano.k...@gmail.com wrote:

 Here is the mkiv answer:
 
 % define the spot color for the plotter
 \definecolor[CutContour][c=0,m=1,y=0,k=0]
 \definespotcolor[Contour][CutContour][p=1]
 
 % here is the outline feature
 \defineeffect[outline][alternative=outer,rulethickness=.25pt]
 
 \starttext
 \startcolor[Contour]
 \definedfont[Serif at 50pt]
 
 \starteffect[outline]
 And here is the magic.
 \stopeffect
 
 \stopcolor
 \stoptext

Feel free to add this information to the wiki, since it remains
silent about this command until now.

Marco


___
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] Width of text in startcolumns environment (MkIV)

2012-07-18 Thread Marco
On 2012-07-18 Martin Bruchanov br...@regnet.cz wrote:

Hi Martin,

 The frame width goes over both columns (with texexec the width is
 only over one column, I used \makeupwidth but it is same). 

It should work with columnsets:

\setuppapersize
  [A5]

\definecolumnset
  [TwoColumns]
  [n=2]

\starttext

\startcolumnset [TwoColumns]
  \title{Test page}
  \framed
[frame=off,
 bottomframe=on,
 width=\textwidth,
 frameoffset=1mm,
 foregroundstyle=small,
]{\copyright\ \date[][year] Donald E. Knuth}
  \input knuth
\stopcolumnset

\stoptext

But there seems to be a bug in the current beta; the columns are
surrounded by a frame (Hans, Wolfgang, are you listening?). Older
betas are fine.

BTW: You forgot the \stopcolumns in your example.


Marco


___
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] A Lorem ipsum module?

2012-07-18 Thread Rogers, Michael K
On 2012-07-18 Marcin Borkowski mbork@??? wrote:

 in LaTeX, there is quite a useful package called lipsum, for
 typesetting varioud amounts of Lorem ipsum stuff. Is there anything
 like that in ConTeXt? (I know about \input knuth, \input tufte etc.,
 but that is not exactly what I have in mind, especially when giving a
 sample of some design to a customer;).)

The LaTeX lipsum seems to have been pre-download from 
lipsum.comhttp://lipsum.com.  ConTeXt makes this relatively easy.  The one 
problem that might be solved better is that the paragraphs come in a single xml 
node separated by single newlines.  I defined a lines environment to make these 
into paragraphs, which is not as pretty as I would like.

\startxmlsetups xml:Lorem:base
\xmlsetsetup{Lorem}{*}{-}
\xmlsetsetup{Lorem}{feed|lipsum}{xml:Lorem:*}
\stopxmlsetups
\xmlregisterdocumentsetup{Lorem}{xml:Lorem:base}
\startxmlsetups xml:Lorem:feed
  \xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:Lorem:lipsum
  \xmlflush{#1}
\stopxmlsetups
\definelines[LoremLines]
\def\Lorem#1{% #1 = number of paragraphs to request
  \startLoremLines
  
\xmlprocessfile{Lorem}{http://www.lipsum.com/feed/xml?amount=#1what=parasstart=yes}{}
  \stopLoremLines
}
\starttext
\setupindenting[yes,20pt]
\setuplines[LoremLines][command=\blank,indenting=yes]
\Lorem{12}
\stoptext




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Is startalign broken in mkiv?

2012-07-18 Thread Matthias Weber
Thanks. Now I have my own little sacrilege in the environment file.

Matthias

On Jul 17, 2012, at 11:13 PM, Rogers, Michael K mrog...@emory.edu wrote:

 Here's a backward-compatibility hack that works on your minimal example.  
 Maybe it will save the dozens of files without changing all the s:
 
 \let\oldstartalign=\startalign
 \let\oldstopalign=\stopalign
 \let\oldbs=\\
 \def\startalign{\catcode`=4\let\\=\cr\oldstartalign}
 \def\stopalign{\oldstopalign\catcode`=12\let\\=\oldbs}
 \starttext
 This \ that  the other thing:
 \startformula \startalign
 v = u + at \\
 h = ut + \frac12 gt^2 \\
 \stopalign \stopformula
 That \ this  yet another thing.
 \stoptext
 
 Hope that helps.
 
 Michael
 
 On Jul 17, 2012, at 6:48 PM, Matthias Weber wrote:
 
 It was never a problem in TeX to modify the control characters used 
 according to your own pleasure. For me, the problem is now to change the 
 200+ occurrences of start/stopaligns distributed over dozens of files to the 
 politically correct syntax.
 
 Matthias
 
 On Jul 17, 2012, at 7:41 PM, Khaled Hosny khaledho...@eglug.org wrote:
 
 The use of  (which is a common symbol) as a control character is a long
 standing idiosyncrasy of TeX that I'm glad ConTeXt has got rid of.
 
 On Tue, Jul 17, 2012 at 07:32:09PM -0400, Matthias Weber wrote:
 Thanks - I wasn't aware that the human readable version had been 
 deprecated :(
 
 Matthias
 
 On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote:
 
 On 18-7-2012 00:22, Matthias Weber wrote:
 \starttext
 \startformula \startalign
 v = u + at \\
 h = ut + \frac12 gt^2 \\
 \stopalign \stopformula
 \stoptext
 
 
 
 
 ConTeXt  ver: 2012.07.17 16:42 MKIV  fmt: 2012.7.17  int: english/english
 (...)
 ! Missing $ inserted.
 
 system   tex  error on line 3 in file test.tex: Missing $ 
 inserted ...
 
 1 \starttext
 2 \startformula \startalign
 3   v = u + at \\
 4 h = ut + \frac12 gt^2 \\
 5 \stopalign \stopformula
 6 \stoptext
 
 Thanks -
 
 the context way is:
 
 \startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC = ut + \frac12 gt^2 \NR
 \stopalign \stopformula
 
 
 -
   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
 -
 
 
 
 
 This e-mail message (including any attachments) is for the sole use of
 the intended recipient(s) and may contain confidential and privileged
 information. If the reader of this message is not the intended
 recipient, you are hereby notified that any dissemination, distribution
 or copying of this message (including any attachments) is strictly
 prohibited.
 
 If you have received this message in error, please contact
 the sender by reply e-mail message and destroy all copies of the
 original message (including attachments).
 ___
 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] write my own text in the header

2012-07-18 Thread dalyoung
Dear Hans and Thomas,

Thank you for the reply.

First, I tried 

\setupbackgrounds [page] [background=yellow-spring,  state=repeat]

but, there is no change. 

After the change page to text, my figure appears but it covers slide title.

I couldn't test 

\setupbackgrounds [page] [background={yellow-spring,exist-thing},  state=repeat]

yet. 

As you said, I think that the best way to use my own figure as a background in 
SimpleSlide is to make my own slide template.
I found simpleslides-template.tex and I may try to modify it to make a style 
file.
I hope that I can do it using other samples.

Thank you again.

Best regards,

Dalyoung
___
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] A Lorem ipsum module?

2012-07-18 Thread Henning Hraban Ramm

Am 2012-07-19 um 03:27 schrieb Rogers, Michael K:


On 2012-07-18 Marcin Borkowski mbork@??? wrote:

 in LaTeX, there is quite a useful package called lipsum, for
 typesetting varioud amounts of Lorem ipsum stuff. Is there  
anything

 like that in ConTeXt? (I know about \input knuth, \input tufte etc.,
 but that is not exactly what I have in mind, especially when  
giving a

 sample of some design to a customer;).)

The LaTeX lipsum seems to have been pre-download from lipsum.com.   
ConTeXt makes this relatively easy.  The one problem that might be  
solved better is that the paragraphs come in a single xml node  
separated by single newlines.  I defined a lines environment to make  
these into paragraphs, which is not as pretty as I would like.


I also love http://www.blindtextgenerator.de/ :)

For the WebCMS of my employer I wrote a macro that produces dummy text  
of a defined length (min, max) from a selection of different texts  
(blindtextgenerator’s, that is, plus some company advertising) to fill  
new customer’s sites. To get more different texts, it starts after a  
random full stop, delivers only complete words etc. (we often need  
short dummy text for headlines).
It’s not an example of brilliant programming, but we use freemarker  
templates, and its macro language is somewhat restricted... ;-)

Maybe that gives you some ideas...

Regarding ConTeXt, its included sample text (tufte, knuth, zapf etc.)  
plus \fakewords were good enough for me.



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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