[NTG-context] Indenting in framed environments

2010-09-01 Thread Géry Ogam
Hi,

 How can I indent text within framedtext environments?
 I'm asking because my definitions/theorems/etc. commands are surrounded by 
 startframed/stopframed and I want the text inside to be 
 indented.

Géry___
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] Indenting in framed environments

2010-09-01 Thread Wolfgang Schuster

Am 31.08.2010 um 21:21 schrieb Géry Ogam:

 Hi,
 
 How can I indent text within framedtext environments?
 I'm asking because my definitions/theorems/etc. commands are surrounded by 
 startframed/stopframed and I want the text inside to be 
 indented.


\setupenumerations[...][indenting=yes]

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] Migrations: exactly LaTeX margins -- ConTeXt margins

2010-09-01 Thread xancorreu

Al 31/08/10 22:29, En/na Wolfgang Schuster ha escrit:

Am 31.08.2010 um 18:33 schrieb xancorreu:

   

Al 31/08/10 12:22, En/na Wolfgang Schuster ha escrit:
 

\definelayout
   [latex10]
   [width=\ifdim\dimexpr\paperwidth-2in\relax345pt\relax 
345pt\else\dimexpr\paperwidth-2in\relax\fi, % \paperwidth-2in or 345pt, use the 
smaller value
backspace=\dimexpr(\paperwidth-\textwidth)/2-1in\relax,
leftmargindistance=7pt,
leftmargin=,
topspace=,
header=12pt,
headerdistance=.25in,
height=,
footer=,
footerdistance=,]


   

Thank you very much for your effort, but it does not work for me:
 


This was just a example to show you how difficult it is to emulate latex’s 
layout
in context because the values depend on different paramaters like the fontsize 
and
the papersize. The example does not work because a few value like topspace or 
height
are missing and this is why you get the error messages.

Wolfgang

   
Yes, it's true but I thought that because all is TeX based then there 
are similar in basic elements (like this). But definitely, they are very 
differents



Xan.
___
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] definedelimitedtext options

2010-09-01 Thread xancorreu

Al 31/08/10 22:22, En/na Wolfgang Schuster ha escrit:

Am 31.08.2010 um 18:37 schrieb xancorreu:

   

Hi,

Another time ;-)

I have

\definedelimitedtext
  [abstract]
  [leftmargin=yes,
   spacebefore=line,
   style={\switchtobodyfont[9pt]},after=\normal]
 

why 'after=\normal'?

   

and I want to indent more the abstract. What are the options of 
definedelimitedtext? In the manual there is no mention for that.
 

indenting={yes,big}

   

Is there any way of doing the same as \startnarrower[2*middle,3*middle]?
 

leftmargin=2cm,
rightmargin=3cm

or whatever value you want, by default rightmargin has the same amount as 
leftmargin

Wolfgang

   
Thanks a lot, Wolfgang. Now at least there is one source of information 
of definedelimitedtext options ;-)


Xan.
___
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] Centered framed text in two columns

2010-09-01 Thread Flavien Lambert
No idea ?

2010/8/31 Flavien Lambert petit.lep...@gmail.com

 Dear All,
 I would like to vertically center a framed text in front of an item list,
 something like :
 - item
 - item
 - item my framed text
 - item
 - item

 I tried with two columns then by defining a paragraph but without success.
 I would also like the columns to have a fixed width like 70%-30% of the
 textwidth.
 Any hint ?
 Thanks in advance,

 --
 Flavien.
 
 Quantum objects are completely crazy but, at least, they are all crazy in
 the same way. R.P. Feynman.

___
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] Centered framed text in two columns

2010-09-01 Thread Wolfgang Schuster

Am 31.08.2010 um 09:13 schrieb Flavien Lambert:

 Dear All,
 I would like to vertically center a framed text in front of an item list, 
 something like :
 - item
 - item
 - item my framed text
 - item
 - item
 
 I tried with two columns then by defining a paragraph but without success. I 
 would also like the columns to have a fixed width like 70%-30% of the 
 textwidth.

\starttext

\bTABLE[frame=off,offset=none]\bTR\bTD[width=.7\textwidth]
\startitemize
\item One
\item Two
\item Three
\item Four
\stopitemize
\eTD\bTD[width=.3\textwidth,align=lohi]
my framed text
\eTD\eTR\eTABLE

\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] font cache

2010-09-01 Thread Hans Hagen

On 1-9-2010 5:39, Steffen Wolfrum wrote:

I guess fontfeatures is/was something different.
Thus it should better be labeled featurefiles?

http://wiki.contextgarden.net/fontfeatures
http://wiki.contextgarden.net/featurefiles


I don't know as I didn't write that page

Anyway, the next release will detect a change in featurefile spec.

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] ConTeXt meeting Lua tutorials

2010-09-01 Thread Steffen Wolfrum

Am 25.08.2010 um 12:46 schrieb Khaled Hosny:

 On Wed, Aug 25, 2010 at 11:17:13AM +0200, Hans Hagen wrote:
 On 25-8-2010 10:05, Steffen Wolfrum wrote:
 
 Am 24.08.2010 um 20:37 schrieb Oliver Buerschaper:
 
 Hi all,
 
 Today I started preparations for my activities at the ConTeXt meeting.
 
 There are two small lua tutorials in the program, and I am looking
 for input on both. There is one that is supposed to be a general
 beginner's introduction, and one specifically about fonts.
 
 For both, I am looking for input on what subjects I should cover?
 
 Since both tutorials will end up as articles/wiki pages, it makes
 sense to ask everybody on the list for input (but requests by actual
 attendees will be scored considerably higher).
 
 Perhaps some example to modify a font at runtime? I don't know whether 
 that's possible at all, but if yes, it would be great to see how one could 
 modify kerning tables etc. Often a font needs to be groomed but its 
 license places some restrictions on modifying the file itself...
 
 
 +1
 
 This is somewhat tricky. Actually I had a mechanism for that but I
 discarded the code. However there will be a feature like that some
 day as it needs a rather tight integration in the core of context's
 font handling. (btw, there is a feature for type 1 fonts that adds
 'missing' kerns based on shape codes).
 
 And there is font feature files, which, when not broken :), look the
 same to the OpenType handling code as if the feature were in the
 original font i.e. no special handling needed.



http://wiki.contextgarden.net/fontfeaturefiles


Steffen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Wiki: Tables Overview: What table macros are deprecated?

2010-09-01 Thread Paul Menzel
Dear ConTeXt folks,


I was reading up about tables and found the overview in the Wiki [1]
with the following remark.

Not each provides everything you may need, and the older ones
are deprecated. [1]

Could someone please clarify which macros are deprecated or which are
the recommended or supported/still developed ones. This question is also
asked on the discussion page.


Thanks,

Paul


[1] http://wiki.contextgarden.net/Tables_Overview
[2] http://wiki.contextgarden.net/Talk:Tables_Overview


signature.asc
Description: This is a digitally signed message part
___
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] extra row at the end of matrix

2010-09-01 Thread Chen Shen
The matrix from the following example has an extra row at the end.

=
\starttext
\startformula
  A = \startmatrix[left={\left(\,},right={\,\right)}]
   \NC 1 \NC 2 \NR
   \NC 3 \NC 4 \NR
  \stopmatrix
\stopformula
\stoptext
=

I am using mkiv version:
  MTXrun | current version: 2010.07.30 11:35
  This is LuaTeX, Version beta-0.62.0-2010082314

Removing the last \NR fixes the problem, but this is certainly different
from the previous mkiv/mkii behavior.
I wonder this is an intended change, or is it a bug ?

Thanks a lot!

regards,
shenchen
___
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] Postscript Type1 fonts MK IV - [SOLVED]

2010-09-01 Thread John Magolske
* Khaled Hosny khaledho...@eglug.org [100831 13:16]:
 On Mon, Aug 30, 2010 at 11:27:00PM -0700, John Magolske wrote:
  
% mkdir -p ~/texmf/fonts/data
% mv *.{pfb,afm} ~/texmf/fonts/data
% export OSFONTDIR=$HOME/.fonts;$HOME/texmf/fonts/data
 
 I think the OSFONTDIR is unnecessary here, context will seach ~/texmf
 anyway.

I found that if $HOME/texmf/fonts/data was not explicitly included
in the OSFONTDIR environment variable, the fonts in that directory
did not show up.

Also, I tried a : and trailing // in the path as mentioned in another
post, but it made no difference.

Regards,

John

-- 
John Magolske
http://B79.net/contact
___
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
___