Tag Info

Hot answers tagged

14

I would suggest installing the WKHtmlToPDF tool from http://code.google.com/p/wkhtmltopdf/. You can then change to the root folder and use find and xargs to convert them: cd /main-folder find . -name \*.html | sed 's/.html$//g' | xargs -n 1 --replace=X wkhtmltopdf X.html X.pdf This will then build a PDF with each HTML file.


11

Regarding Drop-Down-On-Hover menus, buttons, Change-Color-On-Hover buttons, images and text in multiple columns, You may find Web Developer Tools very helpful. You may download the .deb file here -> WDT You can find many menus source code from many websites inside WDT You may generate css Menus Image processing tools HTML editor Please ...


9

Calibre is a pretty powerful tool for converting things into ebooks in various formats. Available in a Software Centre near you! Don't be deceived by its less than beautiful UI, it can do a lot.


8

sed, the stream editor, is your friend here. For example. sed -i.bak -e's/<p id="first"/<p id="second"/' file.html would change all the paragraphs with the id 'first' to id 'second' in file.html, and create file.html.bak into the bargain.


8

zenity and the entry option does not support the "pango" markup options. error, info, question, warning are the only options that support these markups. If you examine the man page for zenity - those options can have the pango markups turned on or off. FYI this link gives you the markups supported: ...


7

Yes, you can by adding a new protocol handler in your Ubuntu. The following method will show you how to register the process of opening an application as app://[application_name] protocol handler in Ubuntu. 1. Create application launcher script In a terminal run: mkdir -p bin This command will make a bin directory in your home folder if you don't ...


6

pdftohtml is probably what you're looking for. Info about the package: packages.ubuntu.com/lucid/pdftohtml


6

Make sure you have the full vim installed: sudo apt-get install vim Then make a file named ~/.vimrc with the following contents: filetype plugin indent on Then it should work. UPDATE (source of the update) In the 7.4 version the indentation file was changed, that is what causing problems. The new indentation doesn't indent every html tag, but you can ...


5

If $BROWSER is empty [ -n $BROWSER ] becomes just [ -n ]. That tests if -n has non-zero length, which is always true. Then $BROWSER '/tmp/flash-viewer.htm' is executed which actually is just '/tmp/flash-viewer.htm' if $BROWSER is empty. Use if [ -n "$BROWSER" ]; then so that there's always a second argument. To find out the exact path of your ...


5

Yes, it is called "Web-based protocol handlers". You need Chrome 13 or Firefox 3.0 or higher. I have seen it used to open LibreOffice. Both Mozilla and updates.html5rocks have an explanation about how this works. (Open in Chrome/Chromium chrome://settings/handlers and it will show a list of current handlers. Firefox will list them in about:config.) Parts ...


5

Use the Vala GIO File open shown here http://live.gnome.org/Vala/GIOSamples var web_page = File.new_for_uri ("http://live.gnome.org/Vala"); This is the standard method of grabbing files and web pages and you can use the uri syntax for a number of supported protocols such as ssh, ftp, etc.


5

Because Firefox 3.6 doesn’t support all the html5 specifications, no browser today does. Look at http://html5readiness.com/ which browser supports what features. No it doesn’t matter a whole lot, html5 is still in the development stages.


5

WordPress is a neat CMS for running a website. I'll give you instructions on how to install it. You can install LAMP (Stack of Apache, PHP and MySQl) by running this terminal command on the server: sudo tasksel install lamp-server Then, after that you can install WordPress by running this command: sudo apt-get install wordpress Then you can fire up ...


5

HTML is a markup language which is interpreted by a web browser. There is no such thing as compiling HTML. JavaScript is a dynamic programming language that is executed at runtime by a JavaScript engine. That means JavaScript is not compiled. As you're mentioning both JavaScript and HTML, read this : JavaScript use in web pages. The primary use of ...


5

I do not believe you can stop the rendering itself. The 3 things I know of that you can use are... View -> Messages as plain text; Not use preview (f8 toggles on/off) You can also enable tools->options->advanced->privacy->block loading of remote images to stop loading remote images (that also kills the ability to execute code from there).


5

I prefer to use --page-requisites (-p for short) instead of -r here as it downloads everything the page needs to display but no other pages, and I don't have to think about what kind of files I want. Actually I'm usually using something like wget -E -H -k -p http://textbook.s-anand.net/ncert/class-xii/chemistry/hello-this-first-chapter This means: -E: ...


5

One alternative is http://johnmacfarlane.net/pandoc/ which is in the repos, sudo apt-get install pandoc Then you can take your markdown file and convert it to rtf, or a variety of other formats with, pandoc -s -f markdown -t rtf -o file.rtf file.txt The -s switch is for standalone, so that it doesn't just create an rtf fragment. There are also a ...


4

The following command should do the job for one link: gnome-web-print http://www.ubuntu.com ubuntu.pdf For multiple links, it shouldn't be difficult to write a loop that handles each link one by one.


4

These files are part of the debian-cd package, which is used to build the Ubuntu live CDs. The images are sourced by an include file named README.html.in, which the add-bin-doc tool incorporates into README.html at the root of the CD's filesystem. This file is either never generated or is deleted from Ubuntu's CDs, so I believe the images are unused.


4

There are these so-called text html browsers, of which I have successfully tested Lynks and eLinks. Of which elinks has became my favorite. Anyway, they are different than a "web page previewers" as you suggest in your question. They are more like active real time browsers, which carries on lots of useful features for an easy web browsing and of course, you ...


4

Maybe mozilla prism could help with some of what you want: http://prism.mozillalabs.com/, you can install prism from the repository by typing in your terminal; sudo apt-get install prism, then launch prism and enter the url to your web application, a shortcut to the web app can be created on your desktop, you must right click on the web app shortcut on ...


4

Htmldoc can be useful, see it here; http://www.htmldoc.org/ it is available from software center, sadly the 1.8 version has a problem with unicode encoded files but on many occasions it can still be a saviour, the problem is fixed in the 1.9 development version. I usually use the wonderful scrapbook extension here; http://amb.vis.ne.jp/mozilla/scrapbook/ ...


4

Yes, there is, it's http://man.cx/. It aims to have all man pages in one site, also in multiple languages. The anchors are unfortunately not named, but numbered: for example http://man.cx/printf#heading1 will take you to the first heading of the printf man page. Still I think it's better than without anchors ;) PS. Add the site to your search engines, then ...


3

Install the dependencies: sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g 32 bit systems: Download the packages wget -c ...


3

I would recommend using OpenOffice/LibreOffice to create the PDF. As a test I downloaded the Wget manul (all in one page) and then opened the HTML page in OponOffice and clicked on the "Export Directly to PDF" button. It created the PDF with with an index from the table of contents. In the past I've found this to be the easiest way to convert HTML pages to ...


3

You could try http://www.xhtml2pdf.com/. It's a converter for HTML/XHTML and CSS to PDF. All written in Python.


3

This solution does not use HTML but provides an interface similar to what you seem to want. LxLauncher LxLauncher is an 'easy mode' launcher designed specifically for netbooks. It provides a grid of icons that launch with a single click. You can add web apps to the Internet tab using the following steps. As an example, I will show how to add an Ask ...


3

The easiest way? File > Print from your browser. Select Print to File as your printer, and it will ask you where you want it. Be sure to mark PDF. Hit "Print" and it will actually be saved to your drive instead of actually printing.


3

Vim, or Vi IMproved, provides all of the features you've mentioned (and more) at a relatively low performance hit. I highly recommend the program vimtutor to get you started. It always comes with Vim, and you can run it from a terminal. I've used Vim for about a year now, and it's saved me loads of time. There's a wiki, too. After you pick up on the ...



Only top voted, non community-wiki answers of a minimum length are eligible