pdf-generation

Add markers and hyperlinks for citations in pandoc

筅森魡賤 提交于 2019-12-06 07:04:32
I put references in a yaml metadata-header: references: - id: fenner2012a title: One-click science marketing author: - family: Fenner given: Martin ... (described here: http://johnmacfarlane.net/pandoc/README.html#extension-citations ) and I can cite this reference with See [@fenner2012a]... . This will create an output in the pdf like this: See ("One-click science marketing")... with no hyperlink on the reference. Instead of the title I want to have auto-incremented number: See [1] with [1] beeing a hyperlink to the source. How can I achieve this? 来源: https://stackoverflow.com/questions

Export separate pdfs from SSRS generated report

自闭症网瘾萝莉.ら 提交于 2019-12-06 06:44:23
Is it possible for SSRS to name and separate pdf exported files based on parameter groupings? Right now, when I run the report, it only gives me one pdf with 100+ pages. However, at every page-break, I'd like SSRS to create a new pdf file, and it'd be a real time-saver if it would also insert the pdf's filename based on the grouping selection. Is this possible in SSRS, or do i need to use SSIS for this functionality? I'm using 'Visual Studio 2010' for SSRS, and 'SQL Server 2012' for integration services You would be able to do all of what you want in SSRS - if you have the Enterprise edition

How to Page Break HTML Content in HTML Renderer

帅比萌擦擦* 提交于 2019-12-06 06:43:41
问题 I have a project where HTML code is converted to a PDF using HTML Renderer. The HTML code contains a single table. The PDF is displayed but the issue is that the contents of the table are cut off at the end. So is there any solution to the problem? PdfDocument pdf=new PdfDocument(); var config = new PdfGenerateConfig() { MarginBottom = 20, MarginLeft = 20, MarginRight = 20, MarginTop = 20, }; //config.PageOrientation = PageOrientation.Landscape; config.ManualPageSize = new PdfSharp.Drawing

getting two A6 complete booklet sequences from an A4 page

做~自己de王妃 提交于 2019-12-06 06:31:27
I have an a6 pdf book. I'd like to convert it to an a4 pdf so that when I print it, I can cut the a4 page in two (upside and downside will have the same content, so I'll end up with two copies of the book) and when putting together the pages, they can be read in sequence (I think this is called impose) Supose A,B,C,D are 4 pages of the book. I want the resulting file to be: DA DA and CD CD Was I clear? Sorry if I'm not using the correct terminology. as suggested, the mighty Multivalent tools are the solution, but they need to be combined with my Script I attach to perform the task you desire

Is it at all possible to convert a document to PDF or edit a PDF in C# using only free software?

一个人想着一个人 提交于 2019-12-06 06:31:21
I had this stupid idea of creating a template as a .docx or .rtf or .pdf and then replacing the text in that document to generate reports. This seemed like a better way of doing it than using paid reporting software. Well, I believe I've tried just about everything now and I'm amazed at how impossible it is to do anything with pdfs. Try 1 HTML -> PDF A lot harder to design the template. It doesn't look the same when you print it. Never got it working outside of a command line example (not sure how well, say, iTextSharp-LGPL would even work or if it could handle base64 strings as I'm not sure

Adding text to existing pdf which is closed using itextsharp

冷暖自知 提交于 2019-12-06 05:44:12
问题 Hi I am creating PDF using itextsharp. Now my requirement is to add more text to the existing pdf. Is it possible if so then how can I do that? Thanks Dipa 回答1: Yes, with certain limitations. It is difficult, but not impossible, to determine what is already on an existing page. If all you want to do is add "page X of Y" to the bottom left corner of all your pages, that's easy . PdfReader reader = new PdfReader( inPath ); PdfStamper stamper = new PdfStamper( reader, new FileOutputStream(

My text is written in a bad direction when I use a template

喜夏-厌秋 提交于 2019-12-06 05:30:19
问题 I want to add a text on an existing PDF using Rails, so I did : filename = "#{Rails.root}/app/assets/images/sample.pdf" Prawn::Document.generate("#{Rails.root}/app/assets/images/full_template.pdf", :template => filename) do text "Test", :align => :center end And when I open full_template.pdf, I have my template PDF + my text "Test", but this text is written in a bad direction as if my text was written using a mirror. You can find the two PDF documents here: Original : http://www.sebfie.com/wp

Unable to create PDF from HTML in Xamarin Android

跟風遠走 提交于 2019-12-06 05:24:19
I am developing an Application in Xamarin for Android. I have already generated HTML file using StringBuilder. Now I have a HTML file in my External storage and the same template is required for PDF. So when I try to convert HTML to PDF using iTextSharp using XML Worker & PDFSharp libraries, I am getting build errors due to missing System.Drawing.dll. Then I found from Xamarin forums & Stackoverflow links that it is not supported for Xamarin.Android. Can anyone please tell me other alternative about how to create template for PDF or any other working nuget package for Xamarin.Android which

How to make DOMPDF support unicode font step by step?

允我心安 提交于 2019-12-06 05:20:48
问题 I used DOMPDF library and now I have problem with content with unicode language. and I found this one dompdf help but I don't understand about this. can anyone tell the detail of this? thanks 回答1: Enable the mbstring extension Find a font in .ttf format with characters that support your given language Generate a .afm file for DOMPDF: Using the command line, cd into the directory which contains load_font.php , then run php load_font.php FontName /path/to/font.ttf Using the online tool, fill

automation of Doc to PDF in c#

情到浓时终转凉″ 提交于 2019-12-06 05:17:31
问题 I have got about 200 word documents that I need to pdf. Obviously, I cannot pdf them one by one as, first it will take ages, second I am sure it is not good practice to do so. I need to find a way to automate that conversion, since we will need to this again and again. I use C#, but the solution does not necessarily have to be in c#, but it is preferred. I have had a look at few libraries such as PDfCreator, Office 2007 add-in, ITextSharp, and so forth and there is not any clear answer on the