mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Do not force the use of the HE8 font encoding for Hebrew.
While HE8 provides more characters and prevents use of bitmap fonts, forcing its use may break older installations. The dedicated test file 012_hebrew_he_HE8.lyx provides an example for use of HE8 encoded fonts with babel-hebrew.
This commit is contained in:
parent
f609a4717f
commit
b724b4f32f
@ -1,5 +1,5 @@
|
||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||
\lyxformat 567
|
||||
\lyxformat 569
|
||||
\begin_document
|
||||
\begin_header
|
||||
\save_transient_properties true
|
||||
@ -78,6 +78,7 @@
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
\tablestyle default
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
@ -91,6 +92,12 @@
|
||||
12) Hebrew
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Babel-Hebrew defaults to the legacy font encoding LHE, that only supports
|
||||
the basic Hebrew alphabet.
|
||||
Hebrew 8-bit fonts are not part of TeXLive.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
590
|
||||
\begin_inset Branch na
|
||||
@ -127,8 +134,6 @@ status open
|
||||
|
||||
\begin_layout Standard
|
||||
5B0
|
||||
\lang hebrew
|
||||
אְ אֱ אֲ אֳ אִ אֵ אֶ אַ אָ אֹ
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
@ -136,31 +141,16 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
אֺ
|
||||
אֻ אּ אֽ ־ אֿ אְ אֱ אֲ אֳ אִ אֵ אֶ אַ אָ אֹ אֺ
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
אֻ בּ אֽ ־
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
אֿ
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5C0
|
||||
\lang hebrew
|
||||
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
@ -168,25 +158,12 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
׀
|
||||
שׁ שׂ ׃ אׄ אׅ ׆ אׇ ׀
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
שׁ שׂ ׃
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
אׄ אׅ ׆ אׇ
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -203,8 +180,6 @@ status open
|
||||
|
||||
\begin_layout Standard
|
||||
5F0
|
||||
\lang hebrew
|
||||
װ ױ ײ
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
@ -212,7 +187,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
׳ ״
|
||||
װ ױ ײ ׳ ״
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
230
autotests/export/latex/unicodesymbols/012-hebrew_he_HE8.lyx
Normal file
230
autotests/export/latex/unicodesymbols/012-hebrew_he_HE8.lyx
Normal file
@ -0,0 +1,230 @@
|
||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||
\lyxformat 569
|
||||
\begin_document
|
||||
\begin_header
|
||||
\save_transient_properties true
|
||||
\origin unavailable
|
||||
\textclass article
|
||||
\begin_preamble
|
||||
\def\HeblatexEncoding{HE8}
|
||||
\end_preamble
|
||||
\use_default_options false
|
||||
\maintain_unincluded_children false
|
||||
\language english
|
||||
\language_package default
|
||||
\inputencoding utf8
|
||||
\fontencoding HE8,T1
|
||||
\font_roman "lmodern" "default"
|
||||
\font_sans "default" "default"
|
||||
\font_typewriter "default" "default"
|
||||
\font_math "auto" "auto"
|
||||
\font_default_family default
|
||||
\use_non_tex_fonts false
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100 100
|
||||
\font_tt_scale 100 100
|
||||
\use_microtype false
|
||||
\use_dash_ligatures false
|
||||
\graphics default
|
||||
\default_output_format pdf2
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\float_placement class
|
||||
\float_alignment class
|
||||
\paperfontsize default
|
||||
\spacing single
|
||||
\use_hyperref false
|
||||
\papersize default
|
||||
\use_geometry false
|
||||
\use_package amsmath 1
|
||||
\use_package amssymb 1
|
||||
\use_package cancel 1
|
||||
\use_package esint 1
|
||||
\use_package mathdots 0
|
||||
\use_package mathtools 1
|
||||
\use_package mhchem 1
|
||||
\use_package stackrel 1
|
||||
\use_package stmaryrd 1
|
||||
\use_package undertilde 1
|
||||
\cite_engine basic
|
||||
\cite_engine_type default
|
||||
\biblio_style plain
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\justification true
|
||||
\use_refstyle 0
|
||||
\use_minted 0
|
||||
\branch na
|
||||
\selected 0
|
||||
\filename_suffix 0
|
||||
\color #faf0e6
|
||||
\end_branch
|
||||
\index Index
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation skip
|
||||
\defskip medskip
|
||||
\is_math_indent 0
|
||||
\math_numbering_side default
|
||||
\quotes_style english
|
||||
\dynamic_quotes 0
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
\tablestyle default
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
\html_css_as_file 0
|
||||
\html_be_strict false
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
|
||||
\begin_layout Subsection*
|
||||
12 Hebrew
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
This document uses the nonstandard Hebrew font encoding HE8 that includes
|
||||
additional characters (see Document>Settings>Fonts and >User Preamble).
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
590
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
א֑ א֒ א֓ א֔ א֕ א֖ א֗ א֘ א֙ א֚ א֛ א֜ א֝ א֞ א֟
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5A0
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
א֠ א֡ א֢ א֣ א֤ א֥ א֦ א֧ א֨ א֩ א֪ א֫ א֬ א֭ א֮ א֯
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5B0
|
||||
\lang hebrew
|
||||
אְ אֱ אֲ אֳ אִ אֵ אֶ אַ אָ אֹ
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
אֺ
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
אֻ אּ אֽ ־
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
אֿ
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5C0
|
||||
\lang hebrew
|
||||
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
׀
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
שׁ שׂ ׃
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
אׄ אׅ ׆ אׇ
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5D0
|
||||
\lang hebrew
|
||||
א ב ג ד ה ו ז ח ט י ך כ ל ם מ ן
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5E0
|
||||
\lang hebrew
|
||||
נ ס ע ף פ ץ צ ק ר ש ת
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
5F0
|
||||
\lang hebrew
|
||||
װ ױ ײ
|
||||
\begin_inset Branch na
|
||||
inverted 0
|
||||
status open
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\lang hebrew
|
||||
׳ ״
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_body
|
||||
\end_document
|
@ -5,15 +5,18 @@
|
||||
\save_transient_properties true
|
||||
\origin unavailable
|
||||
\textclass article
|
||||
\begin_preamble
|
||||
\def\HeblatexEncoding{HE8}
|
||||
\end_preamble
|
||||
\use_default_options true
|
||||
\maintain_unincluded_children false
|
||||
\language english
|
||||
\language_package default
|
||||
\inputencoding utf8
|
||||
\fontencoding auto
|
||||
\fontencoding HE8,T1
|
||||
\font_roman "lmodern" "default"
|
||||
\font_sans "lmss" "default"
|
||||
\font_typewriter "lmtt" "default"
|
||||
\font_sans "default" "default"
|
||||
\font_typewriter "default" "default"
|
||||
\font_math "auto" "auto"
|
||||
\font_default_family default
|
||||
\use_non_tex_fonts false
|
||||
@ -28,6 +31,8 @@
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\float_placement class
|
||||
\float_alignment class
|
||||
\paperfontsize default
|
||||
\spacing single
|
||||
\use_hyperref false
|
||||
@ -87,6 +92,11 @@
|
||||
152 Alphabetic Presentation Forms
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
This document uses the nonstandard Hebrew font encoding HE8 that includes
|
||||
additional characters (see Document>Settings>Fonts and >User Preamble).
|
||||
\end_layout
|
||||
|
||||
\begin_layout Labeling
|
||||
\labelwidthstring 00.00.0000
|
||||
FB00 ff fi fl ffi ffl
|
||||
@ -150,6 +160,20 @@ status open
|
||||
\end_inset
|
||||
|
||||
שׁ שׂ שּׁ שּׂ אַ אָ
|
||||
\lang english
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
The character
|
||||
\backslash
|
||||
hebvarayin (ﬠ) is present in HE8 culmus fonts but not defined in he8enc.def.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Labeling
|
||||
|
@ -768,8 +768,6 @@ Language hebrew
|
||||
# Define the font encoding the babel-hebrew way and
|
||||
# work around too simple test for article-like classes in rlbabel.def.
|
||||
PreBabelPreamble
|
||||
\def\HeblatexEncoding{HE8}
|
||||
\def\HeblatexEncodingFile{he8enc}
|
||||
\providecommand{\l@chapter}{\relax}
|
||||
EndPreBabelPreamble
|
||||
DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
|
||||
|
Loading…
Reference in New Issue
Block a user