ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hongwen Qiu <qiuhongwen@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: \setupbodyfont[dejavu]
Date: Wed, 10 Aug 2011 16:49:51 +0800	[thread overview]
Message-ID: <4E42462F.3020801@gmail.com> (raw)
In-Reply-To: <4E42399A.3000306@gmail.com>

On 08/10/2011 03:56 PM, Hongwen Qiu wrote:
> On 08/09/2011 07:34 PM, Daniel Schopper wrote:
>> \starttext
>> \placefigure[middle]{none}{\externalfigure[hacker]}
>> \stoptext
>>
>> in a file called "test.Fig.tex" leads to the luatex error mentioned 
>> before. The same file without a dot in its name (testFig.tex) 
>> compiles like expected. 
> The following patch fix this one.
> --- a/tex/texmf-context/scripts/context/lua/mtx-context.lua    
> 2011-08-10 15:52:03.896095268 +0800
> +++ b/tex/texmf-context/scripts/context/lua/mtx-context.lua    
> 2011-08-10 15:52:58.487970450 +0800
> @@ -476,7 +476,7 @@
>
>  function 
> scripts.context.multipass.makeoptionfile(jobname,ctxdata,kindofrun,currentrun,finalrun)
>      -- take jobname from ctx
> -    jobname = file.removesuffix(jobname)
> +    --jobname = file.removesuffix(jobname)
>      local f = io.open(jobname..".top","w")
>      if f then
>          local function someflag(flag)
>
But if we call the file "test+Fig.tex" instead of "test.Fig.tex" or 
"testFig.tex", then it still can't compile.
The top file is created as the name "test+Fig.top" correctly, but at the 
beginning, it still output the line:
system > no test+Fig.top
Since I don't know which script dealt with loading the .top file, I 
can't fix this one.

___________________________________________________________________________________
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:[~2011-08-10  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-26  9:29 \setupbodyfont[dejavu] Andreas Harder
2011-06-26  9:34 ` \setupbodyfont[dejavu] Hans Hagen
2011-08-09 11:34   ` \setupbodyfont[dejavu] Daniel Schopper
2011-08-10  7:56     ` \setupbodyfont[dejavu] Hongwen Qiu
2011-08-10  8:49       ` Hongwen Qiu [this message]

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=4E42462F.3020801@gmail.com \
    --to=qiuhongwen@gmail.com \
    --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).