similar to: pdf on the fly

Displaying 20 results from an estimated 200 matches similar to: "pdf on the fly"

2006 Mar 10
5
PDF::Writer Simpletable Iteration
Hello All: I have been working with <a href="http://ruby-pdf.rubyforge.org/pdf-writer/index.html">Austin Ziegler''s PDF::Writer</a> as a means to produce PDF documents from my Rails app. I am stumped on how to iterate through a collection of items and output them in a table format. The way I have tried it so far only returns the last item in the collection -
2006 May 05
8
pdf/writer: table.render_on best practices?
Hi All, I generate a pdf report that contains a table. The report is 14 pages, and it takes 20s to be rendered. Most of these 20s are spend in the render_on method. I wonder if it is possible to speed up that process? To create the report, I do the following: 1) Setup pdf layout: # Setup pdf layout pdf.select_font("Helvetica", { :encoding => "WinAnsiEncoding"})
2006 Jun 19
1
pdf simpletable help needed
i am trying to generate a pdf of all of the users in an application that i have built. i am still pretty new to ruby and rails so i don''t know the best way to go about it. here is my controller code: require ''pdf/writer'' require ''pdf/simpletable'' class ReportsController < ApplicationController def test _pdf = PDF::Writer.new table =
2011 Aug 21
3
Sweave doesn't work
Hi R users. I've got a problem in producing the pdf file from Latex with R code. When I run the code Sweave("example.Rtex") in R it seems working, but when I run the Latex file it doesn't. The code error shown to me is below: *Runaway argument? {echo=FALSE} data<- read.csv("C:\\Users\\Daniele\\Desktop\\dati\\dati_england ! File ended while scanning use of \FV at
2005 Aug 10
3
Limit to the number of draggables?
I''m wondering if there''s a max number of draggables. I have a situation where there are something like 60-80 draggable items and they work fine on the test server with only a handful of items, but in production with the full load they no longer work. It''s possible there''s something else different -- somehting with style sheets or something, but I wanted to see
2009 Jan 13
1
PCA loadings differ vastly!
hi, I have two questions: #first (SPSS vs. R): I just compared the output of different PCA routines in R (pca, prcomp, princomp) with results from SPSS. the loadings of the variables differ vastly! in SPSS the variables load constantly higher than in R. I made sure that both progr. use the correlation matrix as basis. I found the same problem with rotated values (varimax rotation and rtex=T
2005 Aug 15
6
Possible to scroll window when user drags a draggable?
It doesn''t seem to be possible, but perhaps somebody knows a trick. I have some lists that get too long and users can''t drag from list 10, for example, to list 1. Is there a way to get the browser window to scroll as they drag the item up? Thanks! Tom
2006 Apr 02
5
foreign keys and migrations
Hi: I''m looking to get a point clarified which i''m sure is obvious to everyone else but I haven''t been able to find the answer to. i''ve tried searching through the forums and the api pages and haven''t found anything. Is there a way with migrations to set up foregin key relationships? (beyond putting in the relevant foregin_id attributes) Is
2006 Jan 24
4
PDF::SimpleTable performance issues
Hello, I am having performance issues ending with a ''time out'' from Apache when I try to generate a PDF file using pdf-writer. It seems to happen at the render_on(pdf) function call ; the table I am trying to draw has 8 colums which values are generated on the fly. Can''t find anything about pdf-writer and the ''time out'' on the Web so far. Any
2006 Feb 06
6
.rjs template doesn''t load?
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060206/cf123b71/PGP.bin
2013 Jul 18
1
Looking for knitr example for beginner (NO RStudio)
Hi everyone, I am using package knitr, FIRST TIME. I don't have access to RStudio. Read through Yihui's page, didn't find it helpful. Stuck on terms Rnw, GFM (GitHub Flavored Markdown). Never used Sweave, so the reference is not helping. Is there a simple step-by-step example WITHOUT RStudio? My question: What is the procedure? The documentation explains the functions, but does
2006 Mar 16
6
How to have multiple fields appear in collection_select?
I have a table of employees with the fields "last_name" and "first_name". I would like to populate a collection select so that what the user sees in the drop-down is "Last Name, First Name". So far, the only way I have figured out to do this is by using "find_by_sql" in my model, like so: @employees.find_by_sql("SELECT id, concat(last_name,
2006 Feb 14
9
Deploying in Dreamhost
What pain. I am ready to switch hosts. I have this app in Dreamhost where I load the static pages just fine. The location of my rails app is /home/username/webaddress.com Under that resides the app/, public/ and so on. Like I said I can see my static pages that I have under public since I have in the Managed host panel the following: Web Directory: /home/username/[ webaddress.com/public
2008 Dec 19
1
comparing distributions
I have data sets from three different sites. None of the data sets are normally distributed and can not be log-transformed to a normal distribution. I would like to compare the data sets to see if any of the sites are similar to each other, and would like something more powerful than a non-parametric wilcoxen test. Does anyone have any suggestions on more powerful ways of comparing non-normal data
2006 May 05
2
convert HTML to LaTeX or text
Hi all, I have a RoR app which can output a report in HTML back to the web browser, or (preferably) in PDF using the RTex plugin. I have a number of text fields which are stored as HTML, and am looking for a good way to convert them to something LaTeX-compatible, or plain text if that''s the last resort. I''ve seen a number of html2tex-type converters out there, but they are by
2006 Apr 02
1
How to count number of pages in a PDF?
Does any know a simple way to count the number of pages in a PDF file? I''m using teh RTEX plugin to generate a PDF via pdflatex with a defined start page number. I want to determine the final page number so I can start the next PDF in sequence. Thanks in advance for your help! -cal
2004 Sep 06
2
Sweave echoing comments (again)
Hello, I try to document some R scripts for my collegues and observed the problem, that Sweave strips comment lines away. As a small example I write in an Rtex file: \begin{Scode} ## a small example test() # line comment \end{Scode} ... the .tex file generated by Sweave only contains: \begin{Schunk} \begin{Sinput} test() \end{Sinput} \end{Schunk} ... and all the comments are lost.
2004 Sep 06
2
Sweave echoing comments (again)
Hello, I try to document some R scripts for my collegues and observed the problem, that Sweave strips comment lines away. As a small example I write in an Rtex file: \begin{Scode} ## a small example test() # line comment \end{Scode} ... the .tex file generated by Sweave only contains: \begin{Schunk} \begin{Sinput} test() \end{Sinput} \end{Schunk} ... and all the comments are lost.
2005 Jan 16
1
running Sweave from Windows XP Explorer
I'd like to create a suitable batch file or shortcut so that I can run Sweave on a .Rnw or .Rtex file simply by clicking on the file from Windows Explorer in Windows XP (as I do with latex, bibtex etc). This looks tantalisingly possible using R CMD BATCH or Rterm possibly in combination with a .bat file. Has anyone succeeded is setting it up and would give me a pointer? Thanks Gordon
2007 Jun 08
0
SimplaTable with error: singleton can't be dumped
Hello, My first PDF report from rails. When i try to render "tab.render_on(pdf)", I get that error message. Thanks any help, Helder ================================================================= TypeError in ContasController#plano singleton can''t be dumped RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace