Re: [Flightgear-devel] OT latex2html??

2003-09-24 Thread Thomas Arendsen Hein
On Wed, Sep 24, 2003 at 09:24:14PM +0200, Carsten Höfer wrote:
 due to the size of the current flight school (pdf=5.6MB), I would like
 to change it to HTML. I tried to use latex2html, but was more or less
 disappointed by the result (same with pdf2html).

I had many problems with latex2html, too, but with a little
configuration it can yield good results.

An example is a documentation I had to write:
http://ftp.intevation.de/great-er/sciparam/manual/sciparam-manual.html

You can download the source for it in
http://intevation.de/cgi-bin/viewcvs-greater.cgi/sciparam/doc/
Especially the file .latex2html-init has to be tweaked to
give useful results.

Thomas

-- 
Email: [EMAIL PROTECTED]  (at work: [EMAIL PROTECTED])
http://jtah.de/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] ssgLoadAC error on KEMT + patch

2003-09-18 Thread Thomas Arendsen Hein
On Wed, Sep 17, 2003 at 11:45:14AM +0200, Erik Hofman wrote:
 Thomas Arendsen Hein wrote:
 When trying to start fgfs --airport=KEMT I get:
 
 WARNING: ssgLoadAC: Failed to open
 '/fg_root/Aircraft/c172/Models/c172-dpm.ac/Aircraft/c172/Models/c172-dpm.ac'
 for reading
 
 with current SimGear/FlightGear CVS.
 
 The attached patch fixes the problem, since sgLoad3DModel expects
 fg_root as the first parameter, not the full path to the model.
 
 Thanks for the catch. I've put a fix in CVS.

When updating from CVS I got a conflict in AILocalTraffic.cxx,
because I removed two obsolete lines in my patch which still are in
CVS.

The problem is, I forgot to attach my patch!

So here is another one which removes these two lines.

Thomas

-- 
Email: [EMAIL PROTECTED]  (at work: [EMAIL PROTECTED])
http://jtah.de/
Index: src/ATC/AILocalTraffic.cxx
===
RCS file: /var/cvs/FlightGear-0.9/source/src/ATC/AILocalTraffic.cxx,v
retrieving revision 1.21
diff -u -r1.21 AILocalTraffic.cxx
--- src/ATC/AILocalTraffic.cxx  17 Sep 2003 09:44:37 -  1.21
+++ src/ATC/AILocalTraffic.cxx  18 Sep 2003 21:20:49 -
@@ -154,8 +154,6 @@
//cout  FGAILocalTraffic.Init(...) called  endl;
// Hack alert - Hardwired path!!
string planepath = Aircraft/c172/Models/c172-dpm.ac;
-   SGPath path = globals-get_fg_root();
-   path.append(planepath);
 ssgBranch *model = sgLoad3DModel( globals-get_fg_root(),
   planepath.c_str(),
   globals-get_props(),
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Joystick names bugs and patches

2003-09-16 Thread Thomas Arendsen Hein
Hi!

I had a little trouble getting my joystick recognized.
First, js_demo didn't show the name, because
FG_PLIB_JOYSTICK_GETNAME disappeared in configure.ac 1.20.
The first patch fixes js_demo.cxx.

Then I noticed a spelling error in the joystick name in
sidewinder-precision-pro.xml which is fixed in the second patch.

Please apply this to CVS as I only have guest access.

Thomas

-- 
Email: [EMAIL PROTECTED]  (at work: [EMAIL PROTECTED])
http://jtah.de/
Index: src/Input/js_demo.cxx
===
RCS file: /var/cvs/FlightGear-0.9/source/src/Input/js_demo.cxx,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 js_demo.cxx
--- src/Input/js_demo.cxx   10 Sep 2002 01:14:08 -  1.1.1.1
+++ src/Input/js_demo.cxx   16 Sep 2003 06:59:01 -
@@ -28,9 +28,7 @@
   { useful[i] = ! ( js[i]-notWorking () );
 if ( useful[i] ) {
  t++;
-#ifdef FG_PLIB_JOYSTICK_GETNAME
  printf ( Joystick %i: \%s\\n, i, js[i]-getName() ) ;
-#endif
 } else printf ( Joystick %i not detected\n, i ) ;
   }
   if ( t == 0 ) exit ( 1 ) ;
Index: Input/Joysticks/Microsoft/sidewinder-precision-pro.xml
===
RCS file: 
/var/cvs/FlightGear-0.9/data/Input/Joysticks/Microsoft/sidewinder-precision-pro.xml,v
retrieving revision 1.4
diff -u -r1.4 sidewinder-precision-pro.xml
--- Input/Joysticks/Microsoft/sidewinder-precision-pro.xml  27 Jul 2003 07:43:56 
-  1.4
+++ Input/Joysticks/Microsoft/sidewinder-precision-pro.xml  16 Sep 2003 07:04:00 
-
@@ -24,7 +24,7 @@
 
 PropertyList
 
- nameMircosoft SideWinder Precision Pro/name
+ nameMicrosoft SideWinder Precision Pro/name
  nameMicrosoft SideWinder Precision 2 Joystick/name
 
  axis n=0
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] ssgLoadAC error on KEMT + patch

2003-09-16 Thread Thomas Arendsen Hein
Hallo!

When trying to start fgfs --airport=KEMT I get:

WARNING: ssgLoadAC: Failed to open
'/fg_root/Aircraft/c172/Models/c172-dpm.ac/Aircraft/c172/Models/c172-dpm.ac'
for reading

with current SimGear/FlightGear CVS.

The attached patch fixes the problem, since sgLoad3DModel expects
fg_root as the first parameter, not the full path to the model.

Now I can enjoy hunting Trainer-two-five-charlie again :)

Thomas

-- 
Email: [EMAIL PROTECTED]  (at work: [EMAIL PROTECTED])
http://jtah.de/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel