[NTG-context] synbol not beingoa

2014-07-27 Thread Hwitloc

I want a degree sign so I use the other graniod.
Below the \prime symbol getdires

\starttext

  77\degree ~4f4\prime

\stoptext

The prime character gets
___
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] How to make floats extend into the outer margin

2014-07-27 Thread Aditya Mahajan

On Sun, 27 Jul 2014, Joshua Krämer wrote:


On 2014-07-27, 16:57, Wolfgang Schuster wrote:

Am 27.07.2014 um 16:54 schrieb Joshua Krämer
> Thanks, but this doesn't seem to be a solution to my problem,
> because the figures extend into the right margin always, and I want
> them to extend into the outer margin (i. e. left margin on left
> pages, right margin on right pages).

\setupfloat[widefigure][location=inner]


Thank you.  But this solution has the problem, too, that the alignment
is ignored for tikz pictures (see example below).


This is a known issue. Wrap your tikz pictures inside a \hbox:

\hbox{\starttikzpicture ... \stoptikzpicture}

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] Problem with the verbosity of XML

2014-07-27 Thread Xan
hi,

I have this context file:

\environment ../../../../plantilles/entorn-simple-estructurals
\environment ../../../../plantilles/entorn-simple-visuals
\environment entorn-simple-xml
...
\xmlprocessfile{demo}{80-activitats.xml}{}

this XML file (80-activitats.xml):



  
exercici



\startitemize[a,text] \item $x = -1$ \item $x = -1$ \item $x = -2$ \item $x = 
3$\stopitemize

  


and this environment:

\startxmlsetups xml:demo:base
 \xmlsetsetup{demo}{*}{-}
 \xmlsetsetup{demo}{activitats|tipus|activitat|enunciat|solucio}{xml:demo:*}
\stopxmlsetups

\xmlregisterdocumentsetup{demo}{xml:demo:base}

\startxmlsetups xml:demo:activitats
  \title{Activitats}
  \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:activitat
  \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:demo:enunciat
  \startexercici\xmltext{#1}{/text()}\stopexercici
\stopxmlsetups


But I get the PDF with the verbose text, not processing (I attach them)

What fails?

Thanks in advance,
Xan


80-seleccio.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] How to make floats extend into the outer margin

2014-07-27 Thread Joshua Krämer
On 2014-07-27, 16:57, Wolfgang Schuster wrote:
> Am 27.07.2014 um 16:54 schrieb Joshua Krämer
> > Thanks, but this doesn't seem to be a solution to my problem,
> > because the figures extend into the right margin always, and I want
> > them to extend into the outer margin (i. e. left margin on left
> > pages, right margin on right pages).
> 
> \setupfloat[widefigure][location=inner]

Thank you.  But this solution has the problem, too, that the alignment
is ignored for tikz pictures (see example below).

Kind regards,
Joshua


\setuppagenumbering[alternative=doublesided]

\definefloat [widefigure] [figure] [figure]
\setupfloat [widefigure] [location=inner]

\usemodule[tikz]

\showframe

\starttext

x

\page

\startplacewidefigure
\framed[width=1.2\textwidth]{One}
\stopplacewidefigure

\startplacewidefigure
\framed[width=3cm]{Two}
\stopplacewidefigure

\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=1.2\textwidth] {Three};
\stoptikzpicture
\stopplacewidefigure

\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=3cm] {Four};
\stoptikzpicture
\stopplacewidefigure

\startplacewidefigure
\rightaligned{%
\starttikzpicture
\node [draw, minimum width=1.2\textwidth] {Five};
\stoptikzpicture}
\stopplacewidefigure

\startplacewidefigure
\midaligned{%
\starttikzpicture
\node [draw, minimum width=3cm] {Six};
\stoptikzpicture}
\stopplacewidefigure

\stoptext


___
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] system "Linux armv7l" is not supported yet

2014-07-27 Thread Sytse Knypstra

On Sun, 27 Jul, 2014 at 4:06 AM, Mojca Miklavec wrote:

Can you please fetch first-setup.sh and try again?


This is the output of the command  sh ./first-setup.sh --modules=all:

receiving incremental file list

sent 25 bytes  received 155 bytes  360.00 bytes/sec
total size is 8,010,423  speedup is 44,502.35

mtxrun  | forcing cache reload
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on weird path 
'/home/sytse/context/bin' from specification 'selfautoloc:'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/share/texmf-dist/web2c' from specification 
'selfautoloc:/share/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/share/texmf/web2c' from specification 
'selfautoloc:/share/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/texmf-dist/web2c' from specification 
'selfautoloc:/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/bin/texmf/web2c' from specification 
'selfautoloc:/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on weird path 
'/home/sytse/context' from specification 'selfautodir:'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/share/texmf-local/web2c' from specification 
'selfautodir:/share/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/share/texmf-dist/web2c' from specification 
'selfautodir:/share/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/share/texmf/web2c' from specification 
'selfautodir:/share/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/texmf-local/web2c' from specification 
'selfautodir:/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/texmf-dist/web2c' from specification 
'selfautodir:/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/context/texmf/web2c' from specification 
'selfautodir:/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification 
'$SELFAUTOGRANDPARENT/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on weird path 
'/home/sytse' from specification 'selfautoparent:'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/share/texmf-local/web2c' from specification 
'selfautoparent:/share/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/share/texmf-dist/web2c' from specification 
'selfautoparent:/share/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/share/texmf/web2c' from specification 
'selfautoparent:/share/texmf/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf-dist/web2c' from specification 
'selfautoparent:/texmf-dist/web2c'
resolvers   | resolving | looking for 'texmfcnf.lua' on given path 
'/home/sytse/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'

resolvers   | resolving |
resolvers   | resolving | warning: no lua configuration files found
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
mtx-update  | state, loaded
mtx-update  |
mtx-update  | update, start
mtx-update  | available platforms: freebsd freebsd-amd64 
kfreebsd-amd64 kfreebsd-i386 linux linux-64 linux-armhf linux-ppc mswin 
osx-64 osx-intel osx-ppc solaris-intel solaris-sparc win64

mtx-update  | available modules: 37
mtx-update  | + f-urwgaramond
mtx-update  | + f-urwgothic
mtx-update  | + t-account
mtx-update  | + t-algorithmic
mtx-update  | + t-animation
mtx-update  | + t-annotation
mtx-update  | + t-bnf
mtx-update  | + t-chromato
mtx-update  | + t-cmscbf
mtx-update  | + t-cmttbf
mtx-update  | + t-construction-plan
mtx-update  | + t-cyri

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Otared Kavian
You are right Yuri, I added your comment to the wiki page concerning 
setupinterlinespace:
http://wiki.contextgarden.net/Command/setupinterlinespace

Best regards: OK

On 27 Jul 2014, at 16:16, Yuri Teixeira  wrote:

> Thank you, this is really what I wanted. I found the source of my confusion 
> too: \setupinterlinespace is local inside \start-stopnarrower
> 
> \setupinterlinespace[5] % this has no effect before \starttext
> 
> \starttext
> \input tufte % this is default small, not 5
> \setupinterlinespace[big]
> \input tufte % this is big
> 
> \startnarrower[left]
> \setupinterlinespace[small]
> \input tufte % this is small
> \stopnarrower
> 
> \input tufte % this is big again
> \stoptext
> 
> 
> 2014-07-27 5:51 GMT-03:00 Otared Kavian :
> Hi,
> 
> Have a look at the following wiki page:
>   http://wiki.contextgarden.net/setuplocalinterlinespace
> 
> It may help you achieve what you want to do.
> 
> Best regards: OK
> 
> On 27 Jul 2014, at 04:06, Yuri Teixeira  wrote:
> 
>> Hello, From command/setuphead I inferred this should work to set linespace 
>> to 1.5 within the chapter/section but it doesn't. Should it? I read on 
>> \setupinterlinespace and it's resetting mechanic but thought the parameter 
>> in setuphead would work. Also, I checked and this parameter is not mentioned 
>> in the manual, so maybe it does not exist.
>> 
>> \setuphead[chapter][interlinespace=big]
>> 
>> \starttext
>> \chapter{Some title}
>> Lines with 1.5 space? \input tufte
>> 
>> \startchapter[title={Some title}]
>> Try again? \input tufte
>> \stopchapter
>> 
>> \startchapter[title={Some title}]
>> \setupinterlinespace[big]
>> Now it works. \input tufte
>> \stopchapter
>> 
>> \startchapter[title={Some title}]
>> But it "leaks" out of the previous start-stopchapter. \input tufte
>> \stopchapter
>> \stoptext
>> 
>> Thank you for your attention,
>> YT
>> ___
>> 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
> ___
> 
> ___
> 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] How to make floats extend into the outer margin

2014-07-27 Thread Wolfgang Schuster

Am 27.07.2014 um 16:54 schrieb Joshua Krämer :

> On 2014-07-25, 16:18, Hans Hagen wrote:
> 
>> \showframe
>> 
>> \starttext
>> 
>> \startplacefigure
>> \framed[width=.8\textwidth,framecolor=red]{one}
>> \stopplacefigure
>> 
>> \definefloat[widefigure][figure][figure]
>> \setupfloat   [widefigure][location=flushleft]
>> \setupcaptions[widefigure][width=\textwidth,align=middle]
>> 
>> \startplacewidefigure
>> \framed[width=1.2\textwidth,framecolor=blue]{two}
>> \stopplacewidefigure
>> 
>> \stoptext
> 
> Thanks, but this doesn't seem to be a solution to my problem, because
> the figures extend into the right margin always, and I want them to
> extend into the outer margin (i. e. left margin on left pages, right
> margin on right pages).

\setupfloat[widefigure][location=inner]

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] How to make floats extend into the outer margin

2014-07-27 Thread Joshua Krämer
On 2014-07-25, 16:18, Hans Hagen wrote:

> \showframe
> 
> \starttext
> 
> \startplacefigure
>  \framed[width=.8\textwidth,framecolor=red]{one}
> \stopplacefigure
> 
> \definefloat[widefigure][figure][figure]
> \setupfloat   [widefigure][location=flushleft]
> \setupcaptions[widefigure][width=\textwidth,align=middle]
> 
> \startplacewidefigure
>  \framed[width=1.2\textwidth,framecolor=blue]{two}
> \stopplacewidefigure
> 
> \stoptext

Thanks, but this doesn't seem to be a solution to my problem, because
the figures extend into the right margin always, and I want them to
extend into the outer margin (i. e. left margin on left pages, right
margin on right pages).

I'm now using the following semi-automatic solution, but there is one
problem left:  The alignment is not applied to tikz pictures.  Does
somebody have an idea how to resolve this?

Thank you and kind regards,
Joshua


\setuppagenumbering[alternative=doublesided]

\setuplayout[backspace=4cm,width=12cm]

\definemeasure[Widetext][\textwidth+\rightmargindistance+\rightmarginwidth]

\define\WideFloatCommand
  {\dowithnextbox
 {\signalrightpage
  \ifdim\nextboxwd>\textwidth  

\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
  \else
\midaligned{\flushnextbox}%
  \fi}
 \hbox}

\definefloat [widefigure] [figure] [figure]
\setupfloat [widefigure] [command=\WideFloatCommand]

\usemodule[tikz]

\showframe

\starttext

x

\page

\startplacewidefigure
\framed[width=\measure{Widetext}]{One}
\stopplacewidefigure

\startplacewidefigure
\framed[width=3cm]{Two}
\stopplacewidefigure

\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=\measure{Widetext}] {Three};
\stoptikzpicture
\stopplacewidefigure

\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=3cm] {Four};
\stoptikzpicture
\stopplacewidefigure

\startplacewidefigure
\rightaligned{%
\starttikzpicture
\node [draw, minimum width=\measure{Widetext}] {Five};
\stoptikzpicture}
\stopplacewidefigure

\startplacewidefigure
\midaligned{%
\starttikzpicture
\node [draw, minimum width=3cm] {Six};
\stoptikzpicture}
\stopplacewidefigure

\stoptext


___
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] setuphead interlinespace

2014-07-27 Thread Yuri Teixeira
Thank you, this is really what I wanted. I found the source of my confusion
too: \setupinterlinespace is local inside \start-stopnarrower

\setupinterlinespace[5] % this has no effect before \starttext

\starttext
\input tufte % this is default small, not 5
\setupinterlinespace[big]
\input tufte % this is big

\startnarrower[left]
\setupinterlinespace[small]
\input tufte % this is small
\stopnarrower

\input tufte % this is big again
\stoptext


2014-07-27 5:51 GMT-03:00 Otared Kavian :

> Hi,
>
> Have a look at the following wiki page:
> http://wiki.contextgarden.net/setuplocalinterlinespace
>
> It may help you achieve what you want to do.
>
> Best regards: OK
>
> On 27 Jul 2014, at 04:06, Yuri Teixeira  wrote:
>
> Hello, From command/setuphead
>  I inferred this should
> work to set linespace to 1.5 within the chapter/section but it doesn't.
> Should it? I read on \setupinterlinespace and it's resetting mechanic but
> thought the parameter in setuphead would work. Also, I checked and this
> parameter is not mentioned in the manual, so maybe it does not exist.
>
> \setuphead[chapter][interlinespace=big]
>
> \starttext
> \chapter{Some title}
> Lines with 1.5 space? \input tufte
>
> \startchapter[title={Some title}]
> Try again? \input tufte
> \stopchapter
>
> \startchapter[title={Some title}]
> \setupinterlinespace[big]
> Now it works. \input tufte
> \stopchapter
>
> \startchapter[title={Some title}]
> But it "leaks" out of the previous start-stopchapter. \input tufte
> \stopchapter
> \stoptext
>
> Thank you for your attention,
> YT
>
> ___
> 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
>
> ___
>
___
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] project structure

2014-07-27 Thread Hans Hagen

On 7/27/2014 1:24 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

On Sat, 26 Jul 2014 11:01:15 +0200, Hans Hagen  wrote:


Hi,

There is a new experimental feature (one of the side effects of
discussions with Alan about bibliographies and using distributed files
in a project structure).

Say that you have this:

test1.tex : uses \component one/test2

one/test2.tex : uses \component two/test3

etc. There can be resources under one/two that test3 needs and one way
out is to add this path to the used paths. Doing that automatically can
result in side effects when multiple resources with the same name are
used.

However, we now have a concept of the local job path, so when test2 is
read the jobfile: prefix will use path one, and when reading test3, that
prefix will trigger one/two usage.


very nice and handy feature, thanks for that.

Just a remark -
- there was a similar prefix "toppath:" introduced some time ago.

And - IIUC - "jobfile" refers to a dir rather than to a file, so
wouldn't be better to call the prefix "jobdir:" or "jobpath:"?


The difference is that toppath: works on the input stack and jobfile: on 
the accumulated subpaths (normally in a job structure) ... in fact, both 
could work out the same but the top of the inputstack could be different 
... it's all a matter of experiencing, so


\usepath[jobfile:]
\setupexternalfigures[directory=jobfile:]
\usepath[toppath:]
\setupexternalfigures[directory=toppath:]

could have the best of both worlds.

toppath == dir of top of inputstack
jobfile == dir of current jobfile

maybe jobpath is indeed better (i'll change it and keep the old one for 
a while)



For this to work, one has to say:

\usepath[jobfile:]
\setupexternalfigures[directory=jobfile:]

To what extent this all works out well is to be tested.

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] project structure

2014-07-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

On Sat, 26 Jul 2014 11:01:15 +0200, Hans Hagen  wrote:


Hi,

There is a new experimental feature (one of the side effects of
discussions with Alan about bibliographies and using distributed files
in a project structure).

Say that you have this:

test1.tex : uses \component one/test2

one/test2.tex : uses \component two/test3

etc. There can be resources under one/two that test3 needs and one way
out is to add this path to the used paths. Doing that automatically can
result in side effects when multiple resources with the same name are used.

However, we now have a concept of the local job path, so when test2 is
read the jobfile: prefix will use path one, and when reading test3, that
prefix will trigger one/two usage.


very nice and handy feature, thanks for that.

Just a remark -
- there was a similar prefix "toppath:" introduced some time ago.

And - IIUC - "jobfile" refers to a dir rather than to a file, so wouldn't be better to call the 
prefix "jobdir:" or "jobpath:"?

Best regards,

Lukas



For this to work, one has to say:

\usepath[jobfile:]
\setupexternalfigures[directory=jobfile:]

To what extent this all works out well is to be tested.

Hans



--
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 241 096 751
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] How to center floats (?) in standardmakeup?

2014-07-27 Thread Thomas Kreuzer

Hello everyone,

I am trying to create a title page with

\startstandardmakeup[align=middle]

This works alright for text, but when I am trying to insert a "\framed", 
a table or an "\externalfigure", those items (floats?) don't get centered.

How can I make them centered as well?

Thank you very much for your time and kind regards,
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] setuphead interlinespace

2014-07-27 Thread Otared Kavian
Hi,

Have a look at the following wiki page:
http://wiki.contextgarden.net/setuplocalinterlinespace

It may help you achieve what you want to do.

Best regards: OK

On 27 Jul 2014, at 04:06, Yuri Teixeira  wrote:

> Hello, From command/setuphead I inferred this should work to set linespace to 
> 1.5 within the chapter/section but it doesn't. Should it? I read on 
> \setupinterlinespace and it's resetting mechanic but thought the parameter in 
> setuphead would work. Also, I checked and this parameter is not mentioned in 
> the manual, so maybe it does not exist.
> 
> \setuphead[chapter][interlinespace=big]
> 
> \starttext
> \chapter{Some title}
> Lines with 1.5 space? \input tufte
> 
> \startchapter[title={Some title}]
> Try again? \input tufte
> \stopchapter
> 
> \startchapter[title={Some title}]
> \setupinterlinespace[big]
> Now it works. \input tufte
> \stopchapter
> 
> \startchapter[title={Some title}]
> But it "leaks" out of the previous start-stopchapter. \input tufte
> \stopchapter
> \stoptext
> 
> Thank you for your attention,
> YT
> ___
> 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
___