[NTG-context] TOC look broken by \definehead

2011-06-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello all,

the TOC look depends on whether or not another head was defined:


\definehead[CHAPTER][chapter]
\definehead[SECTION][section] % TRY TO COMMENT THIS LINE!

\definecombinedlist[content][chapter,CHAPTER]

\starttext
  \placecontent
  \page

  \chapter{Cha1}
  \CHAPTER{Cha2}
  \chapter{Cha3}
  \chapter{Cha4}
  \CHAPTER{Cha5}
\stoptext


Both PDFs - generated with/without \definehead[SECTION][section] - are 
attached.

If the definition of \SECTION is present, TOC members generated by \CHAPTER are 
shifted.

Why? - This seems to me a bit weird.

Is there a way how to keep the TOC (non-shifted) look?

(WinXP, ConTeXt  ver: 2011.06.19 14:17 MKIV  fmt: 2011.6.23)

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

test-sec.mkiv
Description: Binary data


test-sec1.pdf
Description: Adobe PDF document


test-sec2.pdf
Description: Adobe PDF document
___
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] Sanskrit Devanagari characters

2011-06-27 Thread Mojca Miklavec
On Mon, Jun 27, 2011 at 04:10, Kip Warner wrote:

 The problem is it looks like XeTeX may not fully support
 some of the features I need like mathematical characters and such yet.

What mathematical characters do you miss?

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] Large Figure on Landscape Orientation

2011-06-27 Thread Kip Warner
On Sun, 2011-06-26 at 23:06 -0400, Aditya Mahajan wrote:
 (untested)
 
 try
 
 \externalfigure[...][width=\textwidth,height=\textheight,factor=max]
 
 Aditya

Thanks Aditya, but no luck. It still looks exactly the same.

-- 
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] where to place \index (again)

2011-06-27 Thread Steffen Wolfrum

Am 26.06.2011 um 22:18 schrieb Thomas Schmitz:

 On Sun, 26 Jun 2011 21:29:47 +0200
 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
 Am 26.06.2011 um 21:13 schrieb Steffen Wolfrum:
 concerning the character protrusion: that looks like a bug so if we can 
 have a small example demonstrating it ... esp the disappearing character 
 is weird
 Sure, the minimal example that I posted already twice shows exactly this 
 case: The line before an indexed word appears to be missing one character 
 at the end.
 You should try to make shorter examples ;)
 \setuplayout[width=6.3cm]\showframe
 %\let\forcecolorhack\relax
 \starttext
 This is a short sentence to check \index{test}the \tex{index} command.
 This is another sentence for the test\index{test}.
 \stoptext
 The problem when you put the \index command before a word is that
 it can end in a visible space at the end of the previous line.
 Wolfgang
 Thanks, Wolfgang. Just to confirm: yes, this short test does indeed show 
 exactly the effects I was referring to. So question to Taco: could some lua 
 trickery somehow get around these nasty effects?  Because they really make 
 finishing a long project somewhat difficult...


For the first case you describe theres is already a tracker item:

http://tracker.luatex.org/view.php?id=381 


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] Trailing Space after \cldcontext

2011-06-27 Thread Kip Warner
On Mon, 2011-06-27 at 07:23 +0200, Peter Münster wrote:
 It adds a newline, that's like a space. See this example:
 
 \starttext
 Bazaar revision \cldcontext{os.resultofecho 123}.
 
 Bazaar revision \cldcontext{os.resultofecho -n 123}.
 
 Bazaar revision \cldcontext{os.resultofdummy=`bzr revno`; echo -n $dummy}.
 
 Bazaar revision \cldcontext{os.resultofbzr revno | tr -d '\\n'}.
 \stoptext

Hey Peter. The tr -d method I found to be the most elegant. Thank you.

-- 
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] Large Figure on Landscape Orientation

2011-06-27 Thread Wolfgang Schuster

Am 27.06.2011 um 04:07 schrieb Kip Warner:

 Hey folks,
 
 I'm having difficulty getting an external image to display on its own
 page, with the page in landscape mode, and the image uniformly scaled as
 large as can fit on that page.
 
 Relevant portions of my environment file include...
 
 \setuplayout
  [\c!location=\v!middle,
   \c!style=\ss,
   \c!backspace=2.5cm,
   \c!topspace=1.5cm,
   \c!width=16cm,
   \c!margindistance=.25cm,
   \c!margin=2.5cm,
   \c!height=\v!middle]
 
 \definelayout
  [fullpage]
  [\c!backspace=0pt,
   \c!topspace=0pt,
   \c!width=\v!middle,
   \c!height=\v!middle,
   \c!header=0pt,
   \c!footer=0pt]
 
 \definepapersize[main][A4][A4]
 \definepapersize[diagram][A4,landscape][A4,landscape]
 
 And the actual image in my component is here:
 
 \page 
 \setuppapersize[diagram]
 \placefigure
[force][figure:MyImage]
{My image caption.}
{\externalfigure[MyImage][factor=max]}
 \page
 \setuppapersize[main]
 
 The document is all in portrait mode, save the page with the figure
 which is landscaped, as intended. But the image sits only occupying the
 top left quarter of the page. I've tried changing factor from max to
 broad and fit, and to no avail.

Make a working minimal example.

BTW: Why do you use “\c!” and “\v!” for the setups, the aren’t necessary?

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] TOC look broken by \definehead

2011-06-27 Thread Wolfgang Schuster

Am 27.06.2011 um 09:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello all,
 
 the TOC look depends on whether or not another head was defined:

I sent a fix to the dev list.

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] TOC look broken by \definehead

2011-06-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Thank you, it works well now.

The directory c:\ConTeXt\tex\texmf-cache\luatex-cache\context\2448223e6631addb83df348d74153606 
must have been deleted manually and mtxrun --generate must have been called to make the modified 
strc-sec.mkiv work.

Lukas


On Mon, 27 Jun 2011 10:17:09 +0200, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:



Am 27.06.2011 um 09:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:


Hello all,

the TOC look depends on whether or not another head was defined:


I sent a fix to the dev list.

Wolfgang



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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 running first-setup.sh

2011-06-27 Thread Gordon Parrott
Hi 

I wonder if you can help

I was trying to update on my mac book  pro and when I ran first-setup.sh I got 
many repetitions of this

mktexlsr: : not a directory, skipping.


would I expect this?


Thanks 
Gordon 
___
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 running first-setup.sh

2011-06-27 Thread 李延瑞
2011/6/27 Gordon Parrott gordon.parr...@btconnect.com:
 Hi

 I wonder if you can help

 I was trying to update on my mac book  pro and when I ran first-setup.sh I 
 got many repetitions of this

 mktexlsr: : not a directory, skipping.


 would I expect this?


You can press `ctrl + c` to skip it if you are a mkiv user. I also met
this problem on linux.

-- 
Best regards,

Li Yanrui (李延瑞)
___
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 running first-setup.sh

2011-06-27 Thread luigi scarso
On Mon, Jun 27, 2011 at 12:29 PM, Gordon Parrott
gordon.parr...@btconnect.com wrote:
 Hi

 I wonder if you can help

 I was trying to update on my mac book  pro and when I ran first-setup.sh I 
 got many repetitions of this

 mktexlsr: : not a directory, skipping.


 would I expect this?
no, it can be a bug; it happens also with Linux32 bit.
Quick fix under Linux
1) hit   CTRL-C anytime mktexlsr goes into  a loop until end
2) cd tex; . setuptex
3) mktexlsr
4) context --make
5) texmfstart texexec --make en


-- 
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] Trailing Space after \cldcontext

2011-06-27 Thread Hans Hagen

On 27-6-2011 9:41, Kip Warner wrote:

On Mon, 2011-06-27 at 07:23 +0200, Peter Münster wrote:

It adds a newline, that's like a space. See this example:

\starttext
Bazaar revision \cldcontext{os.resultofecho 123}.

Bazaar revision \cldcontext{os.resultofecho -n 123}.

Bazaar revision \cldcontext{os.resultofdummy=`bzr revno`; echo -n $dummy}.

Bazaar revision \cldcontext{os.resultofbzr revno | tr -d '\\n'}.
\stoptext


Hey Peter. The tr -d method I found to be the most elegant. Thank you.


or \cldcontext{string.strip(os.resultof(echo -n 123))} etc


-
  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] Bug#606656: MTXrun | resolvers: warning: no lua configuration files found

2011-06-27 Thread Stappers
On Sun, Jun 26, 2011 at 01:15:39PM +0900, Norbert Preining wrote:
 On Mi, 15 Jun 2011, Stappers wrote:
   MTXrun | resolvers: warning: no lua configuration files found
 
 I just uploaded a new version to Debian that should fix that.
   context 2011.05.18.20110626-1
 
 
 Please run mtxrun --generate once as root, and then as user, too.
 
 Best wishes
 Norbert


Thank you Norbert.

There is again a working ConTeXt in Debian.

The page at http://wiki.contextgarden.net/Debian_installation is updated.


Groeten
Geert Stappers



signature.asc
Description: Digital signature
___
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] Bug#606656: MTXrun | resolvers: warning: no lua configuration files found

2011-06-27 Thread Norbert Preining
On Mo, 27 Jun 2011, Stappers wrote:
 There is again a working ConTeXt in Debian.
 
 The page at http://wiki.contextgarden.net/Debian_installation is updated.

Not quite correct:
- currently context and context-non-free are in conflict, both ship 
  koeieletters.map, will be fixed soon with a new version of context

- I am uploading a new package 
context-modules
  now that should ship all the context modules that are in TeX Live
  but notex-zh-cn and top-ten since we don't have license statements
  for them.

Best wishes

Norbert

Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live  Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094

LONGNIDDRY (n.)
A droplet which persists in running out of your nose.
--- Douglas Adams, The Meaning of Liff
___
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] Influencing of horizontal arrangement of list of publications

2011-06-27 Thread Jaroslav Hajtmar

Hello ConTeXtist.
After some experimentation, I found a satisfactory solution of my 
problem. Setting margins, distance and alignment can be done by 
redefining the global macro \bibalignednumber. Default defining of this 
macro (eg. in bibl-ams.tex file) is:

\gdef\bibalignednumber#1{\hfill[#1]~~}

A simple modification to this macro, you can achieve the desired result. 
Eg. :


\gdef\bibalignednumber#1{\null\hfill\hbox to1em{}\hfill[#1]\hbox to3em{}}

get result :
1em margin REFERENCE ITEM aligned to right3em distancePUBLICATION ITEM

I hope, that it will be useful for somebody.

Jaroslav



Dne 23.6.2011 21:49, Jaroslav Hajtmar napsal(a):

Hello ConTeXist,

As is known, the layout of a list (of content) is determined by the 
values of alternative, margin, width
and distance.  Required values can be changed via commands \setuplist 
or \setupcombinedlist.


Can somehow influence the horizontal arrangement of items in lists 
typed using \placepublications[...]?

I want to change such margin, distance and alignment reference items.

marginREFERENCE ITEMdistancePUBLICATION ITEM

Examples of alignments and distances:

RefAuthor1 Author1, Name of his publication
RefAut2  Authors2, Name of his publication
RAut3 Authors3, Name of his publication

or:

RefAuthor1 Author1, Name of his publication
 RefAut2 Author2, Name of his publication
RAut3 Author3, Name of his publication
or:

  RefAuthor1 Author1, Name of his publication
   RefAut2 Author2, Name of his publication
  RAut3 Author3, Name of his publication

etc.


I ask because when I use (in context minimals) the standard command 
\placepublications[criterium=all], then I get a result that does not 
satisfy me at all.


Thanx Jaroslav







___ 

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
___ 





___
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] Influencing of horizontal arrangement of list of publications

2011-06-27 Thread Thomas A. Schmitz

On Jun 27, 2011, at 5:38 PM, Jaroslav Hajtmar wrote:

 Hello ConTeXtist.
 After some experimentation, I found a satisfactory solution of my problem. 
 Setting margins, distance and alignment can be done by redefining the global 
 macro \bibalignednumber. Default defining of this macro (eg. in bibl-ams.tex 
 file) is:
 \gdef\bibalignednumber#1{\hfill[#1]~~}
 
 A simple modification to this macro, you can achieve the desired result. Eg. :
 
 \gdef\bibalignednumber#1{\null\hfill\hbox to1em{}\hfill[#1]\hbox to3em{}}
 
Better:

\def\MyBibalign#1{\hbox to 6em{\hfill [#1]\kern2em}}

\setuppublications[numbercommand=\MyBibalign]

But you still haven't provided an example, so I'm not sure if this is what 
you're looking for.

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] where to place \index (again)

2011-06-27 Thread Hans Hagen

On 26-6-2011 10:18, Thomas Schmitz wrote:


Thanks, Wolfgang. Just to confirm: yes, this short test does indeed show
exactly the effects I was referring to. So question to Taco: could some
lua trickery somehow get around these nasty effects? Because they really
make finishing a long project somewhat difficult...


you can't blame taco for that -)

-
  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] problem running first-setup.sh

2011-06-27 Thread Gordon Parrott
Thanks very much.

That seems to have sorted things out.


Gordon
On 27 Jun 2011, at 12:04, luigi scarso wrote:

 On Mon, Jun 27, 2011 at 12:29 PM, Gordon Parrott
 gordon.parr...@btconnect.com wrote:
 Hi
 
 I wonder if you can help
 
 I was trying to update on my mac book  pro and when I ran first-setup.sh I 
 got many repetitions of this
 
 mktexlsr: : not a directory, skipping.
 
 
 would I expect this?
 no, it can be a bug; it happens also with Linux32 bit.
 Quick fix under Linux
 1) hit   CTRL-C anytime mktexlsr goes into  a loop until end
 2) cd tex; . setuptex
 3) mktexlsr
 4) context --make
 5) texmfstart texexec --make en
 
 
 -- 
 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
 ___

___
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] where to place \index (again)

2011-06-27 Thread Hans Hagen

On 26-6-2011 10:52, Wolfgang Schuster wrote:


Am 26.06.2011 um 22:18 schrieb Thomas Schmitz:


\setuplayout[width=6.3cm]\showframe
%\let\forcecolorhack\relax
\starttext
This is a short sentence to check \index{test}the \tex{index} command.
This is another sentence for the test\index{test}.
\stoptext
The problem when you put the \index command before a word is that
it can end in a visible space at the end of the previous line.
Wolfgang

Thanks, Wolfgang. Just to confirm: yes, this short test does indeed show 
exactly the effects I was referring to. So question to Taco: could some lua 
trickery somehow get around these nasty effects?  Because they really make 
finishing a long project somewhat difficult...


The effect is caused by \forcecolorhack and when uncomment
my redefinition you can see that the output is as expected
but there has to be a reason why Hans use it.


the colorhack is needed to getsomething with a reference; i'll change it 
to a signal (let's see where that fails)


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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread luigi scarso
On Mon, Jun 27, 2011 at 8:24 PM, Hans van der Meer h.vanderm...@uva.nl wrote:
 The ! Math error: parameter \Umathquad\displaystyle is not set. came up again.

 Therefore decided to get new beta.
 Now suddenly I get on the console what seem literaly hundredsds of thousands 
 messages
 mktexlsr: : not a directory, skipping.
 Has there been an infinite loop been crept in somewhere?

 Used the scripts that always worked, nothing new.
See  email  with Subject problem running first-setup.sh
-- 
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
___


[NTG-context] beta

2011-06-27 Thread Hans Hagen

Hi,

I uploaded a new beta. There are some changes in the math font handling:

(1) bold:

% \setupbodyfont[lucidanova]
% \setupbodyfont[palatino]
% \setupbodyfont[libertine]
% \setupbodyfont[xits]

\setuphead[chapter][style=\bfd]

\starttext

\chapter{Test \m{a=b^{2c}} and \m{\sqrt{x^2}}}

{ Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par}
{\bf  Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par}
{\tfd Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par}
{\bfd Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par}
{\bfd Test \m{a=b^{2c}} and \m{\sqrt{x^2}}\par}

\stoptext

When a font has bold (like the upcoming lucida) you get full autobold 
support, otherwise you get substitution bold, which works ok for most 
cases.


(2) bidi

% example from the xits suite

% \setupbodyfont[xits]

\setupbodyfont[xitsbidi]

\setupalign[r2l]

\starttext

\setupmathematics[align=r2l]

\startformula
\sqrt{ف^2\over 4ب} \eqno(1)
\stopformula

\setupmathematics[align=l2r]

\startformula
\sqrt{x^2\over 4x} \eqno(1)
\stopformula

\setupmathematics[align=r2l]

\startformula
\sum^\infty_{س=0} س^2 \eqno(2)
\stopformula

\startformula
\left(\root{2} \of{155}\right)
\stopformula

\startformula
\left[\int^{55}_{123} 666^3\right]
\qquad\textstyle\left[\int^{55}_{123} 666^3\right]
\stopformula

\startformula
\left\{\sum^{55}_{123} 666^3\right\}
\stopformula

\startformula
\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{\sqrt{55}}
\stopformula

\startformula
5  6  4
\stopformula

\startformula
5 \leq 6 \geq 7
\stopformula

\stoptext

This works for xits as it comes with the right shapes. Currently bidi 
must be loaded explicitly because more is loaded but that might become 
automatic at some point when r2l document alignment kicks in.


(3) Math following \bfa etc is somewhat faster now.

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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread Hans van der Meer
Ok, thanks. I understand the mktexlsr stuff is nothing serious.

But the ! Math error: parameter \Umathquad\displaystyle is not set. is very 
serious. I tried several things, as mtxrun --generate ; context --make en. 
Nothing good. I thought I remembered something about an opentype font 
euler.otf. But putting it somewhere in one of the font folders and regenerating 
doesn't work either.
I getting a bit nervous now

Hans van der Meer

On 27 jun 2011, at 20:31, luigi scarso wrote:

 On Mon, Jun 27, 2011 at 8:24 PM, Hans van der Meer h.vanderm...@uva.nl 
 wrote:
 The ! Math error: parameter \Umathquad\displaystyle is not set. came up 
 again.
 
 Therefore decided to get new beta.
 Now suddenly I get on the console what seem literaly hundredsds of thousands 
 messages
 mktexlsr: : not a directory, skipping.
 Has there been an infinite loop been crept in somewhere?
 
 Used the scripts that always worked, nothing new.
 See  email  with Subject problem running first-setup.sh
 -- 
 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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread luigi scarso
On Mon, Jun 27, 2011 at 8:42 PM, Hans van der Meer h.vanderm...@uva.nl wrote:
 Ok, thanks. I understand the mktexlsr stuff is nothing serious.

 But the ! Math error: parameter \Umathquad\displaystyle is not set. is very 
 serious. I tried several things, as mtxrun --generate ; context --make en. 
 Nothing good. I thought I remembered something about an opentype font 
 euler.otf.
Latest minimals has still the mktexlsr error,
but I'm not able to reproduce  ! Math error: parameter
\Umathquad\displaystyle is not set.  --- do you have an example ?
-- 
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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread Hans Hagen

On 27-6-2011 8:42, Hans van der Meer wrote:

Ok, thanks. I understand the mktexlsr stuff is nothing serious.

But the ! Math error: parameter \Umathquad\displaystyle is not set. is very 
serious. I tried several things, as mtxrun --generate ; context --make en. Nothing good. 
I thought I remembered something about an opentype font euler.otf. But putting it somewhere in 
one of the font folders and regenerating doesn't work either.
I getting a bit nervous now


What is your font definition? do you define a proper math font?

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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread Hans Hagen

On 27-6-2011 8:42, Hans van der Meer wrote:

Ok, thanks. I understand the mktexlsr stuff is nothing serious.


it looks like mktexlsr has a bug

- when run with  on windows it tries to hash /
- when run on linux with  it loops

any unknown path does this

so, i think that maybe when there is an empty path given or in the texmf 
spec, that this problem surfaces


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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread luigi scarso
On Mon, Jun 27, 2011 at 10:38 PM, Hans Hagen pra...@wxs.nl wrote:
 On 27-6-2011 8:42, Hans van der Meer wrote:

 Ok, thanks. I understand the mktexlsr stuff is nothing serious.

 it looks like mktexlsr has a bug

 - when run with  on windows it tries to hash /
 - when run on linux with  it loops

 any unknown path does this

 so, i think that maybe when there is an empty path given or in the texmf
 spec, that this problem surfaces

 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
 ___

imo, a shift is missed
From line 73 of mktexlsr, look at
# ADD THIS
 below

# A copy of some stuff from mktex.opt, so we can run in the presence of
# terminally damaged ls-R files.
while test $# -gt 0; do
  if test x$1 = x--help || test x$1 = x-help; then
echo $usage
exit 0
  elif test x$1 = x--version || test x$1 = x-version; then
echo `basename $0` $version
kpsewhich --version
exit 0
  elif test x$1 = x--verbose || test x$1 = x-verbose; then
verbose=true
  elif test x$1 = x--dry-run || test x$1 = x-n; then
dry_run=true
  elif test x$1 = x--quiet || test x$1 = x--silent \
   || test x$1 = x-quiet || test x$1 = x-silent ; then
verbose=false
  elif test x$1 = x--; then
:
  elif echo x$1 | grep '^x-' /dev/null; then
echo $progname: unknown option \`$1', try --help if you need it. 2
exit 1
  else
if test ! -d $1; then
  echo $progname: $1: not a directory, skipping. 2
  shift ## ADD THIS, otherwise a loop
  continue
fi
# By saving the argument in a file, we can later get it back while
# supporting spaces in the name.  This still doesn't support
# newlines in the directory names, but nobody ever complains about
# that, and it seems much too much trouble to use \0 terminators.
(umask 077
if echo $1 $treefile; then :; else
  echo $progname: $treefile: could not append to arg file, goodbye. 2
  exit 1
fi
)
  fi
  shift
done


-- 
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] Umathquad again

2011-06-27 Thread Hans van der Meer
Some more experimenting did the trick, finally. (I must not forget to document 
it well this time ;-)

(1) the opentypefont euler.otf in font-tree, accessible by ConTeXt.
(2) mtxrun --script fonts --reload

Then I can regenerate the format and get good ConTeXt runs again.
As to the cause of this. I dug up a mail-exchange with Taco Hoekwater, him 
telling me there was some leftover reference to this euler.otf font that was 
unnecessary. I have mailed him, to ask if he can remove that reference.

Hans van der Meer


On 27 jun 2011, at 21:25, luigi scarso wrote:

 On Mon, Jun 27, 2011 at 8:42 PM, Hans van der Meer h.vanderm...@uva.nl 
 wrote:
 Ok, thanks. I understand the mktexlsr stuff is nothing serious.
 
 But the ! Math error: parameter \Umathquad\displaystyle is not set. is 
 very serious. I tried several things, as mtxrun --generate ; context --make 
 en. Nothing good. I thought I remembered something about an opentype font 
 euler.otf.
 Latest minimals has still the mktexlsr error,
 but I'm not able to reproduce  ! Math error: parameter
 \Umathquad\displaystyle is not set.  --- do you have an example ?
 -- 
 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
 ___

___
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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread Hans Hagen

On 27-6-2011 11:05, luigi scarso wrote:


imo, a shift is missed
 From line 73 of mktexlsr, look at
# ADD THIS
  below


Can you find out what the complete path spec is that is used for the 
loop? (It looks like TEXMFDBS is used .. I wonder why not TEXMF as it 
makes no sense to use another variable.)


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] Umathquad again

2011-06-27 Thread luigi scarso
On Mon, Jun 27, 2011 at 11:18 PM, Hans van der Meer h.vanderm...@uva.nl wrote:
 Some more experimenting did the trick, finally. (I must not forget to 
 document it well this time ;-)

 (1) the opentypefont euler.otf in font-tree, accessible by ConTeXt.
 (2) mtxrun --script fonts --reload

 Then I can regenerate the format and get good ConTeXt runs again.
As general rule, if you are lost:
1)  texmf-project and its' subfolders are unchanged by first-setup.sh;
you can hence copy the directory structure of texmf/fonts into texmf-project
I.e. you if you have a microsoft foo.otf, you can copy into
texmf-project/fonts/opentype/microsoft/foo.otf
and it will stay here until you delete it
3) you *must* run
mtxrun --script fonts --reload
when you install new fonts or delete old fonts into the minimals.

It's not necessary to rebuild  the format when you install the fonts.

-- 
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] Umathquad again - lots of mktexlsr errors

2011-06-27 Thread luigi scarso
On Mon, Jun 27, 2011 at 11:26 PM, Hans Hagen pra...@wxs.nl wrote:

 On 27-6-2011 11:05, luigi scarso wrote:

  imo, a shift is missed
  From line 73 of mktexlsr, look at
 # ADD THIS
  below


 Can you find out what the complete path spec is that is used for the loop?
 (It looks like TEXMFDBS is used .. I wonder why not TEXMF as it makes no
 sense to use another variable.)

 The bug doesn't depend to TEXMFDBS: without the shift the input args are
never consumed.
The next time the while is executed, the same condition on the path  is
checked again and found true (i.e. it doesn't exist).

 The path spec are or a treefile rooted on ${TMPDIR/tmp} or, if it doesn't
exist , the paths given by
kpsewhich --show-path=ls-R


-- 
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] problem running first-setup.sh

2011-06-27 Thread Mojca Miklavec
Luigi, thanks a lot for debugging. I have updated the binaries and
scripts (except for the other binaries for mac i386 and ppc).

Mojca

PS: I didn't try to reproduce the problem, so it is up to other to
test if it works fine now
___
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 running first-setup.sh

2011-06-27 Thread luigi scarso
On Tue, Jun 28, 2011 at 2:13 AM, Mojca Miklavec 
mojca.miklavec.li...@gmail.com wrote:

 Luigi, thanks a lot for debugging. I have updated the binaries and
 scripts (except for the other binaries for mac i386 and ppc).

 Mojca

 PS: I didn't try to reproduce the problem, so it is up to other to
 test if it works fine now

latest minimals (02:43 AM CET ) is ok.
Karl Berry has already fixed mktexlsr .

-- 
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] Sanskrit Devanagari characters

2011-06-27 Thread Kip Warner
On Mon, 2011-06-27 at 09:35 +0200, Mojca Miklavec wrote:
 On Mon, Jun 27, 2011 at 04:10, Kip Warner wrote:
 
  The problem is it looks like XeTeX may not fully support
  some of the features I need like mathematical characters and such yet.
 
 What mathematical characters do you miss?
 
 Mojca
 

I actually haven't tried yet, but just read that it is lacking full
support for that. I am wary to use XeTeX because every new small task
with ConTeXt always ends up taking hours and hours to get working from
putting a simple picture on a page to changing a colour of something.

-- 
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] Sanskrit Devanagari characters

2011-06-27 Thread Mojca Miklavec
On Tue, Jun 28, 2011 at 03:39, Kip Warner wrote:
 On Mon, 2011-06-27 at 09:35 +0200, Mojca Miklavec wrote:
 On Mon, Jun 27, 2011 at 04:10, Kip Warner wrote:
 
  The problem is it looks like XeTeX may not fully support
  some of the features I need like mathematical characters and such yet.

 What mathematical characters do you miss?

 I actually haven't tried yet, but just read that it is lacking full
 support for that.

Em. This used to be the case in early days of XeTeX.

At the moment it is true that ConTeXt has no OpenType Math implemented
for XeTeX, but this means that math should work equally well as in
pdfTeX. XeTeX also has bugs in OpenType Math, but for the reason just
told, this should not affect you.

On the other hand if you need other MKIV features that might indeed be
a problem.

 I am wary to use XeTeX because every new small task
 with ConTeXt always ends up taking hours and hours to get working from
 putting a simple picture on a page to changing a colour of something.

Did you ever try to change a colour of title and background in LaTeX? :) :) :)

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] Large Figure on Landscape Orientation

2011-06-27 Thread Kip Warner
On Mon, 2011-06-27 at 09:52 +0200, Wolfgang Schuster wrote:
 Make a working minimal example.

Thank you. See attached.

 BTW: Why do you use \c! and \v! for the setups, the arent necessary?

I don't know what any of that means, but I saw them in the reference
manual's environment source and copied and pasted. I'm new to
typesetting with ConTeXt.

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


Figure.svg.bz2
Description: application/bzip
\starttext

\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]

Some stuff in portrait.

\page 
\setuppapersize[diagram]
\placefigure
[][figure:SomeFigure]
{Figure's caption.}
{\externalfigure[Figure.svg][width=\textwidth,height=\textheight,factor=max]}
\page
\setuppapersize[main]

More stuff in portrait.

\stoptext



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] Sanskrit Devanagari characters

2011-06-27 Thread Kip Warner
On Tue, 2011-06-28 at 03:51 +0200, Mojca Miklavec wrote:
 On the other hand if you need other MKIV features that might indeed be
 a problem.

Indeed. =(

 Did you ever try to change a colour of title and background in LaTeX? :) :) :)

I can only imagine ;)

-- 
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] \about[node] quotation marks

2011-06-27 Thread Kip Warner
Hey list,

Is there any way to have ConTeXt not surround the link in the text with
quotation marks when using \about[some_node]?

-- 
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] Text Background

2011-06-27 Thread Laura Pamela
On Thu, Jun 23, 2011 at 7:51 AM, H. Hodges freelancer.hod...@gmail.com wrote:
 luigi scarso luigi.scarso at gmail.com writes:


 On Thu, Jun 23, 2011 at 2:06 PM, luigi scarso luigi.scarso at gmail.com
 wrote:

 also with mkii, with \setupcolors[state=start]

 \setupcolors[state=start]
 \definetextbackground[intro][backgroundcolor=gray,
        location=text,color=blue]

 \starttext

try:
\runMPgraphicsfalse

With this command all is Ok here!


-- 
Laura
___
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] \about[node] quotation marks

2011-06-27 Thread Peter Münster
On Tue, Jun 28 2011, Kip Warner wrote:

 Is there any way to have ConTeXt not surround the link in the text with
 quotation marks when using \about[some_node]?

\setupreferencing[left=, right=]

-- 
   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] Large Figure on Landscape Orientation

2011-06-27 Thread Aditya Mahajan

On Sun, 26 Jun 2011, Kip Warner wrote:


Hey folks,

I'm having difficulty getting an external image to display on its own
page, with the page in landscape mode, and the image uniformly scaled as
large as can fit on that page.

Relevant portions of my environment file include...

\setuplayout[]
\definelayout[fullpage][]



\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]

And the actual image in my component is here:



You don't switch layout to fullpage!


\page
\setuppapersize[diagram]
\placefigure
   [force][figure:MyImage]
   {My image caption.}
   {\externalfigure[MyImage][factor=max]}
\page
\setuppapersize[main]


Here is a complete working example:

\unprotect
\setuplayout
  [\c!location=\v!middle,
   \c!style=\ss,
   \c!backspace=2.5cm,
   \c!topspace=1.5cm,
   \c!width=16cm,
   \c!margindistance=.25cm,
   \c!margin=2.5cm,
   \c!height=\v!middle]

\definelayout
  [fullpage]
  [\c!backspace=0pt,
   \c!topspace=0pt,
   \c!width=\v!middle,
   \c!height=\v!middle,
   \c!header=0pt,
   \c!footer=0pt]
\protect

\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]

\starttext

And the actual image in my component is here:

\page 
\setuppapersize[diagram]

\setuplayout[fullpage]
\placefigure
[force][figure:MyImage]
{My image caption.}
{\externalfigure[cow][factor=max]}

\page
\setuppapersize[main]
\setuplayout[reset]

The document is all in portrait mode, save the page with the figure
which is landscaped, as intended. But the image sits only occupying the
top left quarter of the page. I've tried changing factor from max to
broad and fit, and to no avail.

\stoptext

@Hans: Does it make sense to modify \adaptlayout so that it will also 
accept pre-defined layout. So that we could use:


\page
\adaptpapersize[diagram]
\adaptlayout[fullpage]


Current, \adaptlayout only accepts key-values.

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
___