b-hebrew AT lists.ibiblio.org
Subject: Biblical Hebrew Forum
List archive
Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex
- From: "Christopher V. Kimball" <transcriber AT tanach.us>
- To: Martin Shields <enkidu AT bigpond.net.au>, b-hebrew <b-hebrew AT lists.ibiblio.org>
- Subject: Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex
- Date: Sun, 17 Dec 2006 20:25:09 -0500
Dear Martin,
Robert Holmstedt's previous mail to the group helped us to get the site running on Mac OS 10.4 ... at least partially. He's using the Cardo Hebrew font available at:
http://scholarsfonts.net/cardofnt.html .
He sets the fonts for the Hebrew language to Cardo.
"Preferences --> Content --> Advanced (under Fonts and Colors) --> choose "For Hebrew" and then select whatever font you want for each category. " (Robert Holmstadt)
This produced some confusion in accents on the FontTest page but yields very good text in the Vowels content mode. The site outputs Unicode 4.1 which probably wasn't available when the Cardo font was completed. The Cardo font yields better text than the SBL Hebrew font on the Mac this way.
1. Create a very simply XML and XSLT page which only sets the font and displays some Hebrew (if it's simply I'll probably be able to muddle through it!), and/or
Great idea! Please see
http://www.tanach.us/Fonts/FontTest.html
for a very simple HTML file that is easily edited to change fonts.
2. Tell me where to look to see the JavaScript/XSLT which sets the Hebrew font?
The font is set in the XSL files (files in the XSL directory ending in .xsl.xml ). An XSL variable called "fontfamily" (no hyphen) sets the font throughout each file: Look for
<!-- Variable fontfamily gives the family name of the Hebrew fonts. -->
<xsl:variable name="fontfamily" >SBL Hebrew</xsl:variable>
near the start of each file and change SBL Hebrew to whatever you'd like. At the minimum, you'll need to change the Tanach.xsl.xml, Pages.xsl.xml, and Text.xsl.xml files. ( Be sure to keep a backup because the smallest error will produce confusing error messages.)
Your feedback is much appreciated. Please let me know of your problems and results.
Chris Kimball
Redding, CT
-
[b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex,
Christopher V. Kimball, 12/15/2006
-
Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex,
K Randolph, 12/16/2006
-
Message not available
- Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex, K Randolph, 12/18/2006
-
Message not available
-
Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex,
K Randolph, 12/16/2006
-
Message not available
- Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex, Christopher V. Kimball, 12/17/2006
- <Possible follow-up(s)>
-
[b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex,
JAMES CHRISTIAN READ, 12/17/2006
- Re: [b-hebrew] Setting up the Mac for the Unicode/XML Westminster Leningrad Codex, K Randolph, 12/27/2006
Archive powered by MHonArc 2.6.24.