After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654467 - Update Japanese Concepts Guide
Update Japanese Concepts Guide
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Documentation
git-master
Other All
: Normal normal
: ---
Assigned To: Yawar Amin
Tom Bullock
Depends on:
Blocks:
 
 
Reported: 2011-07-12 12:34 UTC by Yasuaki Taniguchi
Modified: 2018-06-29 22:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Japanese Concepts Guide chap 1-4 bodies (496.38 KB, patch)
2011-07-12 12:34 UTC, Yasuaki Taniguchi
committed Details | Review
Japanese concepts guide chapter 05-10 patch (430.82 KB, patch)
2011-08-09 11:13 UTC, Yasuaki Taniguchi
committed Details | Review
Japanese concepts guide chapter 11 to appendix patch (316.45 KB, patch)
2011-08-27 00:57 UTC, Yasuaki Taniguchi
none Details | Review
Japanese concepts guide chapter 11 to appendix patch (344.49 KB, patch)
2011-08-27 01:20 UTC, Yasuaki Taniguchi
committed Details | Review
Japanese PDF patch (31.86 KB, patch)
2011-08-29 23:33 UTC, Yasuaki Taniguchi
committed Details | Review
Japanese PDF relative path and typo fix patch (3.14 KB, patch)
2011-08-31 12:12 UTC, Yasuaki Taniguchi
none Details | Review
Japanese PDF relative path and typo fix patch (3.01 KB, patch)
2011-08-31 12:23 UTC, Yasuaki Taniguchi
committed Details | Review
Japanese guide proofreading patch (466.53 KB, patch)
2011-09-03 11:52 UTC, Yasuaki Taniguchi
committed Details | Review

Description Yasuaki Taniguchi 2011-07-12 12:34:05 UTC
Created attachment 191806 [details] [review]
Japanese Concepts Guide chap 1-4 bodies

I update Japanese version of GnuCash Tutorial and Concepts Guide to keep up with English version.

I finished chapter 1 to 4, and working on the other chapters.
Comment 1 Yasuaki Taniguchi 2011-07-12 12:41:25 UTC
The figures are too large to be attached.
Please download from 
https://sites.google.com/site/gnucashtranslation/bugid654467
Comment 2 Cristian Marchi 2011-08-08 16:48:06 UTC
I've tested the patch and I have made a couple of small modifications by correcting a couple of errors outputted by xmllint regarding a couple of tags.
I've also changed the dpi of the images to 144 according to [1] in order to get most of them fit in the pdf page properly.

I've also encountered a couple of problems:
- I can't generate a pdf without deleting the svg figure. Probably there is some kind of problem with the font.
- To make a pdf there is the need to download some font (ipaexfont) and put them in ja_JP/ipaexfont folder. We have to investigate if these fonts can be added to the GnuCash repository (licence compatibility) because otherwise the automatic build of the Japanese documentation will fail.

By the way, thanks for contributing
Comment 3 Yasuaki Taniguchi 2011-08-09 11:02:04 UTC
Hello,

Thank you for your reviewing my files.

> correcting a couple of errors outputted by xmllint regarding a couple of tags.

I'll check xml files by "xmllint --noout --valid gnucash-docs.xml" before I submit paches. You may correct <enver> in ch_oview.xml, may you?

> I've also changed the dpi of the images to 144
I was troubled because I was not able to solve this the image width problem.
I only have to change the resolution of images. I'll set it before sending images next time.


> - I can't generate a pdf without deleting the svg figure. Probably there is
> some kind of problem with the font.
I partly solve this svg import problem. But fop won't use Japanese font at
an external SVG file. It always use Times Roman, and Japanese characters are
not displayed properly in PDF. So I think it is better to use a PNG file, instead of a SVG file.

> We have to investigate if these fonts can be
> added to the GnuCash repository (licence compatibility) because otherwise the
> automatic build of the Japanese documentation will fail.
It's good! This make build processes easy.
Comment 4 Yasuaki Taniguchi 2011-08-09 11:13:29 UTC
Created attachment 193482 [details] [review]
Japanese concepts guide chapter 05-10 patch

xmllint reports 2 problems in appendix A and appendix D.
I'll fix it in the next patch.
Comment 5 Cristian Marchi 2011-08-18 17:52:24 UTC
I've committed to rev. 21188 the modifications that affects the xml files and the figures (from both patches). I've corrected a couple of problems xmllint was complaining about except the one in fdlappendix.xml regarding a link to a title. The documentation looks fine under ghelp and the make pdf command works though I can't see Japanese characters.

> I was troubled because I was not able to solve this the image width problem.
> I only have to change the resolution of images. I'll set it before sending
> images next time.

About this topic, you can check a little text [1] I've put up on the wiki about how to manage the images dimensions on pdf output.

[1] http://wiki.gnucash.org/wiki/Documentation_Update_Instructions#Images_and_screenshots
Comment 6 Geert Janssens 2011-08-23 08:58:44 UTC
Comment on attachment 191806 [details] [review]
Japanese Concepts Guide chap 1-4 bodies

(Changing the status of this patch to get it off of the unreviewed patches list.)

As Cristian said, the changes to the xml files have been committed, only the pdf generation part will have to be improved upon.
Comment 7 Yasuaki Taniguchi 2011-08-27 00:57:26 UTC
Created attachment 194893 [details] [review]
Japanese concepts guide chapter 11 to appendix patch

This patch is for Japanese concepts guide, chapter 11 to appendixes.
According to xmllint program, the result of this patch is well-formed.

I start to proofread and to take screenshots. When I finish them, I'll attach
another patch and screenshots.
Comment 8 Yasuaki Taniguchi 2011-08-27 01:20:44 UTC
Created attachment 194894 [details] [review]
Japanese concepts guide chapter 11 to appendix patch

I'm sorry. I forgot to update svn tree.
This patch is against latest svn trunk.
Comment 9 Cristian Marchi 2011-08-27 08:34:02 UTC
Comment on attachment 194894 [details] [review]
Japanese concepts guide chapter 11 to appendix patch

The last patch was committed. Now the only thing pending is the ipaexafont integration.
Thanks for your work!
Comment 10 Yasuaki Taniguchi 2011-08-29 23:33:41 UTC
Created attachment 195137 [details] [review]
Japanese PDF patch

This patch is for creating Japanese PDF files.

 * Add --with-japanese-fontdir, --with-japanese-mincho-ttf, and
    --with-japanese-gothic-ttf option to configure.in
 * Check fop-ttfreader in configure script
 * Replace hardcoded xsltproc and fop with $(XSLTPROC) and $(FOP) 
   respectivelly in makefiles
 * Add guide/ja_JP/fop.xconfig.in
Comment 11 Cristian Marchi 2011-08-30 12:37:53 UTC
Comment on attachment 195137 [details] [review]
Japanese PDF patch

I've tested the last patch for pdf generation and it works.
I want to note that with the --with-japanese-fontdir you have to give the full path to folder and not the relative one because otherwise it will not work.

The code is in the repo as of rev. 21224.
Thanks for your good work! The generated pdf files are now readable in Japanese.
Comment 12 Yasuaki Taniguchi 2011-08-31 12:12:37 UTC
Created attachment 195287 [details] [review]
Japanese PDF relative path and typo fix patch

Thank you for pointing out relative path problem.
This patch is for fixing this problem and some typos.
Comment 13 Yasuaki Taniguchi 2011-08-31 12:23:52 UTC
Created attachment 195289 [details] [review]
Japanese PDF relative path and typo fix patch

I'm sorry.
The patch that I uploaded is invalid.
This patch is correct.
Comment 14 Cristian Marchi 2011-08-31 17:01:33 UTC
Comment on attachment 195289 [details] [review]
Japanese PDF relative path and typo fix patch

That was fast! Thanks again Yasuaki. The patch is in the repo and works great.
Comment 15 Cristian Marchi 2011-08-31 17:03:03 UTC
I will wait to close this bug in the event you have some updated images to upload.
Comment 16 Yasuaki Taniguchi 2011-09-03 11:52:50 UTC
Created attachment 195565 [details] [review]
Japanese guide proofreading patch

This patch is the result of proofreading.
You can download updated figures from
 https://sites.google.com/site/gnucashtranslation/bugid654467

If they are OK, please close this bug.

Regards
Comment 17 Cristian Marchi 2011-09-03 14:23:57 UTC
Comment on attachment 195565 [details] [review]
Japanese guide proofreading patch

Last patch and figures are committed.

Thanks for all your hard work! all Japanese GnuCash users should be thankful for your work.

I noticed that some figures goes out of the pdf margin but I'm working on a script that will adapt the dpi based on the image width in order to get rid of this problem once for all.
Comment 18 John Ralls 2018-06-29 22:59:52 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=654467. Please update any external references or bookmarks.