Re: [NTG-context] \head: broken?

2014-07-12 Thread Aditya Mahajan


> On Jul 12, 2014, at 7:11 PM, "Rob Heusdens"  wrote:
> 
> Hello to all,
> 
> I don't know if it is due to -the weather- or -the Worldchampionships-
> or other but in my Context release [ConTeXt  ver: 2014.07.11 12:20 MKIV
> beta  fmt: 2014.7.12  int: english/english] \head is broken.
> 
> Is that a feature or a bug?
> 
> greetings,
> 
> Rob
> ---
> 
> \head: broken?
> 
> When the \head command is used without a following line of normal text, it
> will result in a context-error.
> 
> MNWE:
> \startitemize[n]
> \head x
> \stopitemize
> 
> MWE:
> \startitemize[n]
> \head x
> anything
> \stopitemize

\head uses \par as a delimiter. So you either need to add an empty line or an 
explicit \par. 

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
___


[NTG-context] \head: broken?

2014-07-12 Thread Rob Heusdens
Hello to all,

I don't know if it is due to -the weather- or -the Worldchampionships-
or other but in my Context release [ConTeXt  ver: 2014.07.11 12:20 MKIV
beta  fmt: 2014.7.12  int: english/english] \head is broken.

Is that a feature or a bug?

greetings,

Rob
---

\head: broken?

When the \head command is used without a following line of normal text, it
will result in a context-error.

MNWE:
\startitemize[n]
\head x
\stopitemize

MWE:
\startitemize[n]
\head x
anything
\stopitemize


___
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] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
I found myself: headcolor=red

On Sat, 12 Jul 2014 18:31:55 +0200
Xan  ha escrit:

> Hi,
> 
> how to set the color of head in setupcaptions? Something like:
> \setupcaptions[headstyle={\ss},headstylecolor=red]
> 
> thanks
> Xan
> 
> PS: Please CCme
___
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] \headstylecolor in \setupcaptions ?

2014-07-12 Thread Xan
Hi,

how to set the color of head in setupcaptions? Something like:
\setupcaptions[headstyle={\ss},headstylecolor=red]

thanks
Xan

PS: Please CCme
___
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] Which Image quality should I use ?

2014-07-12 Thread Peter Münster
On Sat, Jul 12 2014, Pol Stra wrote:

> I think I should do something like:
> `convert -density 300 input.png -resize AAAxBBB output.png`
>
> but I don't know if it’s the good way to do it

Hi,

I can be done automatically for example by using this module:
http://modules.contextgarden.net/grph-downsample


> or which resolution is appropriate.

It depends on the printer. 300dpi is often enough.

-- 
   Peter
___
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] running PlainTeX from beta

2014-07-12 Thread Werner Hintze
I can’t figure out how to change the chapter heading. More important: 
I have no idea where to find the needed information. What I want to see 
is for example:


Kapitel: Blablabla

I believe this works somehow with setuphead, but in the Manual I find 
just the list of options and the sentence »many of this options will be 
explained later«, but no hing when and where. The Wiki doesn’t help 
either. The best I can get is:


1.1 Blablabla

But hat’s not what I need…

I’m sure this is a stupid question, but I’m looking since some hours 
for a solution and didn’t make the sloghtest progress…


Where can I find these informations?
___
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] Which Image quality should I use ?

2014-07-12 Thread Pol Stra
Hello everyone,

this is a question a little out of topic, but I think there are here people 
used to this concerns who can give me an answer.

I have several images I want to put in my document:

$-> mediainfo "mypicture.png"   
 

General
Complete name: mypicture.png
Format   : PNG
Format/Info  : Portable Network Graphic
File size: 5.19 MiB

Image
Format   : PNG
Format/Info  : Portable Network Graphic
Width: 1 600 pixels
Height   : 1 600 pixels
Bit depth: 32 bits
Compression mode : Lossless
Stream size  : 5.19 MiB (100%)

Of course, this makes a huge pdf (I put the source in a zip file attached to 
the pdf so data are replicated). I wonder, what can I do to reduce the size of 
those files while keeping a printable quality document?

I think I should do something like:
`convert -density 300 input.png -resize AAAxBBB output.png`

but I don't know if it’s the good way to do it or which resolution is 
appropriate.

Best regards,

___
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] running PlainTeX from beta

2014-07-12 Thread Hans Hagen

On 7/12/2014 2:53 PM, Otared Kavian wrote:


On 12 Jul 2014, at 14:32, Hans Hagen  wrote:


[…]
anyway .. it compiles okay here with mtxrun --script plain …


Thanks for testing, but actually this is not a big issue, since one can use the 
plain LuaTeX from TexLive 2014.
But maybe it is useful to understand what is lacking in the stand-alone ConTeXt 
for this to run correctly.


indeed, also (at least for me) the plain shipped with context is the 
reference


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] running PlainTeX from beta

2014-07-12 Thread Otared Kavian

On 12 Jul 2014, at 14:32, Hans Hagen  wrote:

> […]
> anyway .. it compiles okay here with mtxrun --script plain …

Thanks for testing, but actually this is not a big issue, since one can use the 
plain LuaTeX from TexLive 2014.
But maybe it is useful to understand what is lacking in the stand-alone ConTeXt 
for this to run correctly.

Best regards: OK

___
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] running PlainTeX from beta

2014-07-12 Thread Hans Hagen

On 7/12/2014 9:31 AM, Otared Kavian wrote:


On 12 Jul 2014, at 00:41, Hans Hagen mailto:pra...@wxs.nl>> wrote:


[…]
basic-plaintex or test-plaintex?


Sorry for the mismatch in the names: the file I tested is named
basic-plaintex.tex, that’s why the message from Plain LuaTeX refers to
that name.
While putting that minimal example in my message, I surrounded it with

%%% begin test-plaintex.tex

%%% end test-plaintex.tex

I should have said
%%% begin basic-plaintex.tex

indeed…


anyway .. it compiles okay here with mtxrun --script plain ...

-
  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] running PlainTeX from beta

2014-07-12 Thread Otared Kavian

On 12 Jul 2014, at 00:41, Hans Hagen  wrote:

> […]
> basic-plaintex or test-plaintex?

Sorry for the mismatch in the names: the file I tested is named 
basic-plaintex.tex, that’s why the message from Plain LuaTeX refers to that 
name.
While putting that minimal example in my message, I surrounded it with

%%% begin test-plaintex.tex

%%% end test-plaintex.tex

I should have said
%%% begin basic-plaintex.tex

indeed…

Best regards: OK___
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
___