GithubHelp home page GithubHelp logo

Links in PDF about dataanalysis HOT 5 CLOSED

jtleek avatar jtleek commented on July 20, 2024
Links in PDF

from dataanalysis.

Comments (5)

ramnathv avatar ramnathv commented on July 20, 2024

Here is some code to update all your custom.css files in one go. You need to run this from the root directory.

files_ = list.files(pattern = 'custom.css', recursive = TRUE)
extra_css = '@media print {
  a:after {
   content: " (" attr(href) ")";
   font-size: 10px;
  }
}'


lapply(files_, function(f){
  content = slidify:::read_file(f, warn = F)
  content = paste(content, extra_css, collapse = '\n')
  cat(content, file = f)
})

The pdf files will have to be printed manually from chrome. I am investigating an automated routed to achieve that and will keep you posted if I succeed :-)

from dataanalysis.

ramnathv avatar ramnathv commented on July 20, 2024

A simpler solution is to print the slides using Safari which retains the html links.

from dataanalysis.

jtleek avatar jtleek commented on July 20, 2024

I'll try to fix this this afternoon and resubmit the pdf files. Hopefully
that will fix the problem. Thanks for all your support during this process!

On Tue, Jan 22, 2013 at 12:37 PM, Ramnath Vaidyanathan <
[email protected]> wrote:

I saw a couple of students raise the issue of links not being clickable in
the pdf version. I am investigating how to modify the print css so that
links are clickable (I am not even sure if it is possible).

In the mean-time a quick fix is to include the following css in
assets/css/custom.css

@media print {
a:after {
content: " (" attr(href) ")";
font-size: 10px;
}}

This would print the link along with the title in the pdf print version so
that users can copy-paste the link. This is sub-optimal, but a viable
solution at this stage.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3.

from dataanalysis.

jtleek avatar jtleek commented on July 20, 2024

ok i'll do that now and see if it works!

On Tue, Jan 22, 2013 at 1:57 PM, Ramnath Vaidyanathan <
[email protected]> wrote:

A simpler solution is to print the slides using Safari which retains the
html links.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-12559952.

from dataanalysis.

ramnathv avatar ramnathv commented on July 20, 2024

Jeff, the links on Coursera (served from cloudfront) have not updated. Just wanted to give you a heads up.

from dataanalysis.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.