mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
tex2lyx test: make box-color-*.tex sample compilable
Load required package textcomp. Replace call to non-existent packages textcyr and textgreek with the backup definition of the commands as done by LyX export. Do not load marvosym (clash with pifont) (LyX does not load the package either). Remove invalid command \\ascii.
This commit is contained in:
parent
e62d20fc01
commit
99eeb29e58
@ -45,7 +45,7 @@
|
|||||||
\language english
|
\language english
|
||||||
\language_package none
|
\language_package none
|
||||||
\inputencoding iso8859-15
|
\inputencoding iso8859-15
|
||||||
\fontencoding T1
|
\fontencoding T2A,LGR,T1
|
||||||
\font_roman "cmr" "default"
|
\font_roman "cmr" "default"
|
||||||
\font_sans "berasans" "default"
|
\font_sans "berasans" "default"
|
||||||
\font_typewriter "default" "default"
|
\font_typewriter "default" "default"
|
||||||
@ -2897,21 +2897,7 @@ Characters
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
\size normal
|
\size normal
|
||||||
from package "ascii" and "ifsym": ®
|
from package "ascii" and "ifsym": ®↨◻◼◙
|
||||||
\begin_inset ERT
|
|
||||||
status collapsed
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
{
|
|
||||||
\backslash
|
|
||||||
ascii
|
|
||||||
\backslash
|
|
||||||
ETB}
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
◻◼ ◙ ◙
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
\usepackage{berasans}
|
\usepackage{berasans}
|
||||||
\renewcommand{\familydefault}{\sfdefault}
|
\renewcommand{\familydefault}{\sfdefault}
|
||||||
|
|
||||||
\usepackage[T1]{fontenc}
|
\usepackage[T2A,LGR,T1]{fontenc}
|
||||||
\usepackage[latin9]{inputenc}
|
\usepackage[latin9]{inputenc}
|
||||||
|
|
||||||
\usepackage{geometry}
|
\usepackage{geometry}
|
||||||
@ -21,18 +21,17 @@
|
|||||||
\definecolor{note_fontcolor}{rgb}{0, 0, 1}
|
\definecolor{note_fontcolor}{rgb}{0, 0, 1}
|
||||||
\definecolor{shadecolor}{rgb}{1, 1, 0}
|
\definecolor{shadecolor}{rgb}{1, 1, 0}
|
||||||
\usepackage{framed}
|
\usepackage{framed}
|
||||||
|
\usepackage{textcomp}
|
||||||
\usepackage{calc}
|
\usepackage{calc}
|
||||||
\usepackage{fancybox}
|
\usepackage{fancybox}
|
||||||
\PassOptionsToPackage{normalem}{ulem}
|
\PassOptionsToPackage{normalem}{ulem}
|
||||||
\usepackage{ulem}
|
\usepackage{ulem}
|
||||||
\usepackage{ifsym}
|
\usepackage{ifsym}
|
||||||
\usepackage{ascii}
|
\usepackage{ascii}
|
||||||
\usepackage{textgreek}
|
|
||||||
\usepackage{textcyr}
|
|
||||||
\usepackage{subscript}
|
\usepackage{subscript}
|
||||||
\usepackage{tfrupee}
|
\usepackage{tfrupee}
|
||||||
\usepackage{bbding}
|
\usepackage{bbding}
|
||||||
\usepackage{marvosym}
|
%\usepackage{marvosym} % clash with pifont (! \Cross already defined)
|
||||||
\usepackage{wasysym}
|
\usepackage{wasysym}
|
||||||
\usepackage{pifont}
|
\usepackage{pifont}
|
||||||
\usepackage{tipa}
|
\usepackage{tipa}
|
||||||
@ -46,6 +45,13 @@
|
|||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
|
||||||
\newcommand{\noun}[1]{\textsc{#1}}
|
\newcommand{\noun}[1]{\textsc{#1}}
|
||||||
|
\DeclareRobustCommand{\greektext}{%
|
||||||
|
\fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
|
||||||
|
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
|
||||||
|
\ProvideTextCommand{\~}{LGR}[1]{\char126#1}
|
||||||
|
\DeclareRobustCommand{\cyrtext}{%
|
||||||
|
\fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
|
||||||
|
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
|
||||||
%% The greyedout annotation environment
|
%% The greyedout annotation environment
|
||||||
\newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}
|
\newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}
|
||||||
|
|
||||||
@ -508,9 +514,7 @@ smallskip 2:\vspace{\smallskipamount}
|
|||||||
\section{Characters}
|
\section{Characters}
|
||||||
|
|
||||||
from package "ascii" and "ifsym":
|
from package "ascii" and "ifsym":
|
||||||
\textregistered{\ascii\ETB}\textifsymbol[ifgeo]{48}\textifsymbol[ifgeo]{96}
|
\textregistered\ETB\textifsymbol[ifgeo]{48}\textifsymbol[ifgeo]{96}\LF{}
|
||||||
{\ascii\LF}
|
|
||||||
\ascii\LF{}
|
|
||||||
|
|
||||||
from textcomp:
|
from textcomp:
|
||||||
\textnumero\texttrademark
|
\textnumero\texttrademark
|
||||||
|
Loading…
Reference in New Issue
Block a user