On Fri, 1 Jun 2007, Richard Heck wrote:

> Look at the stdcharstyles.inc file, which you'll find in e.g. /usr/share/lyx/.
> You'll need to define yours in a similar way (or use this one), and then
> include the file in a custom layout file. This can be as simple as:
> #% Do not delete the line below; configure depends on this
> # \DeclareLaTeXClass[article.cls]{article (mine)}
> Input article.cls
> Input mycharstyles.inc
> Put this in your user layout directory (e.g., /home/you/.lyx/layouts/),
> reconfigure LyX, choose it, and you're off.

That had errors, so I just copied scrbook.layout to my ~/.lyx/layouts/ and 
added the line:

Input mycharstyles.inc

Is there any file that corresponds to stdcharstyles.inc that defines 
\newcommand{} for \filename and the others in that file? Or do I have to 
define all these myself?


  Jeremy C. Reed

Reply via email to