On Feb 1, 9:36 am, Guenter Milde <[email protected]> wrote:
> On 2011-01-25, cognacc wrote:
> > Trying to use memoir gives me this error (offcourse!).
> > ! LaTeX Error: Two \documentclass or \documentstyle commands.
> You need to change the documentclass that is used by Sphinx to "memoir".
> in the projects config file.
You mean the conf.py?
It seems the string sphinx is prepended to what i put in late
documents.
---
latex_documents = [
('index', 'graphexplorertutor.tex', u'Graph explorer \\& tutor
Documentation : IMM-B.Eng-2010-50',
u'Michael Kell Jensen', 'manual'),
]
---
so if i change 'manual' to 'memoir' if
looks for sphinxmemoir(.cls)
Easily solved, i copy the memoir class from my tex distribution to a
file named sphinxmemoir.cls.
But maybe i should move sphinxmemoir.cls to my static files under my
sphinx root?
> > A latex knowlegdeable guy helped me make a list with a sidebar,
> > but i don't knowhow to make use of if via sphinx. (make a directive).
> > here is his code:
> > --------
>
> These lines should not be needed in your custom preamble (configure
> Sphinx to use the document class and packages instead).
>
> > \documentclass{memoir}
> > \usepackage[T1]{fontenc}
> > \usepackage[utf8]{inputenc}
> > \usepackage[english]{babel}
> > \usepackage{lmodern,lipsum}
> > \usepackage{framed,xcolor} % needed for the new environments
>
> Insert as custom preamble code from here on,
Thanks.
> > \definecolor{linecolor}{rgb}{.64,.79,.62}
> > \newenvironment{fancyenv}{%
>
> ...
>
> You might also need to re-define some commands to use your custom versions.
Could you give me a pointer to documentation and examples.
Where do i redefine commands, is that in the sphinx.sty or.
> All untested, but it might get you started...
thanks.
Ps. is there some documentation on what the tabulary.sty does?
>From my small experimentations it seems that thats the one that will
trouble me most.
Pps. If i can make some progress and make a good result, would it not
be a good thing
to have a sphinxmemoir.cls class inegrated in the sphinx distribution?
> Günter
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.