From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joerg Schuster Newsgroups: gmane.emacs.help Subject: Re: preview-latex: preview normal text? Date: 05 Sep 2003 16:09:54 +0200 Organization: Department of Computer Sciences, University of Munich Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1062790224 19945 80.91.224.253 (5 Sep 2003 19:30:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2003 19:30:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 05 21:30:20 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19vMHk-0004XS-00 for ; Fri, 05 Sep 2003 21:30:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19vM9s-0005Zx-B1 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Sep 2003 15:22:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeed.stueberl.de!newsfeed.r-kom.de!news-nue1.dfn.de!uni-erlangen.de!lmu.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 99 Original-NNTP-Posting-Host: pinatubo.cis.uni-muenchen.de Original-X-Trace: minotaurus.cip.informatik.uni-muenchen.de 1062770994 10478 129.187.148.50 (5 Sep 2003 14:09:54 GMT) Original-X-Complaints-To: usenet@informatik.uni-muenchen.de Original-NNTP-Posting-Date: Fri, 5 Sep 2003 14:09:54 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:116386 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12305 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12305 David Kastrup writes: > You are aware that \em\bf is exactly equivalent to \bf, that both as > well as \sc are quite obsolete and have been for about 7 years? The example was quite artificial. Yet, I *do* use \bf, \em and \sc. Why are they obsolete and what should one use instead? (\emph and \textbf?) I learned Latex from a 1996 book. They didn't say anything about these commands' obsoleteness. > preview-latex has no problems with formulas occuring in normal text. Then it seems that I have misunderstood some passage of the manual (that I cannot find now). > > I also wonder why section headers are previewed while chapter headers > > are not. > > Probably because you are using some package that replaces chapter > headers by something not using \@startsection. > > > Can I change this in some way? > > Well, certainly. But unless you tell us just what you are doing, I am writing a document of the type [german]{book}. I would like to preview all headers. I will attach my preamble to this mail. Thanks for your answers so far and sorry for all this text. I dont know how to state the problem clearly with less text. Jörg ----------------------------------------------------------------------------------- %&latex \documentclass[german]{book} \makeindex %\usepackage[pdftex]{graphicx} % um pdf einzubinden %\usepackage[usenames,dvipsnames]{color} % keine Ahnung, warum man das braucht %\usepackage[pdftex]{hyperref} % um Hyperlinks in der pdf-Datei zu erzeugen \usepackage{a4wide} % Text breiter \usepackage{tipa} % phonetische Zeichen \usepackage{float} \usepackage[latin1]{inputenc} %\usepackage[T1]{fontenc} \usepackage{color} \usepackage{graphicx} \usepackage{url} \usepackage{amssymb} \usepackage{latexsym} \usepackage{amsfonts} \usepackage[noeepic]{qtree} \usepackage{eurosym} \usepackage{stmaryrd} \usepackage{longtable} \usepackage{babel} \usepackage{lscape} \usepackage{theorem} \usepackage{array} \usepackage{makeidx} \usepackage{rotating} \usepackage{multirow} \renewcommand{\labelenumi}{\alph{enumi})} \renewcommand{\labelenumii}{\arabic{enumii}.} \newcommand{\uuu}[1]{\underline{#1}}\theorembodyfont{\upshape} \newcommand{\fig}{\input} \newtheorem{Definition}{Definition} \newtheorem{Anmerkung}{Anmerkung} \newtheorem{Anmerkungen}[Anmerkung]{Anmerkungen} \newtheorem{Axiom}{Axiom} \newtheorem{Beispiel}{Beispiel} \newtheorem{Beispiele}[Beispiel]{Beispiele} \newtheorem{Aufgabe}{Aufgabe} \newtheorem{Aufgaben}[Aufgabe]{Aufgaben} \newtheorem{Personenbeschreibung}{Personenbeschreibung} \newtheorem{Problem}{Problem} \newtheorem{Notationskonvention}{Notationskonvention} \newtheorem{Prinzip}{Prinzip} \newtheorem{Lemma}{Lemma} \usepackage[displaymath,textmath,sections,graphics,floats]{preview} \PreviewEnvironment{enumerate} \PreviewEnvironment{tabular} \PreviewEnvironment{Text} \PreviewEnvironment{Definition} \PreviewEnvironment{Anmerkung} \PreviewEnvironment{Anmerkungen} \PreviewEnvironment{Beispiel} \PreviewEnvironment{Beispiele} \PreviewEnvironment{Personenbeschreibung} \PreviewEnvironment{Aufgabe} \begin{document}