Re: [NTG-context] ntg-context Digest, Vol 63, Issue 7

2009-09-06 Thread rene hassel
Hello Everybody,


this innerproduct goes well:


# begin:

\define[2]\innerprod{\langle#1,#2\rangle}


 \starttext

\innerprod{\,x}{y} + z

\stoptext

# end.


best regards,


Rene'





 --

 Message: 6
 Date: Fri, 4 Sep 2009 17:10:29 -0700
 From: Guilherme P. de Freitas guilhe...@gpfreitas.com
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: [NTG-context] Problems with inner products
 Message-ID:
a193bbb50909041710v274ba490odbe40413cf851...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 Hi everybody,

 I am trying to define a command for inner products. I would like to
 type $\innerprod{x, y}$ and obtain in the output x, y. Now, I
 defined

 \define[2]\innerprod
  {\langle #1, #2 \rangle}

 but then, when I used the command, I got some weird behavior: the next
 character after y would jump in the inner product. For example,
 when writing

 $\innerprod{x, y} + z$

 I was hoping to obtain as an output

 x, y + z

 But I got as an output

 x, y + z

 I am using the ConTeXt that came with MacTeX 2008 (I downloaded it a
 few days ago).

 Best,

 Guilherme

 --
 Guilherme P. de Freitas
 http://www.gpfreitas.com


 --


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

 ___


 End of ntg-context Digest, Vol 63, Issue 7
 **

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


[NTG-context] Opacity for screens?

2009-09-06 Thread Corin Royal Drummond
I´ve got a layout where I have a background photo covering the page, and 
I would like to have a semi-transparent white screen behind the text 
column, for readability.  Is it possible to have opacity in screens? 


Thanks,

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


Re: [NTG-context] Roman Page numbers

2009-09-06 Thread Robert Blackstone
On Sat, Sep 5, 2009 at 10:42 PM, Derek CORDEIRO derekcorde...@gmail.com
wrote



 Thanks a lot, it works as required. I added a note to the wiki
 Table_of_Contents page.

 On Fri, Sep 4, 2009 at 3:36 PM, Wolfgang Schuster 
 schuster.wolfg...@googlemail.com wrote:

 
  Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
 
   I do get romannumerals on each page now, but this is not reflected in
 the
  TOC as it does in MkII. Below is the minimal example.
 
 
  The new code is more complicated than i thought, here is solution to the
  problem.
 
  As Hans suggested we should collect such setups on the wiki.
 
  \definestructureconversionset[frontpart:pagenumber][][romannumerals]
  \definestructureconversionset[bodypart:pagenumber] [][numbers]
 
  \setuplist[chapter][pageconversionset=pagenumber]
 
  \startstructureblockenvironment[frontpart]
 
  \setupuserpagenumber[numberconversion=romannumerals]
  \setuppagenumber[number=1]
 
  \stopstructureblockenvironment
 
  \startstructureblockenvironment[bodypart]
 
  \setuppagenumber[number=1]
 
  \stopstructureblockenvironment
 
  \starttext
 
  \startfrontmatter
 
  \completecontent[criterium=all]
 
  \chapter{Intro}
 
  \input tufte
 
  \stopfrontmatter
 
  \startbodymatter
 
  \chapter{knuth}
 
  \input knuth
 
  \stopbodymatter
 
  \stoptext
 
  Wolfgang
 


This is odd.
On my system (both MacTeX 2008 and ConTeXt minimals) this does not work
properly.
The Roman numbers appear in the TOC but not on the textpages themselves.
Furthermore, after the frontmatter the page numbers should start again with
1 (at least that is what I think) but they just continue (i.c. with 3).
The previous TeX-file, in ntg-context Digest, Vol 63, Issue 6, message 6,
showed almost the reverse, i.e. Roman numbers on the pages but not in the
TOC but the body matter starting correctly on page 1.
So if the present setup works correctly for Derek, why would it be it
different on my system and what can I do about it?
Sorry for intruding but this topic is important for me.
Regards,
Robert Blackstone
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Roman Page numbers

2009-09-06 Thread Wolfgang Schuster


Am 06.09.2009 um 10:31 schrieb Robert Blackstone:


This is odd.
On my system (both MacTeX 2008 and ConTeXt minimals) this does not  
work properly.


The code is for MkIV only and the ConTeXt in TeXLive is too old for  
the new code.


The Roman numbers appear in the TOC but not on the textpages  
themselves. Furthermore, after the frontmatter the page numbers  
should start again with 1 (at least that is what I think) but they  
just continue (i.c. with 3).


What ConTeXt version do you use?

$ context --version
MTXrun | main context file: /Users/wolf/context/tex/texmf-context/tex/ 
context/base/context.tex

MTXrun | current version: 2009.08.30 12:25

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


Re: [NTG-context] Roman Page numbers

2009-09-06 Thread luigi scarso
On Sun, Sep 6, 2009 at 3:25 PM, Robert Blackstone 
blackstone.rob...@gmail.com wrote:



 On Sun, Sep 6, 2009 at 12:00 PM, Wolfgang Schuster wrote


 The code is for MkIV only and the ConTeXt in TeXLive is too old for
 the new code.

  The Roman numbers appear in the TOC but not on the textpages
  themselves. Furthermore, after the frontmatter the page numbers
  should start again with 1 (at least that is what I think) but they
  just continue (i.c. with 3).

 What ConTeXt version do you use?

 MTXrun | current version: 2009.06.14 21:01
 June this year. Too old already?

maybe

 If so, what would be a good frequency of updating the minimals?

 For bug fixes,you should always have  the last stable / beta, it depends
what are you using .
There is no backward compatibility

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


Re: [NTG-context] Digest, Roman Page numbers

2009-09-06 Thread Robert Blackstone
On Sun, Sep 6, 2009 at 12:00 PM,Wolfgang Schuster wrote

 Am 06.09.2009 um 10:31 schrieb Robert Blackstone:

  This is odd.
  On my system (both MacTeX 2008 and ConTeXt minimals) this does not
  work properly.


 What ConTeXt version do you use?

 I updated the minimals today and indeed your setup works perfectly now.
Thank you.
Regards,
Robert Blackstone
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Opacity for screens?

2009-09-06 Thread Hans Hagen

Corin Royal Drummond wrote:
I´ve got a layout where I have a background photo covering the page, and 
I would like to have a semi-transparent white screen behind the text 
column, for readability.  Is it possible to have opacity in screens?


\definecolor[MakeItVague][s=1,t=.5,a=1]

\setupbackgrounds
  [page]
  [backgroundcolor=MakeItVague,
   background={yourpictureoverlay,color}]


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

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


Re: [NTG-context] framing in TABLEs

2009-09-06 Thread Steffen Wolfrum

Reading the first line of your code I assume you are working with MkII.

On my machine your example renders fine – see 
http://werksatz.com/attachments/gerhard_1.pdf

I ran your file with ConTeXt  ver: 2008.02.07 01:09 MKII.

Using a more recent version on http://live.contextgarden.net/ gives  
the same result

(ConTeXt ver: 2009.08.30 12:25 MKII)


Steffen



Am 05.09.2009 um 18:15 schrieb Gerhard Kugler:


Hi,

I'm updating a book of 2007 with many tables with empty, but framed
cells. But if I see the new results, part of the cells are not framed
as in the following example:


\enableregime   [il1]
\mainlanguage   [de]

\starttext

\setupTABLE[row][each][align=lohi,height=0.08\textheight]

\bTABLE

\setupTABLE[textwidth=\textwidth]%
\setupTABLE[column][1][width=0.77\textwidth]%
\setupTABLE[column][2][width=0.23\textwidth]%

\switchtobodyfont[small]%

\bTR
\bTD Schmerzliche und schwierige Dinge, die ich erlebe \eTD
\bTD Wie lange ist das schon der Fall? \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\bTR
\bTD[m=2] \eTD
\eTR
\eTABLE

\stoptext


I tried several setupTABLE ... framed=on, but without success.

Gerhard

--
Gerhard Kugler
Psychotherapeut
Bensheim (Germany)
http://www.psychotherapie-kugler.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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___