mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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_package none
|
||||
\inputencoding iso8859-15
|
||||
\fontencoding T1
|
||||
\fontencoding T2A,LGR,T1
|
||||
\font_roman "cmr" "default"
|
||||
\font_sans "berasans" "default"
|
||||
\font_typewriter "default" "default"
|
||||
@ -2897,21 +2897,7 @@ Characters
|
||||
\begin_layout Standard
|
||||
|
||||
\size normal
|
||||
from package "ascii" and "ifsym": ®
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
{
|
||||
\backslash
|
||||
ascii
|
||||
\backslash
|
||||
ETB}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
◻◼ ◙ ◙
|
||||
from package "ascii" and "ifsym": ®↨◻◼◙
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
@ -6,7 +6,7 @@
|
||||
\usepackage{berasans}
|
||||
\renewcommand{\familydefault}{\sfdefault}
|
||||
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[T2A,LGR,T1]{fontenc}
|
||||
\usepackage[latin9]{inputenc}
|
||||
|
||||
\usepackage{geometry}
|
||||
@ -21,18 +21,17 @@
|
||||
\definecolor{note_fontcolor}{rgb}{0, 0, 1}
|
||||
\definecolor{shadecolor}{rgb}{1, 1, 0}
|
||||
\usepackage{framed}
|
||||
\usepackage{textcomp}
|
||||
\usepackage{calc}
|
||||
\usepackage{fancybox}
|
||||
\PassOptionsToPackage{normalem}{ulem}
|
||||
\usepackage{ulem}
|
||||
\usepackage{ifsym}
|
||||
\usepackage{ascii}
|
||||
\usepackage{textgreek}
|
||||
\usepackage{textcyr}
|
||||
\usepackage{subscript}
|
||||
\usepackage{tfrupee}
|
||||
\usepackage{bbding}
|
||||
\usepackage{marvosym}
|
||||
%\usepackage{marvosym} % clash with pifont (! \Cross already defined)
|
||||
\usepackage{wasysym}
|
||||
\usepackage{pifont}
|
||||
\usepackage{tipa}
|
||||
@ -46,6 +45,13 @@
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
|
||||
\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
|
||||
\newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}
|
||||
|
||||
@ -508,9 +514,7 @@ smallskip 2:\vspace{\smallskipamount}
|
||||
\section{Characters}
|
||||
|
||||
from package "ascii" and "ifsym":
|
||||
\textregistered{\ascii\ETB}\textifsymbol[ifgeo]{48}\textifsymbol[ifgeo]{96}
|
||||
{\ascii\LF}
|
||||
\ascii\LF{}
|
||||
\textregistered\ETB\textifsymbol[ifgeo]{48}\textifsymbol[ifgeo]{96}\LF{}
|
||||
|
||||
from textcomp:
|
||||
\textnumero\texttrademark
|
||||
|
Loading…
Reference in New Issue
Block a user