[NTG-context] Links in TOC not working properly?!

2012-01-30 Thread Verhaag, G.C.H.M.

Hi,

I installed the newest upgrade of ConTeXt, but processing my files 
yields strange results!


In an interactive document the links to the different sections are not 
working any more. Selecting the different sections from the 
table-of-contents (with \placelist command!) all yield a jump to the 
very first section!!!


Regards,
Gerard Verhaag

P.S. Currently using ConTeXt  ver: 2012.01.25 14:16 MKIV  fmt: 2012.1.30
___
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] simplefonts generating slanted font?

2012-01-30 Thread Wolfgang Schuster

Am 29.01.2012 um 16:28 schrieb Pablo Rodríguez:

 Is there any way to get the roman font (and not the italics) slanted?

You have to change the font for slanted because the module use a italic
font when no slanted font is found.

\usemodule[simplefonts]
\definefontfeature[fakeslanted][default][slant=.35]
\setmainfont[TeX Gyre Pagella][slantedfont={* 
Regular},slantedfeatures=fakeslanted]
\starttext
{\sl slanted font} slanted font
\stoptext

Wolfgang
___
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] Links in TOC not working properly?!

2012-01-30 Thread Wolfgang Schuster

Am 30.01.2012 um 16:23 schrieb Verhaag, G.C.H.M.:

 Hi,
 
 I installed the newest upgrade of ConTeXt, but processing my files yields 
 strange results!
 
 In an interactive document the links to the different sections are not 
 working any more. Selecting the different sections from the table-of-contents 
 (with \placelist command!) all yield a jump to the very first section!!!

Your chances to get a answer will increase with a minimal example.

Wolfgang
___
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] simplefonts generating slanted font?

2012-01-30 Thread Pablo Rodríguez
On 01/30/2012 06:33 PM, Wolfgang Schuster wrote:
 Am 29.01.2012 um 16:28 schrieb Pablo Rodríguez:
 Is there any way to get the roman font (and not the italics) slanted?
 
 You have to change the font for slanted because the module use a italic
 font when no slanted font is found.

Thanks for the reply, Wolfgang.


Pablo
-- 
http://www.oudeis.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
___


[NTG-context] What’s your favorite command?

2012-01-30 Thread Wolfgang Schuster
Hi all,

to bring some traffic to the list I have a question where I hope even non 
regulars send a answer. The ConTeXt package is huge and provides dozen of 
commands but I guess many have *one* favorite command (maybe also 
functionality).

As I started this thread I’ll present my favorite command which is \donothing, 
it is a internal command and only a synonym for \empty but it’s one reason why 
I prefer ConTeXt’s coding style (especially with the recent changes in MkIV) 
over the unreadable LaTeX code.

Wolfgang
___
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] What’s your favorite command?

2012-01-30 Thread Marco
On 2012-01-30 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:

 The  ConTeXt  package  is  huge and  provides  dozen  of
 commands but  I guess  many have *one*  favorite command
 (maybe also functionality).

I was surprised  by the unusual “Subject” line  in my mail
client. But I don't hesitate:

My  favourite  command  is  \externalfigure  [placeholder]
because it  produces very  pretty colourful  graphics (I'm
bored to use the dutch cow or the wind mill every time).

Example:

\useMPlibrary [dum]
\starttext

\dorecurse{10}{
\startTEXpage
\externalfigure [placeholder]
\stopTEXpage}

\stoptext

Regards

Marco Patzer


___
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] What’s your favorite command?

2012-01-30 Thread Thomas A. Schmitz

On 01/30/2012 07:55 PM, Wolfgang Schuster wrote:

Hi all,

to bring some traffic to the list I have a question where I hope even non 
regulars send a answer. The ConTeXt package is huge and provides dozen of 
commands but I guess many have*one*  favorite command (maybe also 
functionality).

As I started this thread I’ll present my favorite command which is \donothing, 
it is a internal command and only a synonym for \empty but it’s one reason why 
I prefer ConTeXt’s coding style (especially with the recent changes in MkIV) 
over the unreadable LaTeX code.

Wolfgang


Without a doubt, for me it's \dontcomplain - get rid of overfull 
messages. The name is just brilliant; it would be wonderful to have it 
available in real life! But if we want to be more serious: of course all 
the xml processing commands, and then the multiple \doif... tests which 
make programming in ConTeXt accessible even to people with no 
programming or math background.


Thomas
___
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] What’s your favorite command?

2012-01-30 Thread Otared Kavian
Hi,

Mine is \doifmodeelse: it allows to do a lot!

Best regards: OK

On 30 janv. 2012, at 19:55, Wolfgang Schuster wrote:

 Hi all,
 
 to bring some traffic to the list I have a question where I hope even non 
 regulars send a answer. The ConTeXt package is huge and provides dozen of 
 commands but I guess many have *one* favorite command (maybe also 
 functionality).
 
 As I started this thread I’ll present my favorite command which is 
 \donothing, it is a internal command and only a synonym for \empty but it’s 
 one reason why I prefer ConTeXt’s coding style (especially with the recent 
 changes in MkIV) over the unreadable LaTeX code.
 
 Wolfgang


___
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] What’s your favorite command?

2012-01-30 Thread Steffen Wolfrum
Hi Wolfgang,

nice idea starting this thread!

Am 30.01.2012 um 19:55 schrieb Wolfgang Schuster:

 Hi all,
 
 to bring some traffic to the list I have a question where I hope even non 
 regulars send a answer. The ConTeXt package is huge and provides dozen of 
 commands but I guess many have *one* favorite command (maybe also 
 functionality).
 
 As I started this thread I’ll present my favorite command which is 
 \donothing, it is a internal command and only a synonym for \empty but it’s 
 one reason why I prefer ConTeXt’s coding style (especially with the recent 
 changes in MkIV) over the unreadable LaTeX code.
 
 Wolfgang


Compared to what Wolfgang, Thomas and Otared wrote my favorite command is a 
quite high-level command:

\offset[x=...,y=...]{...}

I really love his command: It's amazing, it gives so much spontaneous freedom 
and power in positioning elements!
Without this command the early years of ConTeXT were quite painful ...

Steffen

___
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] What’s your favorite command?

2012-01-30 Thread Hans Hagen

On 30-1-2012 20:12, Thomas A. Schmitz wrote:


Without a doubt, for me it's \dontcomplain - get rid of overfull
messages. The name is just brilliant; it would be wonderful to have it
available in real life! But if we want to be more serious: of course all
the xml processing commands, and then the multiple \doif... tests which
make programming in ConTeXt accessible even to people with no
programming or math background.


don't forget \forgetall then

-
  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] What’s your favorite command?

2012-01-30 Thread Aditya Mahajan

On Mon, 30 Jan 2012, Marco wrote:


On 2012-01-30 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:


The  ConTeXt  package  is  huge and  provides  dozen  of
commands but  I guess  many have *one*  favorite command
(maybe also functionality).


I was surprised  by the unusual “Subject” line  in my mail
client. But I don't hesitate:

My  favourite  command  is  \externalfigure  [placeholder]
because it  produces very  pretty colourful  graphics (I'm
bored to use the dutch cow or the wind mill every time).

Example:

\useMPlibrary [dum]
\starttext

\dorecurse{10}{
\startTEXpage
\externalfigure [placeholder]
\stopTEXpage}

\stoptext


You can also use my `\externalkitten` macro: 
http://randomdeterminism.wordpress.com/2011/05/07/images-for-documentation-examples/


\def\externalkitten[#1]%
{\getparameters[kitten][width=10pt, height=10pt, #1]
 \externalfigure
[\ctxlua{context(http://placekitten.com/g/\%0.0f/\%0.0f;,
  \withoutpt{\the\dimexpr\kittenwidth},
  \withoutpt{\the\dimexpr\kittenheight})}]
[#1, method=jpg]}

\starttext
\placefigure[left,none]{}
{\externalkitten[width=0.5\textwidth, height=0.3\textheight]}
  \input knuth
\stoptext

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] What’s your favorite command?

2012-01-30 Thread Aditya Mahajan

On Mon, 30 Jan 2012, Wolfgang Schuster wrote:


Hi all,

to bring some traffic to the list I have a question where I hope even non 
regulars send a answer. The ConTeXt package is huge and provides dozen of 
commands but I guess many have *one* favorite command (maybe also 
functionality).


My favorite is \framed. Once you understand all (or most) of the keys of 
\framed, you know 60% of ConTeXt features because almost all other 
commands accept a big subset of these keys.


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] What’s your favorite command?

2012-01-30 Thread Mojca Miklavec
On Mon, Jan 30, 2012 at 19:55, Wolfgang Schuster wrote:

 I guess many have *one* favorite command (maybe also functionality).

\simplethesis

(Sadly it is a bit buggy, else I would be finished already ;)

Mojca
___
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] New chapters of Manual--Yay!

2012-01-30 Thread john Culleton
On Mon, 30 Jan 2012 17:38:06 -0500
john Culleton j...@wexfordpress.com wrote:

 I note with some joy that there are draft replacement chapters
 for the MANUAL. The site shows three such: Fonts, typography and
 page design.  Are there more that I missed? I am printing them out
 with great haste :)
 

First comment: Chapter on Page Design lacks chapter number and
section numbers. 


-- 
John Culleton
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html

Create Book Covers with Scribus
http://www.booklocker.com/books/4055.html
___
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] Still Problems With TextBackground bottomoffset / topoffset

2012-01-30 Thread Kip Warner
Hey Hans, Aditya, and Wolfgang,

You gentlemen seem to be very knowledgeable with ConTeXt, so I will run
a question by you that has been plaguing me for months. I am using the
following to typeset a text box containing text.

\definetextbackground[GeneralDocument][
location=paragraph,
color=color_text,
background=color,
backgroundcolor=colour_page,
framecolor=colour_text,
topoffset=1.0cm,
bottomoffset=1.0cm,
leftoffset=1.0cm,
rightoffset=1.0cm,
before={
\blank[2*big]
},
after={
\blank[2*big]
},
style=small,
corner=round,
frame=on]

This works fine, but I still have a problem if the text box spans
multiple pages because bottomoffset / topoffset seem to be ignored at
the points where the page breaks. The text just goes right to the edge
of the page top or bottom without any whitespace. 

Any ideas?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Problem Citing a Definition

2012-01-30 Thread Kip Warner
Hey list,

I am trying to cite a definition typeset with a
\startdefinition[definition:foo] and \stopdefinition pair. I am doing
this by using a  \in{definition}[definition:foo]. That works, but in
the text I just see linkable text definition. 

I'd like it to be more descriptive of the physical location in the
book, e.g. foo in section 10.2. It was my impression according to the
manual that it was suppose to already do that, or am I not using \in
correctly?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] What’s your favorite command?

2012-01-30 Thread Mikael P. Sundqvist
On Mon, Jan 30, 2012 at 7:55 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Hi all,

 to bring some traffic to the list I have a question where I hope even non 
 regulars send a answer. The ConTeXt package is huge and provides dozen of 
 commands but I guess many have *one* favorite command (maybe also 
 functionality).

 As I started this thread I’ll present my favorite command which is 
 \donothing, it is a internal command and only a synonym for \empty but it’s 
 one reason why I prefer ConTeXt’s coding style (especially with the recent 
 changes in MkIV) over the unreadable LaTeX code.

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

I never thought I could be so happy Hans introduced \donothing :)

My favorite must be the natural table environments (\bTABLE ...
\eTABLE). It really makes it a joy to typeset boring tables.

On my wishlist for 2012 I have robuster math support. I recently had
problems with as simple things as fractions and integrals, things that
should just work. Also, I still am not able to use my favorite math
font fourier.

Mikael
___
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] Still Problems With TextBackground bottomoffset / topoffset

2012-01-30 Thread luigi scarso
On Tue, Jan 31, 2012 at 5:18 AM, Kip Warner k...@thevertigo.com wrote:

 Hey Hans, Aditya, and Wolfgang,

 You gentlemen seem to be very knowledgeable with ConTeXt,

Yes, at least Hans.
IIRC he  is the *only* author of ConTeXt.

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