Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ironing out latexpdf (newbie, getting there..)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
chrisharris_bc_ca  
View profile  
 More options Sep 3 2012, 1:55 pm
From: chrisharris_bc_ca <charri...@gmail.com>
Date: Mon, 3 Sep 2012 10:55:09 -0700 (PDT)
Local: Mon, Sep 3 2012 1:55 pm
Subject: Ironing out latexpdf (newbie, getting there..)

Hi, I am starting to learn and use Sphinx for documentation and I have some
errors that I cannot iron out.

These are the errors all by latexpdf:

1. 'Chapter' becomes 'Section'. How to ?
2. No reference to version anywhere (specifically header/footers).
3. All pages are right-side pages so the header/footer needs to maintain
right-side alignment.
4. When an email address is contained in a paragraph, then a duplicate of
this address appears in the footnotes.  This is not needed when the email
text is clear in the paragraph.  How to disable this having footnotes via
[#]_ remain in tact?

Thank you very much :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernhard Grotz  
View profile  
 More options Sep 9 2012, 1:21 pm
From: Bernhard Grotz <bernhard.gr...@gmx.de>
Date: Sun, 9 Sep 2012 19:21:55 +0200
Local: Sun, Sep 9 2012 1:21 pm
Subject: Re: [sphinx-dev] Ironing out latexpdf (newbie, getting there..)

Hi,

* chrisharris_bc_ca <charri...@gmail.com> [09.09.2012 18:30]:

> Hi, I am starting to learn and use Sphinx for documentation and I have some
> errors that I cannot iron out.

> These are the errors all by latexpdf:

> 1. 'Chapter' becomes 'Section'. How to ?

This depends on whether you have selected "manual" or "howto" in your project's
``conf.py``-file. Asure you have two lines like::

        latex_documents = [
          ('index', 'output-name.tex', u'project name',
          u'author name', 'manual'),
        ]

> 2. No reference to version anywhere (specifically header/footers).

References to project name and version are inserted automatically when you
choose ``manual`` as latex output format.

> 3. All pages are right-side pages so the header/footer needs to maintain
> right-side alignment.

See above.

> 4. When an email address is contained in a paragraph, then a duplicate of
> this address appears in the footnotes.  This is not needed when the email
> text is clear in the paragraph.  How to disable this having footnotes via
> [#]_ remain in tact?

Can you post a quick example please?

Greetings,

Bernhard

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Harris  
View profile  
 More options Sep 10 2012, 1:11 pm
From: Chris Harris <charri...@gmail.com>
Date: Mon, 10 Sep 2012 10:11:11 -0700
Local: Mon, Sep 10 2012 1:11 pm
Subject: Re: [sphinx-dev] Ironing out latexpdf (newbie, getting there..)
Hi Bernard,

Thank you, I figured most of it out. I decided to keep it as "Chapters" and the other parts were in the templates I found.

So also I did a horrible python thing to remove those auto-footnotes before processing make all-pdf:

regex = re.compile(r"\{(.+)\}\\footnote\{\1\}")
for s in input:
    output.write (re.sub(regex, r'{\1}', s))

Cheers

On Sun, 9 Sep 2012 19:21:55 +0200

--
Chris Harris <charri...@gmail.com>

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »