Bob Tennent | 1 Feb 21:06
Picon
Picon

on-the-fly installation

There's been a report at

http://www.mail-archive.com/tex-music <at> tug.org/

that MikTeX invokes on-the-fly installation for a font-mapping file
(musix.map) that has already been installed in a personal texmf tree.

The installation scripting that involves musix.map is as follows:

  xcopy %MIKTEXDIR%\dvips\config\config.ps "%ROOT%"\dvips\config\
  echo copy config.ps to ROOT >> %LOG%
  xcopy %MUSIXTEXDIR%\dvips\musix.map "%ROOT%"\dvips\config\
  echo copy musix.map to ROOT (dvips) >> %LOG%
  echo p +musix.map >> "%ROOT%"\dvips\config\config.ps
  echo add line "f +musix.map" to config.ps file >> %LOG%

The user is supposed to have added %ROOT% to the MikTeX-managed
set of texmf trees and updated the FNDB.

Is this caused by an installation-script bug or a MiKTeX bug?

Bob T.

P.S. I'm well aware that by a simple click in the package manager a user
can have MiKTeX install a complete and up-to-date musixtex package; but
the user involved is not me.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
(Continue reading)

Oliver | 2 Feb 10:49

lualatex packages: requirements on dofile

Hi,

I installed the package "luabibentry". During use, I get following output:

--cut--
(C:/MiKTeX29/tex/lualatex/luabibentry/luabibentry.sty
! LuaTeX error cannot open luabibentry.lua: No such file or directory
stack traceback:
        [C]: in function 'dofile'
        <\directlua >:1: in main chunk.
l.51 \directlua{dofile("luabibentry.lua")}
--end--

luabibentery.lua exists in C:\MiKTeX29\tex\lualatex\luabibentry

Does "luabibentry.sty" needs to get updated to work at MiKTeX or is
there a problem with the packaging in MiKTeX?

Cheers,

Oliver

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Ulrike Fischer | 2 Feb 11:25
Picon

Re: on-the-fly installation

Am Wed, 01 Feb 2012 15:06:26 -0500 schrieb Bob Tennent:

> There's been a report at
> 
> http://www.mail-archive.com/tex-music <at> tug.org/
> 
> that MikTeX invokes on-the-fly installation for a font-mapping file
> (musix.map) that has already been installed in a personal texmf tree.
> 
> The installation scripting that involves musix.map is as follows:
> 
>   xcopy %MIKTEXDIR%\dvips\config\config.ps "%ROOT%"\dvips\config\
>   echo copy config.ps to ROOT >> %LOG%
>   xcopy %MUSIXTEXDIR%\dvips\musix.map "%ROOT%"\dvips\config\
>   echo copy musix.map to ROOT (dvips) >> %LOG%
>   echo p +musix.map >> "%ROOT%"\dvips\config\config.ps
>   echo add line "f +musix.map" to config.ps file >> %LOG%
> 
> The user is supposed to have added %ROOT% to the MikTeX-managed
> set of texmf trees and updated the FNDB.
> 
> Is this caused by an installation-script bug or a MiKTeX bug?

1. Normally missing map-files doesn't trigger the on-the-fly
installation, but you added a reference to musix.map to a local
config.ps and this probably forces miktex/dvips to find the map.

2. It sometimes happens that miktex wants to install a file that
already exists in the system. Reasons can  be:

(Continue reading)

Ulrike Fischer | 2 Feb 11:52
Picon

Re: lualatex packages: requirements on dofile

Am Thu, 2 Feb 2012 10:49:33 +0100 schrieb Oliver:

> Hi,
> 
> I installed the package "luabibentry". During use, I get following output:
> 
> --cut--
> (C:/MiKTeX29/tex/lualatex/luabibentry/luabibentry.sty
> ! LuaTeX error cannot open luabibentry.lua: No such file or directory
> stack traceback:
>         [C]: in function 'dofile'
>         <\directlua >:1: in main chunk.
> l.51 \directlua{dofile("luabibentry.lua")}
> --end--
> 
> luabibentery.lua exists in C:\MiKTeX29\tex\lualatex\luabibentry
> 
> Does "luabibentry.sty" needs to get updated to work at MiKTeX or is
> there a problem with the packaging in MiKTeX?

I think luabibentry should use "require" instead of "dofile", then 
the normal search path will work (or set up its search pathes 
correctly).

--

-- 
Ulrike Fischer 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
(Continue reading)

Leo Liu | 4 Feb 09:48
Picon

Does MikTeX support texfonts.map for .tfm mapping?

Hello,

I am writing a LaTeX package to setup fonts on the fly. It uses
texfonts.map to let different fonts share the same metric file. Then
\pdfmapline makes the font works.

This faculty works well on TeX Live, but on MiKTeX it fails. PDFTeX or
maketfm does not read the mapping at all.

What should I do? Is it impossible to use it on miktex then? Or there may
be an alternative method?

Many thanks.

Leo
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Carlos Mallen | 7 Feb 23:16
Picon
Favicon

Problem using LaTeX in MetaPost

Hi,

I'm using MiKTeX version 2.9 and MetaPost version 1.504. I'm no longer able to use LaTeX in MetaPost. The file

verbatimtex
%&latex
\documentclass{article}
\begin{document}
etex

input latexMP;

filenametemplate "%j-%3c.mps";

beginfig(1);

  draw (0, 0)--(150, 150);
  label(btex $A$ etex, (0, 0));
  show mpversion;

endfig;

verbatimtex
\end{document}
etex

end
fails because LaTeX commands aren't recognized. The error file is

This is TeX, Version 3.1415926 (MiKTeX 2.9) (preloaded format=tex 2012.2.7)  7 FEB 2012 10:28
(Continue reading)

Picon

Re: Problem using LaTeX in MetaPost

On Tue, Feb 7, 2012 at 6:16 PM, Carlos Mallen <varphi625-x <at> yahoo.com.mx> wrote:
> Hi,
>
> I'm using MiKTeX version 2.9 and MetaPost version 1.504. I'm no longer able to use LaTeX in MetaPost. The file
>
> verbatimtex
> %&latex
> \documentclass{article}
> \begin{document}
> etex
>
> input latexMP;
>
> filenametemplate "%j-%3c.mps";
>
> beginfig(1);
>
>   draw (0, 0)--(150, 150);
>   label(btex $A$ etex, (0, 0));
>   show mpversion;
>
> endfig;
>
> verbatimtex
> \end{document}
> etex
>
> end
> fails because LaTeX commands aren't recognized. The error file is

(Continue reading)

Carlos Mallen | 8 Feb 00:13
Picon
Favicon

Re: Problem using LaTeX in MetaPost

I don't have that version of the manual. In my MiKTeX distribution the manual is version 1.005 and at
http://www.tug.org/metapost.html the version is 1.212. Could you send me the manual?

The content of the MetaPost file is:

input TEX;
TEXPRE("%&latex" & char(10) & "\documentclass{article}\begin{document}"); TEXPOST("\end{document}");

filenametemplate "%j-%3c.mps";

beginfig(1);

  draw (0, 0)--(150, 150);
  label(TEX($A$), (0, 0));
  show mpversion;

endfig;

end

Is this OK?

 
Carlos Mallén

________________________________
 From: George N. White III <gnwiii <at> gmail.com>
To: Carlos Mallen <varphi625-x <at> yahoo.com.mx>; A place for MiKTeX users to discuss MiKTeX related
questions. <miktex-users <at> lists.sourceforge.net> 
Sent: Tuesday, February 7, 2012 4:54 PM
(Continue reading)

Pétiard François | 8 Feb 00:29
Picon
Favicon

Re: Problem using LaTeX in MetaPost

Le 07/02/2012 23:16, Carlos Mallen a écrit :
> Hi,
>
> I'm using MiKTeX version 2.9 and MetaPost version 1.504. I'm no longer able to use LaTeX in MetaPost. The file
>
> verbatimtex
> %&latex
> \documentclass{article}
> \begin{document}
> etex
>
> input latexMP;
>
> filenametemplate "%j-%3c.mps";
>
> beginfig(1);
>
>    draw (0, 0)--(150, 150);
>    label(btex $A$ etex, (0, 0));
>    show mpversion;
>
> endfig;
>
> verbatimtex
> \end{document}
> etex
>
> end
> fails because LaTeX commands aren't recognized. The error file is

(Continue reading)

Picon
Favicon

Problem with xtemplate

Hi all,

Today, I updated MIKTeX and now I have a problem. If I compile a file 
whose contents are

\documentclass{article}
\usepackage{xfrac}
\begin{document}
$\sfrac{1}{2}$
\end{document}

then I get this error message:

! Missing number, treated as zero.
<to be read again>
                    \relax
l.4 $\sfrac{1}{2}
                  $
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

What is happening here? I am going to add the full log file after the 
end of this message.

Best regards,

Jose Carlos Santos

------------------------------ log file ------------------------------
(Continue reading)


Gmane