Giter Club home page Giter Club logo

avalanche's Introduction

Hi there ๐Ÿ‘‹

I'm a software consultant and developer concentrating on web APIs and applications.

Drop me an email at [email protected] if you think I could help with your project.

avalanche's People

Contributors

akrabat avatar drzony avatar evandotpro avatar johnhess avatar leplatrem avatar rodrigoprimo avatar weierophinney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

avalanche's Issues

Embedding of images doesn't work with 64-bit python

Using Python 2.7.1 x64, the images are not generated correctly, only a few bytes are included so the image can't be displayed later. This might be a problem of the landslide self, but I didn't try with another theme. On the other hand there is no problem using the same config with Python 2.6.4 in x86 version.

Theme broken: $ is not defined

When I inspect, I see <script>$().landslide();</script> but no jQuery script loaded anywhere.

Since this happens with the demo presentation, I guess this is a bug :)

Cannot embed background image in CSS file

I have an additional css file that I use with avalanche which sets a background image:

div.presentation {
background-image: url('grid_dark.png');
}

This works wonderfully unless I try to set embed=True (which I do for creating a backup of my slides). When I enable embed, I get this error:

grid_dark.png was not found, skipping
Error: coercing to Unicode: need string or buffer, bool found

The output file does not get written. The CSS is included fine if I don't embed. If you want the actual source files let me know and I'll send it all over.

Cannot render LaTeX

The default avalanche theme is impressingly clean and beautiful, but it seems don't render LaTeX codes despite the -m option is set to be True. I know nearly nothing about CSS, so I really don't know what's gonging wrong in the background. How can I fix this?

Example presentation.cfg is not python 3 compatible

The comment in the example presentation.cfg is treated as part of the value for the css filepath when run under python 3.

In python 2:

(landslide2)โžœ  example_presentation git:(master) landslide presentation.cfg;
Config   presentation.cfg
Using    configured theme ../avalanche
Adding   example.md (markdown)
Embedded image elephpant.jpg
Embedded image elephpant.jpg
Generated file: ./example.html

(YAY!)

In python 3:

(landslide)โžœ  example_presentation git:(master) landslide presentation.cfg
Config   presentation.cfg
Using    configured theme ../avalanche
Error: ../custom_css/pygments/default.css  ; source code highlighting user css file not found

(BOO!)

That's probably because, at least according to the docs, configparser in Python 2 allows comments to share a line with a key/value pair:

Configuration files may include comments, prefixed by specific characters (# and ;). Comments may appear on their own in an otherwise empty line, or may be entered in lines holding values or section names. In the latter case, they need to be preceded by a whitespace character to be recognized as a comment. (For backwards compatibility, only ; starts an inline comment, while # does not.)

whereas the python 3 docs only describe full-line comments as valid:

Configuration files may include comments, prefixed by specific characters (# and ; by default [1]). Comments may appear on their own on an otherwise empty line, possibly indented. [1]

Unable to select text from the slides

It is not possible to select text from the slides.

I notice that if I try to select text from the current slide the text from the next slide is selected.

This doesn't happen with landslide default theme.

Any ideas?

Fade animation doesn't work

No fading animation when moving to the next slide. But the animation works fine when going back to the previous slide.

Tested it on Firefox 33, Chrome 38

Embed js/css but not images

I have a presentation which has many large images in it. I turned off the "embed=true" in the configuration because it was resulting in a HUGE file because of my many large images. However then I got in a mess trying to back up my presentation - because I only copied my local directory, and it didn't have the avalanche files in. Please may I have embedding of all things text, but not images?

Full screen slide

This is more of a question than a bug report, but here it is anyway.
I using avalanche for a presentation I am making.
In the example presentation, the slide takes the entire browser viewing area:

full_screen

However, the slides I produced locally, only take part of the browser window:

part_screen

Any ideas on what could be causing this?
Thanks!

"New presentation" instructions are not clear enough

The steps for creating a new presentation are, in their entirety:

  • Create a new directory
  • Place required markup files and any custom css and image files here
  • Copy the example_presentation/presentation.cfg to here and change the filenames and paths as required

Instead of saying "Place required markup files ... here", these instructions should say what files should be placed here.

Additionally, I naively tried to use the avalanche theme by running landslide --theme=avalanche presentation.rst. This failed to work even though avalanche was installed in my Python site-packages folder. Is using the --theme option to lanslide encouraged, required, or not supported?

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.