You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/07/12 02:11:48 UTC

[jira] [Resolved] (SOLR-4886) configure, test, and document PDF export process of SOLR CWIKI

     [ https://issues.apache.org/jira/browse/SOLR-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-4886.
----------------------------

    Resolution: Fixed

Since we're punting on the issue of unicode and fonts, the PDF stylesheet is fairly trivial now, and i went ahead and removed the "unicode-text" macro...

{code}
/* hide the incredibly verbose Table of Contents  
   (the exported PDF already uses the ToC feature inherent  
   in PDFs, no need for it to also take up 4 pages)  
 */  
div.toc {  
   display: none;  
}  
  
/* Every major section should start a new page */  
h2 {  
   page-break-before:always;  
}  
  
/* hide the "Back to Top" links in the PDF */  
.topofpagelink {  
   display: none;  
}
{code}

Exporting the PDF isn't scriptable at the moment, but it is trivial to do from a browser (by anyone) with a few clicks..

* Load https://cwiki.apache.org/confluence/spaces/flyingpdf/flyingpdf.action?key=solr
* uncheck the box next to "** Internal MetaDocs" to supress it and it's children form the PDF
* Click the "Export" button
* Wait for a "Download here" link to appear.

...i'll include these details in the docs that need written for SOLR-5030.
                
> configure, test, and document PDF export process of SOLR CWIKI
> --------------------------------------------------------------
>
>                 Key: SOLR-4886
>                 URL: https://issues.apache.org/jira/browse/SOLR-4886
>             Project: Solr
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>         Attachments: solr-090713-2308-8288.pdf, solr-100713-2311-9042__using_freefonts.pdf, solr-110713-0027-9170__using_freefonts_withencoding.pdf, tmp.html
>
>
> * add the ASL as a page in the wiki such that it appears early in the exported PDF
> * test that exporting the PDF works ok with the large space
> * review the exported PDF for problems
> * confirm/tweak-configs so that PDF exporting can done really easily, ideally automatically
> * document/script steps to create PDF on each solr release.
> Lots of tips here: https://confluence.atlassian.com/display/DOC/Providing+PDF+Versions+of+your+Technical+Documentation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org