ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan-Erik Hägglöf" <janerik.hagglof@bredband.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [OT] creating-a-style-file-in-context
Date: Sun, 25 Oct 2009 13:09:52 +0100	[thread overview]
Message-ID: <4AE44010.9060101@bredband.net> (raw)
In-Reply-To: <alpine.LNX.2.00.0910250658430.18485@ybpnyubfg.ybpnyqbznva>

[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]

Here is a test and the attached output and also the path of where the 
fonts are placed in file font.dir and the output from mtxrun --script 
fonts list museo* in fonts.list


Janneman
>
> Can you test what happens with a minimal file:
>
> \definefont[testfont][name:museo700]
>
> \starttext
> \testfont \input knuth
> \stoptext
>
>> Is there some changes neccessary in those files?
>
> No. type-exljbris works fine here.
>
> The only other thing that I can think of is probably something wrong 
> with the PATH. Try running
>
> mtxrun --script context 74.tex (rather than context 74.tex)
>
> 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
> ___________________________________________________________________________________
>   


[-- Attachment #2: font.dir --]
[-- Type: application/x-director, Size: 597 bytes --]

[-- Attachment #3: fonts.list --]
[-- Type: text/plain, Size: 154 bytes --]

museo         Museo 700 Bold  Museo700-Regular.otf
museo700bold  Museo 700 Bold  Museo700-Regular.otf
museoregular  Museo 700 Bold  Museo700-Regular.otf


[-- Attachment #4: test.log --]
[-- Type: text/x-log, Size: 5102 bytes --]

(test.tex

ConTeXt  ver: 2009.10.21 10:28 MKIV  fmt: 2009.10.22  int: english/english

system          : cont-new loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-new.mkiv))
system          : cont-fil loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/user/cont-sys.rme (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-tmf.tex (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-siz.tex (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-otf.tex (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system          : test.top loaded
%
%	begin of optionfile
%
%	% runtime options files (command line driven)
%	\unprotect
%	% special commands, mostly for the ctx development team
%	% feedback and basic job control
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	}
%	document.files={
%	 "test.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[\c!n=1,\c!m=1]
%	\setupsystem[\c!type=unix]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(test.top)
fonts           : preloading latin modern fonts
bodyfont        : 12pt rm is loaded
language        : language en is active
systems         : begin file test at line 3
define font | forced type otf of Museo700-Regular not found
define font | font with name Museo700-Regular is not found
define font | unknown font Museo700-Regular, loading aborted
define font | unable to define museo700 as \**testfont** (/home/sameman/ctx/tex/texmf-context/tex/context/sample/knuth.tex)
fonts           : resetting map file list
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-ams-euler
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts           : using map file: original-public-lm
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-math
{/home/sameman/ctx/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/home/sameman/ctx/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
systems         : end file test at line 5
system          : cont-err loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-err.tex
systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</home/sameman/ctx/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config path          - /home/sameman/ctx/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path           - /home/sameman/ctx/tex/texmf-cache
mkiv lua stats : input load time           - 0.050 seconds
mkiv lua stats : stored bytecode data      - 190 modules, 46 tables, 236 chunks
mkiv lua stats : node list callback tasks  - 4 unique tasks, 3 created, 20 calls
mkiv lua stats : cleaned up reserved nodes - 24 nodes, 9 lists of 1408
mkiv lua stats : node memory usage         - 20 glue_spec, 2 dir
mkiv lua stats : used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns           - en:us:pat:exc:2
mkiv lua stats : startup time              - 1.014 seconds (including runtime option file processing)
mkiv lua stats : callbacks                 - direct: 436, indirect: 3546, total: 3982
mkiv lua stats : loaded fonts              - 29 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm
mkiv lua stats : fonts load time           - 0.649 seconds
mkiv lua stats : result saved in file      - test.pdf
mkiv lua stats : luatex banner             - this is luatex, version beta-0.43.0-2009081914
mkiv lua stats : control sequences         - 29424 of 165536
mkiv lua stats : current memory usage      - 30 MB (ctx: 31 MB)
mkiv lua stats : runtime                   - 2.148 seconds, 0 processed pages, 1 shipped pages, 0.466 pages/second


[-- Attachment #5: test.pdf --]
[-- Type: application/pdf, Size: 7606 bytes --]

[-- Attachment #6: test.tex --]
[-- Type: text/x-tex, Size: 83 bytes --]

\definefont[testfont][name:museo700]

\starttext
\testfont \input knuth
\stoptext 

[-- Attachment #7: test.tuc --]
[-- Type: text/plain, Size: 2628 bytes --]

-- version: 1.10
-- file: test
-- format: cont-en
-- stamp: 2009.10.21 10:28
-- escape: [===[ ... ]===]

jobvariables = jobvariables or { }
jobvariables.checksums = jobvariables.checksums or { }
jobvariables.checksums={
 new="22AF645D1859CB5CA6DA0C484F1F37EA",
 old="149603E6C03516362A8DA23F624DB945",
}
jobvariables = jobvariables or { }
jobvariables.collected = jobvariables.collected or { }
jobvariables.collected={
 randomseed=0.1938218880416,
 totalnofparbackgrounds=0,
}
jobpasses = jobpasses or { }
jobpasses.collected = jobpasses.collected or { }
jobpasses.collected={
}
structure = structure or { }
structure.specials = structure.specials or { }
structure.specials.collected = structure.specials.collected or { }
structure.specials.collected={
}
structure = structure or { }
structure.lists = structure.lists or { }
structure.lists.collected = structure.lists.collected or { }
structure.lists.collected={
}
structure = structure or { }
structure.counters = structure.counters or { }
structure.counters.collected = structure.counters.collected or { }
structure.counters.collected={
 ["@@si"]={
  { 0, 0 },
 },
 endnote={
  { 0, 0, 0, 0 },
 },
 figure={
  { 0, 0 },
 },
 footnote={
  { 0, 0, 0, 0 },
 },
 formula={
  { 0, 0 },
 },
 graphic={
  { 0, 0 },
 },
 intermezzo={
  { 0, 0 },
 },
 ["itemgroup:itemize"]={
  { 0, 0 },
 },
 linenote={
  { 0, 0, 0, 0 },
 },
 realpage={
  { 0, 1 },
 },
 subpage={
  { 0, 1 },
 },
 table={
  { 0, 0 },
 },
 userpage={
  { 0, 1 },
 },
}
jobpages = jobpages or { }
jobpages.collected = jobpages.collected or { }
jobpages.collected={
 {
  block="bodypart",
  number=1,
  prefixdata=1,
 },
}
jobreferences = jobreferences or { }
jobreferences.collected = jobreferences.collected or { }
jobreferences.collected={
}
jobregisters = jobregisters or { }
jobregisters.collected = jobregisters.collected or { }
jobregisters.collected={
}
jobpositions = jobpositions or { }
jobpositions.collected = jobpositions.collected or { }
jobpositions.collected={
}
jobobjects = jobobjects or { }
jobobjects.collected = jobobjects.collected or { }
jobobjects.collected={
}
joblists = joblists or { }
joblists.collected = joblists.collected or { }
joblists.collected={
}
structure = structure or { }
structure.blocks = structure.blocks or { }
structure.blocks.collected = structure.blocks.collected or { }
structure.blocks.collected={
}
job.packer={
 index={
  {
   connector="\\endash ",
   prefix="no",
   set="part",
  },
 },
 keys={
  directives=true,
  metadata=true,
  numberdata=true,
  numbers=true,
  pagedata=true,
  prefixdata=true,
  sectiondata=true,
  specification=true,
 },
 version=1.01,
}

[-- Attachment #8: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2009-10-25 12:09 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21  9:05 luigi scarso
2009-10-25  9:15 ` Jan-Erik Hägglöf
2009-10-25  9:23   ` Wolfgang Schuster
2009-10-25  9:27     ` Taco Hoekwater
2009-10-25  9:37       ` Wolfgang Schuster
2009-10-25 10:27         ` Jan-Erik Hägglöf
2009-10-25 10:40           ` Wolfgang Schuster
2009-10-25 11:05           ` Aditya Mahajan
2009-10-25 12:09             ` Jan-Erik Hägglöf [this message]
2009-10-25 12:17               ` Aditya Mahajan
2009-10-25 12:28                 ` Jan-Erik Hägglöf
2009-10-25 12:32                 ` Jan-Erik Hägglöf
2009-10-25 12:45 ` Wolfgang Schuster
2009-10-25 14:17   ` Jan-Erik Hägglöf
2009-10-25 14:29     ` Wolfgang Schuster
2009-10-25 14:53       ` Jan-Erik Hägglöf
2009-10-26  5:42   ` Aditya Mahajan
2009-10-26  7:43     ` Wolfgang Schuster
2009-10-26 16:13       ` Aditya Mahajan
2009-10-26 21:20         ` Wolfgang Schuster
2009-10-27  6:13           ` Aditya Mahajan
2009-10-27  8:45             ` Wolfgang Schuster
2009-10-27  8:50               ` Hans Hagen
2009-10-27  8:56                 ` Wolfgang Schuster
2009-10-27  9:11                   ` Hans Hagen
2009-10-27  9:13                     ` luigi scarso
2009-10-27 13:38               ` Aditya Mahajan
2009-10-27 22:08                 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE44010.9060101@bredband.net \
    --to=janerik.hagglof@bredband.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).