Re: [NTG-context] Error with \prevdepth
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen
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
On 1/26/2015 7:26 PM, Kip Warner wrote:
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Kip Warner