# PDF::SimpleTable

**URL:** <https://www.ruby-forum.com/t/pdf-simpletable/116310>\
**Category:** Ruby\
**Created:** [October 4, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310 "2007-10-04T12:04:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 4, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/1 "2007-10-04T12:04:15Z")

</div>

Is it possible to have a table inside another table in PDF.

---

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 4, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/2 "2007-10-04T13:24:14Z")

</div>

On 10/4/07, Neha C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is it possible to have a table inside another table in PDF.

Not using PDF::SimpleTable.

-austin

---

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 4, 2007, 1:29pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/3 "2007-10-04T13:29:55Z")

</div>

Austin Z. wrote:

> On 10/4/07, Neha C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Is it possible to have a table inside another table in PDF.
> 
> Not using PDF::SimpleTable.
> 
> -austin

then what can be another way of generating pdf in ruby and having a  
table inside another table.

---

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 4, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/4 "2007-10-04T14:40:58Z")

</div>

On Oct 4, 2007, at 6:29 AM, Neha C. wrote:

> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

You might consider scripting an app that is a page layout or design  
app which can write pdf or print to pdf. You’ll get more features.

---

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 9, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/5 "2007-10-09T17:18:26Z")

</div>

Neha C. ha scritto:

> then what can be another way of generating pdf in ruby and having a  
> table inside another table.

Please see:

- [http://deplate.sourceforge.net/](http://deplate.sourceforge.net/)
- [http://dokkit.rubyforge.org/](http://dokkit.rubyforge.org/) (a new release will be soon available)

With the two applications above you can get a pdf from a tex file. The  
tex file is generated from an emacs-wiki formatted source file.

Hope this help,  
Andrea

---

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 9, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/6 "2007-10-09T20:52:23Z")

</div>

On 10/4/07, John J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 
> 
> You might consider scripting an app that is a page layout or design  
> app which can write pdf or print to pdf. You’ll get more features.

I’ve had good results using ruby to generate lout  
[[http://lout.sourceforge.net/](http://lout.sourceforge.net/)] and then scripting the lout → ps →   
pdf toolchain with system calls.

martin

---

<div class="post-metadata">

**Author:** ![neha-rohan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Post date:** [October 4, 2007, 1:47pm UTC](https://www.ruby-forum.com/t/pdf-simpletable/116310/7 "2007-10-04T13:47:43Z")

</div>

On 10/4/07, Neha C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Austin Z. wrote:
> 
> > On 10/4/07, Neha C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > Is it possible to have a table inside another table in PDF.  
> > > Not using PDF::SimpleTable.  
> > > then what can be another way of generating pdf in ruby and having a  
> > > table inside another table.

Find a formatter that can do that. Tables aren’t a basic feature of  
PDFs. SimpleTable is a simplified way of looking at a table and  
drawing it on the page.

(Layout in general isn’t a basic feature of PDFs. PDF documents are  
just canvases linked together. Any meaning is provided by the reader.)

-austin
