Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8417099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:56:56+00:00 2026-06-10T01:56:56+00:00

I am using macvim for a ruby tutorials book that will be produced directly

  • 0

I am using macvim for a ruby tutorials book that will be produced directly with vim as a PDF (using the macvim print/make pdf function but the principle should be the same for any PDF generated from Vim). Unfortunately in the text part of the tutorial book there seems be no easy way to make a url clickable in the pdf.

What is the best solution to have clickable URLs in .pdf files generated from vim ?
thanks in advance !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:56:58+00:00Added an answer on June 10, 2026 at 1:56 am

    If you’re really after producing a “book”, I would reconsider your approach. After all, you cannot get around certain Vim limitations like a single, fixed-width font, and detailed control of page breaks, table of contents, etc. will be difficult to achieve.

    If you just like the syntax highlighting of (Ruby) code, you can use Vim’s :TOhtml command to get a faithful rendition of a Vim buffer in HTML, which I suppose can then be included in your publishing master.

    To make links clickable in PDF, you’d probably have to “decompile” the binary format into PostScript, then do a text search for URLs and modify the PostScript code to include a link, then recompile to PDF. I haven’t found a (command-line) tool that does this, but I guess some of the (GUI, often expensive) PDF editors allow you to do that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using macvim/vim for most of my Ruby + Ruby on Rails development. Is
I'm using clojure in MacVim with slimv.vim. But when I start to write some
[using MacVim 7.3 on OS X Lion] I have a vimscript function which runs
I am using MacVim to convert cs files to HTML. The convert function works
I'm using macvim with the janus plugin that includes nerdtree with it. The issue
I have been using MacVim & have gotten used to it but my main
I just made the switch to vim from emacs, using MacVim with Janus. In
I started using vim (MacVim) + NERDTree recently, and I'm getting some strange behavior
I'm using MacVim as my primary code editor but cannot seem to figure out
I'm new to VIM and using the Janus plugin collection on MacVim. For whatever

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.