Hi, I have a former ubuntu tex/context installation with fonts in /usr/share/texmf/fonts/truetype (opentype, etc... ) [1] as well as a tex/context minimals installation with fonts in /opt/context/tex/texmf/fonts/truetype (opentype, etc... ) [2] the latter using for development under luatex/context (previously xetex/context). Can both font locations be used or is it better to copy the fonts present in [1] and missing in [2] ( for ex, truetype fonts ) from [1] to [2] ? Alan
Alan Stone wrote:
Hi,
I have a former ubuntu tex/context installation with fonts in
/usr/share/texmf/fonts/truetype (opentype, etc... ) [1]
as well as a tex/context minimals installation with fonts in
/opt/context/tex/texmf/fonts/truetype (opentype, etc... ) [2]
the latter using for development under luatex/context (previously xetex/context).
Can both font locations be used or is it better to copy the fonts present in [1] and missing in [2] ( for ex, truetype fonts ) from [1] to [2] ?
it depends in how $TEXMF is set but it is possible to do it (you can for your dev setup set this variable to search the dev path first) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Decided to copy the truetype fonts from [1] to [2] ( keeps both installations apart ) then ran from within scite
context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | unable to save configuration in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318..tma LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1370 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma LuaTools | preparing files for /opt/context/tex/texmf LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528..tma LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc..tma LuaTools | LuaTools | runtime: 0.101 seconds
MtxRun | running command: luatools --generate
MtxRun | total runtime: 0.146
When running from a terminal window
Setting "/opt/context/tex" as TEXROOT.
alan@alan-desktop:~$ context --generate
I get the same messages.
Then tried from root ( sudo -i ) which gives
-bash: context: command not found
Is it serious doctor Lua ?
Alan
On Tue, Jul 8, 2008 at 5:02 PM, Hans Hagen
Alan Stone wrote:
Hi,
I have a former ubuntu tex/context installation with fonts in
/usr/share/texmf/fonts/truetype (opentype, etc... ) [1]
as well as a tex/context minimals installation with fonts in
/opt/context/tex/texmf/fonts/truetype (opentype, etc... ) [2]
the latter using for development under luatex/context (previously xetex/context).
Can both font locations be used or is it better to copy the fonts present in [1] and missing in [2] ( for ex, truetype fonts ) from [1] to [2] ?
it depends in how $TEXMF is set but it is possible to do it (you can for your dev setup set this variable to search the dev path first)
Hans
Alan Stone wrote:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma
are there really two dots there? ..tma ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Alan Stone wrote:
are there really two dots there? ..tma
Yes indeed Hans.
that's weird, i'm stymied Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Had a look at the former context windows installation. When firing up scite the output window mentions "loading scite-ctx.lua definition file". In ubuntu the scite output window informs attempt to call a string value
Lua: error occurred while loading startup script
Didn't give much attention to that one previously.
Don't know whether that's the cause of the problem. Nevertheless, any idea
how to set this straight ?
Alan
On Wed, Jul 9, 2008 at 12:03 PM, Alan Stone
that's weird, i'm stymied
How about a name change...
WeirdoTeX seems rather appropriate? ;O)
All jokes aside...
What's the solution ?
Alan
Alan Stone wrote:
that's weird, i'm stymied
How about a name change...
WeirdoTeX seems rather appropriate? ;O)
All jokes aside...
What's the solution ?
i have no clue (yet) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
regenerated the cache
Excuse me my ignorance... what do you mean by that Arthur ? Alan On Wed, Jul 9, 2008 at 4:15 PM, Arthur Reutenauer < arthur.reutenauer@normalesup.org> wrote:
are there really two dots there? ..tma
Yes indeed Hans.
that's weird, i'm stymied
I saw that once, too, but regenerated the cache and didn't bother too much.
Arthur
Hans Hagen wrote:
Alan Stone wrote:
are there really two dots there? ..tma Yes indeed Hans.
that's weird, i'm stymied
I'm not :) You got that from a bug in the warning message, not the actual file name. input.luasuffix = '.tma' input.report("unable to save %s in %s.%s",dataname,name,input.luasuffix) So that the string format reduces to ("unable to save %s in %s..tma",dataname,name) Best wishes, Taco
You got that from a bug in the warning message, not the actual file name.
The .tma and .tmc files are in /opt/context/tex/texmf-cache/
luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/
but have "Date Modified" 23/06/2008. :O(
Alan
On Wed, Jul 9, 2008 at 5:13 PM, Taco Hoekwater
Hans Hagen wrote:
Alan Stone wrote:
are there really two dots there? ..tma Yes indeed Hans.
that's weird, i'm stymied
I'm not :) You got that from a bug in the warning message, not the actual file name.
input.luasuffix = '.tma' input.report("unable to save %s in %s.%s",dataname,name,input.luasuffix)
So that the string format reduces to
("unable to save %s in %s..tma",dataname,name)
Best wishes, Taco
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
Tried Generate Formats (LuaTeX) from within SciTE...
texmfstart texexec --autopdf --make --all --luatex TeXExec | using search method 'kpsefast' TeXExec | updating file database mktexlsr: /opt/context/tex/texmf: directory not writable. Skipping... mktexlsr: /opt/context/tex/texmf-context: directory not writable. Skipping... mktexlsr: /opt/context/tex/texmf-linux: directory not writable. Skipping... LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex/ LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | unable to save configuration in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318..tma LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1370 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma LuaTools | preparing files for /opt/context/tex/texmf LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528..tma LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc..tma LuaTools | LuaTools | runtime: 0.106 seconds TeXExec | using tex engine luatex TeXExec | using tex format path ./luatex TeXExec | unable to make format due to lack of permissions TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun This is MetaPost, Version 1.005 (Web2C 7.5.5) (INIMP) (/opt/context/tex/texmf-context/web2c/natural.tcx) (/opt/context/tex/texmf-context/metapost/context/base/metafun.mp(/opt/context/tex/texmf-context/metapost/context/base/ mp-base.mp Preloading the plain mem file, version 0.63) (/opt/context/tex/texmf-context/metapost/context/base/mp-tool.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-spec.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-core.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-page.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-text.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-txts.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-shap.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-butt.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-char.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-step.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-grph.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-figs.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-mlib.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-grid.mp(/opt/context/tex/texmf-context/metapost/context/base/ mp-form.mp (/opt/context/tex/texmf/metapost/base/string.mp) (/opt/context/tex/texmf/metapost/base/marith.mp(/opt/context/tex/texmf/metapost/base/ string.mp)))) (/opt/context/tex/texmf-context/metapost/context/base/ mp-func.mp) ) Beginning to dump on file metafun.mem (mem=metafun 2008.7.9) at most 3066 strings of total length 40863 49365 memory locations dumped; current usage is 12822&36400 1788 symbolic tokens Transcript written on metafun.log. TeXExec | TeXExec | mps engine path: . TeXExec | TeXExec | TeXExec | runtime: 0.906651
Exit code: 1
Alan
On Wed, Jul 9, 2008 at 7:00 PM, Alan Stone
You got that from a bug in the warning message, not the actual file name.
The .tma and .tmc files are in /opt/context/tex/texmf-cache/ luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/ but have "Date Modified" 23/06/2008. :O(
Alan
Alan Stone wrote:
LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma
a write access problem? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
saw that too... don't understand how that's possible because there are
already files in that folder.
Alan
On Thu, Jul 10, 2008 at 8:21 AM, Hans Hagen
Alan Stone wrote:
LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma
a write access problem?
Taco Hoekwater wrote:
Hans Hagen wrote:
are there really two dots there? ..tma Yes indeed Hans.
Alan Stone wrote: that's weird, i'm stymied
I'm not :) You got that from a bug in the warning message, not the actual file name.
input.luasuffix = '.tma' input.report("unable to save %s in %s.%s",dataname,name,input.luasuffix)
So that the string format reduces to
("unable to save %s in %s..tma",dataname,name)
ah, ok, cleaned up ... i'll upload a beta i now save as binary .. maybe it helps otherwise there's realy a write / permission problem in Alan's machine Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
cleaned up ... i'll upload a beta
Thanks a lot Hans.
Where from will the beta be uploadable ?
Alan
On Thu, Jul 10, 2008 at 8:47 AM, Hans Hagen
Taco Hoekwater wrote:
Hans Hagen wrote:
are there really two dots there? ..tma Yes indeed Hans.
Alan Stone wrote: that's weird, i'm stymied
I'm not :) You got that from a bug in the warning message, not the actual file name.
input.luasuffix = '.tma' input.report("unable to save %s in %s.%s",dataname,name,input.luasuffix)
So that the string format reduces to
("unable to save %s in %s..tma",dataname,name)
ah, ok, cleaned up ... i'll upload a beta
i now save as binary .. maybe it helps otherwise there's realy a write / permission problem in Alan's machine
Hans
Thanks Mojca. Updated. Or is it downdated?
context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | unable to save configuration in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua (access error) LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1422 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua (access error) LuaTools | preparing files for /opt/context/tex/texmf LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua (access error) LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua (access error) LuaTools | LuaTools | runtime: 0.110 seconds
MtxRun | running command: luatools --generate MtxRun | total runtime: 0.178 Alan On Thu, Jul 10, 2008 at 9:25 AM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote:
On Thu, Jul 10, 2008 at 9:15 AM, Alan Stone wrote:
cleaned up ... i'll upload a beta
Thanks a lot Hans.
Where from will the beta be uploadable ?
You said that you have minimals installed. Just run ./first-setup.sh --context=beta
Mojca
On Thu, Jul 10, 2008 at 10:12 AM, Alan Stone
Thanks Mojca. Updated.
Or is it downdated?
archive: https://foundry.supelec.fr/projects/contextrev/ ;-)
context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | unable to save configuration in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua (access error) LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1422 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua (access error) LuaTools | preparing files for /opt/context/tex/texmf LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua (access error) LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua (access error) LuaTools | LuaTools | runtime: 0.110 seconds
MtxRun | running command: luatools --generate MtxRun | total runtime: 0.178
No rights to write to /opt/... with your current user. What's with sudo ... Wolfgang
Wow, now I can mindread too...
What's with sudo ...
Received your message just after doing that. Thanks. SpookyTeX! Alan On Thu, Jul 10, 2008 at 10:52 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
On Thu, Jul 10, 2008 at 10:12 AM, Alan Stone
wrote: Thanks Mojca. Updated.
Or is it downdated?
archive: https://foundry.supelec.fr/projects/contextrev/ ;-)
context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | unable to save configuration in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua
(access error) LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1422 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua
(access error) LuaTools | preparing files for /opt/context/tex/texmf LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua
(access error) LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua
(access error) LuaTools | LuaTools | runtime: 0.110 seconds
MtxRun | running command: luatools --generate MtxRun | total runtime: 0.178
No rights to write to /opt/... with your current user. What's with sudo ...
Wolfgang
In a flash of extraordinary inspiration, ran the command in a terminal window from root - instead of from scite and now it seems to have worked... root@alan-desktop:/opt/context# context --generate MtxRun | running command: luatools --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | configuration saved in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua LuaTools | configuration compiled to /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.luc LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1422 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | files saved in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua LuaTools | files compiled to /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.luc LuaTools | preparing files for /opt/context/tex/texmf LuaTools | files saved in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua LuaTools | files compiled to /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.luc LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | files saved in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua LuaTools | files compiled to /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.luc LuaTools | LuaTools | runtime: 0.358 seconds MtxRun | total runtime: 0.461 root@alan-desktop:/opt/context# mtxrun --script font --reload fontnames | identifying tree font files with suffix otf fontnames | 161 tree files identified, 482 hash entries added, runtime 1.159 seconds fontnames | identifying tree font files with suffix ttf fontnames | 192 tree files identified, 559 hash entries added, runtime 2.173 seconds fontnames | identifying tree font files with suffix ttc fontnames | 0 tree files identified, 0 hash entries added, runtime 0.066 seconds fontnames | identifying tree font files with suffix afm fontnames | 69 tree files identified, 148 hash entries added, runtime 0.337 seconds fontnames | identifying system font files with suffix otf fontnames | 0 system files identified, 0 hash entries added, runtime 0.001 seconds fontnames | identifying system font files with suffix ttf fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttc fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix afm fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds Alan
Though that's strange... fontnames | identifying system font files with suffix otf fontnames | 0 system files identified, 0 hash entries added, runtime 0.001 seconds fontnames | identifying system font files with suffix ttf fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttc fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix afm fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds Alan
Despite all the above, when compiling with
texmfstart texexec --lua test.tex
with test.tex containing \usetypescript[verdana] \setupbodyfont[verdana,12pt] or \definetypeface[Times][rm][Xserif][Times New Roman] \setupbodyfont[Times,12pt] the generated pdfs embed LMRoman font instead, while both fonts are present in /opt/context/tex/texmf/fonts/truetype/msttcorefonts What's missing ? Alan
On Thu, Jul 10, 2008 at 11:36 AM, Alan Stone wrote:
Despite all the above, when compiling with
texmfstart texexec --lua test.tex
with test.tex containing
\usetypescript[verdana] \setupbodyfont[verdana,12pt]
Most probably typescripts for OpenType are missing.
or
\definetypeface[Times][rm][Xserif][Times New Roman] \setupbodyfont[Times,12pt]
the generated pdfs embed LMRoman font instead, while both fonts are present in
"Xserif" hack written by Adam Lindsay only works in XeTeX, so you need to define all the fonts manually in LuaTeX (dummy job; should be simplified one day). Search for \definefontsynonym http://wiki.contextgarden.net/Mark_IV#A_.28Complete.29_Typescript_Example Mojca
On Thu, Jul 10, 2008 at 11:13 AM, Alan Stone wrote:
Though that's strange...
fontnames | identifying system font files with suffix otf fontnames | 0 system files identified, 0 hash entries added, runtime 0.001 seconds fontnames | identifying system font files with suffix ttf fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttc fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix afm fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds
It's kind of a bug. My best guess is that it works on Hans' machine since he reads from fonts.conf that resides in his texmf tree. Anywhere else (linux, mac, ...) the file fonts.conf resides somewhere else, ConTeXt doesn't find it, and fails to locate any fonts. At least on my computer, OSFENTSDIR is ignored (or at least was some days ago). Mojca
2008/7/10 Mojca Miklavec: > On Thu, Jul 10, 2008 at 11:13 AM, Alan Stone wrote: >> Though that's strange... After many attempts I got fonts working in Ubuntu with Xetex and Luatex I made these steps: 1) set OSFONTDIR in texmf.cnf and setuptex 2) copied needed fonts in ${MYCONTEXTFOLDER}/texmf-context/fonts/{opentype, truetype...} creating missing subfolders 3) ran fc-cache -f -r -v /usr/share/fonts $MYCONTEXTFOLDER 4) ran luatools --generate 5) ran mtxrun --script fonts --reload A little issue when $MYCONTEXTFOLDER and files to build aren't on the same filesystem still remains, but I talk about a partition shared between FreeBSD and Ubuntu. -- Diego Depaoli
On Thu, Jul 10, 2008 at 1:39 PM, Diego Depaoli wrote: > 2008/7/10 Mojca Miklavec: >> On Thu, Jul 10, 2008 at 11:13 AM, Alan Stone wrote: >>> Though that's strange... > After many attempts I got fonts working in Ubuntu with Xetex and Luatex > I made these steps: > 1) set OSFONTDIR in texmf.cnf and setuptex > 2) copied needed fonts in > ${MYCONTEXTFOLDER}/texmf-context/fonts/{opentype, truetype...} > creating missing subfolders > 3) ran fc-cache -f -r -v /usr/share/fonts $MYCONTEXTFOLDER > 4) ran luatools --generate > 5) ran mtxrun --script fonts --reload > > A little issue when $MYCONTEXTFOLDER and files to build aren't on the > same filesystem still remains, but I talk about a partition shared > between FreeBSD and Ubuntu. I have texmf tree on vfat partition (same disk, another partition shared with windows that I never use :), and it works without problems. What/when exactly does it fail? Mojca
2008/7/10 Mojca Miklavec
I have texmf tree on vfat partition (same disk, another partition shared with windows that I never use :), and it works without problems. What/when exactly does it fail? strange, I sent a mail noticing this issue, but seems never became...
Minimals is installed in my $HOME File to build is located in a partition (/media/disk) shared between ubuntu and FreeBSD Now I'm on ubuntu from my $HOME texexec --xtx /media/disk/file.tex works from /media/disk texexec --xtx file.tex fails with ! Font \*fontin12ptsstfss*:=Fontin_Sans_R_45b:+liga;+kern;mapping=tlig;+trep; a t 12.0pt not loadable: Metric (TFM) file or installed font not found. texexec --lua works when launched from both locations. Something is broken in fonts path detection? ------- -- Diego Depaoli
On Thu, Jul 10, 2008 at 3:50 PM, Diego Depaoli wrote:
2008/7/10 Mojca Miklavec
: I have texmf tree on vfat partition (same disk, another partition shared with windows that I never use :), and it works without problems. What/when exactly does it fail? strange, I sent a mail noticing this issue, but seems never became...
Minimals is installed in my $HOME File to build is located in a partition (/media/disk) shared between ubuntu and FreeBSD Now I'm on ubuntu from my $HOME texexec --xtx /media/disk/file.tex works from /media/disk texexec --xtx file.tex fails with ! Font \*fontin12ptsstfss*:=Fontin_Sans_R_45b:+liga;+kern;mapping=tlig;+trep; a t 12.0pt not loadable: Metric (TFM) file or installed font not found. texexec --lua works when launched from both locations. Something is broken in fonts path detection?
Where do you have that font (Fontin_Sans_R_45b)? Another observation for Hans: +trep should not reach XeTeX. Mojca
Alan Stone wrote:
cleaned up ... i'll upload a beta
Thanks a lot Hans.
Where from will the beta be uploadable ?
from the website; i added a test for readability (experimental) of the cache (which hopefully does not break elsewhere) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (7)
-
Alan Stone
-
Arthur Reutenauer
-
Diego Depaoli
-
Hans Hagen
-
Mojca Miklavec
-
Taco Hoekwater
-
Wolfgang Schuster