ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Ivo Solnický" <ivo.solnicky@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems using new beta
Date: Tue, 8 Jun 2010 12:46:10 +0200	[thread overview]
Message-ID: <AANLkTimwuI9wlUB_CTpwjnNiU8VaB_xsb6PZmcTzR928@mail.gmail.com> (raw)
In-Reply-To: <6A4851A2-08F2-4501-9677-E35DE2BB9813@uni-bonn.de>


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

On Mon, Jun 7, 2010 at 3:29 PM, Thomas A. Schmitz <
thomas.schmitz@uni-bonn.de> wrote:

>
> On Jun 7, 2010, at 3:19 PM, Ivo Solnický wrote:
>
> > Hi,
> >
> > I didn't received answer by mail, so I have to answer this way.
> >
> > Thanks for the help, I updated context and now it works OK.
> >
> > But the problem with recompilation of format file remains. Any idea?
> >
> > Ivo
>
> If I understood your first message correctly, you are storing your tex
> documents within your context directory. This is a VERY bad idea because
>
> 1. mkiv checks the checksum of your context tree. When it changes, it will
> regenerate the format, that's what you see happening
>
> 2. in case of an update, your files could get deleted or overwritten.
>
>
I'm sorry but  my English is not very good and I am not likely be able to
explain things clearly.
I have my files stored separately in directory C:\Users\Ivo\TeX and ConTeXt
files are in directory C:\context\tex.
Here is a list of environment variables related to context after running
setuptex C:\context\tex.

CTXMINIMAL=yes
CYGWIN=nontsec
MPMEMS=c:\context\tex\texmf-mswin/web2c{/$engine,}
OSFONTDIR=C:\Windows/fonts
Path=c:\context\tex\texmf-mswin\bin;C:\Windows\system32;C:\Windows; ...
RUBYLIB=c:\context\tex\texmf-context\SCRIPTS\CONTEXT\RUBY;
SESSIONNAME=Console
SETUPTEX=done
TEMP=C:\Users\Ivo\AppData\Local\Temp
TEXFORMATS=c:\context\tex\texmf-mswin/web2c{/$engine,}
TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS,$TEXMFCONTEXT,$TEXMFEXTRA,!!$TEXMFMAIN}
TEXMFCACHE=c:\context\tex\texmf-cache
TEXMFCNF=c:\context\tex\texmf{-local,-context,}/web2c
TEXMFCONTEXT=c:\context\tex\texmf-context
TEXMFDBS=$TEXMF
TEXMFEXTRA=c:\context\tex\texmf-extra
TEXMFFONTS=c:\context\tex\texmf-fonts
TEXMFLOCAL=c:\context\tex\texmf-local
TEXMFMAIN=c:\context\tex\texmf
TEXMFOS=c:\context\tex\texmf-mswin
TEXMFPROJECT=c:\context\tex\texmf-project
TEXPATH=c:\context\tex\
TMP=C:\Users\Ivo\AppData\Local\Temp
VARTEXMF=C:\Users\Ivo\AppData\Local\Temp\texmf-var

I get this after running command:

C:\Users\Ivo\TeX>context dopis
MTXrun | warning: source mismatch (luv: c35d99a34eb6a903c197a4666fe46fe0 <>
bin: a6c26bf5f4881a58ccc3eed80ae65790), forcing remake
MTXrun | fileio: loading configuration file
'c:/context/tex/texmf/web2c/texmfcnf.lua'
MTXrun | fileio: loading configuration file
c:/context/tex/texmf/web2c/texmf.cnf
MTXrun | fileio: preparing 'configuration' for 'c:/context/tex/texmf/web2c'
MTXrun | fileio: 'configuration' saved in
'c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53
ad5f8b88994bdd02baa17501789699.lua'
MTXrun | fileio: 'configuration' compiled to
'c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees
/53ad5f8b88994bdd02baa17501789699.luc'
MTXrun | fileio: locating list of 'c:/context/tex/texmf-project'
MTXrun | fileio: tex locator 'c:/context/tex/texmf-project' found
MTXrun | fileio: hash 'c:/context/tex/texmf-project' appended
etc.

Finally, the file dopis.tex is compiled well, but it takes a long time.

Surprisingly, when I copy the file dopis.tex for example to the directory
C:\context\tex\texmf-project, I get this (format is not recompiled):

C:\context\tex\texmf-project>context dopis
MTXrun | run 1: luatex
--fmt="c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en"
--lu
a="c:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.lui"
--backend=pdf "./dopis"
This is LuaTeX, Version beta-0.60.1-2010060523 (Web2C 2010) (rev 3685)
 \write18 enabled.
(C:/context/tex/texmf-project/dopis.tex
publications    : loading formatting style from bxml-apa
(c:/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv)

ConTeXt  ver: 2010.06.06 23:52 MKIV  fmt: 2010.6.8  int: english/english

system          : cont-new loaded
(c:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(c:/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system          : cont-fil loaded
(c:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(c:/context/tex/texmf-context/tex/context/user/cont-sys.rme
(c:/context/tex/texmf-context/tex/context/base/type-def.mkiv) (c:/contex
t/tex/texmf-context/tex/context/base/type-lua.mkiv)
(c:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)
(c:/context/tex/te
xmf-context/tex/context/base/type-otf.mkiv))
system          : dopis.top loaded
(dopis.top)
etc....

This behavior surprised me and I don't understend it. :(

ConTeXt has been installed by running first-setup.bat in C:\context
directory.

Thanks for any ideas.



> ConTeXt (and TeX in general) can be a bit overwhelming at first if you have
> never used such a system. I don't know how experienced you are with
> computers in general, but I would suggest you read some introductory
> material on TeX (though I admit that I just looked around a bit, and
> couldn't find any simple document which explains the TeX directory structure
> and how to use it).
>
> I'm in IT business more then 20 years and I started with TeX in 1992. I use
TeX occasionally for various special purposes. The last time I used it 8
years ago for typesetting music. Since then much has changed. I am only
starting with ConTeXt but I like its structure and capabilities. I would use
it to print Go (WeiChi) diagrams.
There are not a lot of manuals about TeX (LuaTeX, ConTeXt) insides, so
anything that will help better understand them will please me.

Thank you for your willingness.

Ivo


> Thomas
>
> ___________________________________________________________________________________
> 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 #1.2: Type: text/html, Size: 8344 bytes --]

[-- Attachment #2: 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:[~2010-06-08 10:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-07  8:37 Ivo Solnický
2010-06-07  8:57 ` Hongwen Qiu
2010-06-07 13:19 ` Ivo Solnický
2010-06-07 13:29   ` Thomas A. Schmitz
2010-06-08 10:46     ` Ivo Solnický [this message]
2010-06-08 11:35       ` Taco Hoekwater

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=AANLkTimwuI9wlUB_CTpwjnNiU8VaB_xsb6PZmcTzR928@mail.gmail.com \
    --to=ivo.solnicky@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).