akrabat / avalanche Goto Github PK
View Code? Open in Web Editor NEWA theme for landslide
A theme for landslide
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:
However, the slides I produced locally, only take part of the browser window:
Any ideas on what could be causing this?
Thanks!
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 :)
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.
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
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.
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]
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?
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?
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?
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?
Hi, when I press 'p' to enter presenter view, then to click ESC would mess up, I expect it will show all slides, and press ESC again would go back to presenter view, can anyone help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.