text-vimcolor 0.11 |
Date Added: October 18, 2010 | Visits: 1.113 |
|
||||||||
text-vimcolor is a command-line program to syntax color a file in HTML, XML or PDF. SYNOPSIS $ text-vimcolor --format html --full-page FILENAME > OUTPUT.html $ text-vimcolor --format xml FILENAME > OUTPUT.xml $ text-vimcolor --format pdf FILENAME --output OUTPUT.pdf This program uses the Vim text editor to highlight text according to its syntax, and turn the highlighting into HTML, XML or PDF output. It works with any file type which Vim itself can highlight. Usually Vim will be able to autodetect the file format based on the filename (and sometimes the contents of the file). Exactly one filename should be given on the command line to name the input file. If none is given input will instead be read from stdin (the standard input). If Vim cant guess the file type automatically, it can be specified explicitly using the --filetype option. For example: $ text-vimcolor --format html --filetype prolog foo.pl > foo.html This program is a command line interface to the Perl module Text::VimColor. OPTIONS The following options are understood: --help Show a summary of the usage, including a list of options. --debug Turns on debugging in the underlying Perl module. This makes it print the command used to run Vim. --filetype file-type Set the type of the file explicitly. The file-type argument should be something which Vim will recognise when set with its filetype option. Examples are perl, cpp (for C++) and sh (for Unix shell scripts). These names are case sensitive, and should usually be all-lowercase. --format output-format The output format to generate. Must be one of the following: html Generate XHTML output, with text marked with elements with class attributes. A CSS stylesheet should be used to define the coloring, etc., for the output. See the --full-page option below. xml Output is in a simple XML vocabulary. This can then be used by other software to do further transformations (e.g., using XSLT). pdf XML output is generated and fed to the FOP XSL-FO processor, with an appropriate XSL style sheet. The stylesheet uses XSLT to transform the normal XML output into XSL-FO, which is then rendered to PDF. For this to work, the command fop must be available. An output file must be specified with --output with this format. Full details of the HTML and XML output formats can be found in the documentation for Text::VimColor. --output output-filename Specifies the name of the output file (which will end up containing either HTML, XML or PDF). If this option is omitted, the output will be sent to stdout (the standard output). This option is required when the output format is PDF (because of limitations in FOP). --full-page When the output format is HTML, this option will make the output a complete HTML page, rather than just a fragment of HTML. A CSS stylesheet will be inserted inline into the output, so the output will be useable as it is. --no-inline-stylesheet When the output format is HTML and --fullpage is given, a stylesheet is normally inserted in-line in the output file. If this option is given it will instead be referenced with a element. --let name=value When Vim is run the value of name will be set to value using Vims let command. More than one of these options can be set. The value is not quoted or escaped in any way, so it can be an expression. These settings take precedence over --unlet options. This option corresponds to the vim_let setting and method in the Perl module. --unlet name Prevent the value of name being set with Vims let command. This can be used to turn off default settings. This option corresponds to the vim_let setting and method in the Perl module, when used with a value of undef..
|
License: Freeware | Size: 20.48 KB |
3D Graphic Tools
-
ppsei 0.1
ppsei short from PPS Extract Images is a simple command line program, which tries to extract images from Microsoft PowerPoint documents (PPS/PPT). Because i get a lot of mails with attached PPS/PPT in, containing some nice images (about... |
16.38 KB | |
Network & Internet
-
khtml2png 1.0.3 / 2.6.7a
khtml2png is a command line program to create screenshots of webpages. The project uses libkhtml (the library that is used in the KDE webbrowser Konqueror). In khtml2png 2.0.5 to 2.5.0 "convert" from the ImageMagick graphic conversion toolkit is... |
||
Video Editors
-
ElphelOgm 0.9.9
ElphelOgm is a command line program that receives a realtime multicast UDP stream in RTP/MJPEG format and saves it in Ogg/MJPEG format with variable framerate. ElphelOgm project has a fastidious algorithm with reordering UDP packets and... |
53.25 KB | |
Audio Tools
-
oscjoy 1.00
oscjoy is a simple command line program that lets you use any connected joysticks as OpenSoundControl devices. Whenever the state of a connected joystick changes, oscjoy will send UDP packets with OpenSoundControl messages in them to the... |
153.6 KB | |
Video Editors
-
setv4l 0.3
setv4l is a simple command line program for changing the picture settings of a video 4 linux device. You can change (if the specified device allows) the following settings: - Brightness - Hue - Colour - Contrast - Whiteness. For each you... |
9.22 KB | |
Utilities
-
conntrack 1.00 Beta1
conntrack is a userspace command line program targeted at system administrators. conntrack program enables them to view and manage the in-kernel connection tracking state table.. |
215.04 KB | |
Network & Internet
-
metacafe-dl 2007.03.27
metacafe-dl project is a small command line program for downloading videos from metacafe.com. Hence, it has the same requirements and features, and its syntax is very similar.. |
8.19 KB | |
Network & Internet
-
httpget 2.0.0
httpget is a simple command-line program for running scripts on remote web servers. Runs on Win32, Linux, Mac OS X (and possibly other Unix-like OSes). Often on complex application sites, there are scripts that must run periodically (often... |
51.2 KB | |
Utilities
-
Command Line WRAPper 0.3.0
Command Line WRAPper is a tool that provides an easy way to build and run commands from input lines, avoiding the use of shell script. It is similar to xargs. clwrap can make great things with the locate command, and is low resource intensive.... |
43.01 KB | |
Compression Tools
-
No-Frills Command Line Unzipper 1.05
Based on the Delphi-Zip library and coded by Ccy for S2 Services, this simple command line unzipper offers the advantage of not requiring command switches. Commands are interpreted according to argument order. The first argument is the zip file,... |
778.24 KB |
Programming
-
Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations. |
471.04 KB | |
Programming
-
Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions. |
30.72 KB | |
Programming
-
Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned... |
30.72 KB | |
Programming
-
logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant... |
174.08 KB | |
Programming
-
OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a... |
3.83 MB | |
Libraries
-
wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating... |
3.88 MB | |
Libraries
-
EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented... |
10.68 MB | |
Libraries
-
Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable. |
5.35 KB | |
Libraries
-
Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;... |
8.19 KB | |
Libraries
-
sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also... |
10.24 KB |