lyx_mirror/src/insets/insetfoot.h
Georg Baum 8b67659646 Use UTF8 for LaTeX export.
Known problems:
- No space is output after a \hfill. I probably broke this with the
  InsetCommand patch. I'll have a look later.
- Although the encoding is now UTF8 the arguments of the inputenc package
  are still the old ones, so LaTeX will not run.
- Labels and references with non-ASCII characters are broken. This needs to
  be fixed in lyx::support::escape(), but this is a file format change.
- Something seems to be wrong with index entries, but this is probably also
  due to the InsetCommand changes.

Have fun!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15378 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 16:51:30 +00:00

42 lines
877 B
C++

// -*- C++ -*-
/**
* \file insetfoot.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Jürgen Vigna
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef INSETFOOT_H
#define INSETFOOT_H
#include "insetfootlike.h"
/** The footnote inset
*/
class InsetFoot : public InsetFootlike {
public:
///
InsetFoot(BufferParams const &);
///
InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; }
///
int latex(Buffer const &, lyx::odocstream &,
OutputParams const &) const;
///
int docbook(Buffer const &, std::ostream &,
OutputParams const & runparams) const;
///
virtual lyx::docstring const editMessage() const;
protected:
InsetFoot(InsetFoot const &);
private:
virtual std::auto_ptr<InsetBase> doClone() const;
};
#endif