Not able to generate the PDF using MikTex 2.7

2008-11-01 Thread ksachdeva

Hi,

I am able to generate HTML and tex from a very basic (actually the
content created by sphinx quick start) setup but when I try to
generate pdf using pdftex utility I get bunch of errors and nothing
gets generated. Again, I have not added anything to the project
created by sphinx quick start.

Regards  thanks
Kapil

The log file 43 KB so just putting some bits here...

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded
format=pdftex 2008.11.1)  1 NOV 2008 03:47
entering extended mode
**Test.tex Test.pdf
(Test.tex
! Undefined control sequence.
l.2 \documentclass
  [letterpaper,10pt]{manual}
?
! Undefined control sequence.
l.3 \usepackage
   [utf8]{inputenc}
?
! Undefined control sequence.
l.4 \usepackage
   [T1]{fontenc}
?
! Undefined control sequence.
l.5 \title
  {Test Documentation}
?
! Undefined control sequence.
l.6 \date
 {November 01, 2008}
?
! Undefined control sequence.
l.7 \release
{0.1}
?
! Undefined control sequence.
l.8 \author
   {ksachdeva}
?
! Undefined control sequence.
l.9 \newcommand
   {\sphinxlogo}{}
?
! Undefined control sequence.
l.9 \newcommand{\sphinxlogo
   }{}
?
! Undefined control sequence.
l.11 \makeindex

?
! Undefined control sequence.
l.12 \makemodindex

?
! Undefined control sequence.
l.13 \newcommand
[EMAIL PROTECTED]
?
! Undefined control sequence.
l.13 \newcommand\at
   [EMAIL PROTECTED]
?
! Undefined control sequence.
l.14 \newcommand
\lb{[}
?
! Undefined control sequence.
l.14 \newcommand\lb
   {[}
?
! Undefined control sequence.
l.15 \newcommand
\rb{]}
?
! Undefined control sequence.
l.15 \newcommand\rb
   {]}
?
! Undefined control sequence.
l.16 \newcommand
\PYGaz[1]{\textcolor[rgb]{0.00,0.63,0.00}{#1}}
?
! Undefined control sequence.
l.16 \newcommand\PYGaz
  [1]{\textcolor[rgb]{0.00,0.63,0.00}{#1}}
?
! Undefined control sequence.
l.16 \newcommand\PYGaz[1]{\textcolor
[rgb]{0.00,0.63,0.00}{#1}}
?
! You can't use `macro parameter character #' in horizontal mode.
l.16 ...PYGaz[1]{\textcolor[rgb]{0.00,0.63,0.00}{#
  1}}
?
! Undefined control sequence.
l.17 \newcommand
\PYGax[1]{\textcolor[rgb]{0.84,0.33,0.22}
{\textbf{#1}}}

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Search not working as I expected

2008-11-01 Thread Roger Binns

If I search for a partial string then it is found.  For example
searching for modul will find module etc.  I have a page with some
constants that looks like this:

  :const:`SQLITE_STATUS_ONE`, :const:`SQLITE_STATUS_TWO`,
:const:`SQLITE_STATUS_THREE`

If I do a search for SQLITE_STATUS then nothing shows up.  If I search
for the full term (eg SQLITE_STATUS_ONE) then the page is found.  I
would expect these partial matches to be found.

Sphinx 0.4.3

Roger


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Not able to generate the PDF using MikTex 2.7

2008-11-01 Thread Georg Brandl

ksachdeva schrieb:
 Hi,
 
 I am able to generate HTML and tex from a very basic (actually the
 content created by sphinx quick start) setup but when I try to
 generate pdf using pdftex utility I get bunch of errors and nothing
 gets generated. Again, I have not added anything to the project
 created by sphinx quick start.

Hi Kapil,

You'll need to use pdflatex, not pdftex, as the executable to create
the documents.

Also note that you need to run pdflatex several times, and also makeindex
if you want the index to be populated. The Makefile generated in the
output directory does that for you automatically.

If you have further questions, don't hesitate to ask!

cheers,
Georg

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Not able to generate the PDF using MikTex 2.7

2008-11-01 Thread Yarko T
I don't know all the steps (the makefile didn't cut it once the *.tex file
was generated for me), but I know that using WinEdt (which runs MixTeX)   it
all just works  you might try that.
Yarko.

On Sat, Nov 1, 2008 at 9:21 AM, Georg Brandl [EMAIL PROTECTED] wrote:


 ksachdeva schrieb:
  Hi,
 
  I am able to generate HTML and tex from a very basic (actually the
  content created by sphinx quick start) setup but when I try to
  generate pdf using pdftex utility I get bunch of errors and nothing
  gets generated. Again, I have not added anything to the project
  created by sphinx quick start.

 Hi Kapil,

 You'll need to use pdflatex, not pdftex, as the executable to create
 the documents.

 Also note that you need to run pdflatex several times, and also makeindex
 if you want the index to be populated. The Makefile generated in the
 output directory does that for you automatically.

 If you have further questions, don't hesitate to ask!

 cheers,
 Georg

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Indicating level by font size in the table of contents

2008-11-01 Thread Georg Brandl

Janet Swisher schrieb:
 On Tue, Oct 28, 2008 at 5:47 PM, Gael Varoquaux
 [EMAIL PROTECTED] wrote:

 Hi sphinx-devs (Hi Georg),

 As our documentation is gorwing, we are starting to have a fairly deep
 tree of sections:
 http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/

 As a result the table of content is a bit harder to read. I could limit
 its depth, but I would like to prefer avoiding this, as I believe having
 the title of the sub-(-sub-sub-sub...)sections in the table of content
 helps the users finding where is the relevent information.

 An easy way to make the information stand out a bit better is to vary the
 font size: sections larger, and maybe bold, and sub-sub-section smaller.

 Would it be possible to make this the default?
 
 Those are reasonable choices, but not everybody will want them.
 However, if there were class attributes on the levels in the TOC
 (e.g., toc-tree-l1, toc-tree-l2, etc.), then it would be easier
 than it is currently to create specific styles for them. So I would
 modify your request in that way.

That sounds reasonable. I'll look at implementing it.

Georg

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Search not working as I expected

2008-11-01 Thread Georg Brandl

Roger Binns schrieb:
 If I search for a partial string then it is found.  For example
 searching for modul will find module etc.  I have a page with some
 constants that looks like this:
 
   :const:`SQLITE_STATUS_ONE`, :const:`SQLITE_STATUS_TWO`,
 :const:`SQLITE_STATUS_THREE`
 
 If I do a search for SQLITE_STATUS then nothing shows up.  If I search
 for the full term (eg SQLITE_STATUS_ONE) then the page is found.  I
 would expect these partial matches to be found.

Yes, this is due to the way we handle search words. Since an index of
all words is impossible to generate, words from the documents are
stemmed and then compared with the search terms for exact matches.
Looking for substring matches would take much longer (since the JS
search runs on the user's machine).

However, what the new search in 0.5 does is at least search for
substring matches in object names appearing in a description unit;
e.g. if you define your constants as

.. data:: SQLITE_STATUS_ONE
  SQLITE_STATUS_TWO
  SQLITE_STATUS_THREE
  etc.

substring matches will be found.

cheers,
Georg

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Icon doesn't seem to get used locally

2008-11-01 Thread Georg Brandl

Bruce Eckel schrieb:
 If you set an icon and compile it in, the icon doesn't seem to show up
 when you open the file locally.
 
 For what it's worth, the icon line produced by sphinx is:
 
 link rel=shortcut icon href=_static/favicon.ico/

If that is the correct path for the icon, the browser is responsible
if it doesn't show up. I remember that not all browsers handle favicons
the same way.

Georg

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Gael Varoquaux

On Sat, Nov 01, 2008 at 04:14:10PM +0100, Georg Brandl wrote:
 So, I'm asking all of you: what would you prefer -- SVN at Google,
 with very liberal commit policies, or Mercurial?

My experience is that DVCS makes a big difference. I really enjoy it.

Gaƫl

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Rok Garbas

On Sat, Nov 1, 2008 at 4:14 PM, Georg Brandl [EMAIL PROTECTED] wrote:
 So, I'm asking all of you: what would you prefer -- SVN at Google,
 with very liberal commit policies, or Mercurial?

i'm not (yet) a contributor, but i'm working extensivly with sphinx
last month and will continue in the future. it would be nice to see
DVCS. could git be possible option?
(http://git.or.cz/gitwiki/GitBenchmarks)


(my intention is not to get into best dvcs war here, i'm just proposing git)

-- 
Rok Garbas
http://sharbas.blogspot.com/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Yarko T
DVCS is nice - and lightweight on a potential contributor's local machine..

Could we keep it python-ish, so that contributing platforms don't get in the
way?
The nice thing about SVN is is seems to run everywhere

mercurial too (but you need to compile C code if not);
bazaar is all python;

I'd vote for one of the later two (hg or bzr).  In fact, I've found a most
of what I need bazaar site (launchpad), but not found a hosting place
similarly configured for hg, so would be curious to hear what other people
are using for hg source hosting, that includes (at least) a wiki and issue
tracker.

Thanks,
Yarko

On Sat, Nov 1, 2008 at 11:16 AM, Rok Garbas [EMAIL PROTECTED] wrote:


 On Sat, Nov 1, 2008 at 4:14 PM, Georg Brandl [EMAIL PROTECTED] wrote:
  So, I'm asking all of you: what would you prefer -- SVN at Google,
  with very liberal commit policies, or Mercurial?

 i'm not (yet) a contributor, but i'm working extensivly with sphinx
 last month and will continue in the future. it would be nice to see
 DVCS. could git be possible option?
 (http://git.or.cz/gitwiki/GitBenchmarks)


 (my intention is not to get into best dvcs war here, i'm just proposing
 git)

 --
 Rok Garbas
 http://sharbas.blogspot.com/

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Bruce Eckel
I'm using everything Launchpad, including Bazaar, for my project. That said,
I'm still learning DVCS and Bazaar, but I like all the support tools that
Launchpad provides, and that they're all in one place, and that there's
money behind development.

On Sat, Nov 1, 2008 at 12:15 PM, Yarko T [EMAIL PROTECTED] wrote:

 DVCS is nice - and lightweight on a potential contributor's local machine..

 Could we keep it python-ish, so that contributing platforms don't get in
 the way?
 The nice thing about SVN is is seems to run everywhere

 mercurial too (but you need to compile C code if not);
 bazaar is all python;

 I'd vote for one of the later two (hg or bzr).  In fact, I've found a most
 of what I need bazaar site (launchpad), but not found a hosting place
 similarly configured for hg, so would be curious to hear what other people
 are using for hg source hosting, that includes (at least) a wiki and issue
 tracker.

 Thanks,
 Yarko


 On Sat, Nov 1, 2008 at 11:16 AM, Rok Garbas [EMAIL PROTECTED] wrote:


 On Sat, Nov 1, 2008 at 4:14 PM, Georg Brandl [EMAIL PROTECTED] wrote:
  So, I'm asking all of you: what would you prefer -- SVN at Google,
  with very liberal commit policies, or Mercurial?

 i'm not (yet) a contributor, but i'm working extensivly with sphinx
 last month and will continue in the future. it would be nice to see
 DVCS. could git be possible option?
 (http://git.or.cz/gitwiki/GitBenchmarks)


 (my intention is not to get into best dvcs war here, i'm just proposing
 git)

 --
 Rok Garbas
 http://sharbas.blogspot.com/




 



-- 
Bruce Eckel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Sebastien Douche

On Sat, Nov 1, 2008 at 19:15, Yarko T [EMAIL PROTECTED] wrote:
 I'd vote for one of the later two (hg or bzr).  In fact, I've found a most
 of what I need bazaar site (launchpad), but not found a hosting place
 similarly configured for hg, so would be curious to hear what other people
 are using for hg source hosting, that includes (at least) a wiki and issue
 tracker.

With Wiki / ml:
http://sharesource.org/
http://projectkenai.com/
http://developer.berlios.de/

w/o:
http://www.bitbucket.org/
http://freehg.org/

You right, the all-in-place solution (Launchpad) is very comfortable.

BTW, I'm using Hg for my daily job, and I'm happy. But Bzr/Git are
very useful (Git seems to be a bit more powerful[1]), It's only a
personal choice :).



[1] In other side, Bzr/Hg use Python, developing extensions is fast.


-- 
Seb

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Hans Fangohr


 alternate possibility to directly take the step to a DVCS.

 So, I'm asking all of you: what would you prefer -- SVN at Google,
 with very liberal commit policies, or Mercurial?


While I am not contributing to sphinx, I'd like to support the vote  
for Mercurial. I have used over the years cvs and svn, then bzr and  
hg, and found hg most convincing (snappier than bzr, easy for simple  
things, yet fairly powerful if required).

Cheers,

Hans




 cheers,
 Georg

 





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Yarko T
I used to be on the hg end also - but I was participating in projects on
Launchpad; that started to erode my preference I think later (1.5?)
releases of bzr are snappier...

Anyway - the supporting environment is important (look at sourceforge,
code.google, launchpad...)

Sebastian:  thanks for those links...  I'll check them out.
I've seen sharesource before, and preferred what launchpad offers for
running a project.

Regards,
Yarko



On Sat, Nov 1, 2008 at 3:00 PM, Hans Fangohr [EMAIL PROTECTED] wrote:



 alternate possibility to directly take the step to a DVCS.

 So, I'm asking all of you: what would you prefer -- SVN at Google,
 with very liberal commit policies, or Mercurial?


 While I am not contributing to sphinx, I'd like to support the vote for
 Mercurial. I have used over the years cvs and svn, then bzr and hg, and
 found hg most convincing (snappier than bzr, easy for simple things, yet
 fairly powerful if required).

 Cheers,

 Hans




 cheers,
 Georg








 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Version control (was Re: Autosummary)

2008-11-01 Thread Yarko T
I think Project Kenai bears more looking into (at least by me...)...   At
first look, it seems pretty feature reach.


On Sat, Nov 1, 2008 at 2:46 PM, Sebastien Douche [EMAIL PROTECTED] wrote:


 On Sat, Nov 1, 2008 at 19:15, Yarko T [EMAIL PROTECTED] wrote:
  I'd vote for one of the later two (hg or bzr).  In fact, I've found a
 most
  of what I need bazaar site (launchpad), but not found a hosting place
  similarly configured for hg, so would be curious to hear what other
 people
  are using for hg source hosting, that includes (at least) a wiki and
 issue
  tracker.

 With Wiki / ml:
 http://sharesource.org/
 http://projectkenai.com/
 http://developer.berlios.de/

 w/o:
 http://www.bitbucket.org/
 http://freehg.org/

 You right, the all-in-place solution (Launchpad) is very comfortable.

 BTW, I'm using Hg for my daily job, and I'm happy. But Bzr/Git are
 very useful (Git seems to be a bit more powerful[1]), It's only a
 personal choice :).



 [1] In other side, Bzr/Hg use Python, developing extensions is fast.


 --
 Seb

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@googlegroups.com
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
-~--~~~~--~~--~--~---