Re: [Flightgear-devel] Links for new FlightGear pilots

2011-09-13 Thread thorsten . i . renk
 Thanks for the info - that confirms what I noticed: After Installing and
 doing some tests with LaTex and LyX I did not find a feasible way to
 import the newly designed appearance - seems you really have to just
 extract everything except the plain text and and build it up new -
 without the support of a WYSIWYG-system! And if you wanted to change the
 appearance of the manual you first would have to build up new predefined
 structures (comparable to the CSS-Structures in HTML). That sounds like
 a whole lot of work - and I wonder how I or anybody else can help with
 that! Is there a description of that process?

As a long time LaTeX user, let me comment on a few points.

LaTeX is not a word processor, it is a professional typesetting tool. I
don't know about fiction books, but the vast majority of science books you
can buy is done with LaTeX. If you know how to work with it (rather than
against it), the layout you can get is orders of magnitude better than
anything else.

If you want to work with LaTeX, you have to think in a new way about
things. You're talking about support of a WYSIWYG-system - but in reality,
there is no such thing - it doesn't really support you with anything. As
an author of a text, I should not micromanage the layout - my task is to
define what is in what section, what is figure caption, what is footnote,
and so on.

Based on that, the publisher does the layout. You may design the manual in
12pt fonts and an a4 page format so that people can print it. I may rather
want to change it into two column, 10 pt fonts and a B4 format to make a
hardcover book out of it. To do so with a properly designed LaTeX file
costs me 5 lines in the header, and just maybe less than 10 minutes
optimizing figure placement manually. To do so in a WYSIWYG word processor
is a nightmare, to say the least.

You have to rethink your task as author - it's just to identify the
function of all text elements and to trust LaTeX to do the rest (it's
*really* good doing that).

There are numerous manuals around in the web - www.ctan.org is as good a
starting point as any.

In case there is a specific question not covered in the manual, you can
also ask me - there's hardly anything about LaTeX which I don't know (or
can't find out within 10 minutes).

Cheers,

* Thorsten


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compiling FGRUN...

2011-09-13 Thread Geoff McLane
Hi Fred,

Thanks for the svn repo update of 
...
G   src/wizard_funcs.cxx
...
Updated to revision 629.

FGRUN now compiles fine...

However, on running it, using my ./run_fgrun.sh I
had to use [Prev] button to get back to the setting 
of the exe and fg-root paths, since I had previously 
run it using another fgfs, with a different OSG...

The script run_fgrun.sh _DOES_ have the commands 
--fg-exe=/home/geoff/fg/fg16/install/fgfs/bin/fgfs and 
--fg-root=/home/geoff/fg/fg16/fgfs/data
and NORMALLY command line items should OVERRIDE any 
previous Fl_Preferences saves, but _NOT_ in this 
case ;=((

On reading the code in src/main.cxx it seems it 
SHOULD, so do not quite understand??? So can 
not immediately offer a solution... but remember 
others sort of mentioning this... maybe Brisa IIRC, 
who uses a similar run_fgrun.sh script...

But of course there was no problem once I used 
the [Prev] button to 'correct' these paths...
but felt they should have been set by the 
command line options... 

Maybe something to do with doing a prefs.set() 
'flush'/'sync', to force these command line 
items to disk, or something...

Anyway, as always, thanks for a great GUI 'tool' 
to run fgfs...

Regards,
Geoff.


On Thu, 2011-09-08 at 11:59 +, TDO_Brandano - wrote:
 I have also had this error, building on Ubuntu 10.10 AMD64. I think it
 might have been an update in either SimGear or OSG, but I did not
 follow it up because my older FGRUN build was still running fine
 
  From: ubu...@geoffair.info
  To: flightgear-devel@lists.sourceforge.net
  Date: Thu, 8 Sep 2011 01:30:07 +0200
  Subject: [Flightgear-devel] Compiling FGRUN...
  
  Hi Fred,
  
  In compiling FGRUN from an svn of yesterday, I got 
  the gcc error :-
  
  wizard_funcs.cxx:1162: error: ‘errno’ was not declared in this scope
  
  Not sure why, but to compile FGRUN I had to add 
  to src/wizard_funcs.cxx -
  
  #include errno.h
  
  Maybe in other systems, this header is pulled in by other 
  includes???
  
  Regards,
  Geoff.
  




--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Links for new FlightGear pilots

2011-09-13 Thread HB-GRAL
Am 13.09.11 10:46, schrieb thorsten.i.r...@jyu.fi:

 LaTeX is not a word processor, it is a professional typesetting tool.

I see all the reasons to keep the docs in LaTex (like keeping the 
process efficient at the moment), but this sentence here about 
professional tools is probably not that serious as I read it, right ?

Cheers, Yves

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] ZKV1000 buildmaps.pl on Windows 7

2011-09-13 Thread Alan Teeder
I am trying to integrate a moving map display into my TSR2 project cockpit and 
decided that a stripped down version of the ZKV1000 code would be a starting 
point.
ZK1000 derives its maps from the Atlas maps using the above perl script.
After a fight I got it to run using the command line perl buildmaps.pl 
c:\flightgear\atlasmaps.

Here are the bugs that I have encountered:-

1. At line 22 I had to change

if ($OS eq 'Windows_NT') {
$originalMapsDir =~ s:\\:/:g;
@originalTiles = glob(\$originalMapsDir/*.$imageFormat\);

to 

if ($OS eq 'Windows_NT') {
$originalMapsDir =~ s:\\:/:g;
@originalTiles = $originalMapsDir/*.$imageFormat;

as “glob” did not work. 

2. The “mkdir” at line 34 also did nothing, so I created the new folders myself.

3. The program then ran, but the images are confused. An example is at 
http://v-twin.dynip.sapo.pt/alan/VickersAircaft/TSR2/maps/e000n51.png showing 
London and the Thames estuary. The image is split into 3 vertical bands.

4. No documentation, so reverse engineering was needed to do everything. That 
seems to be the norm on FG ;-( , so I can´t complain about that.

I am using Windows7, 64 bits, and recent versions of Active Perl and 
ImageMagick.

Finally a question, where is the origin point of each  Atlas and ZKV1000 tile 
image?  

Alan--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 ___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Mac 2.4 binary crashes

2011-09-13 Thread Adam Dershowitz, Ph.D., P.E.
I just downloaded the new 2.4 release for Mac.  If I try to launch the app, it 
just immediately quits.  
I can successfully run this version of FlightGear from the command line, so the 
problem must be with the launcher.  I am not sure the best way to report this, 
so I am starting here.  
Running on Macbook Pro 10.6.8.

Thanks,

--Adam




--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Mac 2.4 binary crashes

2011-09-13 Thread James Turner

On 13 Sep 2011, at 19:53, Adam Dershowitz, Ph.D., P.E. wrote:

 I just downloaded the new 2.4 release for Mac.  If I try to launch the app, 
 it just immediately quits.  
 I can successfully run this version of FlightGear from the command line, so 
 the problem must be with the launcher.  I am not sure the best way to report 
 this, so I am starting here.  
 Running on Macbook Pro 10.6.8.

I'm guessing you don't get any kind of crash report? Check Console.app for the 
system message log, hopefully there's something there about RubyCocoa (which 
the launcher is built upon)

Regards,
James


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Mac 2.4 binary crashes

2011-09-13 Thread Adam Dershowitz, Ph.D., P.E.
No crash report.  What shows in console is pretty minimal:

9/13/11 3:03:56 PM  FlightGear[28537]   *** __NSAutoreleaseNoPool(): 
Object 0x208a10 of class NSThread autoreleased with no pool in place - just 
leaking
9/13/11 3:03:59 PM  [0x0-0x532532].net.sourceforge.macflightgear[28537] 
/Applications/FlightGear.app/Contents/Resources/OptionParser.rb:262:in 
`NSApplicationMain': NSApplicationMain - 
RBException_OSX::OCMessageSendException - NSCFString#+: - methodSignature is 
nil. (OSX::OCException)
9/13/11 3:03:59 PM  [0x0-0x532532].net.sourceforge.macflightgear[28537] 
from /Applications/FlightGear.app/Contents/Resources/rb_main.rb:38
9/13/11 3:03:59 PM  com.apple.launchd.peruser.501[285]  
([0x0-0x532532].net.sourceforge.macflightgear[28537]) Exited with exit code: 1



--Adam



On Sep 13, 2011, at 1:34 PM, James Turner wrote:

 
 On 13 Sep 2011, at 19:53, Adam Dershowitz, Ph.D., P.E. wrote:
 
 I just downloaded the new 2.4 release for Mac.  If I try to launch the app, 
 it just immediately quits.  
 I can successfully run this version of FlightGear from the command line, so 
 the problem must be with the launcher.  I am not sure the best way to report 
 this, so I am starting here.  
 Running on Macbook Pro 10.6.8.
 
 I'm guessing you don't get any kind of crash report? Check Console.app for 
 the system message log, hopefully there's something there about RubyCocoa 
 (which the launcher is built upon)
 
 Regards,
 James
 
 
 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 Learn about the latest advances in developing for the 
 BlackBerryreg; mobile platform with sessions, labs  more.
 See new tools and technologies. Register for BlackBerryreg; DevCon today!
 http://p.sf.net/sfu/rim-devcon-copy1 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] NASAL permissions

2011-09-13 Thread Adam Dershowitz, Ph.D., P.E.
I seem to have run into a problem with NASAL permissions.
I have a script that is giving me permission errors when it runs.  The scrip is 
in data/Nasal.  It contains this line:
var file=io.open(data/latlong.csv,mode=r);

and gives this error:

Nasal runtime error: io.open(): opening file 'data/latlong.csv' denied 
(unauthorized access)

Here is FG_ROOT:
FG_ROOT=/Applications/FlightGear.app/Contents/Resources/data

and this line is in data/Nasal/IOrules:

READ ALLOW $FG_ROOT/*
(default value, I haven't changed that file).

Shouldn't the rule allow the script to read that file?  

If I run the script right at the start of flightgear, that part works.  But, it 
won't then do what I want.  If, instead I use _setlistener, as I believe is the 
best way to way to wait for things to be initialized before running, I get the 
above error.  

I did figure out a work around, which is to open the file when the script is 
first run.  But then use _setlister to wait until the correct time to read the 
file.  

Any clarification or explanation?  

Thanks,

--Adam




--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] NASAL permissions

2011-09-13 Thread Csaba Halász
On Wed, Sep 14, 2011 at 12:37 AM, Adam Dershowitz, Ph.D., P.E.
adershow...@exponent.com wrote:

 I have a script that is giving me permission errors when it runs.  The scrip 
 is in data/Nasal.  It contains this line:
        var file=io.open(data/latlong.csv,mode=r);

Try this:
var file=io.open(getprop(/sim/fg-root) ~ /latlong.csv,mode=r);

-- 
Csaba/Jester

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Openstreetmap vs. G**gl

2011-09-13 Thread HB-GRAL
Am 11.09.11 03:20, schrieb Curtis Olson:

 Asking a cartographer where is it? is just about as difficult a question
 as asking an astronomer what time is it?

 Curt.

Hi Curt

These are very good questions. I will ask some cartographers and 
astronomers.

Cheers, Yves


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Openstreetmap vs. G**gl

2011-09-13 Thread HB-GRAL
Am 12.09.11 00:39, schrieb Martin Spott:
 HB-GRAL wrote:

 Exactly, that's a default in Robin's collection.


Hi Martin

Yes, sorry, you answered me this one some months before and I just 
forgot about. It is part of the collection and this probably makes sense.

Cheers, Yves

--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] NASAL permissions

2011-09-13 Thread Adam Dershowitz, Ph.D., P.E.


On Sep 13, 2011, at 4:17 PM, Csaba Halász wrote:

 On Wed, Sep 14, 2011 at 12:37 AM, Adam Dershowitz, Ph.D., P.E.
 adershow...@exponent.com wrote:
 
 I have a script that is giving me permission errors when it runs.  The scrip 
 is in data/Nasal.  It contains this line:
var file=io.open(data/latlong.csv,mode=r);
 
 Try this:
 var file=io.open(getprop(/sim/fg-root) ~ /latlong.csv,mode=r);
 

That does it.  

Thanks,


--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Default Takeoff Runway

2011-09-13 Thread Alasdair Campbell
Hi all,
It always used to be that if no runway or parking ID is specified, a
runway facing into the wind will be chosen for takeoff. This no longer
happening. Tonight, with 
METAR KSFO 140056Z 29010KT 10SM FEW006 18/12 A2997 RMK AO2 SLP149
T01830122, I am always started on rwy 10L.
And yes, I have --enable-real-weather-fetch in .fgfsrc
and git pull of simgear, flightgear and fgdata at Wed 14 Sep 2011
01:41:42 UTC, followed by new build.
What is occurring?

Kind regards, Alasdair


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel