So I run the default example @rst node and it creates the nice looking html
page. Then I decided to change the .html to .pdf and see how the pdf looks.
I'm guessing I skipped a bunch of steps because that seems too easy. I have
the following error:

Unexpected docutils exception
Traceback (most recent call last):
  File "/home/lang/leo-editor/leo/core/leoRst.py", line 1678, in writeToDocutils
    settings_overrides=overrides)
  File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 414,
in publish_string
    enable_exit_status=enable_exit_status)
  File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 662,
in publish_programmatically
    output = pub.publish(enable_exit_status=enable_exit_status)
  File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 219, in publish
    output = self.writer.write(self.document, self.destination)
  File "/usr/lib/python2.7/dist-packages/docutils/writers/__init__.py",
line 80, in write
    self.translate()
  File "/home/lang/leo-editor/leo/plugins/leo_pdf.py", line 658, in translate
    visitor = PDFTranslator(self,self.document)
  File "/home/lang/leo-editor/leo/plugins/leo_pdf.py", line 782, in __init__
    self.styleSheet = getStyleSheet()
  File "/home/lang/leo-editor/leo/plugins/leo_pdf.py", line 299, in
getStyleSheet
    stylesheet = StyleSheet1()
NameError: global name 'StyleSheet1' is not defined
rst3: 1 files in 0.13 sec.

I'm have docutils installed. Leo from git today.

On Fri, May 12, 2017 at 1:50 PM, Chris George <technat...@gmail.com> wrote:

> I use Leo strictly for writing, restructured text to .odt using docutils.
> I also use it as my data bank for quotes, snippets of interesting info,
> bookmarks, recipes, etc. It makes it easy to keep information organized and
> simple to find again when I need it.
>
>
> Chris
>
> On Fri, May 12, 2017 at 12:38 PM, Largo84 <larg...@gmail.com> wrote:
>
>> Sounds a lot like how I use Leo. I'm not a programmer either (unless you
>> count minimal scripting in LaTex). I write extensively in Leo (LaTex, HTML
>> and markdown mostly). I recently tried Scrivener, but quickly came back to
>> Leo after seeing that Pandoc will be easy enough for me to use. Don't
>> hesitate to ask, it's a great group and usually somebody can and will help.
>>
>> If you haven't yet, try out the linking capabilities.
>>
>> Rob.........
>>
>>
>> On Friday, May 12, 2017 at 3:12:46 PM UTC-4, Lang Hurst wrote:
>>>
>>> Thanks for the response. Nothing special about vimwiki, it's just a wiki
>>> I use for organization and writing. Substitute any wiki for the use. More
>>> interested in the linking and moving back and forth. I'm feeling like I
>>> just have to change my thinking style and this should be pretty awesome.
>>> Nothing like changing up workflow 1/2 way through a Masters, but it seems
>>> to be the way that I always work. Anyway, thanks again.
>>>
>>> -Lang
>>>
>>> On Friday, May 12, 2017 at 12:00:26 PM UTC-7, Terry Brown wrote:
>>>>
>>>> On Fri, 12 May 2017 11:11:03 -0700 (PDT)
>>>> Lang Hurst <gra...@gmail.com> wrote:
>>>>
>>>> > Hello. I just spent a few days looking at Leo after seeing a post of
>>>> > Mr. Reams on the npyscreen group. Leo looks pretty damn cool. The
>>>> > problem is I don't do much coding anymore. I mostly just use vimwiki
>>>> > to manage my website, but mostly for organizing my notes and writing
>>>> > papers. I've been writing the papers in LaTex while in vimwiki and
>>>> > then compiling it from there. Seems like I could use Leo to do most
>>>> > of this. Before I spend more time though, am I using this tool in a
>>>> > way that doesn't make sense? Is there anyone who does this? I can see
>>>> > how awesome Leo could be for straight up writing, but just wondering
>>>> > how or if people utilize it outside of that or just python
>>>> > programming.
>>>>
>>>> I think a lot of people use Leo for non-coding / writing type
>>>> purposes.  I've been writing papers via Leo -> markdown -> pandoc,
>>>> which uses LaTeX for PDF output.
>>>>
>>>> Not familiar with vimwiki so not sure how much automation that's
>>>> bringing to the LaTeX writing process.  Leo's abbreviations can be
>>>> helpful, e.g. expanding something like fig;; to
>>>>
>>>> \begin{figure}<rest of useful template>\end{figure}
>>>>
>>>> Not aware of any particular pre-view apparatus, but it's very easy to
>>>> write button scripts that generate a doc. being viewed in PDF preview
>>>> or whatever.
>>>>
>>>> Cheers -Terry
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "leo-editor" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to leo-editor+unsubscr...@googlegroups.com.
>> To post to this group, send email to leo-editor@googlegroups.com.
>> Visit this group at https://groups.google.com/group/leo-editor.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "leo-editor" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/leo-editor/A7_LlNEGPZQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
I have a foreboding of an America in my children's or grandchildren's time
-- when the United States is a service and information economy; when nearly
all the manufacturing industries have slipped away to other countries; when
awesome technological powers are in the hands of a very few, and no one
representing the public interest can even grasp the issues; when the people
have lost the ability to set their own agendas or knowledgeably question
those in authority; when, clutching our crystals and nervously consulting
our horoscopes, our critical faculties in decline, unable to distinguish
between what feels good and what's true, we slide, almost without noticing,
back into superstition and darkness... - Carl Sagan

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to