Re: trac wiki ToC

2005-11-27 Thread Christian Stimming
Am Sonntag, 27. November 2005 04:56 schrieb Tim Wunder:
   Is there a way to get the Trac Wiki pages to create a Table of Contents
   like the gnomesupport.org wiki?
  
   Having the ToC like this page:
   http://gnomesupport.org/wiki/index.php/GnuCashFaq
   looks better than this page:
   http://svn.gnucash.org/trac/wiki/GnuCashFaq
 
 And, if you notice with the GnuCashFaq on
 gnomesupport.org, you can edit each individual question/section. Can that
 be done with the aftermarket plugin TOC?

I guess that's a feature that was specific to the MediaWiki wiki at 
gnomesupport.org, whereas trac is based on the MoinMoinWiki which doesn't 
have that feature at all. The German wiki ( http://linuxwiki.de/GnuCash ) is 
a MoinMoin one and it doesn't have that feature anywhere, too. (It does have 
a functioning TOC, though.)

Christian
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: trac wiki ToC

2005-11-27 Thread Derek Atkins

Quoting Christian Stimming [EMAIL PROTECTED]:


Am Sonntag, 27. November 2005 04:56 schrieb Tim Wunder:

  Is there a way to get the Trac Wiki pages to create a Table of Contents
  like the gnomesupport.org wiki?
 
  Having the ToC like this page:
  http://gnomesupport.org/wiki/index.php/GnuCashFaq
  looks better than this page:
  http://svn.gnucash.org/trac/wiki/GnuCashFaq

And, if you notice with the GnuCashFaq on
gnomesupport.org, you can edit each individual question/section. Can that
be done with the aftermarket plugin TOC?


I guess that's a feature that was specific to the MediaWiki wiki at
gnomesupport.org, whereas trac is based on the MoinMoinWiki which doesn't
have that feature at all. The German wiki ( http://linuxwiki.de/GnuCash ) is
a MoinMoin one and it doesn't have that feature anywhere, too. (It does have
a functioning TOC, though.)


That begs the question:  why isn't the ToC working?  Why don't we get
the forward-labels?  And why does the ToC include headers from earlier
in the document than the ToC itself?

-derek

--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  [EMAIL PROTECTED]PGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: #!%*#@ scheme! ... help!

2005-11-27 Thread Derek Atkins

guile (string-append foo bar baz)
foobarbaz

You don't want the (list ...) stuff in there.

-derek

Quoting Brian [EMAIL PROTECTED]:


I'm trying to fix some things in the fancy invoice and I need help
before I give up again :(

I've already extended the properties dialog and business-utils.scm to
export those new items along with a few others.

I'm trying to change this:

Make all cheques payable to: Company Name Inc.\nDirect all 
inquiries to: Mr. Accounting Contact))



with these:

((N_ Make all cheques payable to: ) (list gnc:*business-label* 
gnc:*company-name*)
  (\nDirect all inquiries to: )  (list gnc:*business-label* 
gnc:*company-contact*)


How do you stick them all together?  I can't find anything similar to
copy in the fancy invoice and all the tutorials I've tried don't seem to
come close to this.  I've tried just about every permutation of list,
string-expand, string-append I can think of :(

Thanks.
--
Brian [EMAIL PROTECTED]

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel





--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  [EMAIL PROTECTED]PGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: #!%*#@ scheme! ... help!

2005-11-27 Thread Brian
On Sun, 2005-27-11 at 11:36 -0500, Derek Atkins wrote:
 guile (string-append foo bar baz)
 foobarbaz
 
 You don't want the (list ...) stuff in there.
 
 -derek
 
thanks, but :(

 (string-append (N_ Make all cheques payable to: ) (gnc:*business-label* 
gnc:*company-name*)
  (N_ \nDirect all inquiries to: ) (gnc:*business-label* 
gnc:*company-contact*


Backtrace:
In unknown file:
   ?:  0* [#procedure #f (window) #gw:wcp gnc:MainWindow* 0x8409990]
In /opt/gnucash2/share/guile-modules/gnucash/report/report-gnome.scm:
  78:  1* (let ((report #)) (gnc:main-window-open-report report window))
  78:  2* [gnc:make-report Fancy Invoice]
In /opt/gnucash2/share/scm/report.scm:
 237:  3  (let (# # #) (gnc:report-set-id! r id) ...)
 250:  4* (let ((options (if # # ...))) (gnc:report-set-options! r options) ...)
 251:  5* (if (not (null? rest)) (car rest) ...)
 253:  6  [gnc:report-template-new-options #]
...
 169:  7  (let ((options (generator))) (gnc:register-option options stylesheet) 
...)
 169:  8* [options-generator]
In unknown file:
   ?:  9  (letrec (# #) (gnc:register-inv-option #) (gnc:register-inv-option #) 
...)
In /opt/gnucash2/share/guile-modules/gnucash/report/fancy-invoice.scm:
 333: 10* [gnc:register-inv-option ...
 334: 11*  [gnc:make-text-option Display Extra Notes ... ...
 339: 12*   [string-append Make all cheques payable to:  ...
 339: 13*[Business Company Name]

/opt/gnucash2/share/guile-modules/gnucash/report/fancy-invoice.scm:339:58: In 
expression (gnc:*business-label* gnc:*company-name*):
/opt/gnucash2/share/guile-modules/gnucash/report/fancy-invoice.scm:339:58: 
Wrong type to apply: Business
[EMAIL PROTECTED] ~/gnucash-svn/trunk $


-- 
Brian [EMAIL PROTECTED]

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: #!%*#@ scheme! ... help!

2005-11-27 Thread Derek Atkins

Well, gnc:*business-label* isn't a procedure, so of course that's not
going to work.  I'd tell you just remove the parens but that wont do
what you expect, either.  It wont crash, but it wont give you the output
you want.  You need (gnc:whatever-function-gets-the-value label item)
to grab the option info.

-derek

Quoting Brian [EMAIL PROTECTED]:


On Sun, 2005-27-11 at 11:36 -0500, Derek Atkins wrote:

guile (string-append foo bar baz)
foobarbaz

You don't want the (list ...) stuff in there.

-derek


thanks, but :(

(string-append (N_ Make all cheques payable to: ) 
(gnc:*business-label* gnc:*company-name*)
 (N_ \nDirect all inquiries to: ) (gnc:*business-label* 
gnc:*company-contact*



Backtrace:
In unknown file:
  ?:  0* [#procedure #f (window) #gw:wcp gnc:MainWindow* 0x8409990]
In /opt/gnucash2/share/guile-modules/gnucash/report/report-gnome.scm:
 78:  1* (let ((report #)) (gnc:main-window-open-report report window))
 78:  2* [gnc:make-report Fancy Invoice]
In /opt/gnucash2/share/scm/report.scm:
237:  3  (let (# # #) (gnc:report-set-id! r id) ...)
250:  4* (let ((options (if # # ...))) (gnc:report-set-options! r 
options) ...)

251:  5* (if (not (null? rest)) (car rest) ...)
253:  6  [gnc:report-template-new-options #]
   ...
169:  7  (let ((options (generator))) (gnc:register-option options 
stylesheet) ...)

169:  8* [options-generator]
In unknown file:
  ?:  9  (letrec (# #) (gnc:register-inv-option #) 
(gnc:register-inv-option #) ...)

In /opt/gnucash2/share/guile-modules/gnucash/report/fancy-invoice.scm:
333: 10* [gnc:register-inv-option ...
334: 11*  [gnc:make-text-option Display Extra Notes ... ...
339: 12*   [string-append Make all cheques payable to:  ...
339: 13*[Business Company Name]

/opt/gnucash2/share/guile-modules/gnucash/report/fancy-invoice.scm:339:58: 
In expression (gnc:*business-label* gnc:*company-name*):
/opt/gnucash2/share/guile-modules/gnucash/report/fancy-invoice.scm:339:58: 
Wrong type to apply: Business

[EMAIL PROTECTED] ~/gnucash-svn/trunk $


--
Brian [EMAIL PROTECTED]






--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  [EMAIL PROTECTED]PGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


bug in invoicing/file save

2005-11-27 Thread Brian
[EMAIL PROTECTED] ~/gnucash-svn/trunk $ svn info
Path: .
URL: http://svn.gnucash.org/repo/gnucash/trunk
Repository UUID: 57a11ea4-9604-0410-9ed3-97b8803252fd
Revision: 12055
Node Kind: directory
Schedule: normal
Last Changed Author: cstim
Last Changed Rev: 12053
Last Changed Date: 2005-11-26 12:52:22 -0800 (Sat, 26 Nov 2005)
Properties Last Updated: 2005-11-21 17:08:14 -0800 (Mon, 21 Nov 2005)



Create a new invoice, post it show it in an invoice, save the file, quit
and restart gnucash...The customer does not seem to be saved and
consequently the displayed invoice no longer shows the name, etc. in any
of the invoices.  Opening a copy of my working file it retrieves and
displays the customer info correctly.  The posted invoivce does retain
the correct customer name in Accts Receivable.


P.S. Thank you Derek, I am very slowly making progress tweaking the
fancy invoice.

Delete the post I made with the wrong email sender.
-- 
Brian [EMAIL PROTECTED]

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: trac wiki ToC

2005-11-27 Thread Tim Wunder
On Sunday 27 November 2005 10:35 am, someone claiming to be Derek Atkins 
wrote:
 Quoting Christian Stimming [EMAIL PROTECTED]:
  Am Sonntag, 27. November 2005 04:56 schrieb Tim Wunder:
Is there a way to get the Trac Wiki pages to create a Table of
Contents like the gnomesupport.org wiki?
   
Having the ToC like this page:
http://gnomesupport.org/wiki/index.php/GnuCashFaq
looks better than this page:
http://svn.gnucash.org/trac/wiki/GnuCashFaq
 
  And, if you notice with the GnuCashFaq on
  gnomesupport.org, you can edit each individual question/section. Can
  that be done with the aftermarket plugin TOC?
 
  I guess that's a feature that was specific to the MediaWiki wiki at
  gnomesupport.org, whereas trac is based on the MoinMoinWiki which doesn't
  have that feature at all. The German wiki ( http://linuxwiki.de/GnuCash )
  is a MoinMoin one and it doesn't have that feature anywhere, too. (It
  does have a functioning TOC, though.)

 That begs the question:  why isn't the ToC working?  Why don't we get
 the forward-labels?  And why does the ToC include headers from earlier
 in the document than the ToC itself?


Not to mention the question whether MediaWiki could be used on 
svn.gnucash.org, thereby eliminating the reformatting required to migrate the 
pages from gnomesupport.org..

Tim

TIm


pgpzyBqiufvC0.pgp
Description: PGP signature
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: G2 Testing - gconf Druid

2005-11-27 Thread David Hampton
On Mon, 2005-10-31 at 23:37 -0500, Volker Englisch wrote:

 However, when selecting the Forward button for the first time from the 
 Choose Method window with the option Update search path selected, 
 the window size of the next window titled Update Search Path is 
 slightly larger then the previous window (about 5 - 10 pixels).  Moving 
 back and forth between these two windows afterwards does not change the 
 window size any more.

I don't see this.  If anything, its gtk adjusting for the size of the
text on the Update search path page.  Not something to worry about.

 By the way, shouldn't the window titles Install into home directory 
 and Update search path be capitalized?  I'm just wondering.

There's no explicit statement about this in the HIG, but the one example
druid page they show only capitalizes the first letter.  Most of the
other windows in that section of the document also use this same
capitalization scheme.  I've updated the druid so all the titles use
this same format.

 There is one issue I can foresee though:  The option of the command
gconftool-2 --shutdown
 appears - due to the font - to be just a single dash '-' instead of two 
 dash '--'.  Maybe it's possible to add an extra space between those 
 dashes or to display the command in a fixed type font to make it more 
 obvious?

Have to think about this one.

 I couldn't find the note in the druid indicating that the file must 
 appear in the search path when selecting I'll do it myself.

I only put the statement into the text when you ask gnucash to run the
script.  It doesn't matter to the user whether or not the script is in
their path as they can always type the full path name.  To
programmatically execute the script, it needs to either be in the search
path or the full path name of the script has to be embedded into the
executable.  I was trying to avoid the latter.

David


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel