Re: import error for leo_pdf

2011-12-06 Thread Matt Wilkie
On Mon, Dec 5, 2011 at 6:57 PM, HansBKK hans...@gmail.com wrote: My apologies if resurrecting old threads is frowned upon here, if so let me know and I'll try to refrain in future. . . For what it's worth, I've seen more resurrections on this mailing list than any other I participate in. It's

Re: import error for leo_pdf

2011-12-05 Thread HansBKK
My apologies if resurrecting old threads is frowned upon here, if so let me know and I'll try to refrain in future. . . On Tue, Nov 8, 2011 at 9:49 AM, mdb mdbol...@gmail.com wrote: I vote for using rst2pdf Thanks for your vote. I'm leaning the same way. I think using standard tools

Re: import error for leo_pdf

2011-12-05 Thread Terry Brown
From: HansBKK hans...@gmail.com Or alternatively, does anyone know of a generalized helper utility for this that would work outside of Leo to: - watch a dirstruc hierarchy - track the timestamps of the source files - run an arbitrary script/executable against and any new or changed

Re: import error for leo_pdf

2011-12-05 Thread HansBKK
**wow** that was quick! I'll start googling, below only for those with extra time on their hands 8-) I've only heard of make in relation to compiling program code from source, but I'll checking it out for this type of usage - links to starting-point howtos for non-programmers would be greatly

Re: import error for leo_pdf

2011-12-05 Thread Terry Brown
From: HansBKK hans...@gmail.com Re using make to update outputs as needed. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe

Re: import error for leo_pdf

2011-12-05 Thread Terry Brown
: Monday, December 5, 2011 9:16 PM Subject: Re: import error for leo_pdf **wow** that was quick! I'll start googling, below only for those with extra time on their hands 8-) I've only heard of make in relation to compiling program code from source, but I'll checking it out for this type of usage

Re: import error for leo_pdf

2011-12-05 Thread HansBKK
Sorry Terry I believe your response got mangled? Make looks like the tool for what I want, just a bit of an overly steep learning curve for what I'm trying to do, but that'll come in handy next time I'm looking to avoid getting real work done 8-) If I haven't come across a user-friendlier tool

Re: import error for leo_pdf

2011-11-30 Thread Offray Vladimir Luna Cárdenas
On 11/08/11 11:33, Edward K. Ream wrote: On Tue, Nov 8, 2011 at 9:49 AM, mdbmdbol...@gmail.com wrote: Your comments please. I vote for using rst2pdf Thanks for your vote. I'm leaning the same way. I think using standard tools wherever possible is a big improvements over hacks like

Re: import error for leo_pdf

2011-11-08 Thread Edward K. Ream
On Nov 7, 3:56 pm, Edward K. Ream edream...@gmail.com wrote: On Mon, Nov 7, 2011 at 3:30 PM, Josef joe...@gmx.net wrote: Sorry, but trying anything newer will have to wait - no time at the moment. No rush.  leo_pdf probably works as well now as it ever has.  Not sure how many people

Re: import error for leo_pdf

2011-11-08 Thread mdb
Your comments please. I vote for using rst2pdf This looks similar to using latexpdf and the option to convert rst to latex as another step remains possible (to leverage latex's abilities) -- You received this message because you are subscribed to the Google Groups leo-editor group. To post

Re: import error for leo_pdf

2011-11-08 Thread Edward K. Ream
On Tue, Nov 8, 2011 at 9:49 AM, mdb mdbol...@gmail.com wrote: Your comments please. I vote for using  rst2pdf Thanks for your vote. I'm leaning the same way. I think using standard tools wherever possible is a big improvements over hacks like leo_pdf.py. This looks similar to using  

Re: import error for leo_pdf

2011-11-07 Thread Josef
with rev 4747 I get: Unexpected docutils exception Traceback (most recent call last): File /home/dalcolmo/programs/leo-editor/leo/core/leoRst.py, line 1906, in writeToDocutils settings_overrides=overrides) File /usr/lib/pymodules/python2.6/docutils/core.py, line 398, in publish_string

Re: import error for leo_pdf

2011-11-07 Thread Edward K. Ream
On Mon, Nov 7, 2011 at 11:07 AM, Josef joe...@gmx.net wrote: with rev 4747 I get: [snip] line 1108, in createParagraph    style = self.styleSheet.get(style) AttributeError: StyleSheet1 instance has no attribute 'get' Thanks for this report. I'll fix this today, and (presumably) add a unit

Re: import error for leo_pdf

2011-11-07 Thread Edward K. Ream
On Mon, Nov 7, 2011 at 12:50 PM, Edward K. Ream edream...@gmail.com wrote: On Mon, Nov 7, 2011 at 11:07 AM, Josef joe...@gmx.net wrote: with rev 4747 I get: [snip] line 1108, in createParagraph    style = self.styleSheet.get(style) AttributeError: StyleSheet1 instance has no attribute 'get'

Re: import error for leo_pdf

2011-11-07 Thread Josef
My system is Ubuntu 10.04 LTS: python 2.6.5 python-reportlab 2.4-1 python-reportlab-accel 2.4-1 - Josef On Nov 7, 8:39 pm, Edward K. Ream edream...@gmail.com wrote: On Mon, Nov 7, 2011 at 12:50 PM, Edward K. Ream edream...@gmail.com wrote: On Mon, Nov 7, 2011 at 11:07 AM, Josef

Re: import error for leo_pdf

2011-11-07 Thread Josef
On Nov 7, 10:09 pm, Josef joe...@gmx.net wrote: My system is Ubuntu 10.04 LTS: python 2.6.5 python-reportlab 2.4-1 python-reportlab-accel 2.4-1 Sorry, but trying anything newer will have to wait - no time at the moment. - Josef -- You received this message because you are subscribed to

Re: import error for leo_pdf

2011-11-07 Thread Edward K. Ream
On Mon, Nov 7, 2011 at 3:30 PM, Josef joe...@gmx.net wrote: Sorry, but trying anything newer will have to wait - no time at the moment. No rush. leo_pdf probably works as well now as it ever has. Not sure how many people actually use it. EKR -- You received this message because you are

Re: import error for leo_pdf

2011-11-06 Thread Edward K. Ream
On Nov 6, 2:44 pm, Edward K. Ream edream...@gmail.com wrote: On Sat, Nov 5, 2011 at 6:40 PM, Edward K. Ream edream...@gmail.com wrote: get_language takes 2 arguments in the version of docutils I am using.  I suppose the code is going to have to try it both ways...I'll fix this soon. Done

Re: import error for leo_pdf

2011-11-05 Thread Josef
Fixed on the trunk at rev 4720. I had forgotten I was responsible I just pulled rev 4739 and I get now: Unexpected docutils exception Traceback (most recent call last): File /home/dalcolmo/programs/leo-editor/leo/core/leoRst.py, line 1906, in writeToDocutils settings_overrides=overrides)

Re: import error for leo_pdf

2011-11-05 Thread Edward K. Ream
On Sat, Nov 5, 2011 at 6:14 AM, Josef joe...@gmx.net wrote: Fixed on the trunk at rev 4720.  I had forgotten I was responsible I just pulled rev 4739 and I get now: docutils.languages.get_language(doctree.settings.language_code,self.reporter) TypeError: get_language() takes exactly 1

import error for leo_pdf

2011-11-03 Thread Josef
Warning, I am still using plain old Leo-4.9 when I try to run the rst3 command on a line like: @rst foo.pdf I get: Traceback (most recent call last): File /home/dalcolmo/programs/Leo-4.9-final/leo/core/leoRst.py, line 1891, in writeToDocutils settings_overrides=overrides) File

Re: import error for leo_pdf

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 10:49 AM, Josef joe...@gmx.net wrote: Warning, I am still using plain old Leo-4.9 when I try to run the rst3 command on a line like: @rst foo.pdf  I get: Happens with the present code as well. I'll investigate soon. Edward -- You received this message because you

Re: import error for leo_pdf

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 12:08 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Nov 3, 2011 at 10:49 AM, Josef joe...@gmx.net wrote: when I try to run the rst3 command on a line like: @rst foo.pdf  I get: Happens with the present code as well.  I'll investigate soon. Fixed on the trunk at