docutils-users

 [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Ronny Pfannschmidt - 2012-04-25 17:36:32 Hi, for my thesis, i would like to write most of the text with restructuredtext, however for the added quality, i'd like to do things like the titlepage and some basic style stuff and the document structure in normal latex, and just include the generated fragments. what would be the best/canonical way to do that? Note that i already looked into generating the whole thesis from restructuredtext, but that turned out impractical and/or too low in quality -- Ronny Pfannschmidt 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: David Goodger - 2012-04-25 20:17:26 On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt wrote: > for my thesis, > i would like to write most of the text with restructuredtext, > > however for the added quality, i'd like to do things like the titlepage > and some basic style stuff and the document structure in normal latex, > and just include the generated fragments. > > what would be the best/canonical way to do that? I would do it the other way around: use the "raw" directive to insert raw LaTeX where appropriate. -- David Goodger ; 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Alli Quaknaa - 2012-04-26 07:54:57 On Wed, Apr 25, 2012 at 10:16 PM, David Goodger wrote: > On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt > wrote: >> for my thesis, >> i would like to write most of the text with restructuredtext, >> >> however for the added quality, i'd like to do things like the titlepage >> and some basic style stuff and the document structure in normal latex, >> and just include the generated fragments. >> >> what would be the best/canonical way to do that? > > I would do it the other way around: use the "raw" directive to insert > raw LaTeX where appropriate. I agree. I've done exactly this for my thesis last year and ReST is really well suited for that -- you can supply the LaTeX template, define styles at the beginning of the document and then write it practically all in ReST. The only place where I needed a longer LaTeX block was some algorithm block. Besides that I just used the math directive and everything worked. Including citations, BTW (BibTeX). If you have any questions I'm able to answer I'll help gladly. al-Quaknaa > > -- > David Goodger ; > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Docutils-users mailing list > Docutils-users@... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Tomi Pieviläinen - 2012-04-26 08:08:07 Attachments: signature.asc On Thu, Apr 26, 2012 at 09:54:50AM +0200, Alli Quaknaa wrote: > On Wed, Apr 25, 2012 at 10:16 PM, David Goodger wrote: > > On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt > > wrote: > >> for my thesis, > >> i would like to write most of the text with restructuredtext, > >> > >> however for the added quality, i'd like to do things like the titlepage > >> and some basic style stuff and the document structure in normal latex, > >> and just include the generated fragments. > >> > >> what would be the best/canonical way to do that? > > > > I would do it the other way around: use the "raw" directive to insert > > raw LaTeX where appropriate. > > I agree. I've done exactly this for my thesis last year and ReST is > really well suited for that -- you can supply the LaTeX template, > define styles at the beginning of the document and then write it > practically all in ReST. The only place where I needed a longer LaTeX > block was some algorithm block. Besides that I just used the math > directive and everything worked. Including citations, BTW (BibTeX). > > If you have any questions I'm able to answer I'll help gladly. Would your thesis, with the source, happen to be freely available as an example? -- Tomi Pieviläinen, +358 400 487 504 A: Because it disrupts the natural way of thinking. Q: Why is top posting frowned upon? 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Ronny Pfannschmidt - 2012-04-26 09:50:27 Hi Alli, i would appreciate an example of a titlepage/toc setup. -- Ronny On 04/26/2012 09:54 AM, Alli Quaknaa wrote: > On Wed, Apr 25, 2012 at 10:16 PM, David Goodger wrote: >> On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt >> wrote: >>> for my thesis, >>> i would like to write most of the text with restructuredtext, >>> >>> however for the added quality, i'd like to do things like the titlepage >>> and some basic style stuff and the document structure in normal latex, >>> and just include the generated fragments. >>> >>> what would be the best/canonical way to do that? >> >> I would do it the other way around: use the "raw" directive to insert >> raw LaTeX where appropriate. > > I agree. I've done exactly this for my thesis last year and ReST is > really well suited for that -- you can supply the LaTeX template, > define styles at the beginning of the document and then write it > practically all in ReST. The only place where I needed a longer LaTeX > block was some algorithm block. Besides that I just used the math > directive and everything worked. Including citations, BTW (BibTeX). > > If you have any questions I'm able to answer I'll help gladly. > > al-Quaknaa >> >> -- >> David Goodger; >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Docutils-users mailing list >> Docutils-users@... >> https://lists.sourceforge.net/lists/listinfo/docutils-users >> >> Please use "Reply All" to reply to the list. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Docutils-users mailing list > Docutils-users@... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Alli Quaknaa - 2012-04-26 10:28:01 Hi, the document isn't very polished (in the sense of someone else looking at the source code) and the actual content (some claims I make) aren't true (as my opponent found out), but it's in Czech anyway so most of you won't understand (hopefully :D). I hope everything necessary is provided, if not, feel free to ask. http://koutecky.name/thesis The end result is http://koutecky.name/thesis/bc.pdf, you can see that the HTML output (using MathJax) also works [mostly; what doesn't work are the algorithm passages I wrote about previously] -- http://koutecky.name/thesis/bc.html. You can see I defined a few directives to match the AMS styles, but it wasn't entirely necessary and (at least for the purposes of LaTeX output) I could've easily done with user defined roles. But it gave me more freedom in case I actually needed some more advanced customization. For citations management I recommend KBibTeX. Good luck :) al-Quaknaa On Thu, Apr 26, 2012 at 11:50 AM, Ronny Pfannschmidt wrote: > Hi Alli, > > i would appreciate an example of a titlepage/toc setup. > > -- Ronny > > > > On 04/26/2012 09:54 AM, Alli Quaknaa wrote: >> >> On Wed, Apr 25, 2012 at 10:16 PM, David Goodger >>  wrote: >>> >>> On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt >>>  wrote: >>>> >>>> for my thesis, >>>> i would like to write most of the text with restructuredtext, >>>> >>>> however for the added quality, i'd like to do things like the titlepage >>>> and some basic style stuff and the document structure in normal latex, >>>> and just include the generated fragments. >>>> >>>> what would be the best/canonical way to do that? >>> >>> >>> I would do it the other way around: use the "raw" directive to insert >>> raw LaTeX where appropriate. >> >> >> I agree. I've done exactly this for my thesis last year and ReST is >> really well suited for that -- you can supply the LaTeX template, >> define styles at the beginning of the document and then write it >> practically all in ReST. The only place where I needed a longer LaTeX >> block was some algorithm block. Besides that I just used the math >> directive and everything worked. Including citations, BTW (BibTeX). >> >> If you have any questions I'm able to answer I'll help gladly. >> >> al-Quaknaa >>> >>> >>> -- >>> David Goodger; >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Docutils-users mailing list >>> Docutils-users@... >>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>> >>> Please use "Reply All" to reply to the list. >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Docutils-users mailing list >> Docutils-users@... >> https://lists.sourceforge.net/lists/listinfo/docutils-users >> >> Please use "Reply All" to reply to the list. > > 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Ronny Pfannschmidt - 2012-05-04 14:39:14 Hi, i finally got around messing with this longer, and i fail to understand the exact details on how you end up with the titlepage as such, i think this is mostly a language barrier issue, since i really cant read a word in the actual rst file but maybe im just missing how exactly latex is used afterwards -- Ronny On 04/26/2012 12:27 PM, Alli Quaknaa wrote: > Hi, > the document isn't very polished (in the sense of someone else looking > at the source code) and the actual content (some claims I make) aren't > true (as my opponent found out), but it's in Czech anyway so most of > you won't understand (hopefully :D). I hope everything necessary is > provided, if not, feel free to ask. > > http://koutecky.name/thesis > > The end result is http://koutecky.name/thesis/bc.pdf, you can see that > the HTML output (using MathJax) also works [mostly; what doesn't work > are the algorithm passages I wrote about previously] -- > http://koutecky.name/thesis/bc.html. > > You can see I defined a few directives to match the AMS styles, but it > wasn't entirely necessary and (at least for the purposes of LaTeX > output) I could've easily done with user defined roles. But it gave me > more freedom in case I actually needed some more advanced > customization. > > For citations management I recommend KBibTeX. > > Good luck :) > al-Quaknaa > > On Thu, Apr 26, 2012 at 11:50 AM, Ronny Pfannschmidt > wrote: >> Hi Alli, >> >> i would appreciate an example of a titlepage/toc setup. >> >> -- Ronny >> >> >> >> On 04/26/2012 09:54 AM, Alli Quaknaa wrote: >>> >>> On Wed, Apr 25, 2012 at 10:16 PM, David Goodger >>> wrote: >>>> >>>> On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt >>>> wrote: >>>>> >>>>> for my thesis, >>>>> i would like to write most of the text with restructuredtext, >>>>> >>>>> however for the added quality, i'd like to do things like the titlepage >>>>> and some basic style stuff and the document structure in normal latex, >>>>> and just include the generated fragments. >>>>> >>>>> what would be the best/canonical way to do that? >>>> >>>> >>>> I would do it the other way around: use the "raw" directive to insert >>>> raw LaTeX where appropriate. >>> >>> >>> I agree. I've done exactly this for my thesis last year and ReST is >>> really well suited for that -- you can supply the LaTeX template, >>> define styles at the beginning of the document and then write it >>> practically all in ReST. The only place where I needed a longer LaTeX >>> block was some algorithm block. Besides that I just used the math >>> directive and everything worked. Including citations, BTW (BibTeX). >>> >>> If you have any questions I'm able to answer I'll help gladly. >>> >>> al-Quaknaa >>>> >>>> >>>> -- >>>> David Goodger; >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Docutils-users mailing list >>>> Docutils-users@... >>>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>>> >>>> Please use "Reply All" to reply to the list. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Docutils-users mailing list >>> Docutils-users@... >>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>> >>> Please use "Reply All" to reply to the list. >> >> 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Alli Quaknaa - 2012-05-04 14:56:54 Hi Ronny, sorry for not mentioning this earlier. The first four pages have nothing to do with ReST. They are part of our faculty's official LaTeX template, which is included via the raw latex directive, but I forgot to upload the file. It's there now, called front_matter.tex. So anything in the first 4 pages wasn't done using docutils, just LaTeX; that starts with the table of contents. If there's anything still unclear, ask away. al-Quaknaa On Fri, May 4, 2012 at 4:39 PM, Ronny Pfannschmidt wrote: > Hi, > > i finally got around messing with this longer, and i fail to understand the > exact details on how you end up with the titlepage as such, > > i think this is mostly a language barrier issue, > since i really cant read a word in the actual rst file > but maybe im just missing how exactly latex is used afterwards > > -- Ronny > > > > On 04/26/2012 12:27 PM, Alli Quaknaa wrote: >> >> Hi, >> the document isn't very polished (in the sense of someone else looking >> at the source code) and the actual content (some claims I make) aren't >> true (as my opponent found out), but it's in Czech anyway so most of >> you won't understand (hopefully :D). I hope everything necessary is >> provided, if not, feel free to ask. >> >> http://koutecky.name/thesis >> >> The end result is http://koutecky.name/thesis/bc.pdf, you can see that >> the HTML output (using MathJax) also works [mostly; what doesn't work >> are the algorithm passages I wrote about previously] -- >> http://koutecky.name/thesis/bc.html. >> >> You can see I defined a few directives to match the AMS styles, but it >> wasn't entirely necessary and (at least for the purposes of LaTeX >> output) I could've easily done with user defined roles. But it gave me >> more freedom in case I actually needed some more advanced >> customization. >> >> For citations management I recommend KBibTeX. >> >> Good luck :) >> al-Quaknaa >> >> On Thu, Apr 26, 2012 at 11:50 AM, Ronny Pfannschmidt >>  wrote: >>> >>> Hi Alli, >>> >>> i would appreciate an example of a titlepage/toc setup. >>> >>> -- Ronny >>> >>> >>> >>> On 04/26/2012 09:54 AM, Alli Quaknaa wrote: >>>> >>>> >>>> On Wed, Apr 25, 2012 at 10:16 PM, David Goodger >>>>  wrote: >>>>> >>>>> >>>>> On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt >>>>>    wrote: >>>>>> >>>>>> >>>>>> for my thesis, >>>>>> i would like to write most of the text with restructuredtext, >>>>>> >>>>>> however for the added quality, i'd like to do things like the >>>>>> titlepage >>>>>> and some basic style stuff and the document structure in normal latex, >>>>>> and just include the generated fragments. >>>>>> >>>>>> what would be the best/canonical way to do that? >>>>> >>>>> >>>>> >>>>> I would do it the other way around: use the "raw" directive to insert >>>>> raw LaTeX where appropriate. >>>> >>>> >>>> >>>> I agree. I've done exactly this for my thesis last year and ReST is >>>> really well suited for that -- you can supply the LaTeX template, >>>> define styles at the beginning of the document and then write it >>>> practically all in ReST. The only place where I needed a longer LaTeX >>>> block was some algorithm block. Besides that I just used the math >>>> directive and everything worked. Including citations, BTW (BibTeX). >>>> >>>> If you have any questions I'm able to answer I'll help gladly. >>>> >>>> al-Quaknaa >>>>> >>>>> >>>>> >>>>> -- >>>>> David Goodger; >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. >>>>> Discussions >>>>> will include endpoint security, mobile security and the latest in >>>>> malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Docutils-users mailing list >>>>> Docutils-users@... >>>>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>>>> >>>>> Please use "Reply All" to reply to the list. >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. >>>> Discussions >>>> will include endpoint security, mobile security and the latest in >>>> malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Docutils-users mailing list >>>> Docutils-users@... >>>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>>> >>>> Please use "Reply All" to reply to the list. >>> >>> >>> > 
 Re: [Docutils-users] generating text fragments for use with input/include in a larger latex document From: Ronny Pfannschmidt - 2012-05-04 15:30:28 Hi Alli, that was the missing piece, now i know what to do, thanks a lot -- Ronny On 05/04/2012 04:56 PM, Alli Quaknaa wrote: > Hi Ronny, > sorry for not mentioning this earlier. The first four pages have > nothing to do with ReST. They are part of our faculty's official LaTeX > template, which is included via the raw latex directive, but I forgot > to upload the file. It's there now, called front_matter.tex. > > So anything in the first 4 pages wasn't done using docutils, just > LaTeX; that starts with the table of contents. > > If there's anything still unclear, ask away. > > al-Quaknaa > On Fri, May 4, 2012 at 4:39 PM, Ronny Pfannschmidt > wrote: >> Hi, >> >> i finally got around messing with this longer, and i fail to understand the >> exact details on how you end up with the titlepage as such, >> >> i think this is mostly a language barrier issue, >> since i really cant read a word in the actual rst file >> but maybe im just missing how exactly latex is used afterwards >> >> -- Ronny >> >> >> >> On 04/26/2012 12:27 PM, Alli Quaknaa wrote: >>> >>> Hi, >>> the document isn't very polished (in the sense of someone else looking >>> at the source code) and the actual content (some claims I make) aren't >>> true (as my opponent found out), but it's in Czech anyway so most of >>> you won't understand (hopefully :D). I hope everything necessary is >>> provided, if not, feel free to ask. >>> >>> http://koutecky.name/thesis >>> >>> The end result is http://koutecky.name/thesis/bc.pdf, you can see that >>> the HTML output (using MathJax) also works [mostly; what doesn't work >>> are the algorithm passages I wrote about previously] -- >>> http://koutecky.name/thesis/bc.html. >>> >>> You can see I defined a few directives to match the AMS styles, but it >>> wasn't entirely necessary and (at least for the purposes of LaTeX >>> output) I could've easily done with user defined roles. But it gave me >>> more freedom in case I actually needed some more advanced >>> customization. >>> >>> For citations management I recommend KBibTeX. >>> >>> Good luck :) >>> al-Quaknaa >>> >>> On Thu, Apr 26, 2012 at 11:50 AM, Ronny Pfannschmidt >>> wrote: >>>> >>>> Hi Alli, >>>> >>>> i would appreciate an example of a titlepage/toc setup. >>>> >>>> -- Ronny >>>> >>>> >>>> >>>> On 04/26/2012 09:54 AM, Alli Quaknaa wrote: >>>>> >>>>> >>>>> On Wed, Apr 25, 2012 at 10:16 PM, David Goodger >>>>> wrote: >>>>>> >>>>>> >>>>>> On Wed, Apr 25, 2012 at 13:36, Ronny Pfannschmidt >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> for my thesis, >>>>>>> i would like to write most of the text with restructuredtext, >>>>>>> >>>>>>> however for the added quality, i'd like to do things like the >>>>>>> titlepage >>>>>>> and some basic style stuff and the document structure in normal latex, >>>>>>> and just include the generated fragments. >>>>>>> >>>>>>> what would be the best/canonical way to do that? >>>>>> >>>>>> >>>>>> >>>>>> I would do it the other way around: use the "raw" directive to insert >>>>>> raw LaTeX where appropriate. >>>>> >>>>> >>>>> >>>>> I agree. I've done exactly this for my thesis last year and ReST is >>>>> really well suited for that -- you can supply the LaTeX template, >>>>> define styles at the beginning of the document and then write it >>>>> practically all in ReST. The only place where I needed a longer LaTeX >>>>> block was some algorithm block. Besides that I just used the math >>>>> directive and everything worked. Including citations, BTW (BibTeX). >>>>> >>>>> If you have any questions I'm able to answer I'll help gladly. >>>>> >>>>> al-Quaknaa >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> David Goodger; >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Live Security Virtual Conference >>>>>> Exclusive live event will cover all the ways today's security and >>>>>> threat landscape has changed and how IT managers can respond. >>>>>> Discussions >>>>>> will include endpoint security, mobile security and the latest in >>>>>> malware >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> _______________________________________________ >>>>>> Docutils-users mailing list >>>>>> Docutils-users@... >>>>>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>>>>> >>>>>> Please use "Reply All" to reply to the list. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. >>>>> Discussions >>>>> will include endpoint security, mobile security and the latest in >>>>> malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Docutils-users mailing list >>>>> Docutils-users@... >>>>> https://lists.sourceforge.net/lists/listinfo/docutils-users >>>>> >>>>> Please use "Reply All" to reply to the list. >>>> >>>> >>>> >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Docutils-users mailing list > Docutils-users@... > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list.