Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
PrefaceThe camel project uses this wiki to generate it's PDF based documentation. It uses the a Boom CSS based style sheet in conjunction with prince to generate the PDF manuals. The Book In One Page stitches together wiki content found through this wiki into a single page with is subsequently downloaded by the PDF generator and transformed into a PDF. This section will help you understand how to best use the wiki markup so that it generates good looking PDF pages. ImagesImages show up differently on the web than on print. You normally need large images with a high DPI for them to print nicely on paper. This chapter will show you how to control the image sizing properties for PDF output. Standard Image Link!http://activemq.apache.org/camel/download.data/camel-box-v1.0-150x200.png!
Setting the Image DPIA Large DPI setting will make the image shrink in the PDF output. !http://activemq.apache.org/camel/download.data/ camel-box-v1.0-150x200.png|style=prince-image-resolution:200dpi!
Sample DPI Settings
Tables Figures and ListingsUsing the BOOM micro format to add captions to tables and headings. We should really create some confluence macros for this. Captioned TablesUse wiki markup similar to: {html}<div class="table"><p class="caption"> Example Table </p>{html} || Table || Heading || | value1 | value2 | | value3 | value 4 | {html}</div>{html} To produce:
Captioned FiguresUse wiki markup similar to: {html}<div class="figure"><p class="art"> {html} !http://activemq.apache.org/camel/download.data/camel-box-v1.0-150x200.png! {html} </p><p class="caption"> Example Figure. </p></div> {html} To produce:
Captioned ListingsUse wiki markup similar to: \{code:xml|title=Example} <bean id="activemq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory"> <bean class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="vm://localhost?broker.persistent=false"/> </bean> </property> </bean> \{code} To produce: Example <bean id="activemq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory"> <bean class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="vm://localhost?broker.persistent=false"/> </bean> </property> </bean> |