[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue-reports/samples/foobulations README pg_sch...
From: |
Jan Ischebeck |
Subject: |
gnue-reports/samples/foobulations README pg_sch... |
Date: |
Tue, 04 Nov 2003 05:10:30 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue-reports
Branch:
Changes by: Jan Ischebeck <address@hidden> 03/11/04 05:10:30
Modified files:
samples/foobulations: README
Added files:
samples/foobulations: pg_schema_i18n_zh.sql monthly_i18n_zh.grd
Log message:
add i18n samples in chinese
update README
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-reports/samples/foobulations/pg_schema_i18n_zh.sql?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-reports/samples/foobulations/monthly_i18n_zh.grd?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-reports/samples/foobulations/README.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gnue-reports/samples/foobulations/README
diff -c gnue-reports/samples/foobulations/README:1.2
gnue-reports/samples/foobulations/README:1.3
*** gnue-reports/samples/foobulations/README:1.2 Fri Oct 31 13:06:16 2003
--- gnue-reports/samples/foobulations/README Tue Nov 4 05:10:30 2003
***************
*** 1,8 ****
This report demo uses a custom reporting template to
summarize "Accounting Foobulations".
! To run (once it actually works):
grcvs monthly.grd subtitle="April 2002" begin="04/01/2002" end="04/30/2002"
! You can try different filter settings:
! grcvs --filter pdf -d test.pdf subtitle="April 2002" begin="04/01/2002"
end="04/30/2002"
--- 1,47 ----
This report demo uses a custom reporting template to
summarize "Accounting Foobulations".
! Files:
! monthly.grd Basic monthly report with parameter and triggers
! docbook.grd A report which directly produce docbook output. Don't
! use filter settings with this report.
! pg_schema.sql The database schema for both reports (in Postgresql SQL)
!
! monthly_i18n_zh.grd The monthly report translated to chinese.
! pg_schema_i18n_zh.sql Additional i18n data
!
! Monthly.grd
! ===========
!
! First install the schema:
! psql <dbname> < pg_schema.sql
!
! To run:
grcvs monthly.grd subtitle="April 2002" begin="04/01/2002" end="04/30/2002"
! You can try different filter settings (like html, pdf, csv, text):
! grcvs --filter html -d test.html monthly.grd subtitle="April 2002"
begin="04/01/2002" end="04/30/2002"
!
! You can even print it directly to a printer (or email or fax it):
! grcvs --filter pdf -D printer -d <printer name> monthly.grd subtitle="April
2002" begin="04/01/2002" end="04/30/2002"
!
! i18n
! ====
!
! To test the i18n version you have to set the textEncoding setting (in
gnue.conf)
! to utf-8. For correct PDF file creation you have to edit
/src/adapters/filters/SimpleTabulation/tabulator/formatters/pdf.py and set the
font and boldfont settings to a font which supports unicode like Zenkai-Medium,
Simsun, ArialUnicode etc.
!
! docbook.grd
! ===========
!
! To run:
! grcvs -d monthly_foo.xml docbook.grd subtitle="April 2002"
begin="04/01/2002" end="04/30/2002"
!
! Now you can transform the docbook file to pdf, ps, ... with the xmlto
commands.
! [this is broken at the moment as we don't produce 100% conformant docbook]
!
! xmlto pdf monthly_foo.xml > monthly_foo.pdf
!
! Attention: We create XML docbook here, so the db2xxx commands (for SGML db)
don't work!!!
!
!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue-reports/samples/foobulations README pg_sch...,
Jan Ischebeck <=