f



"Metric (TFM) file not found" error

Hi,

I have MikTeX (v 2.5) and I get the following error when I compile in
WinEdt.

I shall mention that, in WinEdt, I compile with:

MiKTeX-pdfetex 2.5.2365 (1.30.6) (MiKTeX 2.5)

Could someone *please* help me?

Many thanks in advance!


***************************************************************************

[1] ("C:\Program Files\MiKTeX 2.5\tex\latex\psnfss\omsptm.fd") [2] [1]
[2]
[3] [4] ("C:\Program Files\MiKTeX 2.5\tex\latex\psnfss\ot1phv.fd") [5]
[6]
[7] [8] [9] [10] (thesis.toc) (01-background\chapter.tex [1] [2]
Chapter 1.
Running makemf...
makemf: The phvb source file could not be found.
Running hbf2gf...

hbf2gf (CJK ver. 4.6.0)

Couldn't find `ph.cfg'
maketfm: No creation rule for font phvb.
! Font \nrfont=phvb at 85.0pt not loadable: Metric (TFM) file not
found.
\@makechapterhead ... \font \nrfont =phvb at 85pt
                                                  \else \font \nrfont
=cmbx1...
l.1 \chapter{Introduction}

?

***************************************************************************

0
8/17/2006 8:31:31 PM
comp.text.tex 39029 articles. 3 followers. Post Follow

11 Replies
1337 Views

Similar Articles

[PageSpeed] 34

nicugeorgian <nicugeorgian@yahoo.com> wrote:
: [2]
: [3] [4] ("C:\Program Files\MiKTeX 2.5\tex\latex\psnfss\ot1phv.fd") [5]
: [6]
: [7] [8] [9] [10] (thesis.toc) (01-background\chapter.tex [1] [2]
: Chapter 1.
: Running makemf...
: makemf: The phvb source file could not be found.
: Running hbf2gf...

: hbf2gf (CJK ver. 4.6.0)

: Couldn't find `ph.cfg'
: maketfm: No creation rule for font phvb.

This looks as if the font is not properly installed. Are you compiling
somebody else's document, or did you try a new font combination? Or did
you install a PostScript font, but did not yet convert its font metrics
to the required tfm format? Hint: TeX/LaTeX _only_ reads the tfm file
when building a document because the metrics are contained therein. If
the tfm file for a requested font is missing then attempts are made to
build it on the fly, trying several methods until success of failure is
reached: 1. Build tfm from Metafont sources; 2. build from CJK font sources.
The system, if I am not mistaken, cannot automatically convert from afm
(Adobe Font Metrics) , this process must be initiated manually.

In your case, either the tfm file is not there (then the installation
process was incomplete) or you installed it but forgot to update the
file database (please search the MikTeX entry in your "Start" -> "All
Programs" menu; iirc there should be a maintenance option which includes
the option to refresh the database). I am not particularly familiar with
MikTeX so that's all I can say.

Hth,

Oliver.

-- 
Dr. Oliver Corff              e-mail:    corff@zedat.fu-berlin.de
0
corff3 (423)
8/18/2006 4:34:11 AM
Many thanks for the answer.

> This looks as if the font is not properly installed. Are you compiling
> somebody else's document

yes, it's a template used and created by a friend.

> or did you try a new font combination?

yes, I think he tried that.

> The system, if I am not mistaken, cannot automatically convert from afm
> (Adobe Font Metrics) , this process must be initiated manually.

does anyone know how to do it manually?

> In your case, either the tfm file is not there (then the installation
> process was incomplete) or you installed it but forgot to update the
> file database

After I installed WinEdt, I ran the installation of MikTeX 2.5. After
that, I refreshed the file name database (FNDB), and then I updated the
format files. And it still doesn't work ;((

Thanks in advance for any suggestion!

0
8/18/2006 8:48:36 AM
 <corff@zedat.fu-berlin.de> writes:
>nicugeorgian <nicugeorgian@yahoo.com> wrote:
>: [2]
>: [3] [4] ("C:\Program Files\MiKTeX 2.5\tex\latex\psnfss\ot1phv.fd") [5]
>: [6]
>: [7] [8] [9] [10] (thesis.toc) (01-background\chapter.tex [1] [2]
>: Chapter 1.
>: Running makemf...
>: makemf: The phvb source file could not be found.
>: Running hbf2gf...
>
>: hbf2gf (CJK ver. 4.6.0)
>
>: Couldn't find `ph.cfg'
>: maketfm: No creation rule for font phvb.
>
>This looks as if the font is not properly installed. [...]

not necessarily: the font itself may be correctly installed, but the
ot1phv.fd file wrong.

if the .fd is right, i would guess a problem with the .vf files.

neither of these has been reported here, of a miktex 2.5 install -- i
suggest you repost your question on the miktex support list.
-- 
Robin Fairbairns, Cambridge
0
rf10 (3613)
8/18/2006 9:02:39 AM
rf10@cl.cam.ac.uk (Robin Fairbairns)  schrieb:


>>: Couldn't find `ph.cfg'
>>: maketfm: No creation rule for font phvb.
>>
>>This looks as if the font is not properly installed. [...]
> 
> not necessarily: the font itself may be correctly installed, but the
> ot1phv.fd file wrong.

I don't think so, the original message shows that the font is called 
directly:

\@makechapterhead ... \font \nrfont =phvb at 85pt
                                                  \else \font \nrfont


> 
> if the .fd is right, i would guess a problem with the .vf files.
> 
> neither of these has been reported here, of a miktex 2.5 install -- i
> suggest you repost your question on the miktex support list.

I looked it up: in 2.4. I have a phvb.tfm but it is quite old, in 2.5 
it isn't no longer there. But this isn't a miktex problem. changes.txt 
of psnfss says:

2000-01-12 PSNFSS-v8.1
...
* lw35nfss.zip:  
        removed tfm's and vf's for `raw' fonts ....


So I think the best would be to correct the macros so that they no 
longer try to call phvb directly. 

-- 
Ulrike Fischer
e-mail: zus�tzlich meinen Vornamen vor dem @ einf�gen.
e-mail: add my first name between the news and the @.
0
news9686 (1969)
8/18/2006 9:17:21 AM
> I looked it up: in 2.4. I have a phvb.tfm but it is quite old, in 2.5
> it isn't no longer there.

you're right.

> So I think the best would be to correct the macros so that they no
> longer try to call phvb directly.

Sorry I'm not an expert. I would be very grateful to you if you could
suggest me a way to correct the macro.

here is the macro where phvb is called directly (it's about a chapter
title)

\font\nrfont=phvb at 60pt  

Thank you very much!

0
8/18/2006 10:49:09 AM
"nicugeorgian" <nicugeorgian@yahoo.com>  schrieb:

>> I looked it up: in 2.4. I have a phvb.tfm but it is quite old, in 2.5
>> it isn't no longer there.
> 
> you're right.
> 
>> So I think the best would be to correct the macros so that they no
>> longer try to call phvb directly.
> 
> Sorry I'm not an expert. I would be very grateful to you if you could
> suggest me a way to correct the macro.
> 
> here is the macro where phvb is called directly (it's about a chapter
> title)
> 
> \font\nrfont=phvb at 60pt  
> 

You should give a bit more context for a real good solution, but I 
think something like

\newcommand\nrfont{%
 \fontfamily{phv}\fontseries{b}\fontsize{60pt}{65pt}\selectfont} 

should work for a start. 

-- 
Ulrike Fischer
e-mail: zus�tzlich meinen Vornamen vor dem @ einf�gen.
e-mail: add my first name between the news and the @.
0
news9686 (1969)
8/18/2006 11:35:09 AM
Thanks Ulrike for your solution!

I just noticed that in the MikTeX distribution (C:\Program Files\MiKTeX
2=2E5\fonts\tfm\adobe\helvetic), there are many "tfm" files with a
slightly different name than the missing "phvb.tfm".

I change "phvb" in the macro to one of these names, and it works with
*almost* the same output result.



Ulrike Fischer schrieb:

> "nicugeorgian" <nicugeorgian@yahoo.com>  schrieb:
>
> >> I looked it up: in 2.4. I have a phvb.tfm but it is quite old, in 2.5
> >> it isn't no longer there.
> >
> > you're right.
> >
> >> So I think the best would be to correct the macros so that they no
> >> longer try to call phvb directly.
> >
> > Sorry I'm not an expert. I would be very grateful to you if you could
> > suggest me a way to correct the macro.
> >
> > here is the macro where phvb is called directly (it's about a chapter
> > title)
> >
> > \font\nrfont=3Dphvb at 60pt
> >
>
> You should give a bit more context for a real good solution, but I
> think something like
>
> \newcommand\nrfont{%
>  \fontfamily{phv}\fontseries{b}\fontsize{60pt}{65pt}\selectfont}
>
> should work for a start.
>
> --
> Ulrike Fischer
> e-mail: zus=E4tzlich meinen Vornamen vor dem @ einf=FCgen.
> e-mail: add my first name between the news and the @.

0
8/18/2006 12:22:22 PM
"nicugeorgian" <nicugeorgian@yahoo.com>  schrieb:

> Thanks Ulrike for your solution!
> 
> I just noticed that in the MikTeX distribution (C:\Program Files\MiKTeX
> 2.5\fonts\tfm\adobe\helvetic), there are many "tfm" files with a
> slightly different name than the missing "phvb.tfm".
> 
> I change "phvb" in the macro to one of these names, and it works with
> *almost* the same output result.
> 

Hm. The "slightly" different names indicates in most cases slightly 
different encodings and other difference that can give surprising 
results. If you really don't want to use the normal commands, I suggest 
that you use either phvb7t or phvb8t depending on if you are using OT1 
or T1 encoding in the rest of your document.  

-- 
Ulrike Fischer
e-mail: zus�tzlich meinen Vornamen vor dem @ einf�gen.
e-mail: add my first name between the news and the @.
0
news9686 (1969)
8/18/2006 12:33:28 PM
Ulrike Fischer a �crit :
> "nicugeorgian" <nicugeorgian@yahoo.com>  schrieb:
> 
> 
>>Thanks Ulrike for your solution!
>>
>>I just noticed that in the MikTeX distribution (C:\Program Files\MiKTeX
>>2.5\fonts\tfm\adobe\helvetic), there are many "tfm" files with a
>>slightly different name than the missing "phvb.tfm".
>>
>>I change "phvb" in the macro to one of these names, and it works with
>>*almost* the same output result.
> 
> Hm. The "slightly" different names indicates in most cases slightly 
> different encodings and other difference that can give surprising 
> results. If you really don't want to use the normal commands, I suggest 
> that you use either phvb7t or phvb8t depending on if you are using OT1 
> or T1 encoding in the rest of your document.  

Perhaps I'll make an horrible mistake but the "p" in phv is for "Adobe". 
Then phv is for Adobe's helvetica. These fonts aren't free (they are 
rather expensive!). Do you have any phv*.pfb files? If not, do you plan 
to buy these fonts? If not, use URW Helvetica (files uhv*).
   If you have the tfm fonts but no map to tell how find the real font, 
even no real font at all, then your error message (see first message in 
this thread) is normal.

   Jean-C�me Charpentier
0
8/18/2006 1:49:02 PM
Jean-Côme Charpentier <Jean-Come.Charpentier@wanadoo.fr> writes:
>
> Perhaps I'll make an horrible mistake but the "p" in phv is for
> "Adobe". Then phv is for Adobe's helvetica. These fonts aren't free
> (they are rather expensive!). Do you have any phv*.pfb files? If not,
> do you plan to buy these fonts? If not, use URW Helvetica (files
> uhv*).
>    If you have the tfm fonts but no map to tell how find the real
>    font, even no real font at all, then your error message (see first
>    message in this thread) is normal.

*Normally* the metrics from PSNFSS are used, which are phv*. These
metrics are then mapped to actual fonts in the approprite map files. For
pdftex this is pdftex.map:

$ egrep ^phvr8r `kpsewhich pdftex.map`
phvr8r NimbusSanL-Regu "TeXBase1Encoding ReEncodeFont" <8r.enc <uhvr8a.pfb
phvr8rn NimbusSanL-ReguCond "TeXBase1Encoding ReEncodeFont" <8r.enc <uhvr8ac.pfb

So while the metrics use Adobe names, the actual fonts use URW names.
This can be configured via the LW35 variable in updmap.cfg (at least in
teTeX and TeX Live, but i think MikTeX is similar). 

For dvips this is rather boring, since Helvetica is typically not
embedded in PS files:

$ egrep ^phvr8r `kpsewhich psfonts.map`
phvr8r Helvetica "TeXBase1Encoding ReEncodeFont" <8r.enc
phvr8rn Helvetica-Narrow "TeXBase1Encoding ReEncodeFont" <8r.enc


cheerio
ralf

0
ralf.stubner (882)
8/18/2006 2:02:18 PM
Ralf Stubner <ralf.stubner@physik.uni-erlangen.de>  schrieb:

> Jean-C�me Charpentier <Jean-Come.Charpentier@wanadoo.fr> writes:
>>
>> Perhaps I'll make an horrible mistake but the "p" in phv is for
>> "Adobe". Then phv is for Adobe's helvetica. These fonts aren't free
>> (they are rather expensive!). Do you have any phv*.pfb files? If not,
>> do you plan to buy these fonts? If not, use URW Helvetica (files
>> uhv*).


> *Normally* the metrics from PSNFSS are used, which are phv*. These
> metrics are then mapped to actual fonts in the approprite map files.
> For pdftex this is pdftex.map:
> 
> $ egrep ^phvr8r `kpsewhich pdftex.map`
> phvr8r NimbusSanL-Regu "TeXBase1Encoding ReEncodeFont" <8r.enc
> <uhvr8a.pfb phvr8rn NimbusSanL-ReguCond "TeXBase1Encoding
> ReEncodeFont" <8r.enc <uhvr8ac.pfb 
> 
> So while the metrics use Adobe names, the actual fonts use URW names.
> This can be configured via the LW35 variable in updmap.cfg (at least
> in teTeX and TeX Live, but i think MikTeX is similar). 

Yes. phv* fonts are mapped in miktex to the clones too. 

> 
> For dvips this is rather boring, since Helvetica is typically not
> embedded in PS files:

You can change this in updmap.cfg with something like 
dvipsdownloadbase true

-- 
Ulrike Fischer
e-mail: zus�tzlich meinen Vornamen vor dem @ einf�gen.
e-mail: add my first name between the news and the @.
0
news9686 (1969)
8/18/2006 4:07:56 PM
Reply:

Similar Artilces:

is there definition of "binary file" or "text file"
even so called "text file", acturally it's also stored in the binary format. niy38@hotmail.com (Niy) writes: > even so called "text file", acturally it's also stored in > the binary format. There isn't a difference on unix. Unix sees a file as simply a sequence of bytes, which it does not try to interpret. Interpretation of file formats is done at the application level. For example, a database program would expect a certain format, a text editor another format, but the standard I/O routines just deal with streams of bytes. What's the issue you...

error: ";" expected, "=" found.
Hey there, I been running some programs and saving some of my data, just by selecting the variables in the workspace and saving... However sometimes when i do this and try to reopen them, im given the error message: error: ";" expected, "=" found. and im unable to retrieve the data, any help please???? Ben Parslew wrote: > > Hey there, > > I been running some programs and saving some of my data, just by > selecting the variables in the workspace and saving... However > sometimes when i do this and try to reopen them, im given the error > message: ...

Error: "identifier" expected, "(" found.
I am trying to do an integration for the value of gradPE which has the following equation: gradPE = Gamma*pi*2*Gy(p-2) So I wrote the below code: For p = Mcount+1:N1 M(:,p) = A*M(:,p-1)+B; F = @(Gy)(Gamma*pi*2*Gy(p-2)); gradPE = quad(F, 0, 300); % 0 and 300 are my limits end; Where Gamma = 4256; Mcount = 1; N1 = 1020; %Gy= are values located in an excel sheet {up to 1020 values for Gy}. I even tried to add another anonymous function to F: F = F = @(p) (quad(@(Gy) (Gamma * p...

problem on startup: File error: "Cannot open load file", "xfonts"
Hi everybody I just installed the newest emacs testing as emacs package. after starting it with emacs --debug-init I get the error Debugger entered--Lisp error: (file-error "Cannot open load file" "xfonts") require(xfonts) byte-code("��!������@��!��!A��B\"� B��B\"�@��B\"A@*�A�B��!�C���\"��!�FBF��!���\"��!��!I�VH�V��!��!�K%N�!!R�#\"\"\"\"\"S\"!!�\"!!\"!\" �=��Q �=����# �=��Q��\n� � !� ! �\f!\f�\f \"��\f #� a.s.o. The require(xfonts) is in the .gnu-e...

How to replace each line in a text file by quotes ("") text?
I have a plain text file with a couple of text lines inside. Now I would like to embed each line in a pair of quotes.E.g. This is the line before convert to: "This is the line before" How could I do this with a DOS batch procedure ? If necessary/easier then Win2000/WinXP DOS command extension can be used. Bernd ...

"file not found" error
i download a file, usually sit or hqx, stuffit xpander does its thing, then i try to open the resulting folder/file and the system sez "you can't do that because foo.bar can not be found" if i move the stuffed archive to another volume and re-inflate it everything works. but ican't delete the not found one until after a restart. what the heck? thx, jon -- ls: .sig: No such file or directory ...

"File not found" error
I'm trying to launch a ridiculously simple program that contains one executible file and some other DLL files. Instead of crying for some super-mega-exclusive-windows-feature-that-is-not-supported-by-Wine, it just states that the required DLL is not found! I can see it in front of my eyes, in the exact same folder, but the program doesn't. In fact, every Windows application I am trying to launch annouces about not found files, but when I check them, they appear to be in the exact same location as the EXE file. So maybe someone can give me a hand to solve this trivial proble...

"""""""""ADD ME""""""""""
Hi , Hope you are doing great. Please let me take this opportunity to introduce myself, Iam Karthik working with BhanInfoi Inc, a NY based company. We have consultants on our bench on various technologies, my request is to add me to your distribution list and kindly do send me the requirements. i have the below list available 1. Mainframe 2. Java 3.. Financial Analyst 4. Data Architect If there is any vendor ship agreement which has to be signed then I would like to take an opportunity to represent my company and expect your cooperation... ...

file command: "XML document text" vs "XML document text"
I've just used the file command on four files of RDF-XML with the following output: augtfidf.rdf: XML document text kyoto.rdf: XML document text stuff.rdf: XML document text tfidf.rdf: XML document text What does it mean that one of them has an extra space between "XML" and "document"? -- The kid's a hot prospect. He's got a good head for merchandising, an agent who can take you downtown and one of the best urine samples I've seen in a long time. [Dead Kennedys t-shirt] On 16.10.2012 16:06, Adam Funk wrote: > I've just used the file command on four files of RDF-XML with the > following output: > > augtfidf.rdf: XML document text > kyoto.rdf: XML document text > stuff.rdf: XML document text > tfidf.rdf: XML document text > > What does it mean that one of them has an extra space between "XML" > and "document"? Hard to tell without further information. What does file *.rdf | od -c show you? Janis Janis Papanagnou wrote: > On 16.10.2012 16:06, Adam Funk wrote: >> I've just used the file command on four files of RDF-XML with the >> following output: >> >> augtfidf.rdf: XML document text >> kyoto.rdf: XML document text >> stuff.rdf: XML document text >> tfidf.rdf: XML document text >> >> What does it mean that one ...

Matlab Error: "identifier" expected, "(" found.
>>a = 100;b = 4;c = 1;d = 10;e = 20;f = 100;g = 150;h = 60; >> x0 = [1.1651,1.3316,1.3434,1.4823,1.5203,1.5544,2.1363,2.3997,4.7142]; >> f=@(x)parameterfun(x,a,b,c,d,e,f,g,h) ??? f=@(x)parameterfun(x,a,b,c,d,e,f,g,h) | Error: "identifier" expected, "(" found. Can any one please tell how to overcome this problem,from what I have searched I have found that it is caused because I am using older version of matlab (release 12.1 version 6.1) so please tell how do I over come this. Any help is appreciated On Friday, October 26, 2012 9:47:08 AM UTC+13, Rohit gupta wrote: > >>a = 100;b = 4;c = 1;d = 10;e = 20;f = 100;g = 150;h = 60; > > >> x0 = [1.1651,1.3316,1.3434,1.4823,1.5203,1.5544,2.1363,2.3997,4.7142]; > > >> f=@(x)parameterfun(x,a,b,c,d,e,f,g,h) > > ??? f=@(x)parameterfun(x,a,b,c,d,e,f,g,h) > > | > > Error: "identifier" expected, "(" found. > > > > Can any one please tell how to overcome this problem,from what I have searched I have found that it is caused because I am using older version of matlab (release 12.1 version 6.1) so please tell how do I over come this. > > > > Any help is appreciated Why are you using an anonymous function? Why not simply call your function: x=parameterfun(x0,a,b,c,d,e,f,g,h); "Rohit gupta" <im.rohit@hotmail.com> wrote in message new...

LaTeX, CJK, and "Font C70/song/m/n/6/57=cyberb57 at 6.0pt not loadable: Metric (TFM) file not found."
Hello, I started to use CJK in LaTeX recently, and I spend a lot of time trying to fix the following problem: ! Font C70/song/m/n/9/65=cyberb65 at 9.0pt not loadable: Metric (TFM) file not found. relax l.74 ^^e6^^97^^a0 \par ? I searched Internet to find a fix. I'm not the only one who got such error, but the only recommendation was to correctly install CJK fonts. Unfortunately, it wasn't my case. My CJK fonts were installed and worked. Finally, I've traced the source of the problem and fixed it. I share the solution in hope that someone somewhen found it useful. I use background texts which are produced in \EveryShipout. The text should be displayed in Helvetica font, so the shipout code contains: .... \fontfamily{phv}\selectfont ... Now let's trace TeX execution. It processes CJK text, and the current encoding is some "CXX". A page is full, so shipout procedure is activated. "Selectfont" tries to load "phv" for "CXX" encoding (font shape "CXX/phv/m/n"). It's undefined, so fallback is "CXX/song/m/n", which somehow is translated to "cyberbXX" (my CJK font), and for some reason it is not found (altough exists). The fix is simple. The shipout code should also define the font encoding: .... \fontfamily{phv}\fontencoding{T1}\selectfont ... All this seems obvious now, but it wasn't easy to realize. TeX error message i...

Urgent Requirement in """""""""""""NEW YORK""""""""""""""""
Hello Partners, Please find the requirement below. Please send the updated resume along with rate and contact no. REQ#1: Title : Java Developer ( Rating Project) Duration : 6 months Rate : open Location : NY strong java, WebLogic 9.2, Web Services, Oracle REQ#2: Title : Java Developer Duration : 4 months Rate : open Location : NY Strong java, SQL REQ#3: Title : VB.Net Consultant Location : NY Duration : 4 months Rate : open Primarily looking at someone who has Excel, VB.net and Oracle (good to have). Req #4: Title : Java Developer (MSA Project) Duration : 6+ months Rate : open Location : NY Note : Please send your updated resume along with contact no karthik@bhaninfo.com : No phone calls please. Thanks & Regards Karthik BhanInfo karthik@bhaninfo.com ...

TFTP "File not found error"
I about which is standard for a TFTP server about sending this error message. I am using a free TFTP server TFTPD32 on my windows machine and I can "put" any files to this server either the file previously exists under the TFTP directory or not. But on a Fedora Core 5 PC, when the file does not exists under the TFTP directory, TFTP server on the Linux PC sends an error packet indicating that "File not found". As far as I have examined RFC1350 I colud not find any specification about the transfer file existance. I need a pointer for the standard about this iss...

about "++" and "--"
why this program snippet display "8,7,7,8,-7,-8" the program is: main() { int i=8; printf("%d\n%d\n%d\n%d\n%d\n%d\n",++i,--i,i++,i--,-i++,-i--); } > why this program snippet display "8,7,7,8,-7,-8" Ask your compiler-vendor because this result is IMHO implementation-defined. Check this out: http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.15 http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.16 Regards, Irina Marudina fxc123@gmail.com wrote: > why this program snippet display "8,7,7,8,-7,-8&q...

"or" and "and"
Hi, I'm just getting to discover ruby, but I find it very nice programming language. I just still don't understand how the "or" and "and" in ruby... I was playing with ruby and for example made a def to print Stem and Leaf plot (for those who didn't have a statistics course or slept on it, e.g. http://cnx.org/content/m10157/latest/) Here is the Beta version of it: class Array def n ; self.size ; end def stem_and_leaf(st = 1) # if st != (2 or 5 or 10) then ; st = 1 ; end k = Hash.new(0) self.each {|x| k[x.to_f] += 1 } k = k.sort{|a, b| a[0].to_f <=&g...

"If then; if then;" and "If then; if;"
I have a raw data set which is a hierarchical file: H 321 s. main st P Mary E 21 F P william m 23 M P Susan K 3 F H 324 S. Main St I use the folowing code to read the data to creat one observation per detail(P) record including hearder record(H): data test; infile 'C:\Documents and Settings\retain.txt'; retain Address; input type $1. @; if type='H' then input @3 Address $12.; if type='P' then input @3 Name $10. @13 Age 3. @16 Gender $1.; run; but the output is not what I want: 1 321 s. main H 2 321 s. main P Mary E 21 F 3 321 s...

"out" and "in out"
Hi i found the following explaination: In Ada, "in" parameters are similar to C++ const parameters. They are effectively read-only within the scope of the called subprogram. Ada "in out" parameters have a reliable initial value (that passed in from the calling subprogram) and may be modified within the scope of the called procedure. Ada "out" parameters have no reliable initial value, but are expected to be assigned a value within the called procedure. What does "have no reliable initial value" mean when considering the "out" parameter? By c...

"my" and "our"
Hi, while testing a program, I erroneously declared the same variable twice within a block, the first time with "my", the second time with "our": { my $fz = 'VTX_Link'; .... ( around 200 lines of code, all in the same block) our $fz = 'VTX_Linkset'; ... } So the initial contents of the $fz declared with "my" is lost, because "our" creates a lexical alias for the global $fz, thus overwriting the previous "my" declaration. It was my error, no question. But I wonder why Perl doesn't mention this - even with "use s...

why "::", not "."
Why does the method of modules use a dot, and the constants a double colon? e.g. Math::PI and Math.cos -- Posted via http://www.ruby-forum.com/. On Oct 26, 2010, at 01:48 , Oleg Igor wrote: > Why does the method of modules use a dot, and the constants a double > colon? > e.g. > Math::PI and Math.cos For the same reason why inner-classes/modules use double colon, because = they're constants and that's how you look up via constant namespace. Math::PI and ActiveRecord::Base are the same type of lookup... it is = just that Base is a module and PI is a float....

"/a" is not "/a" ?
Hi everybody, while testing a module today I stumbled on something that I can work around but I don't quite understand. >>> a = "a" >>> b = "a" >>> a == b True >>> a is b True >>> c = "/a" >>> d = "/a" >>> c == d True # all good so far >>> c is d False # eeeeek! Why c and d point to two different objects with an identical string content rather than the same object? Manu Emanuele D'Arrigo wrote: >>>> c = "/a" >>>&...

Undefined error #612
I got this message when i did a nonlinear regression. I am using SPSS 13.0 Undefined error #612 - Cannot open text file "C:\Program Files\SPSS\en\windows\spss.err": No such file or directory=AC Predicted values are missing, or case weights are missing or not positive for all cases. This command is not executed. What is wrong with the SPSS? I have no problem at all when i use version 12.0 Thank you, run - I have not seen anyone respond to this one - Here is a comment, even though it is not very useful. On 22 Mar 2005 18:56:27 -0800, "run" <run@hawaii.edu> wrote: > > I got this message when i did a nonlinear regression. I am using SPSS > 13.0 > > Undefined error #612 - Cannot open text file "C:\Program > Files\SPSS\en\windows\spss.err": No such file or directory� 1) That's a funny character at the end of 'directory', which reads as "=AC" or else as a special character. 2) That text file message seems to point to a message-file that should be there at installation; so it *seems* to signify that the installation went wrong, or disk contents have been altered since the time of installation. Combining those two things with my long experience at pondering error messages -- I wonder whether SPSS could be totally screwed up at this stage, so that the next line about "Predicted values ... weights" may have little to do with anythi...

function "strftime" produce "No such file or directory" error
Hello, everyone. This is a test program that generates undesired results when cross compiling with eldk-4.0. It is strange that localtime_r sets errno to ENOENT at the first time, but never again in the following calls, while strftime always sets errno to ENOENT. But errno will never be set if run on Ubuntu 12.04.4, or Debian 7. Can someone help me? This is the output: # ./test_timegen 1st errno = 0, Success 2nd errno = 2, No such file or directory 3rd errno = 2, No such file or directory 2000-01-05 04:12:11.661426 1st errno = 0, Success 2nd errno = 0, Success 3rd errno = ...

Acronis 10 and Vista x64: "failed to backup file or folder" "error reading the file" 0x40001
I get that error message periodically when attempting either a full or incremental backup using Acronis (files and folders selected). I contacted their support, they mentioned checking the disk for errors, I've never been able to find anything wrong with the drive itself. Has anyone run into this and found a fix? So far, as far as I know, only Acronis will work in doing backups (selected files/folders) in Vista x64, as Retrospect and Save&Restore arent out yet for x64 Vista.. so this is quite troubling (as the Vista standard backup software is terrible for the power user...

files "." and ".." from readdir()
Will readdir always return "." and ".." as the _first_ two entries returned if the filesystem has them? I'm just curious if it testing for them can be skipped after the first two have been tested. I've always written my loops around readdir with the tests applied in every case. -- |WARNING: Due to extreme spam, googlegroups.com is blocked. Due to ignorance | | by the abuse department, bellsouth.net is blocked. If you post to | | Usenet from these places, find another Usenet provider ASAP. | | Phil Howard KA9WGN (email for humans: first ...

Web resources about - "Metric (TFM) file not found" error - comp.text.tex

Resources last updated: 3/11/2016 11:27:17 AM