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 601156 - Refreshing images of Layer Mode formulas
Refreshing images of Layer Mode formulas
Status: RESOLVED FIXED
Product: GIMP-manual
Classification: Other
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Róman Joost
Róman Joost
Depends on:
Blocks:
 
 
Reported: 2009-11-08 15:08 UTC by SimaMoto,RyōTa
Modified: 2009-11-27 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
new images and a patch for xml (compressed by bzip2) (71.30 KB, application/octet-stream)
2009-11-08 15:08 UTC, SimaMoto,RyōTa
Details
an image patch (compressed by bzip2) (4.25 KB, application/octet-stream)
2009-11-08 17:42 UTC, SimaMoto,RyōTa
Details
regenerated patch (LaTeX mode, using "×") compressed (75.40 KB, application/octet-stream)
2009-11-18 13:00 UTC, SimaMoto,RyōTa
Details
a Script-Fu script for the fifth step (2.46 KB, text/x-scheme)
2009-11-23 17:13 UTC, SimaMoto,RyōTa
Details
additional patch after #148040 (20.62 KB, application/x-compressed-tar)
2009-11-23 17:18 UTC, SimaMoto,RyōTa
Details

Description SimaMoto,RyōTa 2009-11-08 15:08:11 UTC
Created attachment 147215 [details]
new images and a patch for xml (compressed by bzip2)

Though the "Layer Modes" page has nice mathematical formulas for
each modes, these images are rather suitable for inline description
than displaying with titles, because their style are written in
the TeX's text mode (inline style sorrounded by single $ sign).
Some formulas contain '*' for multplying sign which is not popular
but only used in C programming or other computer codes.

TeX's display mode causes centering its formula, which may preferable
in PDF output because its title is centered.  On the contrary, TeX's
text mode puts its formula into a paragraph, or left most side if the
line contains one formula.  And this mode shorten text size
in fractions or complicated functions.

This patch contains images/C/math/layer-mode-*.png and a patch for
src/concepts/layer-modes.xml.  Images are GRAY-ALPHA png files.
Comment 1 SimaMoto,RyōTa 2009-11-08 17:42:40 UTC
Created attachment 147220 [details]
an image patch (compressed by bzip2)

Sorry, I've forgotten the grainmerge mode.
Comment 2 SimaMoto,RyōTa 2009-11-18 13:00:12 UTC
Created attachment 148040 [details]
regenerated patch (LaTeX mode, using "×") compressed

This file contains new images using multiplication signs.
Though I'm not familiar with LaTeX, this may go well.
It does not need the former two patches (deprecated).
Comment 3 Ulf-D. Ehlert 2009-11-22 18:50:49 UTC
AFAIK TeX (or LaTeX?) provides \min and \max macros, using a different
(correct) font for the strings "min" and "max". We should fix this, too.

Your new "Hard light" formula still contains braces, can you replace
them with (big?) parentheses?

BTW, is there a simple tool to generate these nice figures with white text
on transparent background? Or did you use any special TeX/LaTeX commands?
Comment 4 SimaMoto,RyōTa 2009-11-23 17:13:46 UTC
Created attachment 148332 [details]
a Script-Fu script for the fifth step

(In reply to comment #3)

> BTW, is there a simple tool to generate these nice figures with white text
> on transparent background? Or did you use any special TeX/LaTeX commands?

No. There is nothing special. The steps I did are through an ordinary way:
  1. edit TeX source, and produce its dvi output
  2. convert dvi file to pdf file using 'dvipdf' tool
  3. open the pdf image by the GIMP
  4. select wanted text using the rectangular-select tool
  5. copy-and-paste the part in a new image and work on it
     (like the attached script)
Comment 5 SimaMoto,RyōTa 2009-11-23 17:18:37 UTC
Created attachment 148334 [details]
additional patch after #148040

(In reply to comment #3)
> AFAIK TeX (or LaTeX?) provides \min and \max macros, using a different
> (correct) font for the strings "min" and "max". We should fix this, too.
> 
> Your new "Hard light" formula still contains braces, can you replace
> them with (big?) parentheses?

Now corrected by this patch.
Comment 6 SimaMoto,RyōTa 2009-11-27 13:19:09 UTC
I noticed that these patches are committed to the repository.
Thank you, Ulf.