X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyx_sty.h;h=b7461115bef0b26479990eedbb1c417b614d8fa5;hb=501f1dd61b6c0beb927151ecf331f78848261b59;hp=d431d40742d272f9246f3ae4d68086bf65c4820c;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/lyx_sty.h b/src/lyx_sty.h index d431d40742..b7461115be 100644 --- a/src/lyx_sty.h +++ b/src/lyx_sty.h @@ -1,48 +1,55 @@ // -*- C++ -*- -/* - This file is part of - ====================================================== - - LyX, The Document Processor - - Copyright (C) 1995 Matthias Ettrich - - ====================================================== - */ +/** + * \file lyx_sty.h + * Copyright 1995-2002 the LyX Team + * Read the file COPYING + * + * + * A number of LaTeX command definitions for various + * things. The name of this file is a holdover from the + * days of yore. + * + * \author Lars Gullik Bjornes + */ -#ifndef _LYX_STY_H -#define _LYX_STY_H +#ifndef LYX_STY_H +#define LYX_STY_H #include "LString.h" -// This seems to be fixed now (JMarc) -//#ifdef WITH_WARNINGS -//#warning README!! -//#endif -// I suddenly began to get segfaults in guilsinglleft_def and had no clue -// on why this happened, then I tried a rewrite and added lyx_sty.C. Now -// the segfault has moved to bibcombox... It seems that we(or gcc) have a -// problem with static (non-pointer) objects , if someone knows why please -// tell me. I am using gcc 2.7.2.1 (Linux) and when IĀ get this segfault it -// always has to do with a static object of some kind... I tried to rewrite -// the objects causing the segfault, but the segfault then just moves to -// another object. I'll let some others have a look now... (Lgb) +/// +extern string const lyx_def; +/// +extern string const lyxline_def; +/// +extern string const noun_def; +/// +extern string const lyxarrow_def; +/// +extern string const quotedblbase_def; +/// +extern string const quotesinglbase_def; +/// +extern string const guillemotleft_def; +/// +extern string const guillemotright_def; +/// +extern string const guilsinglleft_def; +/// +extern string const guilsinglright_def; +/// +extern string const paragraphleftindent_def; +/// +extern string const floatingfootnote_def; +/// +extern string const minipageindent_def; +/// +extern string const boldsymbol_def; +/// +extern string const binom_def; +/// +extern string const mathcircumflex_def; +/// +extern string const tabularnewline_def; -// include this always -extern LString const lyx_def; -extern LString const lyxline_def; -extern LString const noun_def; -extern LString const lyxarrow_def; -extern LString const quotedblbase_def; -extern LString const quotesinglbase_def; -extern LString const guillemotleft_def; -extern LString const guillemotright_def; -extern LString const guilsinglleft_def; -extern LString const guilsinglright_def; -extern LString const paragraphindent_def; -extern LString const floatingfootnote_def; -extern LString const minipageindent_def; -extern LString const boldsymbol_def; -extern LString const binom_def; - -#endif +#endif // LYX_STY_H