Re: chm file conversion?

2007-01-29 Thread Andrew Pantyukhin

On 10/14/05, Sandy Rutherford <[EMAIL PROTECTED]> wrote:

> On Sun, 9 Oct 2005 12:51:43 +0400,
> "Andrew P." <[EMAIL PROTECTED]> said:

 > On 10/9/05, Sandy Rutherford <[EMAIL PROTECTED]> wrote:
 >> Colin,
 >>
 >> On Sat, 08 Oct 2005 you wrote:
 >>
 >> > Vizion wrote:
 >> >> As per subject - does anyone know of any utils for converting microsofts
 >> >> compiled help files for use on freebsd?
 >>
 >> > I've found converters/chmview to be useful in the past.
 >>
 >> Anything available for converting chm to pdf or ps?  I believe that
 >> there are some programs for doing this under MS Windows.

 > Just print it to a ps file. Pdf and ps are easily
 > interconvertible.

I know.  That's not the issue.  xchm only supports printing one page
at a time, which a cumbersome way to go about printing the entire
document to file.  There is a box in the print dialogue that you can
tick in order to print the entire document.  However, it doesn't work.


I've just stumble upon a similar task. The way I went is
decompiling chm with archmage into separate html files,
concatenating the ones I need into one with cat, and
cleaning the result up with a simple perl script (below).

Printing an html file is another problem (it's not that
easy to print 2Mb of html text)...

[EMAIL PROTECTED]:~% cat bin/cleanchm
#!/usr/bin/perl -wT

use strict;

local $/;
local $_ = <>;
s|\<\/?html\>||g;
s|\||gs;
s|\||gs;
s|\||gs;
s|\<\/?body\>||g;
s|\||g;
s|\||gs;
print;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-14 Thread Sandy Rutherford
> On Sun, 9 Oct 2005 12:51:43 +0400, 
> "Andrew P." <[EMAIL PROTECTED]> said:

 > On 10/9/05, Sandy Rutherford <[EMAIL PROTECTED]> wrote:
 >> Colin,
 >> 
 >> On Sat, 08 Oct 2005 you wrote:
 >> 
 >> > Vizion wrote:
 >> >> As per subject - does anyone know of any utils for converting microsofts
 >> >> compiled help files for use on freebsd?
 >> 
 >> > I've found converters/chmview to be useful in the past.
 >> 
 >> Anything available for converting chm to pdf or ps?  I believe that
 >> there are some programs for doing this under MS Windows.
 >> 
 >> Sandy
 >> ___
 >> freebsd-questions@freebsd.org mailing list
 >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 >> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 >> 

 > Just print it to a ps file. Pdf and ps are easily
 > interconvertible.

I know.  That's not the issue.  xchm only supports printing one page
at a time, which a cumbersome way to go about printing the entire
document to file.  There is a box in the print dialogue that you can
tick in order to print the entire document.  However, it doesn't work.

Sandy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-09 Thread Andrew P.
On 10/9/05, Sandy Rutherford <[EMAIL PROTECTED]> wrote:
> Colin,
>
> On Sat, 08 Oct 2005 you wrote:
>
>  > Vizion wrote:
>  >> As per subject - does anyone know of any utils for converting microsofts
>  >> compiled help files for use on freebsd?
>
>  > I've found converters/chmview to be useful in the past.
>
> Anything available for converting chm to pdf or ps?  I believe that
> there are some programs for doing this under MS Windows.
>
> Sandy
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

Just print it to a ps file. Pdf and ps are easily
interconvertible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-09 Thread Sandy Rutherford
Colin,

On Sat, 08 Oct 2005 you wrote:

 > Vizion wrote:
 >> As per subject - does anyone know of any utils for converting microsofts 
 >> compiled help files for use on freebsd?

 > I've found converters/chmview to be useful in the past.

Anything available for converting chm to pdf or ps?  I believe that
there are some programs for doing this under MS Windows.

Sandy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-08 Thread Vizion
On Saturday 08 October 2005 18:12,  the author Giorgos Keramidas contributed 
to the dialogue on-
 Re: chm file conversion?: 

>On 2005-10-09 04:07, Leonidas Tsampros <[EMAIL PROTECTED]> wrote:
>>On Sat, Oct 08, 2005 at 05:36:36PM -0700, Vizion wrote:
>>> Hi
>>> As per subject - does anyone know of any utils for converting
>>> microsofts compiled help files for use on freebsd?
>>
>> I use deskutils/xchm. It's working very well here.
>
>Is that the one with the M^N dependencies ? :P
You cannot rule the world without dependencies!!!

Thanks everybody..

david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-08 Thread Giorgos Keramidas
On 2005-10-09 04:07, Leonidas Tsampros <[EMAIL PROTECTED]> wrote:
>On Sat, Oct 08, 2005 at 05:36:36PM -0700, Vizion wrote:
>> Hi
>> As per subject - does anyone know of any utils for converting
>> microsofts compiled help files for use on freebsd?
>
> I use deskutils/xchm. It's working very well here.

Is that the one with the M^N dependencies ? :P

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-08 Thread Leonidas Tsampros
On Sat, Oct 08, 2005 at 05:36:36PM -0700, Vizion wrote:
> Hi
> 
> As per subject - does anyone know of any utils for converting microsofts 
> compiled help files for use on freebsd?
> 
> thanks

I use deskutils/xchm. It's working very well here. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-08 Thread Glenn Dawson

At 05:50 PM 10/8/2005, Colin Percival wrote:

Vizion wrote:
> As per subject - does anyone know of any utils for converting microsofts
> compiled help files for use on freebsd?

I've found converters/chmview to be useful in the past.


arCHMage will extract the contents and give you regular html files.

It's in /usr/ports/textproc/archmage

-Glenn



Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: chm file conversion?

2005-10-08 Thread Colin Percival
Vizion wrote:
> As per subject - does anyone know of any utils for converting microsofts 
> compiled help files for use on freebsd?

I've found converters/chmview to be useful in the past.

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"