Re[2]: [NTG-context] Complex layout question

2005-09-19 Thread Giuseppe Bilotta
Sunday, September 18, 2005 Hans Hagen wrote:

 Giuseppe Bilotta wrote:

Hi all, I have a LARGE (we're talking about the hundred
scale) number of floats I would like to distribute across a
document. These are paired (a table and a figure). The
layout that results from coupling them side by side doesn't
satisfy me, so I was looking for a different approach. I
would like them to be distributed across the pages by
placing the tables at the top left and the figure at the
bottom right, text flowing around them. Since there is a
very large number of floats, I would like this placement to
be automatic: From now on, do this until you run out of
text/floats
  

 the text flowing around is is beyond current tex (fyi:
 this is one of the things we hav ein mind with the lua
 extensions combined with karl skoupy's arbitary par shape
 handling; too long term for your thesis) 

Actually, these urgent matters are for an article which
deals with the main topic of the thesis, but the thesis will
have to be ready in a couple of months at most so it's still
too close :)

 so, let's see what other options are there. 

 - side by side is still an option: move them partially
 into the outer margins (details.pdf shows how to do this) 

 - put two/three of them per page, using the postponing
 mechanism, that way you probably don't run into memory
 problems 

 - or use a very narrow layout (wide page) and put all graphic in the margin 
 area

 (i can help with setting up those layouts if needed) 

I went for the side-by-side option, using
\start/stopcombinations because \placesidebyside put the
figure and table too close together.

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Maurice Diamantini


Le 12 mai 05 à 09:01, Hans Hagen a écrit :


luigi.scarso wrote:

A little off-topic: why ruby and not python ?


- i didn't like those tabs/indentation
- ruby's reminded me of modula which i used a (real) lot in the past
- ruby has a small footprint
- i just like it

Hans


I agree with the previous points.
Also ruby is available in most of the operating systems
but ...

then Giuseppe Bilotta wrote (~ 18 sept 2005)


Perl, Ruby, Lua ... what next?



What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?

-- Maurice




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Top-aligned startcombination?

2005-09-19 Thread Wolfgang Zillig
Perhaps this exaple helps (fron cont-eni.pdf, p254). Here it is done 
with a test in a box, but should be possible with figures as well.


Wolfgang

\setupframed[width=.2\hsize,height=3cm,align=middle]
\startcombination[4]
{\framed[bottom=\vss,top=\vss]{just\\in the\\middle}}
{\type{top=\vss}\crlf\type{bottom=\vss}}
{\framed[bottom=\vss,top=] {just\\in the\\middle}}
{\type{top=} \crlf\type{bottom=\vss}}
{\framed[bottom=,top=\vss] {just\\in the\\middle}}
{\type{top=\vss}\crlf\type{top=}}
{\framed[bottom=,top=] {just\\in the\\middle}}
{\type{top=} \crlf\type{bottom=}}
\stopcombination

Giuseppe Bilotta schrieb:


Sunday, September 18, 2005 Giuseppe Bilotta wrote:

 


I have \start/\stopcombinations where the elements in a row
have different heights, and the combinations bottom-align
them. Is there a way to top-align them?
   



Ok, found that it's not possible to do it per-combination,
unless you define a new combination. Otherwise, it's only
possible to set it for all subsequent unnamed (default)
combinations by

\setupcombinations[location=top]

 



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Top-aligned startcombination?

2005-09-19 Thread Giuseppe Bilotta
Monday, September 19, 2005 Wolfgang Zillig wrote:

 Perhaps this exaple helps (fron cont-eni.pdf, p254). Here it is done
 with a test in a box, but should be possible with figures as well.

 Wolfgang

 \setupframed[width=.2\hsize,height=3cm,align=middle]
 \startcombination[4]
 {\framed[bottom=\vss,top=\vss]{just\\in the\\middle}}
 {\type{top=\vss}\crlf\type{bottom=\vss}}
 {\framed[bottom=\vss,top=] {just\\in the\\middle}}
 {\type{top=} \crlf\type{bottom=\vss}}
 {\framed[bottom=,top=\vss] {just\\in the\\middle}}
 {\type{top=\vss}\crlf\type{top=}}
 {\framed[bottom=,top=] {just\\in the\\middle}}
 {\type{top=} \crlf\type{bottom=}}
 \stopcombination

I had tried putting a \vfill after the table, but it wasn't
working ...

Anyway, I'm thinking that in my case I probably need to
define my own combination.

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Hans Hagen

Maurice Diamantini wrote:


What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?


perl, python, ruby are 'huge', and distributing them with tex is a problem; lua is 'made for embedding' and adds less that 100k to the binary: lean and mean; i love ruby, but it's a big machinery. 

Anyway, once we have lua in place, there will also be an api to tex's internals; when that is done, interfacing to ruby should be no problem. Maybe our next project will then be a 

 .tex (dot tex) 

framework -) 



Hans 



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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Hans Hagen

Maurice Diamantini wrote:


What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.


btw, it's not a dependency: lua will be 'always pesent in the binary' 
and since we nowadays only have one binary ... also, my guess is that 
adding it to aleph is easy


ok, secret link: http://www.pragma-ade.com/general/manuals/luatex.pdf

Hans

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Taco Hoekwater


Hi Maurice,

Maurice Diamantini wrote:


What about Lua, Adding one more dependency to ConTeXt make it
more difficult to install and maintain.
So what is the advantage of luo in conTeXt instead of ruby?


Lua will not be 'in context', but 'in pdftex': the lua library
will be integrated in the executable, as a true extension language
that can be used besides and interleaved with TeX's normal syntax.

Lua is probably the best language for this sort thing, because
its code is small and very easy to extend/embed.

On the user side of things, nothing will change compared to the
current 'update  your pdftex release' stuff. Using LuaTeX will
eventually probably mean extra functionality, but the most likely
sort-term result is a gain in processing speed, because the in-line
scripting can reduce the number of needed TeX runs.

Greetings,

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread luigi.scarso

Hans Hagen wrote:



btw, it's not a dependency: lua will be 'always pesent in the binary' 
and since we nowadays only have one binary ... also, my guess is that 
adding it to aleph is easy


ok, secret link: http://www.pragma-ade.com/general/manuals/luatex.pdf


FANTASTIC!! It's what I want.

I always think about embedding python; but now  this can be a
private project .

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] lilypond inclusion + pdf crop

2005-09-19 Thread Taco Hoekwater



Hi Andrea,

- write an article on it (taco can tell you more about hwo to publish in 
the maps; once it's maps ready, publishing in tugboat should be doable 
as well - ther is context style now); my impression (also from visiting 
user group meetings) is that there are quite some texies interested in 
music


We would definately welcome an article about this! It doesn't have to
be complicated, just explain what you've done and show off the result.
Anything ConTeXt-able is fine, the editors (me) can and will do the
work of putting your text in the Maps layout.

Greetings,

Taco
(As editor of the Maps).


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Need more documentation on tables

2005-09-19 Thread Giuseppe Bilotta
Thursday, September 15, 2005 Patrick Gundlach wrote:


 [...]

 Should I write some documentation about TaBlE preambles and
 commands (for the Wiki), 

 Giuseppe, please do so.

Done

http://wiki.contextgarden.net/Table

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Otared KAVIAN
Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)
and now I cannot typeset anything...
For instance the following minimal example results in an empty PDF:

\starttext
This is a test.
\stoptext

The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb
Warning: pdfetex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm
/lmr12.pfb): character 46 is mapped to .notdef

and a few other warnings about characters 49 and so on.

Since I have been away from the follow up of the changes occured for a
while, can anyone give a clue?

Thanks in advance: OK
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Taco Hoekwater



Otared KAVIAN wrote:

Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)


I assume you also need the latest cont-lmt.zip for that, but I
admit I am only guessing. I do not have the 'latest/beta' installed,
myself.


The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading


This is the source of all the other warnings.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Hans Hagen

Taco Hoekwater wrote:




Otared KAVIAN wrote:


Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)



I assume you also need the latest cont-lmt.zip for that, but I
admit I am only guessing. I do not have the 'latest/beta' installed,
myself.


The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading



This is the source of all the other warnings.


here was a change in name of the enc files ... and there is no way to convince distributers to be that downward compatible -) 


(maybe i should ship the old files)

Hans 



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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Hans Hagen

Otared KAVIAN wrote:


Hi all,

I just upgraded to the latest ConTeXT
(ConTeXt  ver: 2005.09.14  fmt: 2005.9.19  int: english  mes: english)
and now I cannot typeset anything...
For instance the following minimal example results in an empty PDF:

\starttext
This is a test.
\stoptext

The log file says among other things:

Warning: pdfetex (file lm-ec.enc): cannot open encoding file for reading
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb
Warning: pdfetex (file /usr/local/teTeX/share/texmf.tetex/fonts/type1/public/lm
/lmr12.pfb): character 46 is mapped to .notdef

and a few other warnings about characters 49 and so on.

Since I have been away from the follow up of the changes occured for a
while, can anyone give a clue?
 


as others already suggested: also update the latin modern fonts

Hans 


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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex warnings and lmr

2005-09-19 Thread Otared Kavian

Hi Hans,

Thanks, as suggested by Taco and you, I downloaded cont-lmt.zip and  
now everything works as expected.
Somehow I missed the change which occured this summer: sorry for  
having disturbed you.


Best regards: OK

On 19 sept. 2005, at 18:00, Hans Hagen wrote:


as others already suggested: also update the latin modern fonts

Hans

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Newbie question: background color in single table row

2005-09-19 Thread The Wizard
All -
   I have a simple table which looks like this:

\placetable[here]{none}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL 
\VL  
\VL  
\VL  
\VL
\AR
\HL
\stoptable

I would like to add a background color to the first row only. I tried
\CL[colorname], \BR[colorname] and neither gets quite what I want. Is
there a simple way to set the background color for only the first row?

I have only just started using ConTeXT, never used TeX or LaTeX before,
so I'm still trying to understand everything I read in the manuals, and
searching the list archive. I can not seem to make the more HTML-ish
tables work the way I want (e.g, \bTABLE...\eTABLE) so I'd like to be
able to get where I want to go using the table I have.

-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

Powered by Solaris 10_x86/Evolution 1.4.6

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Newbie question: background color in single table row

2005-09-19 Thread Sebastian Rooks

Welcome !

The Wizard wrote:

All -
   I have a simple table which looks like this:


skipped some code


I would like to add a background color to the first row only.

Try this minimal example (tested on live.contextgarden.net):

\starttext
\setupcolors[state=start]
\placetable[here]{none}
\starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
\HL
\CL[green]\AR
\VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
\HL
\VL
\VL
\VL
\VL
\VL
\AR
\HL
\stoptable
\stoptext



I have only just started using ConTeXT, never used TeX or LaTeX before,
so I'm still trying to understand everything I read in the manuals, and
searching the list archive. I can not seem to make the more HTML-ish
tables work the way I want (e.g, \bTABLE...\eTABLE) so I'd like to be
able to get where I want to go using the table I have.


You missed the wiki:
  http://wiki.contextgarden.net

and in particular Guiseppe Bilotta contribution on TaBlE, less than one 
day old :-) :

  http://wiki.contextgarden.net/Table

Happy ConTeXting,

  SeR
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Newbie question: background color in single table row

2005-09-19 Thread The Wizard
On Mon, 2005-09-19 at 17:54, Sebastian Rooks wrote:
 Welcome !
 
 The Wizard wrote:
  All -
 I have a simple table which looks like this:
 
 skipped some code
 
  I would like to add a background color to the first row only.
 Try this minimal example (tested on live.contextgarden.net):
 
 \starttext
 \setupcolors[state=start]
 \placetable[here]{none}
 \starttable[|c w(3.0cm)|c|c w(2.75cm)|c w(7.0cm)|]
 \HL
 \CL[green]\AR
 \VL \bf Name \VL \bf Location \VL \bf Date \VL \bf Signature \VL \AR
 \HL
 \VL
 \VL
 \VL
 \VL
 \VL
 \AR
 \HL
 \stoptable
 \stoptext
 
 
  I have only just started using ConTeXT, never used TeX or LaTeX before,
  so I'm still trying to understand everything I read in the manuals, and
  searching the list archive. I can not seem to make the more HTML-ish
  tables work the way I want (e.g, \bTABLE...\eTABLE) so I'd like to be
  able to get where I want to go using the table I have.
  
 You missed the wiki:
http://wiki.contextgarden.net
 
 and in particular Guiseppe Bilotta contribution on TaBlE, less than one 
 day old :-) :
http://wiki.contextgarden.net/Table
 
 Happy ConTeXting,
 
SeR

Sebastian -
   Thank you so much, that is exactly what I wanted. I am way behind
the curve, trying to learn, and I have looked at the Wiki but I didn't
see the new section. I will look at it. Thanks again.

-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

Powered by Solaris 10_x86/Evolution 1.4.6

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bold next table row?

2005-09-19 Thread Giuseppe Bilotta
Sunday, September 18, 2005 Giuseppe Bilotta wrote:

 Is there a way to enforce the next table row (in
 \starttable...\stoptable) to be in bold?

 I know I can change the color with \\CL[color] ...

Anybody knows if this is possible or not?

-- 
Giuseppe Oblomov Bilotta



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context