ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems using new beta
@ 2010-06-07  8:37 Ivo Solnický
  2010-06-07  8:57 ` Hongwen Qiu
  2010-06-07 13:19 ` Ivo Solnický
  0 siblings, 2 replies; 6+ messages in thread
From: Ivo Solnický @ 2010-06-07  8:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi all!

I am just new to ConTeXt, I have played with it for one week. I have
installed standard ConTeXt minimals installation and no other TeX distro is
installed on my MS Vista computer. I use also TeXworks editor.
On Sunday, after I installed new package, I realized, that my workflow is
broken.
I received next message in my TeXworks editor, the same for command line:

MTXrun | run 1: luatex
--fmt="C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en"
--lua="C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.lui"
--backend=pdf "./dopis.tex"

This is LuaTeX, Version beta-0.60.1-2010060523 (Web2C 2010) (rev 3685)

\write18 enabled.

! I can't find file `./dopis.tex'.

<*> ./dopis.tex

 Please type another input file name:


I have my documents in "C:\Users\Ivo\TeX" directory and ConTeXt worked fine
until the new sync.


When I tried to find what is wrong, I realized strange thing. When I move my
document somewhere inside my TEXMF tree (C:\context\tex), it works.

For example I copied dopis.tex into c:\context\tex\texmf-project and
everything was ok.


Maybe it is my mistake, but I am not experienced enough to find it. But it
worked before.


Maybe this is related to another problem I have. When I compile ConTeXt
documents from my user directory, MTXrun said:


MTXrun | warning: source mismatch (luv: 768743af5acbbfb6f306763f3da964ca <>
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/53ad5f8b88994bdd02baa17501789699.lua'

MTXrun | fileio: 'configuration' compiled to
'C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53ad5f8b88994bdd02baa17501789699.luc'

MTXrun | fileio: locating list of '/texmf'

....


and recompiled format every time I run Context. This is very time consuming.

But this is not true when I compile documents inside my TEXMF tree, for
example in c:\context\tex\texmf-project directory.


Any help?


I still have some questions about the ConTeXt itself, but first I would like
to solve these problems. If you need any additional information I am ready
to send it.


Thanks.


Ivo Solnicky

[-- Attachment #1.2: Type: text/html, Size: 7125 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems using new beta
  2010-06-07  8:37 Problems using new beta Ivo Solnický
@ 2010-06-07  8:57 ` Hongwen Qiu
  2010-06-07 13:19 ` Ivo Solnický
  1 sibling, 0 replies; 6+ messages in thread
From: Hongwen Qiu @ 2010-06-07  8:57 UTC (permalink / raw)
  To: ntg-context

于 2010年06月07日 16:37, Ivo Solnický 写道:
> On Sunday, after I installed new package, I realized, that my workflow 
> is broken.
The ConTeXt beta was broken, and it should work now. So, you may need to 
upgrade the whole.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems using new beta
  2010-06-07  8:37 Problems using new beta Ivo Solnický
  2010-06-07  8:57 ` Hongwen Qiu
@ 2010-06-07 13:19 ` Ivo Solnický
  2010-06-07 13:29   ` Thomas A. Schmitz
  1 sibling, 1 reply; 6+ messages in thread
From: Ivo Solnický @ 2010-06-07 13:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

2010/6/7 Ivo Solnický <ivo.solnicky@gmail.com>

> Hi all!
>
> I am just new to ConTeXt, I have played with it for one week. I have
> installed standard ConTeXt minimals installation and no other TeX distro is
> installed on my MS Vista computer. I use also TeXworks editor.
> On Sunday, after I installed new package, I realized, that my workflow is
> broken.
> I received next message in my TeXworks editor, the same for command line:
>
> MTXrun | run 1: luatex
> --fmt="C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en"
> --lua="C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en.lui"
> --backend=pdf "./dopis.tex"
>
>  This is LuaTeX, Version beta-0.60.1-2010060523 (Web2C 2010) (rev 3685)
>
> \write18 enabled.
>
> ! I can't find file `./dopis.tex'.
>
> <*> ./dopis.tex
>
>  Please type another input file name:
>
>
> I have my documents in "C:\Users\Ivo\TeX" directory and ConTeXt worked fine
> until the new sync.
>
>
> When I tried to find what is wrong, I realized strange thing. When I move
> my document somewhere inside my TEXMF tree (C:\context\tex), it works.
>
> For example I copied dopis.tex into c:\context\tex\texmf-project and
> everything was ok.
>
>
> Maybe it is my mistake, but I am not experienced enough to find it. But it
> worked before.
>
>
> Maybe this is related to another problem I have. When I compile ConTeXt
> documents from my user directory, MTXrun said:
>
>
> MTXrun | warning: source mismatch (luv: 768743af5acbbfb6f306763f3da964ca <>
> 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/53ad5f8b88994bdd02baa17501789699.lua'
>
> MTXrun | fileio: 'configuration' compiled to
> 'C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e/trees/53ad5f8b88994bdd02baa17501789699.luc'
>
> MTXrun | fileio: locating list of '/texmf'
>
> ....
>
>
> and recompiled format every time I run Context. This is very time
> consuming.
>
> But this is not true when I compile documents inside my TEXMF tree, for
> example in c:\context\tex\texmf-project directory.
>
>
> Any help?
>
>
> I still have some questions about the ConTeXt itself, but first I would
> like to solve these problems. If you need any additional information I am
> ready to send it.
>
>
> Thanks.
>
>
> Ivo Solnicky
>
>

[-- Attachment #1.2: Type: text/html, Size: 6831 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems using new beta
  2010-06-07 13:19 ` Ivo Solnický
@ 2010-06-07 13:29   ` Thomas A. Schmitz
  2010-06-08 10:46     ` Ivo Solnický
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas A. Schmitz @ 2010-06-07 13:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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.

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).

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems using new beta
  2010-06-07 13:29   ` Thomas A. Schmitz
@ 2010-06-08 10:46     ` Ivo Solnický
  2010-06-08 11:35       ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Ivo Solnický @ 2010-06-08 10:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems using new beta
  2010-06-08 10:46     ` Ivo Solnický
@ 2010-06-08 11:35       ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2010-06-08 11:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ivo Solnický wrote:
> 
> This behavior surprised me and I don't understend it. :(

Wild guess: this is one of the betas where the format and/or cache
generators switched to a working directory but forgot to switch
back to the user input directory.

   $ luatools --generate
   $ context --make en
   $ context dopis

should fix the issue for now (and final resolution with a future
beta).

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-08 11:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-07  8:37 Problems using new beta 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ý
2010-06-08 11:35       ` Taco Hoekwater

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).