That is fantastic!
Harry
On Tue, 2013-10-08 at 17:04 +0000, Marcos Rocha wrote:
> Great news people, I've just done my tests on TipueAddFiles and
> reached the simplest solution which satisfy both FPC and Delphi.
> Otherwise I can't commit the changed unit so follow the steps:
>
> 1) Generate .inc files from tipue using file_to_pascal_data tool.
> 2) Change the method TipueAddFiles in PasDoc_Tipue.pas as follow.
>
> // original code here
> const
> TipueSearchCss : {$I tipuesearch.css.inc}; //Modified Line
> TipueSearchScript : {$I tipuesearch.js.inc}; //Modified Line
> TipueSearchSetScript : {$I tipuesearch_set.js.inc}; //Modified Line
> JQueryScript : {$I jquery-1.7.1.min.js.inc}; //Modified Line
> TipueSearchImage : {$I search.gif.inc};
> var
> TipueResultsPage: string;
> begin
> CreateDir(OutputPath + 'tipuesearch');
> DataToFile(OutputPath + 'tipuesearch' + PathDelim + 'tipuesearch.css', TipueSearchCss); //Modified Line
> DataToFile(OutputPath + 'tipuesearch' + PathDelim + 'tipuesearch.js', TipueSearchScript); //Modified Line
> DataToFile(OutputPath + 'tipuesearch' + PathDelim + 'tipuesearch_set.js', TipueSearchSetScript); //Modified Line
> DataToFile(OutputPath + 'tipuesearch' + PathDelim + 'jquery-1.7.1.min.js', JQueryScript);//Modified Line
> // original code here
>
> ______________________________________________________________________
>
> [bugs:#82] On compile pasdoc_package.bpl Delphi xe Fatal Error
>
> Status: accepted
> Labels: Delphi XE not compile
> Created: Tue Mar 12, 2013 01:11 PM UTC by Grigoriy Poverenniy
> Last Updated: Tue Sep 24, 2013 04:47 PM UTC
> Owner: Michalis Kamburelis
>
> Hello!
>
> On compile pasdoc_package.bpl
>
> in module PasDoc_Tipue.pas line
>
> JQueryScript = {$I jquery-1.7.1.min.js.inc};
> use file - jquery-1.7.1.min.js.inc
>
> this file not compile with error
>
> [DCC Fatal Error] jquery-1.7.1.min.js.inc(4): F2069 Line too long
> (more than 1023 characters)
>
> Sorry for my english...
>
>
> ______________________________________________________________________
>
> Sent from sourceforge.net because pas...@li... is
> subscribed to https://sourceforge.net/p/pasdoc/bugs/
>
> To unsubscribe from further messages, a project admin can change
> settings at https://sourceforge.net/p/pasdoc/admin/bugs/options. Or,
> if this is a mailing list, you can unsubscribe from the mailing list.
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________ Pasdoc-main mailing list Pas...@li... https://lists.sourceforge.net/lists/listinfo/pasdoc-main
|