Re: [NTG-context] Error with \prevdepth

2015-01-27 Thread Kip Warner
On Tue, 2015-01-27 at 09:48 +0100, Hans Hagen wrote:
 not sure what that means but the main thing you need to keep in mind
 as 
 user is:
 
 - mtxrun --generate : when the tree changes
 - mtxrun --script font --reload : when fonts were moved / added /
 removed
 
 (if the cache is wiped all happens automatically anyway)

Thanks Hans.

-- 
Kip Warner -- Senior 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] Error with \prevdepth

2015-01-27 Thread Hans Hagen

On 1/27/2015 12:50 AM, Kip Warner wrote:

On Tue, 2015-01-27 at 00:45 +0100, Hans Hagen wrote:

maybe test that in a small test file


It seems to work if I run the following first:

 $ mtxrun --script fonts --reload


normally it is automatically detected if a font is updated or when a 
font is not found; only when one changes fonts (locations) it is needed 
to rebuild the database using --reload (--force for a full reload); 
context itself will do a fast update when needed



 $ luatools --generate


luatools is already gone for a while, use

mtxrun --generate or
context --generate


 $ mtxrun --script fonts --list --all --pattern=*


not needed


 $ context --reload


unknown


I wish ConTeXt was properly Debianized so all of this was automagically
taken care of during postinst hook.


not sure what that means but the main thing you need to keep in mind as 
user is:


- mtxrun --generate : when the tree changes
- mtxrun --script font --reload : when fonts were moved / added / removed

(if the cache is wiped all happens automatically anyway)

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] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote:
 remeve the placefigure in that line, so :
 
 \midaligned
{\externalfigure
   [Makeup/Images/Cartesian_Theatre.svg]
   [width=0.25\textwidth]}
 
 a midaligned is a hbox while a placefigure operates in the mvl

Thanks Hans. ConTeXt gets past that, but raises font errors:

simplefonts  font ''ubuntu'' not found

I have the Ubuntu typeface installed on my system and nothing has
changed, except this version of ConTeXt is newer. In my environment file
I have...

% Font to use for main text...
\setmainfont[Ubuntu]
\setupbodyfont[11pt]

-- 
Kip Warner -- Senior 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] Error with \prevdepth

2015-01-26 Thread Hans Hagen

On 1/25/2015 10:12 PM, Kip Warner wrote:

Hey list,

I am having difficulty typesetting my book using ConTeXt version
2015.01.10 00:44. It bails on line 32...

 
https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Handbook.tex

with the following error:

 tex errorerror on line 32 in file
 Handbook/Handbook.tex: ! You can't use `\prevdepth' in
 restricted horizontal mode

Any help appreciated.


remeve the placefigure in that line, so :

\midaligned
  {\externalfigure
 [Makeup/Images/Cartesian_Theatre.svg]
 [width=0.25\textwidth]}

a midaligned is a hbox while a placefigure operates in the mvl

-
  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] Error with \prevdepth

2015-01-26 Thread Hans Hagen

On 1/26/2015 7:26 PM, Kip Warner wrote:

On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote:

remeve the placefigure in that line, so :

\midaligned
{\externalfigure
   [Makeup/Images/Cartesian_Theatre.svg]
   [width=0.25\textwidth]}

a midaligned is a hbox while a placefigure operates in the mvl


Thanks Hans. ConTeXt gets past that, but raises font errors:

 simplefonts  font ''ubuntu'' not found

I have the Ubuntu typeface installed on my system and nothing has
changed, except this version of ConTeXt is newer. In my environment file
I have...

 % Font to use for main text...
 \setmainfont[Ubuntu]
 \setupbodyfont[11pt]



there is no reason a font should not be found
--

-
  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] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Tue, 2015-01-27 at 00:19 +0100, Hans Hagen wrote:
 there is no reason a font should not be found

My context/tex/setuptex shell script contains the following:

export 
OSFONTDIR=$HOME/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/

$ dpkg -L ttf-ubuntu-font-family 
/.
/usr
/usr/share
/usr/share/fonts
/usr/share/fonts/truetype
/usr/share/fonts/truetype/ubuntu-font-family
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-LI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-B.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-RI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-C.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-BI.ttf

If I look inside the PDF properties, I can see that the Ubuntu typeface
is embedded, but it looks like it's just not being used anymore.

-- 
Kip Warner -- Senior 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] Error with \prevdepth

2015-01-26 Thread Hans Hagen

On 1/27/2015 12:37 AM, Kip Warner wrote:

On Tue, 2015-01-27 at 00:19 +0100, Hans Hagen wrote:

there is no reason a font should not be found


My context/tex/setuptex shell script contains the following:

 export 
OSFONTDIR=$HOME/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/

$ dpkg -L ttf-ubuntu-font-family
/.
/usr
/usr/share
/usr/share/fonts
/usr/share/fonts/truetype
/usr/share/fonts/truetype/ubuntu-font-family
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-LI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-B.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-RI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-C.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-BI.ttf

If I look inside the PDF properties, I can see that the Ubuntu typeface
is embedded, but it looks like it's just not being used anymore.


maybe test that in a small test file



--

-
  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] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Tue, 2015-01-27 at 00:45 +0100, Hans Hagen wrote:
 maybe test that in a small test file

It seems to work if I run the following first:

$ mtxrun --script fonts --reload
$ luatools --generate
$ mtxrun --script fonts --list --all --pattern=*
$ context --reload

I wish ConTeXt was properly Debianized so all of this was automagically
taken care of during postinst hook.

-- 
Kip Warner -- Senior 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] Error with \prevdepth

2015-01-25 Thread Kip Warner
Hey list,

I am having difficulty typesetting my book using ConTeXt version
2015.01.10 00:44. It bails on line 32...


https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Handbook.tex

...with the following error:

tex errorerror on line 32 in file
Handbook/Handbook.tex: ! You can't use `\prevdepth' in
restricted horizontal mode

Any help appreciated.

-- 
Kip Warner -- Senior 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
___