Subject: Re: [Fenics] [Branch ~fenics-core/fenics-doc/main] Rev 10: Tweak latex files.

From: Kristian Oelgaard <[email-masked]>
Date: Tue, 27 Apr 2010 14:05:43 +0200 (CET)

Looks good, I've added the Poisson.ufl and main.cpp files and created links for download in the C++ demo.
The question is how we should keep these files updated in case the DOLFIN demo changes?
If it is just syntax changes we could do this automatically by copying the relevant files, but what if, for some reason, the source term changes? Sometimes people do make changes to the DOLFIN demos.

Kristian

On 27 April 2010 13:42,  <[email-masked]> wrote:
> ------------------------------------------------------------
> revno: 10
> committer: Garth N. Wells <[email-masked]>
> branch nick: fenics-doc
> timestamp: Tue 2010-04-27 12:39:47 +0100
> message:
>  Tweak latex files.
> modified:
>  source/conf.py
>  source/demos/common/pde/poisson.txt
>
>
> --
> lp:fenics-doc
> https://code.launchpad.net/~fenics-core/fenics-doc/main
>
> You are subscribed to branch lp:fenics-doc.
> To unsubscribe from this branch go to https://code.launchpad.net/~fenics-core/fenics-doc/main/+edit-subscription
>
> === modified file 'source/conf.py'
> --- source/conf.py      2010-04-27 09:30:19 +0000
> +++ source/conf.py      2010-04-27 11:39:47 +0000
> @@ -164,12 +164,6 @@
>
>  # -- Options for LaTeX output --------------------------------------------------
>
> -# The paper size ('letter' or 'a4').
> -#latex_paper_size = 'letter'
> -
> -# The font size ('10pt', '11pt' or '12pt').
> -#latex_font_size = '10pt'
> -
>  # Grouping the document tree into LaTeX files. List of tuples
>  # (source start file, target name, title, author, documentclass [howto/manual]).
>  latex_documents = [
> @@ -205,3 +199,9 @@
>
>  # If false, no module index is generated.
>  #latex_use_modindex = True
> +
> +latex_elements = {'fontpkg': '\usepackage{mathptmx}',
> +                  'pointsize': '11pt',
> +                  'papersize': 'a4',
> +                  'fontenc': '',
> +                  'preamble': '\usepackage{amssymb}'}
>
> === modified file 'source/demos/common/pde/poisson.txt'
> --- source/demos/common/pde/poisson.txt 2010-04-27 11:12:29 +0000
> +++ source/demos/common/pde/poisson.txt 2010-04-27 11:39:47 +0000
> @@ -2,7 +2,7 @@
>  Explain what the Poisson demo does and how. Link to download code.
>
>  The Poisson equation is the cannonical elliptic partial differential equation.
> -For a domain :math:`\Omega \in \mathbb{R}^{n}`, the Poisson equation with
> +For a domain :math:`\Omega \subset \mathbb{R}^n`, the Poisson equation with
>  particular boundary conditions reads:
>
>  .. math::
>
>
>