Re: help with RAW directive to insert a text file

Pete Jemian <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Perhaps

.. literalinclude:: ../gits/vcloud-management-tools/lib/application.rb
    :linenos:
    :language: guess



On 2/23/2014 2:47 PM, Jorge wrote:
> Hi there,
>
> I'm quite new to this stuff, I am trying to embed a plain text file into my
> document using the raw directive. But can't figure out how to do this.
>
>
> This is what I have in my .rst
>
> "
> The code executed by this job is listed below:
>
> .. raw:: text
>       :file: ../gits/vcloud-management-tools/lib/application.rb
>
> "
>
> How do I do this?
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Docutils-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/docutils-users
>
> Please use "Reply All" to reply to the list.
>

-- 
----------------------------------------------------------
Pete R. Jemian, Ph.D.                <[email protected]>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source,   Argonne National Laboratory
Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
    Education is the one thing for which people
       are willing to pay yet not receive.
-----------------------------------------------------------



------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.