Support unavailable
Please try again later

Browse and print: problems and solutions

by Jonathan Fine for EuroPython 2011

With the growth of the web, how we publish is changing. Paper alone is not enough, web pages are also required. And for many web pages it is not enough to rely on the browser’s print capabilities. Sphinx, used since 2008 for Python’s documentation, is a creative response to this tension.

This talk will take a broader view of the problem. For example, many browsers support web fonts for display but not for printing. Mathematics on web pages is still difficult, but SVG holds out much promise not only for mathematics but for tables and other complex typeset material. Achieving accessibility remains difficult.

Based on over 15 year’s experience in print and electronic publishing, this talk will survey problems and emerging solutions. Software and sites covered include LaTeX, PDF, SVG, MathJax, web-fonts, PediaPress, Sphinx and arXiv.

Video

Comments

  1. Gravatar
    hi can you do this question for me

    (question3.py) Write a word jumble game. In a word jumble the letters in a proper word are randomly
    mixed up and the user has to guess what the word is. The list of words to be jumbled can be found on
    D2L - jumble.txt. Here is one possible way to do this:
     Write a function called getList() that reads in jumble.txt and stores the words in a list. Return
    this list from the function as it will be needed by other functions.
     Write a function called pickWord(). The function takes in one argument, a list of potential words.
    In the function pick one word from the list - randomly - and return it. There are several ways to
    do this.
     Write a function called jumble(). This function takes in a single argument, a word and jumbles
    the letters randomly. Again, there are several ways to do this. I won't put any algorithms here but
    if you get stuck head to the discussion forums.
     Your main() method is responsible for running all of the above functions. In addition it will collect
    the user's guess of the jumbled word in the form of input and will check to see if the guess is correct.
    Make sure that words are treated as case-insensitive to make the checking easier. The user should
    always have several choices presented to them : Guess the jumbled word, re-jumble the same word,
    pick a new word, show the answer or quit. When the user quits it should show them : how many
    words they guessed correctly and how many words they skipped. Based on my output picking a
    new word and showing the answer both count as skipping a word.
    See my sample output below:

New comment


Language
EN
Duration
60 minutes (inc Q&A)
Our Sponsors
Spotify
Python Experts
SSL Matrix
Wanna sponsor?