Re: [NTG-context] inline diagrams/charts?

2007-08-15 Thread Hamid Kamrani
Are you looking for an inline table? If so, here is the snippet of the code that I had gotten from somewhere. Perhaps some examples from Hans. \starttext \installframedlocator {table} {} {\hbox{\lower\dimexpr\dp\strutbox+.25ex+.4pt\relax\box\framebox}} \defineframed [inlinetable] [locati

Re: [NTG-context] Batch Files and texmf

2007-08-09 Thread Hamid Kamrani
That is a pretty interesting ConTeXt question. I mean it makes a laudable effort to bring ConTeXt into its context!! On 8/9/07, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote: > Dear gang, > > To all you expert script writers and batch wizards on Windows, I have a > question: > > I want to create a

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Hamid Kamrani
right syntax but formats incorrectly. -Hamid On 8/9/07, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > 2007/8/9, Hamid Kamrani <[EMAIL PROTECTED]>: > > Aditya, > > > > In the example you give with CMID you have only two column preambles > > whereas the tab

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Hamid Kamrani
Aditya, In the example you give with CMID you have only two column preambles whereas the table has 3 columns and if one adds the missing preamble then one gets an error. Some how your new code breaks the calculation for number of columns. -Hamid On 8/8/07, Aditya Mahajan <[EMAIL PROTECTED]> wrot

Re: [NTG-context] itemize with zero start

2007-07-27 Thread Hamid Kamrani
Here is a minimal example of how this happens. I had posted it sometime back. \starttext \setupitemize[each][][stopper=:] \bTABLE \bTR \bTD \startitemize[a] \item Bla \item Blub \item Bautz \stopitemize \eTD \eTR \eTABLE \stoptext On 7/27/07, Hans Hagen <[EMAIL PROTECTED]> wrote: > Wolfgang Werne

Re: [NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-04 Thread Hamid Kamrani
Schuster <[EMAIL PROTECTED]> wrote: > 2007/7/4, Hamid Kamrani <[EMAIL PROTECTED]>: > > Not exactly. I only framed it in order to demonstrate my problem. You > > may encounter it even when you don't explicitly frame the table. I > > became aware of it when I notice

Re: [NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-04 Thread Hamid Kamrani
must put an invisible frame around the table. On 7/4/07, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > 2007/7/3, Hamid Kamrani <[EMAIL PROTECTED]>: > > Got it. Thanks. I didn't know that the chars after setupTABLE could > > disturb the alignment. > > &g

Re: [NTG-context] Powerit Holdings, Inc., The Leader in Energy-Demand Management Systems, Completes Series A Financing Round - Joe Merlo

2007-07-03 Thread Hamid Kamrani
What does this have to do with ConTeXt? Is this Spam mail? On 7/3/07, paul.kholer paul.kholer <[EMAIL PROTECTED]> wrote: > > Joe Merlo > > > > Powerit Holdings, Inc. the leading provider of intelligent, automated demand > control & demand response systems for industrial and commercial buildings, >

Re: [NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-03 Thread Hamid Kamrani
Got it. Thanks. I didn't know that the chars after setupTABLE could disturb the alignment. On 7/3/07, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > 2007/7/2, Hamid Kamrani <[EMAIL PROTECTED]>: > > What's the reaosn for this behaviour? > > > > Try: >

[NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

2007-07-02 Thread Hamid Kamrani
What's the reaosn for this behaviour? Try: \starttext \startbuffer \start \setupTABLE[frame=on] \bTABLE\bTR\bTD text \eTD\eTR\eTABLE \stop \stopbuffer \framed[offset=overlay]{\getbuffer} \startbuffer \start \setupTABLE[frame=on] \setupTABLE[c][1][align=right] \bTABLE\bTR\bTD text \eTD\eTR\eTABLE

Re: [NTG-context] Itemize problem

2007-07-02 Thread Hamid Kamrani
This happens on live context too. Itemize starts with 0 in some situations. You can create the problem with: \starttext \bTABLE \bTR \bTD \startitemize[n] \item one \item two \stopitemize \eTD \eTR \eTABLE \stoptext On 7/1/07, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Mon, 2 Jul 2007, [EMA

Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?

2007-06-27 Thread Hamid Kamrani
And so you did. This is beautiful. Thank you Hans. On 6/25/07, Hans Hagen <[EMAIL PROTECTED]> wrote: > Taco Hoekwater wrote: > > Hamid Kamrani wrote: > >> > >> Taco, I very much appreciate your solution. It allows me to continue > >> for now but I humbly

Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?

2007-06-25 Thread Hamid Kamrani
again, -Hamid On 6/25/07, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > Hamid Kamrani wrote: > > > > Taco, I very much appreciate your solution. It allows me to continue > > for now but I humbly ask, in fact, beg to have a solution built in the > > core of ConTeXt.

Re: [NTG-context] horizontal list turns into vertical list in framedtext. A bug or feature?

2007-06-25 Thread Hamid Kamrani
Thank you, Hans, for directing me to use streams. Not only it takes care of this problem it also shows me how to do some other stuff that I had struggled with. -Hamid On 6/24/07, Hans Hagen <[EMAIL PROTECTED]> wrote: > Hamid Kamrani wrote: > > Hi Wolfgang, > > > > Than

Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?

2007-06-24 Thread Hamid Kamrani
On 6/24/07, Hamid Kamrani <[EMAIL PROTECTED]> wrote: > On 6/24/07, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > Hamid Kamrani wrote: > > > Taco and Wolfang, > > > > > > Thanks both for your responses. > > > But: > > > 1. The set

Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?

2007-06-24 Thread Hamid Kamrani
On 6/24/07, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > Hamid Kamrani wrote: > > Taco and Wolfang, > > > > Thanks both for your responses. > > But: > > 1. The setup offered by Taco does not line up the numerals on the > > dots. Maybe my problem

Re: [NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?

2007-06-24 Thread Hamid Kamrani
ROTECTED]> wrote: > On Sat, 23 Jun 2007 23:13:22 -0400 > "Hamid Kamrani" <[EMAIL PROTECTED]> wrote: > > > At least in the U.S., it is the rule and a strict requirement to > > typeset vertical lists in such a way that the numerals align on the > > dot or pare

[NTG-context] How to align numerals in lists on the dot or paranthesis that follows the numeral?

2007-06-23 Thread Hamid Kamrani
At least in the U.S., it is the rule and a strict requirement to typeset vertical lists in such a way that the numerals align on the dot or parenthesis following the numeral. (even the daily violation of the rule by some of the most widely used word processors such as MS Word has not changed this

Re: [NTG-context] horizontal list turns into vertical list in framedtext. A bug or feature?

2007-06-22 Thread Hamid Kamrani
yourself? \startitemize[5, columns, two] \item Excellent student \item Good student \item Mediocre student \item Poor student \stopitemize \stopitemize \stoptext Thanks, -Hamid On 6/22/07, Wolfgang Schuster <[EMAIL PROTECTED]> wrote: > 2007/6/21, Hamid Kamran

[NTG-context] horizontal list turns into vertical list in framedtext. A bug or feature?

2007-06-21 Thread Hamid Kamrani
I am just wondering if this is a bug or feature or some lack of understanding on my part. The horizontal list turns into a vertical list inside a framedtext environment. The same happens in a background environment. \starttext \startframedtext[width=\textwidth] \startitemize[5, columns, fo

[NTG-context] creating and placing floats with both text and graphics

2007-04-30 Thread Hamid Kamrani
Is it possible to create and place a float in ConTeXt containing both text and graphics? In the following sample code a framedtext is created containing a figuretext but when placing the framedtext as a float on a doublesided page layout the placement at bottom of the odd page has extra white spac