[NTG-context] Margin text and multiple columns

2012-08-30 Thread Marc Rummel
Hello,

I have a problem with margin texts in combination with multiple columns using 
mkiv. I want to set a text in the outer margin of a double sided document. This 
works well using \inouter as seen in the following document:

---
\setuppagenumbering[alternative=doublesided]

\starttext

\inouter{Text in Margin}
\input knuth

\page[yes]

\inouter{Text in Margin}
\input knuth

\stoptext
---

But fails, when I use it in combination with multiple columns. Then the margin 
text of the odd pages is set in the second column (probably in the margin of 
the first column) instead of the margin of the whole page.

---
\setuppagenumbering[alternative=doublesided]

\starttext

\inouter{Text in Margin}
\startcolumns
\input knuth
\stopcolumns

\page[yes]

\inouter{Text in Margin}
\startcolumns
\input knuth
\stopcolumns

\stoptext
---

I hope someone can help me.

Best wishes,
Marc
___
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] Divided cells and bullet points in tables

2012-08-30 Thread Malte Stien
Hi,

I'm trying to create a table with the following formatting:

1. The top left cell is divided in two by a diagonal line with separate text 
into each triangle
2. Another cell in the table body has a bulleted list

I've had no success with the first. With the second I've tried using the 
\startitemize command. It generates the bullet points but places all the items 
on a single line and hence pushing the table wider than the page. I've also 
tried using \par or \newline but to no avail.

I have been using tabulate for the table; is there another table library that 
might make this work?

Any help would be much appreciated.
Thank you,
Malte.
inline: Screen Shot 2012-08-30 at 12.05.40 PM.png___
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] Multiple arguments bug in \showhyphens

2012-08-30 Thread Marco Patzer
The following example throws a LuaTeX error:

\starttext
\showhyphens{foolish bartender}
\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] Divided cells and bullet points in tables

2012-08-30 Thread Marco Patzer
On 2012-08-30 Malte Stien ma...@stien.de wrote:

Hi Malte,

 1. The top left cell is divided in two by a diagonal line with
 separate text into each triangle

This should get you started:
http://article.gmane.org/gmane.comp.tex.context/67721

 2. Another cell in the table body has a bulleted list

This is possible with natural tables.


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
___


[NTG-context] Disappearing content when floats are used in columnset

2012-08-30 Thread Marco Patzer
Hi,

in the following example the AAAs disappear. Column sets without
float and floats without column sets work fine.

\definecolumnset [Columns] [n=2]
\starttext
  \startcolumnset [Columns]
AAA
\startplacefigure [title=Some figure]
\stopplacefigure
BBB
  \stopcolumnset
\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
___


[NTG-context] Standalone MetaPost Graphics from ConTeXt

2012-08-30 Thread Troy Henderson
Is there a way to output several MetaPost PDF graphics from a single
ConTeXt source file.  For example,

\startMPpage
  draw fullcircle scaled 72;
\stopMPpage

\startMPpage
  draw unitsquare scaled 72;
\stopMPpage

and have a separate output PDF generated for each MPpage?  It seems that
this ConTeXt code generates a single PDF which contains only the first
graphic.  I would like to have either

1) two separate PDF's with each containing their own graphic
2) a single two page PDF where each page corresponds to the appropriate
graphic.

Of course, the holy grail would be to be able to compile a MetaPost
source file with ConTeXt.

Troy Henderson
___
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] Standalone MetaPost Graphics from ConTeXt

2012-08-30 Thread luigi scarso
On Thu, Aug 30, 2012 at 10:57 PM, Troy Henderson thend...@gmail.com wrote:

 Is there a way to output several MetaPost PDF graphics from a single
 ConTeXt source file.  For example,

 \startMPpage
   draw fullcircle scaled 72;
 \stopMPpage

 \startMPpage
   draw unitsquare scaled 72;
 \stopMPpage

 and have a separate output PDF generated for each MPpage?  It seems that
 this ConTeXt code generates a single PDF which contains only the first
 graphic.  I would like to have either

 1) two separate PDF's with each containing their own graphic
 2) a single two page PDF where each page corresponds to the appropriate
 graphic.

 Of course, the holy grail would be to be able to compile a MetaPost
 source file with ConTeXt.


for 2)

save this in test.mkiv

\starttext
\startMPpage
  draw fullcircle scaled 72;
\stopMPpage

\startMPpage
  draw unitsquare scaled 72;
\stopMPpage
\stoptext

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

Re: [NTG-context] Standalone MetaPost Graphics from ConTeXt

2012-08-30 Thread Aditya Mahajan

On Thu, 30 Aug 2012, Troy Henderson wrote:


Is there a way to output several MetaPost PDF graphics from a single
ConTeXt source file.  For example,


\starttext

\startMPpage
 draw fullcircle scaled 72;
\stopMPpage

\startMPpage
 draw unitsquare scaled 72;
\stopMPpage

\stoptext


and have a separate output PDF generated for each MPpage?  It seems that
this ConTeXt code generates a single PDF which contains only the first
graphic.  I would like to have either


If you add \starttext ... \stoptext, then ConTeXt generates a single PDF 
with all pages.



1) two separate PDF's with each containing their own graphic


You can use external tools like pdftk to split a pdf file into multiple 
files.



2) a single two page PDF where each page corresponds to the appropriate
graphic.


See above.


Of course, the holy grail would be to be able to compile a MetaPost
source file with ConTeXt.


(Relevant? http://article.gmane.org/gmane.comp.tex.context/78007)

With a recent beta, you can use:

   context file.mp

to compile a ConTeXt file.

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] Standalone MetaPost Graphics from ConTeXt

2012-08-30 Thread Troy Henderson
Thank you both!

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