Re: FrameMaker files to UNIX man

Subject: Re: FrameMaker files to UNIX man
From: "Decker F Wong-Godfrey" <dfgodfrey -at- milmanco -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Wed, 8 May 2002 16:48:50 -0700




I don't know of any direct way to do it, but you should be able to use the
following perl script to convert html output to pod. Once you've got the pod
files created, use pod2man (which should be in your Perl kit) to convert the
output to man pages.


Decker Wong-Godfrey


-----Original Message-----

Hello all:

I have a client that has asked me to convert my FrameMaker 6.0 files to
UNIX man pages. The goal is to preserve formatting so I don't have to
spend time reformatting the text files.

Has anyone done this? Is there a utility I should can use?

Thanks, Larry




begin 666 html2pod.pl
M(R$O=7-R+V)I;B]P97)L"B,*(R!3964 -at- 0T]065))1TA4"B,*(R!38W)I<'0@
M=&\ -at- 9V5N97)A=&4 -at- 82!P;V0 -at- 9FEL92!F<F]M(&%N(&AT;6P@<V]U<F-E("AT
M:&4@<V%M92!O;F4 -at- 87,@9F]R('1E>'0 -at- 9FEL97,@=&]O*0HC(&%N9"!L871E
M<B!T:&ES('!O9"!F:6QE(&ET('!A<W-E9"!T:')O=6=H('!O9#)M86X*(PHC
M(%5S93H*(R @:'1M;#)M86X -at- 6R \;6%N+61I<CX -at- 6SQV97)S:6]N+61I<CY=
M(%T@/&9I;&4N:'1M; HC"B,@/$UA;BUD:7(^(&ES('1H92!D:7)E8W1O<GD@
M=VAE<F4 -at- =&AE(&UA;B!P86=E<R!W:6QL(&)E(&-R96%T960*(R H8W5R<F5N
M="!D:7)E8W1O<GD -at- 8GD@9&5F875L="DN($EF(&$ -at- 9FEL92!N86UE(&ES(&=I
M=F5N(&EN<W1E860@;V8*(R!D:7)E8W1O<GD -at- =&AE;B!T:&4 -at- 9&ER96-T;W)Y
M(&]F('1H870 -at- 9FEL92!I<R!U<V5D+ -at- HC(#Q697)S:6]N+61I<CX@:7,@=&AE
M(&1I<F5C=&]R>2!C;VYT86EN:6YG('1H92!T=&8R<'0Q(&9I;&5S('9E<G-I
M;VXN: HC(&%N9"!#2$%.1T53+FAT;6P -at- =VAI8V@@87)E('5S960 -at- =&\ -at- 9V5N
M97)A=&4 -at- =&AE(')E;&5A<V4@;F%M92!A;F0 -at- 9&%T90HC(&9O<B!T:&4@;6%N
M('!A9V4 -at- *&)Y(&1E9F%U;'0@;&]O:W,@:6X -at- 8W5R<F5N="!D:7)E8W1O<GD@
M86YD('1H96X@:6X -at- =7 @=&\*(R U(&%N8V5S=&]R(&1I<F5C=&]R:65S*2X*
M(R!)9B!T:&4 -at- =F5R<VEO;B!F:6QE<R!C86X@;F]T(&)E(&9O=6YD('1H96X@
M=&AE(')E;&5A<V4 -at- 9&5F875L=',@=&\*(R B8W5R<F5N="(@86YD('1H92!D
M871E(&1E9F%U;'1S('1O('1O9&%Y+ -at- HC"B,@4W!E8VEA;"!F;W)M871T:6YG
M(&EN('1H92!H=&UL(&9I;&4@:7,Z"B,@06QL(&-O;G1R;VQS(&%R92!H:61D
M96X -at- =VET:&EN($A434P -at- 8V]M;65N=',@=&AA="!M=7-T(&]C8W5P>2!A('=H
M;VQE('-E<&%R871E(&QI;F4*(R!3=6-H(&$@;&EN92!L;V]K<R!L:6ME -dot- -at- HC
M(#PA+2T@/3QH=&UL,FUA;E]D:7)E8W1I=F4^(#QA<F=U;65N=',^(#X*(R \
M(2TM(#T]/'!O9%]D:7)E8W1I=F4^(#QA<F=U;65N=',^(#X*(R!!;GD@<V]R
M="!O9B!D:7)E8W1I=F4@;75S="!B92!F;VQL;W=E9"!B>2!A('-P86-E+B!4
M:&4@<&]D(&1I<F5C=&EV97,@87)E"B,@875T;VUA=&EC86QL>2!S=7)R;W5N
M9&5D(&)Y(&5M<'1Y(&QI;F5S(&EN('1H92!O=71P=70 -at- 9FEL92X*(R!4:&4@
M:'1M;#)M86X -at- 9&ER96-T:79E<R!A<F4Z"B,*(R \(2TM(#UD969D;V,@/&1O
M8VED/B \9FEL93X@/'-E8W1I;VX^(#X*(R!$969I;F4 -at- 82!M86X@<&%G92X@
M375L=&EP;&4@;6%N('!A9V5S(&-A;B!B92!D969I;F5D(&EN('1H92!S86UE
M($A434P*(R!F:6QE+B \1&]C:60^(&ES(&$@<VAO<G0@;F%M92!B>2!W:&EC
M:"!T:&ES(&UA;B!P86=E('=I;&P -at- 8F4@<F5F97)R960@:6X -at- =&AE"B,@;W1H
M97(@9&ER96-T:79E<RX@/$9I;&4^(&ES('1H92!N86UE(&]F('1H92!M86X@
M<&%G92P -at- 86YD(#QS96-T:6]N/B!I<R!T:&4*(R!S96-T:6]N(&]F('1H92!M
M86YU86P -at- *&1O(&YO="!C;VYF=7-E('=I=&@@<V5C=&EO;G,@=VET:&EN(&$@
M;6%N('!A9V4I+ -at- HC"B,@/"$M+2 ]<V5C=&EO;B \9&]C:60^(#QP86=E7W-E
M8W1I;VY?;F%M93X@/@HC($%L;"!T:&4 -at- =&5X="!F;VQL;W=I;F<@=&AI<R!D
M:7)E8W1I=F4@:7,@8V]P:65D("AW:71H('1R86YS;&%T:6]N*0HC(&EN=&\@
M=&AE('-P96-I9FEE9"!S96-T:6]N(&]F('1H92!S<&5C:69I960@;6%N('!A
M9V4N(%1H92!S96-T:6]N<PHC(&UA>2!A<'!E87(@:6X -at- 87)B:71R87)Y(&]R
M9&5R+"!T:&5Y('=I;&P -at- 8F4@<F5A<G)A;F=E9"!T;R!T:&4@<W1A;F1A<F0*
M(R!O<F1E<B!B969O<F4@;W5T<'5T+B!/;FQY('-T86YD87)D('-E8W1I;VX@
M;F%M97,@87)E('!E<FUI='1E9" H<V5E($!S=&1S96-T"B,@8F5L;W<I+B!4
M:&4@<&]D(&1I<F5C=&EV97,@=VAI8V@@;V-C=7(@;W5T<VED92!O9B!M86X@
M<V5C=&EO;G,@87)E(&EG;F]R960L"B,@:G5S="!L:6ME('1H92!C;VUM;VX@
M=&5X="X -at- 5&AE('1R86YS;&%T:6]N(&]F($A434P -at- =&%G<R!I<SH*(PHC(#QB
M<CX -at- +2!T;R!P87)A9W)A<&@@8G)E86L*(R \8CX -at- +2!T;R!"/#X*(R \:3X@
M+2!T;R!)/#X*(R \='0^("T -at- =&\ -at- 0SP^"B,@/&$@:')E9CX -at- +2!T;R!&/#X*
M(R \=6P^+" \;&D^+" \+W5L/B M('1O(#UO=F5R(#(L(#UI=&5M("HL(#UB
M86-K"B,@)FYB<W [+" F86UP.RP@)FQT.RP@)F=T("T -at- =&\ -at- =&AE:7(@<WEM
M8F]L<RP -at- 87!P<F]P<FEA=&5L>2!E;F-O9&5D"B,*(R!4:&4@<F5S="!O9B!(
M5$U,('1A9W,@:7,@<F5M;W9E9 HC"B,@268 -at- =&AE('-A;64@<V5C=&EO;B!I
M<R!S=&%R=&5D(&UO<F4 -at- =&AA;B!O;F-E+"!T:&4 -at- =&5X="!F<F]M('1H90HC
M('-E8V]N9"!A<'!E87)A;F-E('=I;&P -at- 8F4@861D960 -at- =&\ -at- =&AE(&9I<G-T
M+"!E=&,N"B,*(R \(2TM(#US=&]P(#X*(R!3=&]P(&-O<'EI;F<@=&5X="!T
M;R!T:&4@;6%N('!A9V4N"B,*(R \(2TM(#UC;VYT(#X*(R!#;VYT:6YU92!C
M;W!Y:6YG('1E>'0 -at- =&\ -at- =&AE(&UA;B!P86=E+"!S86UE('-E8W1I;VX -at- 87,@
M8F5F;W)E+ -at- HC"B,@/"$M+2 ]=&5X=" \=&5X=#X@/@HC($EN<V5R="!T:&ES
M(#QT97AT/B!I;G1O('1H92!M86X@<&%G92 H=V]R:W,@;VYL>2!W:&5N(&-O
M<'EI;F<@:7,@96YA8FQE9"DN"B,@0VAA<F%C=&5R<R F;'0[+" F9W0[+" F
M86UP.R!A<F4 -at- 8V]N=F5R=&5D(&%S('5S=6%L+ -at- H*0&UO;G,@/2!Q=RA*86YU
M87)Y($9E8G)U87)Y($UA<F-H($%P<FEL($UA>2!*=6YE($IU;'D -at- 075G=7-T
M(%-E<'1E;6)E<B!/8W1O8F5R($YO=F5M8F5R($1E8V5M8F5R*3L*"B1D:7(@
M/2 D05)'5ELP73L*)&UA:6YD:7(@/2 D05)'5ELQ73L*"FEF*"1D:7(@97$@
M(B(I('L*"21D:7(@/2 B+B(["GT -at- 96QS:68H("$ -at- +60@)&1I<B I('L*"6EF
M*" A("@D9&ER(#U^('-\7"];7B]=*B1\?"D -at- *2!["@D))&1I<B ]("(N(CL*
M"7T*?0II9B -at- D;6%I;F1I<B!E<2 B(BD@>PH))&UA:6YD:7(@/2 B+B(["@EF
M;W(H)&D],#L@)&D\-3L@)&DK*RD@>PH)"6EF*"UF("(D;6%I;F1I<B]V97)S
M:6]N+F -at- B*2!["@D)"6QA<W0["@D)?0H)"21M86EN9&ER(#T@(BXN+R1M86EN
M9&ER(CL*"7T*?0H*:68H(&]P96XH5D521DE,12P@(CPD;6%I;F1I<B]V97)S
M:6]N+F -at- B*2 I('L*"7=H:6QE*#Q615)&24Q%/BD@>PH)"6EF*" O7EQS*EPC
M9&5F:6YE7',K5%1&,E!4,5]615)324].7',K7"(H+BHI7"(O("D@>PH)"0DD
M<F5L96%S92 ](")V97)S:6]N("0Q(CL*"0E]"@E]"@EC;&]S92A615)&24Q%
M*3L*"6EF*" D<F5L96%S92 ]?B O4TY!4"TH6S M.5U;,"TY72DH6S M.5U;
M,"TY72DH6S M.5U;,"TY72DO("D@>PH)"21D871E(#T@<W!R:6YT9B -at- B)7,@
M)60L(#(P)3 R9"(L("1M;VYS6R0R+3%=+" D,RP@)#$I.PH)?2!E;'-I9B@@
M;W!E;BA#1DE,12P@(CPD;6%I;F1I<B]#2$%.1T53+FAT;6PB*2 I('L*"0EW
M:&EL92 -at- \0T9)3$4^*2!["@D)"6EF*" O7#Q(-%P^+RD@>PH)"0D);&%S=#L*
M"0D)?0H)"7T*"0DD7R ](#Q#1DE,13X["@D)8VAO;7 ["@D):68H("1?(#U^
M(',O7BXJ/RTM("\O("D@>PH)"0DD9&%T92 ]("1?.PH)"7T*"0EC;&]S92A#
M1DE,12D["@E]"GT*"FEF*"1R96QE87-E(&5Q("(B*2!["@D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ES+UPF
M;&)R7#LO7'LO9SL*"0ES+UPF<F)R7#LO7'TO9SL*"@D)(W!R:6YT9BA35$1%
M4E(@(G-E8W1I;VX])7,@861D/25S(BP@)'1O<V5C="P@)%\I.PH)"21T97AT
M>R1T;W-E8W1]("X]("1?.PH)?0I]"@I <W1D<V5C=" ]("@*"2).04U%(BP@
M"@DB4UE.3U!325,B+ H)(D1%4T-225!424].(BP*"2)/4%1)3TY3(BP*"2)2
M15154DX -at- 5D%,544B+ H)(D524D]24R(L"@DB15A!35!,15,B+ H)(D5.5DE2
M3TY-14Y4(BP*"2)&24Q%4R(L"@DB4T5%($%,4T\B+ H)(DY/5$53(BP*"2)#
M059%0513(BP*"2)$24%'3D]35$E#4R(L"@DB0E5'4R(L( H)(E)%4U1224-4
M24].4R(L"@DB05542$]2(BP*"2)(25-43U)9(B I.PH*(W!R:6YT9BA35$1%
M4E(@(F%L;&ED<ST -at- 0&%L;&ED<UQN(BD["F9O<B D:60 -at- *$!A;&QI9',I('L*
M"2-P<FEN="A35$1%4E(@(F-R96%T:6YG(&UA;B!P86=E("1I9" D9FEL97LD
M:61]("1M86YS96-T>R1I9'U<;EQN(BD["@ED:64@(E5N86)L92!T;R!C<F5A
M=&4@<&]D(&9I;&4@)&1I<B\D9FEL97LD:61]+G!O9"(*"0EU;FQE<W,@;W!E
M;BA03T1&+" B/B1D:7(O)&9I;&5[)&ED?2YP;V0B*3L*"7!R:6YT*%!/1$8@
M(CUP;V1<;EQN(BD["@EF;W(@)'-E8W0 -at- *$!S=&1S96-T*2!["@D))'-I9" ]
M("(D:60@)'-E8W0B.PH)"2-P<FEN=&8H4U1$15)2(")T<GEI;F<@)7-<;B(L
M("1S:60I.PH)"6EF*&1E9FEN960@)'1E>'1[)'-I9'TI('L*"0D)<')I;G0H
M4$]$1B B/6AE860Q("1S96-T7&Y<;B1T97AT>R1S:61]7&Y<;B(I.PH)"7T*
M"7T*"7!R:6YT*%!/1$8@(CUC=71<;B(I.PH)8VQO<V4H4$]$1BD["@ED:64@
M(E5N86)L92!T;R!G96YE<F%T92!T:&4@;6%N('!A9V4@)&1I<B\D9FEL97LD
M:61]+C$B"@D):68@<WES=&5M*")P;V0R;6%N("TM<V5C=&EO;CU<(B1M86YS
M96-T>R1I9'U<(B M+7)E;&5A<V4]7"(D<F5L96%S95PB("(*"0DN("(M+6-E
M;G1E<CU<(E141C)05#$ -at- 1F]N="!#;VYV97)T97)<(B M+61A=&4]7"(D9&%T
M95PB("(*"0DN("(D9&ER+R1F:6QE>R1I9'TN<&]D(#XD9&ER+R1F:6QE>R1I
L9'TN,2(I.PH*"75N;&EN:R -at- B)&1I<B\D9FEL97LD:61]+G!O9"(I.PI]"@H`
`
end



^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Buy RoboHelp Office in May and you'll save $100 with our mail-in rebate.
Or switch from Doc-to-Help or ForeHelp to RoboHelp Office for only $499.
Get the help authoring tool PC magazine recently awarded a perfect score!
Go to http://www.ehelp.com/techwr

Free copy of ARTS PDF Tools when you register for the PDF
Conference by April 30. Leading-Edge Practices for Enterprise
& Government, June 3-5, Bethesda,MD. www.PDFConference.com

---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.


Previous by Author: New TECHWR-L Poll Question
Next by Author: MIF2MAN (was FrameMaker files to UNIX man)
Previous by Thread: FrameMaker files to UNIX man
Next by Thread: Re: FrameMaker files to UNIX man


What this post helpful? Share it with friends and colleagues:


Sponsored Ads