MiKTeX and proTeXtmbboard not working under MikTeX

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Yersinia Pestis
Posts: 5
Joined: Thu Dec 20, 2007 1:07 am

mbboard not working under MikTeX

Post by Yersinia Pestis »

I have downloaded the mbboard package, and installed it manually. I have copied all files from the archive, tried both in and out of directory structure. I have rebuilt the FNDB, and format files. I have applied the 'cab patch'. But still MikTeX gives me errors about the fonts. Please, anyone, is there any way to fix this?

Log file:

Code: Select all

This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2007.12.19) 19 DEC 2007 20:01
entering extended mode
**C:/Documents*and*Settings/Administrator/My*Documents/maths.tex
("C:/Documents and Settings/Administrator/My Documents/maths.tex"
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Local TeX Files\tex\latex\misc\texinputs\mbboard.sty"
\symmbb=\mathgroup4
LaTeX Font Info: Redeclaring symbol font `mbb' on input line 21.
LaTeX Font Info: Overwriting symbol font `mbb' in version `normal'
(Font) OT1/mbb/m/n --> OT1/mbb/bx/n on input line 21.
LaTeX Font Info: Overwriting symbol font `mbb' in version `bold'
(Font) OT1/mbb/m/n --> OT1/mbb/bx/n on input line 21.
("C:\Local TeX Files\tex\latex\misc\texinputs\mbboard.dcl"))
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: mbboard not working under MikTeX

Post by balfonsi »

It can't work because the tfm's are not there. You have to compile all the source files (***.mf) with metafont. The instruction is (check the details in MiKTeX's documentation), supposing your printer is HP laserjet 4 and your font is mbb10.mf:

mf \mode=ljfour ; input mbb10.mf

You can find a list of metafont modes for many printers on CTAN; maybe also in MiKTeX's distribution.

Regards,
B.A.
Yersinia Pestis
Posts: 5
Joined: Thu Dec 20, 2007 1:07 am

Re: mbboard not working under MikTeX

Post by Yersinia Pestis »

Much thanks, balfonsi. However, i cannot find the metafont printer codes on CTAN. Do you have a list you could cut-and-paste here?

Also, does this mean that my PDFs will only work when printing for people with my printer? And is there a way to automatically compile all files beginning with mbb? Because there's about fifty of them.
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: mbboard not working under MikTeX

Post by balfonsi »

Here's a link:
http://www.dante.de/CTAN/fonts/modes/modes.mf
(modes.mf isn't a font source file, but a simple text file). It's rather long and technical. The simplest is to launch yap, go to menu View -> Options...-> Display tab. In the pop up you have a list of different mfmodes; by default the mode is ljfour.

No, it won't prevent to print your PDF's with a different printer: it is used to optimize the rendering of the bitmaps (mbb10.pk and so on) for your printer.

B.A.
Yersinia Pestis
Posts: 5
Joined: Thu Dec 20, 2007 1:07 am

Re: mbboard not working under MikTeX

Post by Yersinia Pestis »

Okay, thanks. But of course, things have gone wrong again. So, two things: where does metafont put its logfile when it barfs, and what is yap? Thanks again, balfonsi.
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: mbboard not working under MikTeX

Post by balfonsi »

A priori (I've just tested that) metafont puts all files in the same directory as the source file. I've obtained (with mbb10.mf): 1) mbb10.tfm; 2) mbb10.600gf (the noncompacted version of mmb10.pk; 3)mbb10.log. I think the last two can be deleted, as the pk's will be obtained through makepk on compiling your document. All this process can be automated: see the bash scripts for linux called comp and compile that come with the package. I think it can be adapted to windows via a batch file.

As to yap, it is simply MiKTeX's previewer for dvi files.

Regards,
B.A.
Yersinia Pestis
Posts: 5
Joined: Thu Dec 20, 2007 1:07 am

Re: mbboard not working under MikTeX

Post by Yersinia Pestis »

Any file other than mbbbase.mf emergency stops, because it needs mbbbase, but mbbbase emergency stops for no reason! And the log file is not in the directory mbbbase is in. Any Ideas?

Thanks again.
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: mbboard not working under MikTeX

Post by balfonsi »

You don't have to compile mbbbase.mf: this one (and a few others) is used at compilation time, but you don't have to call it yourself. The only file you have to compile are:
mbb5 to mbb10, mbb12, mbb17, mbbheb10 mbbgr10 mbbi10 mbbsl10 mbbsc10 mbbr10 mbbcr10 (they all end by a number). Take a look at COMPILE.

As fot the location of the log files, maybe it results from the configuration of your MiKTeX system. Try to find where your system puts them, with your file manager.

B.A.
Yersinia Pestis
Posts: 5
Joined: Thu Dec 20, 2007 1:07 am

mbboard not working under MikTeX

Post by Yersinia Pestis »

OMG! Thankyou! I'm actually getting somewhere! Now I have a bunch of .2602gf files, what do I do to get metric files?

EDIT: Okay, I've got TFM files, I put them in the right place, I refreshed the FNDB and the formats, and I still doesn't work. Any ideas?

Code: Select all

This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2007.12.21) 21 DEC 2007 19:56
entering extended mode
**C:/Documents*and*Settings/Administrator/My*Documents/surreal.tex
("C:/Documents and Settings/Administrator/My Documents/surreal.tex"
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Local TeX Files\tex\latex\misc\mbboard.sty"
\symmbb=\mathgroup4
LaTeX Font Info: Redeclaring symbol font `mbb' on input line 21.
LaTeX Font Info: Overwriting symbol font `mbb' in version `normal'
(Font) OT1/mbb/m/n --> OT1/mbb/bx/n on input line 21.
LaTeX Font Info: Overwriting symbol font `mbb' in version `bold'
(Font) OT1/mbb/m/n --> OT1/mbb/bx/n on input line 21.
("C:\Local TeX Files\tex\latex\misc\mbboard.dcl"))
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: mbboard not working under MikTeX

Post by balfonsi »

Two questions: 1) what is your preamble? 2) where exactly did you put the tfm's?

I tried to compile mbbtest.tex (with plain TeX) in the distribution, and it worked perfectly. You should give it a try and look at the log.

B.A.
Post Reply