Re: Scheduling a Meeting in a Cafe or Restaurant

2011-11-02 Thread Diego Iastrubni
On יום רביעי 02 נובמבר 2011 16:33:22 Shlomi Fish wrote:
> On Wed, 2 Nov 2011 14:50:16 +0200
> 
> Stan Goodman  wrote:
> > On Wednesday 02 November 2011 13:24:56 Shlomi Fish wrote:
> > > Hi all,
> > > 
> > > I'd like to meet with a few people (whoever is interested) for chat
> > 
> > Interested in what?
> 
> interested in meeting. So to repharse:
> 
> <<<
> I'd like with a few people (whoever is interested in such a meeting) for
> chat and food in a café or a restaurant 

‏You keep confusing between linux.org.il and jdate.co.il.

Shlomi - this is not a meetup ML at least not always, sometimes we do 
import a movie and rent a cinema... Anyway, keep on topic, ok? You know, 
techcnical shite related to linux and stuff, ya' know? ;-)

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: QtQt printing question - html to pdf

2011-11-02 Thread Oleg Goldshmidt
"Steve G."  writes:

> The problem with PDF is that if the page size is too large, say A4,
> it is very unpleasant to read it on a 6 inch screen.

Is this a follow-up to a previous html to pdf question?

Do I understand it right that you want not to merely resize PDF pages
but to change how the contents (of the original html) are split
between the pages, i.e., use a different font size, margins, etc.?

If the answer to both questions is yes then:

1) I don't think you can manipulate the resulting PDF in this way
   without a scriptable PDF editor (and I don't know of any);

2) you need to do it at the html2ps stage, and "man 5 html2psrc"
   should be helpful.
  
If by any chance all you want to do is resizing the pages of the
resulting PDF (without modifying the contents of each page) then a
suitably clever combination of pdftk(1) and ImageMagick(1) (probably
convert(1)), or maybe just the latter, should be up to the task. I'll
leave RTFMing to you.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: QtQt printing question - html to pdf

2011-11-02 Thread Steve G.
I want to read it on the Kindle 2. There is a problem in displaying Hebrew
characters in the usual formats - .mobi, .txt, azw (awz?), etc. - I can
view a PDF document on the Kindle and an external html pages (there is no
way that I know of to view html files stored in the Kindle - they are not
presented in the menu of available documents.

The problem with PDF is that if the page size is too large, say A4, it is
very unpleasant to read it on a 6 inch screen. It requires using the
Kindle's mouse button (5-way arrows) to scan each line, or use a magnifying
lens.

Since I want to read the darn thing on the Kindle, not from my web server,
I want to convert the documents to PDF, with a page size that is slightly
smaller than B7.

Calibre seems to convert to the right size, but I do not know how to
automate it yet. Meir's script works, and I can run it from a script that
would open and convert each file, if I can get the size right. Wkhtmltopdf
gives me boxes between letters, indicating missing fonts.

Z.

On Wed, Nov 2, 2011 at 9:15 AM, Tzafrir Cohen  wrote:

> On Wed, Nov 02, 2011 at 07:58:14AM -0600, Steve G. wrote:
> > As a follow up to previous question - I am using Meir's script from
> > http://whatsup.org.il/article/6412 - which has hard coded A4 paper size.
> >
> > Since my documents are for the Kindle, with screen size of 9 cm x 12.2
> cm,
>
> Why do you want PDFs? Don't you prefer an output format that is more
> portable with regards to the screen size? Have you considered ePub?
>
> And let's take one step backwards: can't you just take a tarball of
> HTML files + images?
>
> --
> Tzafrir Cohen | tzaf...@jabber.org | VIM is
> http://tzafrir.org.il || a Mutt's
> tzaf...@cohens.org.il ||  best
> tzaf...@debian.org|| friend
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



-- 
Sincerely,

Steve

http://www.words2u.net - GPS points and tracks (mainly in Costa Rica)

http://www.words2u.net/recipes - Recipe collection
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: QtQt printing question - html to pdf

2011-11-02 Thread Tzafrir Cohen
On Wed, Nov 02, 2011 at 07:58:14AM -0600, Steve G. wrote:
> As a follow up to previous question - I am using Meir's script from
> http://whatsup.org.il/article/6412 - which has hard coded A4 paper size.
> 
> Since my documents are for the Kindle, with screen size of 9 cm x 12.2 cm,

Why do you want PDFs? Don't you prefer an output format that is more
portable with regards to the screen size? Have you considered ePub?

And let's take one step backwards: can't you just take a tarball of
HTML files + images?

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Scheduling a Meeting in a Cafe or Restaurant

2011-11-02 Thread Shlomi Fish
On Wed, 2 Nov 2011 14:50:16 +0200
Stan Goodman  wrote:

> On Wednesday 02 November 2011 13:24:56 Shlomi Fish wrote:
> > Hi all,
> > 
> > I'd like to meet with a few people (whoever is interested) for chat
> 
> Interested in what?
> 

interested in meeting. So to repharse:

<<<
I'd like with a few people (whoever is interested in such a meeting) for chat
and food in a café or a restaurant 
>>>

Regards,

Shlomi Fish

> > and food in a café or restaurant somewhere in Tel Aviv. If you are
> > interested, please contact me by mobile, IM, etc:
> > 
> > http://www.shlomifish.org/me/contact-me/
> > 
> > Regards,
> > 
> > Shlomi Fish
> 



-- 
-
Shlomi Fish   http://www.shlomifish.org/
Escape from GNU Autohell - http://www.shlomifish.org/open-source/anti/autohell/

My opinions may seem crazy but they all make sense. Insane sense, but sense
nonetheless.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


QtQt printing question - html to pdf

2011-11-02 Thread Steve G.
As a follow up to previous question - I am using Meir's script from
http://whatsup.org.il/article/6412 - which has hard coded A4 paper size.

Since my documents are for the Kindle, with screen size of 9 cm x 12.2 cm,
I tried replacing it with B7 (8.8 x 12.5), but the slight discrepancy in
length results in the last line cut up in the middle, so I want to use
paper size : custom. Alas, I can't find any example of where I stick my
'custom' dimensions and in what format. The code calls
for printer.setPageSize(QPrinter.B7 or A4 in the original)

Anyone has any experience in using QPrinter page size funtcion with custom
page size? How do I list the width and length? This is the variable from
trolltech's web site:  enum *PageSize* { A0, A1, A2, A3, ..., *Custom**)*

Thanks

Steve

http://www.words2u.net - GPS points and tracks (mainly in Costa Rica)

http://www.words2u.net/recipes - Recipe collection
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Scheduling a Meeting in a Cafe or Restaurant

2011-11-02 Thread Stan Goodman
On Wednesday 02 November 2011 13:24:56 Shlomi Fish wrote:
> Hi all,
> 
> I'd like to meet with a few people (whoever is interested) for chat

Interested in what?

> and food in a café or restaurant somewhere in Tel Aviv. If you are
> interested, please contact me by mobile, IM, etc:
> 
> http://www.shlomifish.org/me/contact-me/
> 
> Regards,
> 
>   Shlomi Fish

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Scheduling a Meeting in a Cafe or Restaurant

2011-11-02 Thread Shlomi Fish
Hi all,

I'd like to meet with a few people (whoever is interested) for chat and food in
a café or restaurant somewhere in Tel Aviv. If you are interested, please
contact me by mobile, IM, etc:

http://www.shlomifish.org/me/contact-me/

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

E‐mail, web feeds, and doing something productive — choose two.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il