Jupyter, which nbconvert template does what? - templates

I'm currently triying to export a .ipynb with nbconvert using a special template. The final goal is to write a .ipynb and convert it to PDF, but erasing all Code-Input-Cells and havig the "normal" latex-style (font, dimensions of paper, and so on). I know that there are templates which provide exactly that (not sure if both at the same time), but I don't know which one of them to use.
So, does anybody know a template that provides that and can you link it to me? I've seen a lot of threads here on how to edit the templates, but to be honest I'm still not reallys sure how to do that. If there isn't a singel template that doest these two things (erase input-cells and font), do you know a site that provides an explanation in detail on how to edit these templates? (it would be nice if it isn't to "complicated" since I'm quite new to the concept of programming in general)
Thanks,
Sito

Check out this blog post. There is a link on that page to a custom template that hides code cells and doesn't change the default font.

Related

How does pre-made templates work in a web app

Please I need an enlightenment, wanna know how premade templates work in a web app, for instance I could go to optinmonster or survey monkey choose a template and perhaps modify it then use it... how does it work? how was the template created in the first place and how is it reusable? (Many Thanks)
I tried looking for resources as to how this works, but couldn't find any, pre-made templates is quite a trend, I want to use it in my app, but I don't even have a tiny bit idea of how I can achieve this!

Convert Joomla 2.5 template to 3.0

I have a custom joomla 2.5 template and I wish to convert it to Joomla 3.0. Currently the only method I found is how to convert a Joomla 1.5 to 2.5. Please guide me here because I have spent almost a month on this. I found a method http://docs.joomla.org/J3.1:Converting_A_Previous_Joomla!_Version_Template but I do not understand how to go about it. If you could also give a clear procedure on how to implement the steps in the link I have posted this would help me alot.
This answer may not be in a detail manner but here you go with some steps:
Identify plain HTML from Joomla 2.5 template. Keep it in separate
file for a moment.
There are many functions, constants that are deprecated in Joomla
3.x e.g. DS constant which is used to provide "/" in Joomla 2.5. You need to replace it with "/".
Common functions like getting sitename, logo etc. will need a code
change. You can take a reference from Protostar template. You can
see how they have retrieved value of sitename from the code. It
seems to be hard at first but when you go ahead gradually, you will
get familiar with Joomla 3 template engine.
Once everything is done, you can go ahead and edit XML file. You can copy and paste templateDetails.xml from Protostar template. Make sure to change important elements like filename, folder etc.
Zip the whole template folder and install it on your website make it default. If you find any errors then go ahead and turn on error reporting in PHP. Resolve those errors and make your template work on Joomla 3
This is not the absolute guide I can offer you, but here are the basic steps:
it really depends if it's a basic template or if it's based on a template framework like RocketTheme or YOOtheme
check the default template in Joomla, it's called Protostar. Have a close look at it and understand what is he doing
check you manifest file (compare it to Protostar)
maybe not so important, but check also the Potential backward compatibility issues in Joomla 3.0 and Joomla Platform 12.1
if you have issues at installing the template / using it, please post specific problems

Beginning Joomla Development - Templates and Modules?

I am planning to begin my Joomla development adventures, so I have been digging up some resources on Joomla beginner such as:
Joomla 2.5 Beginner Guide
I think I have grasped the fundamental concept, though I have a doubt that if anyone doesn't mind clearing up for me.
If I have my own template ( I am planning to use my own Twitter Bootstrap template ), and I am planning to convert it to Joomla, and inside that template there are already samples for some modules such as front page slider, testimonials, partner links, etc, from what I understood these have to go as modules, since Joomla allows one component, and many modules in a page (hence a index page might have Welcome message as component, and sliding banner, testimonials as modules).
So my question is do I have to write these testimonials, page slider modules on my own? Since I already have the samples (css and html) and I know how they will be positioned. Wouldn't it be a bit of overkill to write modules for each? What if at later stage I am making another website, and I have another template?
Also, from examples I have seen, Joomla template have only one html template (index.php) which defines all the positions. If I want to define two possible layout for one template, is that possible? Or it has to go in different templates, and I assign them separately in my Template Manager.
Ok firstly, as for the Joomla version, you have 2 choices.
Joomla 2.5 as it's the recommended long term version.
Joomla 3.0, the new short term release which is completely based on Bootstrap, therefore it might be easier to adapt it to make it look like your template.
usually I would recommend Joomla 2.5 but in your case I think Joomla 3.0 might be the best way to go.
As for the modules, you don't necessarily have to write them yourself. You can download all these sort of things from the Joomla Extensions Directory. If you are worried about positioning of modules, then simply ensure that the template has the module positions in the correct place. Using the Joomla 3.0 template and adapting it to look like your template will be much easier when it comes to modules, as it already has a lot or pre-defined positions. If you feel the need to add more, you can do so. See links below:
Adding you own module positions in Joomla 1.5/2.5
Adding you own module positions in Joomla 3.0
I hope this helps you a little bit on your Joomla adventure and good luck.
Almost forgot, please also make sure you keep your Joomla version up to date unlike a lot of the people that post questions on here :) I posted an answer as to why it's important here
You absolutely right about Joomla allowing 1 component and many modules! Your also fine to convert your template into a Joomla template. Although note as Joomla 3.0 uses bootstrap (but is still very new and having many new features added to it - even though its technically stable) and thus it might be easier for you to use that. You can easily include bootstrap etc through that framework as well. Link here for how to do that
See the link here about module and module positions in templates. Whilst the numbers at the top say this is for 1.0,1.5 and 2.5. The bit under the 2.5 header also applies to Joomla 3.0!
In terms of different layouts for the template generally its good practice to have two separate templates if the layout changes are significant. However if the layouts differences are small, there is nothing wrong with adding in a Form Field and creating two template styles in the backend and just choosing the layout with a form field for each style!
If you want to use your customized modules I'm afraid yes you do have to do this. However there are module and component writers out there which can make the basics up for you so you can almost copy and paste your code straight into one file (with a few changes here and there). You can also use the Joomla Extension directory though - you may even find something you like more!
In terms of using the modules/components on another site this is actually much easier. Once created you can just go into the Joomla backend and install your extension again and tweak it how you want after that with either FormFields or in template overrides!
Any more questions feel free to ask!

TYPO3 template library

I'm looking for TYPO3 template libraries. They don't need to be free. I'm looking for real Typo3 templates, ready to import into a vanilla Typo3 installation, not just HTML or even PSD templates.
The reason I'm asking is that we have a number of customers with very tight budget. We'd like to give them a number of templates to choose from.
There were such projects, but I assume that most of them are just finished now. TYPO3 has no default data/content structure and therefore it's hard to build useful sets as every implementation can be very individual.
For your own low-budget production I'd suggest to create some very typical raw implementations with sample data and some kind of preconfigured extensions ie.
CMS+ News + contact form + gallery,
CMS + News + FAQ...
etc...
Then you can also prepare common TypoScript element for each scenario and finally just use any HTML template and map your prepared TS with minimal modifications.
Using TemplaVoila you don't need to change any single char in the HTML templates and it takes no more than 2 morning coffees (when mapping a simple template).
A simple Typo3 template isn't really difficult to make but I think you mean a better browser compatibility support. Personally I've good experience with YAML.
I'm not aware of anything like that out there, but is it just for content sites, or are you looking for sites with more functionality?
Any template can be adapted to TYPO3, you can see here http://webdevelopers.thedemo.ca/ where in the space of about an hour we grabbed a template from http://www.oswd.org/ and turned it into a TYPO3 site. It's rough and messy, but shows the idea.

Getting started with Latex Beamer Template editing

For some time now I've been wondering whether I could create a custom template for the Latex Beamer class for my own presentations and how hard it would be. The problem is I can't seem to find any introductory material on how to get started. Does someone have some introductory material on the topic?
Everything you need is somewhere in here: Beamer User Guide
I'd recommend starting with a ready made template and tweaking it, rather than starting from scratch first time out...
Not to be rude, but everything you need to know is in the beamer manual distributed
with the library. If you poke through the directory where beamer is located, you can also
find the code for all of the included templates, that you can then modify.
As for how hard it is, it will depend on how complicated you want your template to me. I use a rather simple custom template and it took about 2-3 hours to learn and create.