f



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 is very misleading: error context is the source code, not the
shipout code.


--
Oleg Paraschenko  olpa@ http://uucode.com/
http://uucode.com/blog/  Generative Programming, XML, TeX, Scheme

0
olepar (113)
9/12/2005 1:15:03 PM
comp.text.tex 39029 articles. 3 followers. Post Follow

2 Replies
1323 Views

Similar Articles

[PageSpeed] 48

Oleg Paraschenko <olepar@gmail.com> wrote:

> I started to use CJK in LaTeX recently, and I spend a lot of time
> trying to fix the following problem: [...]


Please send such information to either the cjk list or to me so
that I can include it into the `problems' section of the CJK
documentation.


    Werner
0
wl9450 (75)
9/13/2005 5:46:35 AM
Hello Werner,

Werner Lemberg =D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0):

> Oleg Paraschenko <olepar@gmail.com> wrote:
>
> > I started to use CJK in LaTeX recently, and I spend a lot of time
> > trying to fix the following problem: [...]
>
>
> Please send such information to either the cjk list or to me so
> that I can include it into the `problems' section of the CJK
> documentation.

Thanks for the suggestion. I've sent a note to you.

For those who interested, here is an example to reproduce the problem:
http://uucode.com/blog/2005/09/12/latex-cjk-and-font-c70songmn657cyberb57-a=
t-60pt-not-loadable-metric-tfm-file-not-found/

>
>
>     Werner

--
Oleg Paraschenko  olpa@ http://uucode.com/
http://uucode.com/blog/  Generative Programming, XML, TeX, Scheme

0
olepar (113)
9/14/2005 2:49:02 PM
Reply:

Similar Artilces:

not equal? "5".to_i+ "6".to_i and "5".to_i +"6".to_i
ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-linux] >> "5".to_i+ "6".to_i => 11 >> "5".to_i +"6".to_i => 5 maybe it's a mistak? > >> "5".to_i+ "6".to_i > => 11 > >> "5".to_i +"6".to_i > => 5 The second case +"6".to_i is treated as an argument for to_i method. This will make it more obvious: >> "111".to_i +"2".to_i => 7 "111".to_i +"2".to_i is equivalent to "111".to_i(2), hence the result....

"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} ? *************************************************************************** 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...

Is it possible to upgrade "Full" 6.0.1 to "Full" 6.1 and...
Is it possible to upgrade "Full" 6.0.1 to "Full" 6.1 and have the app-builder (purchased separately) for 6.0 still work, or do I need a new app-builder? A neighboring lab stopped using LabView and gave us the 6.1 disk. Unfortunately, it's a "Full" disk (no app-builder) and we purchased a separate 6.0 app-builder for our 6i system. I have a feeling this is a futile endeavor, but want to be sure before I toss the disk, or attempt an installation and mangle the system. I don't know if the 6.0.1 app builder will work with 6.1, but I'm guessing it won...

How to convert a ".p" file to ".m" file
I got a algorithm package. But the matlab file is in p-file. How can I convert these file to m-file so that I can read the source code of the algorithm. Does anyone can help me thanks tinyloop wrote: > > > I got a algorithm package. But the matlab file is in p-file. How > can > I convert these file to m-file so that I can read the source code > of > the algorithm. > Does anyone can help me > thanks Cannot be done and should not be tried / per tinyloop <fcen@ee.cuhk.edu.hk> wrote: > I got a algorithm package. But the matlab file is in p-file. How > can...

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

Class File for "The LaTeX Companion" or "A Guide to LaTeX"
All, I would like to know if the LaTeX2e class file for "The LaTeX Companion" (or, perhaps, "A Guide to LaTeX") is available for public consumption so that I can use it. If anyone knows where this class or style file can be obtained, I would greatly appreciate it if somebody could either point me to the correct URL or send it to me via e-mail (anilvrao@alumni.princeton.edu). Thanks in advance. Regards, Anil anilvrao@alumni.princeton.edu wrote: > All, > > I would like to know if the LaTeX2e class file for "The LaTeX > Companion" (or, perhaps, "A Guide to LaTeX") is available for public > consumption so that I can use it. If anyone knows where this class or > style file can be obtained, I would greatly appreciate it if somebody > could either point me to the correct URL or send it to me via e-mail > (anilvrao@alumni.princeton.edu). > > Thanks in advance. > > Regards, > > Anil > some of the appearance can be obtained by using the memoir class, read the manual. -- /daleif (remove RTFSIGNATURE for email) Lars Madsen wrote: > anilvrao@alumni.princeton.edu wrote: >> All, >> >> I would like to know if the LaTeX2e class file for "The LaTeX >> Companion" (or, perhaps, "A Guide to LaTeX") is available for public >> consumption so that I can use it. If anyone knows where this class or >> style file can be obtained, I woul...

"version 6.5"-reading of "version 7"-created MAT files
undefined Akshaya Trivedi: <SNIP cannot load r14+ mat in and up to r13+ evergreen... a hint: in r14+ save your data with the <-v6> flag, eg, save('foo','mydata','-v6'); -or- in the command window's tab, mouse down to and click the: -> files -> preferences -> general -> mat-files -> ensure backward compatibility (-v6) option us ...

Modula-2 Handbook p.28 example 6.1.3.4 "Writing a Text File" will overwrite existing file
RE: "Modula-2 Handbook" by Modula-2 Reearch Institute, as redistributed by CFB Software physical page 28, example 6.1.3.4 "Writing a Text File" (using FileSystem) The text is obviously in error because the inner IF conditional to test for f.res = done is embedded in the outer IF test for f.res <> done, which obviously means the inner IF is never reached. I recall once seeing a printed version of the Modula-2 Handbook, (which unfortunately I cannot now locate), and from memory I believe that it read (* minus "my comment"s added below *): .... ...

"latex file.tex" fails (WinXP) with "NTVDM CPU has encountered an illegal instruction"
Hi there, Suddenly, when I run a simple "latex file.tex" command in my WinXP machine, I get a little window that says "16 bit MS-DOS Subsystem" "The NTVDM CPU has encountered an illegal instruction". I know Microsoft has a test of sorts to check whether the problem is with Windows or with the other application, see http://support.microsoft.com/default.aspx?scid=kb;en-us;220155 My machine 'passes' this test. I know this question (or a similar one appeared in this group in the recent past, see http://groups.google.ca/group/comp.text.tex/browse_thread/thread/7216595e5b9b3ef8/c49da910a52091b1?lnk=st&q=miktex+ntvdm+cpu+has+encountered&rnum=1&hl=en#c49da910a52091b1 I was wondering if any of you has had the same problem, and if anybody found a solution to it yet, as I can't seem to do any latex'ing in this machine at the moment! Thanks a lot in advance. Matias FIXED! - Well, I haven't found the real cause of the problem, but Walter (see the previous thread linked above) suggested that cygwin could be part of it. Indeed, renaming my c:\cygwin directory to c:\bak-cygwin solved it. I'm guessing that removing it from the PATH environment variable would have had the same effect... Sill puzzled, but able to work now. Matias "Matias" <msalibian@yahoo.ca> wrote in message news:1140143607.778079.202400@g43g2000cwa.googlegroups.com... > FIXED! - Well, I haven't found the real cause of the...

"default" or "startup" .config file for arm linux 2.6.22.10
hi, i want to build a 2.6.22.10 linux kernel for a arm 920 board. instead of everything from scratch, can i find a "default" or "startup" .config file to start? thanks. - woody "Steven Woody" <narkewoody@gmail.com> skrev i meddelandet news:1192761990.468776.73830@t8g2000prg.googlegroups.com... > hi, > > i want to build a 2.6.22.10 linux kernel for a arm 920 board. instead > of everything from scratch, can i find a "default" or > "startup" .config file to start? thanks. > > - > woody > Funny, on the bui...

Is "T[N][]" (or "T[N][][M]") indirectly legal?
I'm trying out stuff with GCC 4.7 via MinGW for 32-bit Windows 8. The stuff I'm testing with involves array types with zero or unknown bounds (in C++11 mode). * Playing the type combinations that give an array type with a bound of zero work! With multidimensional arrays, the zero-extent can be at any place. Their "sizeof" gives zero, and I can even make (non-zero) arrays of those arrays (also having a zero sizeof). I didn't try indexing into an element, of course. The only errors I got were with array-to-pointer decay. Using a zero-extent anywhere (directly or indirectly) is a straight-up error, and GCC 4.7 is buggy here by allowing them (and zero-sized objects), right? * Declaring an array type that has any extent as unbound besides the first flags an error on my GCC 4.7 setup. But I can indirectly create arrays with an unbound non-first extent via typedefs in recursive variadic class templates. When I glanced at the Standard, it seemed to support banning such array declarations directly, but indirect means didn't seem banned. Are non-first unbound extents actually permitted or not? (If not, then GCC 4.7 has a bug there, too.) (I have to rearrange my project to use GCC 4.8; that's why I don't know if 4.8 changed this.) Daryle W. -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] Am 18.09.2013 08:18, schrieb Dar...

can we convert "M-file" to simulink bloc ".Mdl" file
Hello, can we convert "M-file" to simulink bloc ".Mdl" file for example : block with two input and one output and I added the inside of the block There are multiple ways to call m-code from within Simulink. See http://www.mathworks.com/help/toolbox/simulink/ug/bszo62g.html for one example. Phil. ...

"No JRE version found in launch file for this system" and other assorted Java 6 crashes
Summary: Is Java 6 ready for prime time? Is it just my computer? How come Borland/CodeGear is shipping Eclipse with a 1.5 JRE today? There is no more enthusiastic Java supporter than me, but frankly, Java 6 is taxing my patience: it just crashes and crashes. Nothing seems to work under it. I must have reinstalled dozens of times. I suspect that if I can solve just one problem, the rest will (hopefully) go away. Questions: Can anyone of you folks out there run one of the most popular Java applications, jDiskReport under Java 6 and JaWS? http://www.jgoodies.com Is there any change...

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

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

FAQ 6.6 How can I make "\w" match national character sets? #6
This is an excerpt from the latest version perlfaq6.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 6.6: How can I make "\w" match national character sets? Put "use locale;" in your script. The \w character class is taken from the current locale. See perllocale for details. ------------...

Why the "ie" become "&#39127;"in a .M file in word "naive"
Why the "ie" become "&#39127;" in a .M file in word "naive" and I cann't replace the "&#39127;" in the .M file editor enviroment. Maybe I can replace them when the file is open with txt ...

[2.6] "Multimedia" and VO2.6
Hi folks, i have to play some mp3, *.mpg and *.mpeg4 files with a VO-Applikation. It will be run in that matter like under amazon. i can click on a button and a part of a titel began to play in the media player. So how to integrate the media player into a propper VO-application. Any assistance is welcome Rainer Borchmann Rainer, It goes also in VO 2.7b (� 2740) with XP Pro... To integrate Windows Media Player you could generate an automation server class from the wmp.dll OCX. Please try : VO menu -> Tools -> Automation Server From the list, select ...

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

How to alias "n1" to "n 1" and "n2" to "n 2" and so on (with style)
I have the following bash function: function ..() { counter=0 case "$1" in [0-9][0-9] ) while [ $counter -lt $1 ] do cd .. counter=$(($counter+1)) done ;; * ) echo "staying where I am, give me a number (<99) next time :)" ;; esac } The allows me to move up, say 4 levels, using ".. 4" Now, typing the space annoys me so I define the following aliases: alias ..='.. 1' alias ..2='.. 2' alias ..3='.. 3' alias ..4='.. 4' alias ..5='.. 5' Not very elegant I con...

My text field Criteria : "N/A"
Hello everyone, I need some help here. If anyone has encountered this, knidly give me your advice. I have a command button (Command0) and a listbox (List1). Upon clicking the command button, I want my listbox to be populated. Please look at the code below. The fields Day2 and Filename are both text fields. My problem is that Day2 field has rows with the text value "N/A" (without the quotes). MS Access is evaluating the "/" sign in between "N/A" as an operator(division). How do I suppress MS Access to read it as it is without an implicit conversion? I will appre...

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

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

Web resources about - LaTeX, CJK, and "Font C70/song/m/n/6/57=cyberb57 at 6.0pt not loadable: Metric (TFM) file not found." - comp.text.tex

Resources last updated: 3/11/2016 2:25:36 PM