Under construction: Difference between revisions
(Created page with "Download-Seapine Download-pandoc-online Download-pandoc-install This front page should look something like [https://www.mediawiki.org/wiki/MediaWiki this] - CH, o...") |
No edit summary |
||
Line 1: | Line 1: | ||
[[Download-Seapine]] | === Porting the old site to the wiki === | ||
[[Download-pandoc-online]] | == Converting from HTML to mediawiki == | ||
[[Download-pandoc-install]] | Here are a couple of online resources which I tested copying and pasting the source from the Yambo [http://www.yambo-code.org/download/index.php Download] page. | ||
* Using [http://labs.seapine.com/htmltowiki.cgi Seapine] gave this: [[Download-Seapine]] which is pretty good | |||
* Using [http://pandoc.org/try pandoc online] gave this: [[Download-pandoc-online]] which runs out of space | |||
* Using [http://pandoc.org/installing.html pandoc] installed locally, gave this: [[Download-pandoc-install]] which is pretty good. Command used was <pre>pandoc index.html -f html -t mediawiki -o index.mw</pre> | |||
There are other more powerful html-media wiki convertors but either they need php scripts run on the server or are difficult to set up, so I didn't have any success. In any case, we need to rewrite so much stuff there is little need for a 1-to-1 conversion. | |||
== Converting/porting images == | |||
Without the powerful scripts mentioned above, there is no easy way to transfer all the image files across to the wiki. I managed at least to ease some of the work using the UploadWizard plugin. When you have created the new page, you will now have links to missing image files. Either click on each one to upload one-at-a-time each image, OR click the "Upload File" link on the left menu of any page. Here you can select and upload many files at once. Unfortuntately it is not possible to automate everything in the wiki, so you need to click the date at least to accept the files. Don't change the file names. Afterwards, refresh the page/edit the page and you will see the images are now inserted. You will however have to resize them (see below). | |||
=== Inserting simple math formulae === | |||
After much trial and error I installed the SimpleMathJax plugin which works quite well, it's a cllent side rendering of LaTeX. Just insert your LaTeX within | |||
<nowiki><math> ... </math> </nowiki> | |||
blocks. For instance: | |||
<math>\Phi_i({\bf r1}) = \sum_{\bf G}^{N_G} c_i({\bf G}) e^{i{\bf G}\cdot{\bf r}}</math> | |||
=== Uploading images === | |||
A large | |||
This front page should look something like [https://www.mediawiki.org/wiki/MediaWiki this] - CH, or anyone who wants to hack the WM theme | This front page should look something like [https://www.mediawiki.org/wiki/MediaWiki this] - CH, or anyone who wants to hack the WM theme |
Revision as of 20:59, 18 February 2017
Porting the old site to the wiki
Converting from HTML to mediawiki
Here are a couple of online resources which I tested copying and pasting the source from the Yambo Download page.
- Using Seapine gave this: Download-Seapine which is pretty good
- Using pandoc online gave this: Download-pandoc-online which runs out of space
- Using pandoc installed locally, gave this: Download-pandoc-install which is pretty good. Command used was
pandoc index.html -f html -t mediawiki -o index.mw
There are other more powerful html-media wiki convertors but either they need php scripts run on the server or are difficult to set up, so I didn't have any success. In any case, we need to rewrite so much stuff there is little need for a 1-to-1 conversion.
Converting/porting images
Without the powerful scripts mentioned above, there is no easy way to transfer all the image files across to the wiki. I managed at least to ease some of the work using the UploadWizard plugin. When you have created the new page, you will now have links to missing image files. Either click on each one to upload one-at-a-time each image, OR click the "Upload File" link on the left menu of any page. Here you can select and upload many files at once. Unfortuntately it is not possible to automate everything in the wiki, so you need to click the date at least to accept the files. Don't change the file names. Afterwards, refresh the page/edit the page and you will see the images are now inserted. You will however have to resize them (see below).
Inserting simple math formulae
After much trial and error I installed the SimpleMathJax plugin which works quite well, it's a cllent side rendering of LaTeX. Just insert your LaTeX within <math> ... </math> blocks. For instance: [math]\displaystyle{ \Phi_i({\bf r1}) = \sum_{\bf G}^{N_G} c_i({\bf G}) e^{i{\bf G}\cdot{\bf r}} }[/math]
Uploading images
A large
This front page should look something like this - CH, or anyone who wants to hack the WM theme
$f = 2$ --- Test SimpleMathJax: [math]\displaystyle{ \Phi_i({\bf r1}) = \sum_{\bf G}^{N_G} c_i({\bf G}) e^{i{\bf G}\cdot{\bf r}} }[/math] --- Template:Math ---
About
See Discussion
Learn
- Fundamental theory - Pedro
Might require reuse of math formulae
- Lectures - Andrea
- Spectroscopy - Andrea (what is this? - see discussion)
- Tutorials - Myrta
- Highlights - AF
Get Started
- Download - AF
- Installation - Conor
Running Yambo
This, and input variables, is the most difficult part of the site to put together well. It will take some deeper planning
- Input variables - Conor (Doxygen)
- Postprocessing - Maurizia
- Yambopy - Alejandro
- perl
- shell
Support
- FAQs - Daniele
Conor: my great hope is that the FAQ section will cut a lot of the posts to the forum, so structure it well...
- User Forum - Daniele (This can be simply a link to the forum!)
- Acknowledge
- Publications - Daniele
News
Developers' Corner
- Test suite
- Coding guidelines - Davide, Conor
- Performance - Fabio
- Subversion - Structure and management of code, GPL generation
- Projects