Re: [NTG-context] two questions on file handling

2015-02-21 Thread Pablo Rodriguez
On 02/21/2015 08:44 AM, Aditya Mahajan wrote:
 [...]
 If you don't require multiple runs, you can use `context --pipe`, for 
 example:
 
 echo \starttext Hello world \stoptext | context --pipe

Many thanks for your reply, Aditya.

I require more than one runs. It is a book with a TOC.


Pablo
-- 
http://www.ousia.tk
___
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] two questions on file handling

2015-02-21 Thread Pablo Rodriguez
On 02/20/2015 11:43 PM, Hans Hagen wrote:
 [...]
 if you make complex one-liners on the command line adding a delete 
 afterwards is no big deal

I agree. I tend to make things way more complicated than they are.

 (actually there is a whole subsystem driven by ctx files that can be set 
 up to take a file, convert it, use environments and modules etc .. we 
 sometimes use that for projects .. but i sometimes wonder if it should go)

Maybe including them in ConTeXt might help others.


Pablo
-- 
http://www.ousia.tk
___
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] two questions on file handling

2015-02-21 Thread Hans Hagen

On 2/21/2015 10:57 AM, Pablo Rodriguez wrote:

On 02/20/2015 11:43 PM, Hans Hagen wrote:

[...]
if you make complex one-liners on the command line adding a delete
afterwards is no big deal


I agree. I tend to make things way more complicated than they are.


(actually there is a whole subsystem driven by ctx files that can be set
up to take a file, convert it, use environments and modules etc .. we
sometimes use that for projects .. but i sometimes wonder if it should go)


Maybe including them in ConTeXt might help others.


they have been included for ages (ctx files), just like mtxrun has some 
features that help integrating in services (there is no difference 
between what we run here and what is in the distribution)


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
___

[NTG-context] Context, index, Syriac.

2015-02-21 Thread John Culleton
Does Context (any flavor) create indexes for
Syriac, a right to left language? Inquiry is from
the indexing list. 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: Create Book Covers with
Scribus 1.4.5 coming soon at
http://www.booklocker.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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] two questions on file handling

2015-02-21 Thread Pablo Rodriguez
On 02/21/2015 12:31 PM, Hans Hagen wrote:
 On 2/21/2015 10:57 AM, Pablo Rodriguez wrote:
 On 02/20/2015 11:43 PM, Hans Hagen wrote:
 [...]
 (actually there is a whole subsystem driven by ctx files that can be set
 up to take a file, convert it, use environments and modules etc .. we
 sometimes use that for projects .. but i sometimes wonder if it should go)

 Maybe including them in ConTeXt might help others.
 
 they have been included for ages (ctx files), just like mtxrun has some 
 features that help integrating in services (there is no difference 
 between what we run here and what is in the distribution)

Many thanks for your reply, Hans.

After your tip from yesterday, I started browsing what was in the
mtx-context-*.tex files you told me.

I discovered that the first one (mtx-context-arrange.tex) could spare me
a special file on imposition (well, actually two).

BTW, I think the example should be improved in the example (diff attached).

The more I use ConTeXt, the more I realize how ignorant I am and how
awesome ConTeXt is.

Many thanks for your excellent work,


Pablo
-- 
http://www.ousia.tk
--- mtx-context-arrange.tex	2015-02-21 22:21:19.454535843 +0100
+++ ctxbase/mtx-context-arrange.tex	2015-02-21 21:19:44.821220033 +0100
@@ -27,7 +27,7 @@
 % --printformat   : 2UP, etc
 % --paperformat=spec  : paper*print or paperxprint
 %
-% example: context --extra=arrange --printformat=2UP --paperformat=A4,A3,landscape myfile
+% example: context --extra=arrange --printformat=2UP --paperformat=A4*A3,landscape myfile
 %
 % end help
 
___
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] Problem with framed text.

2015-02-21 Thread Aditya Mahajan

 On Feb 21, 2015, at 12:35 PM, John Culleton j...@wexfordpress.com wrote:
 
 In several palces I want to set up framed text
 with a gray background and rounded corners. Here
 is my \setupframed description:
 
 \setupframed[
 framecorner=round,
 frameradius=0.1,
 background=screen,
 backgroundscreen=0.70,
 backgroundcorner=round,
 backgroundradius=0.1,
 corner=round,
 radius=0.1
 ]

There should be a comma after 0.1.

 
 And here is my first framed text:
 --
 \startframedtext[middle] 
 \centerline{A Vision Example}
 \QQ{[In the year 20xx], our
 company is internationally recognized as the
 premier supplier of [your food products]. We
 regularly exceed customer expectations by
 providing innovative and valuable [your food
 products] .} 
 \stopframedtext
 
 The hangup seems to be the rounded corners. 
 I am using texlive 2014. 
 
 BTW the macro QQ is my shorthand for \quotation
 which is much to long IMO. But I am American and
 use double quotes a lot.
 \def\QQ#1{\quotation{#1}}
 That is not the problem. Everything works until
 I try to use rounded corners. The customer had
 them on the last edition of the book, probably
 done with MSWord (!) 

It is helpful if you post a complete MWE.

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
___