ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <acbowen@princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: basic luatex/minimals problem
Date: Wed, 25 Feb 2009 09:19:07 -0500	[thread overview]
Message-ID: <90903B7C-2F00-4754-B0F7-7BA4E9B31C04@princeton.edu> (raw)
In-Reply-To: <178CDBB3-8E7D-4634-854D-561C4F9E4EA9@princeton.edu>


[-- Attachment #1.1: Type: text/plain, Size: 6830 bytes --]

Now that the debris on my computer from determining the right way to  
reset LM, let me restate what my luatex problems are:

Note: I have moved the contents of my personal texmf folder into  
Applications/ConTeXtMinimals/tex/texmf-project

1. When I run first-setup.sh, the installation stops with the line

(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/patterns/ 
lang-agr.
pat
! Duplicate pattern.
l.38 ῃ1

2. If remove texmf-project from my ConTeXtMinimals, then installation  
works.

3. Since this installation will cannot find ~texmf, I have to restore  
texmf-project in my ConTeXtMinimals/tex.

4. When I process a file (see below), I get the error message:

fontnames | identifying system font files with suffix ttf
fontnames | globbing path /Users/alancbowen/Library/Fonts/**.ttf
fontnames | globbing path /Library/Fonts/**.ttf
! LuaTeX error font loading failed for /Library/Fonts/SPIonic.ttf

stack traceback:
	[C]: in function '?'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:203: in  
function 'identify'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:250: in  
function 'method'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:225: in  
function 'traverse'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:240: in  
function 'identify'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:274: in  
function 'load'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:282: in  
function 'load'
	...mals/tex/texmf-context/tex/context/base/font-syn.lua:381: in  
function 'resolve'
	...mals/tex/texmf-context/tex/context/base/font-def.lua:222: in  
function 'resolve'
	...mals/tex/texmf-context/tex/context/base/font-def.lua:651: in  
function 'read'
	...mals/tex/texmf-context/tex/context/base/font-def.lua:767: in  
function 'command_2'
	<main ctx instance>:1: in main chunk.
\lowleveldefinefont ...s ", "\@@fontfallbacks " )}
                                                   \edef \somefontspec  
{at \s...
\xxdododefinefont ...efont {#4}\newfontidentifier
                                                   \let  
\localrelativefontsiz...
\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
                                                   \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                   \fi \iftryingfont  
\fontstr...
\synchronizefont ...strategy \the \fontstrategies
                                                   \relax \fi  
\ifskipfontchar...
<argument> \getvalue {\@style@ \fontstyle }
                                            \edef \fontstyle  
{\fontstyle }\if...
...
l.17 \localgreek{>'alfa ka`i b~hta}

?
Luatex (This is luaTeX, Version snapshot-0.31.3, ConTeXt  ver:  
2009.01.18 14:39 MKIV) does not seem to like SPIonic. In fact neither  
do I, but I need it on my box to deal with cross-platform  
collaborations.

Alan

My test file is
\enableregime[utf-8]
\mainlanguage[en]

\setupencoding[default=utf]

\setupbodyfontenvironment[default][em=italic]

\usetypescript[fiee][sil-gentium]
\setupbodyfont[sil-gentium,10.5pt]

\usemodule[ancientgreek] 
[font=GreekGentiumAlt,altfont=GreekDioxipe,altscale=1.03]

\starttext
\localgreek{>'alfa ka`i b~hta}
\stoptext


On Feb 23, 2009, at 12;14,21 , Alan Bowen wrote:

> Aditya—
>
> I have tried symlinks (as you indicate) and even just putting my  
> texmf folder into /Applications/ConTeXtMinimals/tex/texmf-project  
> and neither worked.
>
> BUT putting the contents of my personal texmf folder into / 
> Applications/ConTeXtMinimals/tex/texmf-project did make the Greek  
> module accessible. But now  I get a new error message:
>
> fontnames | identifying system font files with suffix ttf
> fontnames | globbing path /Users/alancbowen/Library/Fonts/**.ttf
> fontnames | globbing path /Library/Fonts/**.ttf
> ! LuaTeX error font loading failed for /Library/Fonts/SPIonic.ttf
>
> Alan
>
>
> On Feb 23, 2009, at 09;34,18 , Aditya Mahajan wrote:
>
>> On Mon, 23 Feb 2009, Alan Bowen wrote:
>>
>>> Thanks, Aditya,
>>>
>>>> You said that there was no problem in compiling your test file  
>>>> with MKII. So, MKII is finding t-ancientgreek. But kpsewhich does  
>>>> not find it.
>>>> When you compile the file in MKII, which t-ancientgreek is being  
>>>> used (the whole path should be in the log file.
>>>
>>> /Users/alancbowen/texmf/tex/context/third/greek/t-ancientgreek.tex
>>> (/Users/alancbowen/texmf/tex/context/third/greek/t-ancientgreek.mkii
>>
>> Notice that this is not the same as ~/Library/texmf. texexec is  
>> finding ~/texmf. Do you, by any chance, have another tex  
>> distribution, which is being used when you run texexec? From what I  
>> understand, \usemodule[...] cannnot find a file which cannot be  
>> found by kpsewhich, but in your case, it seems to do so.
>>
>>>> The easiest way to get everything working right now will be add  
>>>> you local texmf tree at /Applications/ConTeXtMinimals/tex/texmf- 
>>>> project.
>>>
>>> Is that all or are there some housekeeping commands that I should  
>>> run too?
>>
>> You need to run
>>
>> mktexlsr (or texhash) to regenerate the file name database for  
>> mkii, and run luatools --generate for mkiv.
>>
>>> So far, have included a sym link to my local texmf directory in / 
>>> Applications/ConTeXtMinimals/tex/texmf-project. But I still get
>>> system         : module ancientgreek not found
>>
>> Just to be sure, /Applications/ConteXtMinimals/tex/texmf-project  
>> should be a symlink to ~/Library/texmf (rather than a sym link to ~/ 
>> Library/texmf *in* /Applications/ConTeXtMinimals/tex/texmf-project).
>>
>> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 16797 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-02-25 14:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 22:30 Alan Bowen
2009-02-20 22:55 ` Aditya Mahajan
2009-02-20 23:07   ` Alan Bowen
2009-02-20 23:43     ` Aditya Mahajan
2009-02-21  1:29       ` Alan Bowen
2009-02-23  5:36         ` Aditya Mahajan
2009-02-23 12:44           ` Alan Bowen
2009-02-23 14:34             ` Aditya Mahajan
2009-02-23 17:14               ` Alan Bowen
2009-02-25 14:19                 ` Alan Bowen [this message]
2009-02-25 14:31                   ` Taco Hoekwater
2009-02-25 14:39                     ` Mojca Miklavec
2009-02-25 16:00                       ` Alan Bowen
2009-02-25 15:19                     ` Alan Bowen
2009-02-25 14:57                   ` Thomas A. Schmitz
2009-02-25 16:28                     ` Alan Bowen
2009-03-02 15:40                     ` Alan BRASLAU
2009-02-21  2:06       ` Alan Bowen
2009-02-21 18:56     ` Thomas A. Schmitz
2009-02-22 21:00       ` Alan Bowen
2009-02-23 16:15         ` Mojca Miklavec
2009-02-23 23:49       ` Hans Hagen

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=90903B7C-2F00-4754-B0F7-7BA4E9B31C04@princeton.edu \
    --to=acbowen@princeton.edu \
    --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).