From: Toshiro Kuwabara Date: 2000-07-22T02:01:43+09:00 Subject: [ruby-talk:04160] Re: What are you using Ruby for? -- packaging Ruby programs as single files Hi, I havn't follow all mail of this discussion, so if I miss the point, please forgive me. In message "[ruby-talk:04147] Re: What are you using Ruby for? -- packaging Ruby programs as single files" on 00/07/20, Conrad Schneiker writes: >> > I also think this would be a good idea. Might also be nice if one could >> include >> > foreign files (jpegs, etc.). But would be really worthwhile even without >> that. > >This foreign files feature would be very useful for web/HTML applications and >for applications with built-in help documentation, so I think this would be a >pretty important to support this from the start. > >(This also suggests another RD/rdtool extension to be able to import graphics >for diagrams and such.) Does it mean to extend Include Element of RD such like? <<< foo.jpeg and this means (in HTML)
You can do it for the present like: (in RD file) <<< foo (in foo.html)
Fig: foo
(and prepare foo.jpeg file.) And the reason why RD doesn't allow "<<< foo.jpeg" is * HTML's "IMG" requires "alt" attribute. * all kind of output format doesn't support JPEG file importing. so you should also prepare "foo.ps" or other format image when you want to output LaTeX file (or other document format) also. --- Tosh Toshiro Kuwabara