Make tex2lyx tests almost compilable

If the original tests cannot ve compiled with latex/pdflatex/xelatex it is
difficult to compare the visual output.
This commit is contained in:
Georg Baum 2012-10-08 21:23:11 +02:00
parent 4d2e8d0f0b
commit 53694874f3
5 changed files with 36 additions and 8 deletions

View File

@ -26,11 +26,20 @@
\index_command default \index_command default
\paperfontsize 12 \paperfontsize 12
\spacing onehalf \spacing onehalf
\use_hyperref false \use_hyperref true
\pdf_bookmarks 1
\pdf_bookmarksnumbered 0
\pdf_bookmarksopen 0
\pdf_bookmarksopenlevel 1
\pdf_breaklinks 0
\pdf_pdfborder 0
\pdf_colorlinks 0
\pdf_backref section
\pdf_pdfusetitle 1
\papersize a4paper \papersize a4paper
\use_geometry false \use_geometry false
\use_package amsmath 2 \use_package amsmath 2
\use_package amssymb 0 \use_package amssymb 2
\use_package esint 1 \use_package esint 1
\use_package mathdots 0 \use_package mathdots 0
\use_package mathtools 0 \use_package mathtools 0

View File

@ -28,7 +28,7 @@
\setstretch{1.2} \setstretch{1.2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}
%% The greyedout annotation environment %% The greyedout annotation environment
\newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup} \newenvironment{lyxgreyedout}{\textcolor{note_fontcolor}\bgroup}{\egroup}

View File

@ -32,11 +32,20 @@
\index_command default \index_command default
\paperfontsize 12 \paperfontsize 12
\spacing onehalf \spacing onehalf
\use_hyperref false \use_hyperref true
\pdf_bookmarks 1
\pdf_bookmarksnumbered 0
\pdf_bookmarksopen 0
\pdf_bookmarksopenlevel 1
\pdf_breaklinks 0
\pdf_pdfborder 0
\pdf_colorlinks 0
\pdf_backref section
\pdf_pdfusetitle 1
\papersize a4paper \papersize a4paper
\use_geometry false \use_geometry false
\use_package amsmath 2 \use_package amsmath 2
\use_package amssymb 0 \use_package amssymb 2
\use_package esint 1 \use_package esint 1
\use_package mathdots 0 \use_package mathdots 0
\use_package mathtools 0 \use_package mathtools 0

View File

@ -19,7 +19,6 @@
\makenomenclature \makenomenclature
\usepackage{varioref} \usepackage{varioref}
\usepackage{prettyref} \usepackage{prettyref}
\usepackage{makeidx}
\usepackage{splitidx} \usepackage{splitidx}
\makeindex \makeindex
@ -28,6 +27,17 @@
\usepackage{xargs} \usepackage{xargs}
\usepackage{subscript} \usepackage{subscript}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{pdfpages}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{color}
\usepackage[ps,mover]{lyxskak}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
@ -132,7 +142,7 @@ We can also import chess diagrams:
Spreadsheets: Spreadsheets:
\def\inputGnumericTable{}\input{../../../lib/examples/longsheet.gnumeric} \def\inputGnumericTable{}\input{../../../lib/examples/longsheet.tex}
and PDF pages: and PDF pages:

View File

@ -1,6 +1,6 @@
%% LyX trick_preamble_code_into_believing_that_this_was_created_by_lyx created this file. For more info, see http://www.lyx.org/. %% LyX trick_preamble_code_into_believing_that_this_was_created_by_lyx created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing. %% Do not edit unless you really know what you are doing.
\documentclass[legalpaper,french,german,english,dummyoption]{article} \documentclass[legalpaper,french,german,newzealand,english,dummyoption]{article}
\usepackage[latin9]{inputenc} \usepackage[latin9]{inputenc}
\usepackage{color} \usepackage{color}
\usepackage{rotfloat} \usepackage{rotfloat}