Sometimes I have to put text on a path
Showing posts with label zoho. Show all posts
Showing posts with label zoho. Show all posts

Tuesday, July 26, 2011

How to post music with LaTeX (in blogger, in your site)? Producing the highest-quality sheet music possible: MusicXML, LilyPond.

Music notation.
3 languages : 
  • MusicXML, 
  • LilyPond,
  • LaTeX (best method if you want to add mathematics, statistics, physics, chemistry, bibliography, diagrams, special drawings...). 


MusicXML is a XML-based music notation file format http://musicxml.org/. As of July 2011, MusicXML is supported to varying degrees by over 150 notation programs. 
MusicXML 2.0 files serve the same role for interactive sheet music that MP3 files serve for recorded music.

You have many sites for music in MusicXML Format:
See an example: http://www.wikifonia.org/node/1141. The rendering for all browser is flash!
Export music notation to MusicXML directly, just dowload compressed MusicXML code.

There are many freeware, and commercial applications http://www.recordare.com/musicxml/community/software
 Just one, a free cross-platform WYSIWYG music notation program: http://musescore.org/. It offers an alternative to professional programs such as Sibelius and Finale. 


"ex-ample":

The Myriad Music Plug-In (http://www.myriad-online.com/en/products/mmplugin.htm) enables you to build Web pages in which music will be played or displayed.Music files are ".mus", ".myr" or ".mu3" files created with Melody Assistant or Harmony Assistant. MusicXML and Packed MusicXML files, ABC files (mono or multi musics) are also managed. 

With firefox 4+, try this interactive music sheet (HTML5 canvas):



One of LilyPond's goals is to produce scores that are engraved with traditional layout rules.
It uses a simple text notation for music input (more concise than LaTeX or musicXML), which LilyPond interprets and processes in a series of stages. In the final stage, music notation is output to PDF or other graphical formats, such as SVG or PNG. LilyPond also has the facility to generate MIDI files that correspond to the music notation output.

Kainhofer wrote the musicxml2ly Python script that comes bundled with Lilypond: http://wiki.kainhofer.com/musicxml2ly/start
musicxml2ly converts MusicXML files to LilyPond syntax. 
Support for compressed MusicXML files (.mxl).


\( \TeX \)

There are many packages, for example: MusiXTeX is a suite of open source music engraving services (macros and fonts) that allow music typesetting in TeX: http://en.wikipedia.org/wiki/MusiXTeX

"ex-ample":
I tried this LaTeX code (see below) with Knol equation editor, Google equation editor, codecogs (http://www.codecogs.com/). These editors do not work: "equation too long"! I also tried Zoho: bad results...
With TeXshop (http://www.texshop.org) the compilation arrived to pdf (transformed to png):


----------LaTeX code-------------

\documentclass[10pt]{article}

 \usepackage[latin1]{inputenc}
 \usepackage[T1]{fontenc}  
 \usepackage{musixtex}
 \usepackage[frenchb]{babel}

 \begin{document}

 \normalmusicsize 

 \begin{music}

 \instrumentnumber{2} % 2 instruments

 \setstaffs 1{2} % instrument 1 (en bas) : 2 portées

 \setclef{1}{60} % clef de fa (6) en 1, clef de sol (0) en 2
 \generalmeter{\meterfrac{4}{4}} % mesure 4/4
 \setname 1{piano} %
 \setname 2{chant} %
 \parindent 10mm % pour éviter la collision de piano avec l'accolade
 \startextract
 % {{bleu|1re mesure}}
 \Notes 
 \ha J | % chgt portée, même instr
 \zhu{c e}\hu g & % chgt instr ; pas d'espace entre } et \hu
 \islurd0c\ibu0d0\qb0{c c c}\tslur0d\tbu0\qb0d 
 \enotes % assure l'alignement
 %
 \Notes 
 \ha N | % chgt portée, même instr
 \zhu{g i}\hu k & % chgt instr
 \qa{e d} 
 \enotes 
 \bar % après toutes les notes de la mesure, pour toutes les voix
 % {{bleu|2e mesure}}
 \Notes
 \qa J | 
 \zqu{c e}\qu g &
 \islurd0c\ibu0d0\qb0{c e} 
 \enotes
 %
 \Notes
 \qa N |
 \zqu{g i}\qu k &
 \qb0{d}\tslur0d\tbu0\qb0d
 \enotes
 %
 \Notes
 \ha J | 
 \zhu{c e}\hu g &
 \ha c 
 \enotes
 %
 \endextract

 \end{music}

 \end{document}
-------------------------

Tuesday, July 12, 2011

ALL about "Online Slides" service: Web Based Slideshow; HTML Slidy, S5, HTML5Slides, swinger; google presentation; How to Add Slideshow in Blogger?

ex-ample: "HTML5SLIDE" showcase slides:
http://ex-ample.appspot.com
http://ex-ample.blogspot.com/2011/07/google-app-engine-clone-html5wow.html

I)---HTML (and Javascript) based
S5
Slidy and Slidy2
Slideous

HTML5 Slides
Swinger

html5-slideshow

II)--no HTML:
Google Docs Presentations
Zoho Docs Show

III)-Tools : slideshare

Preface (slides and mathematics)
see also http://ex-ample.blogspot.com/2011/07/mathml-chromefirefox-and-best.html

A special case:
If you want slides with equation and mathematics: LaTeX Beamer.
https://bitbucket.org/rivanvx/beamer/wiki/Home
Beamer is a LaTeX class for creating presentations that are held using a projector, but it can also be used to create transparency slides. Preparing presentations with Beamer is different from preparing them with WYSWYG programs like OpenOffice.org's Impress, Apple's Keynote, or KOffice's KPresenter. A Beamer presentation is created like any other LaTeX document: It has a preamble and a body, the body contains \sections and \subsections, the different slides (called frames in Beamer) are put in environments, they are structured using itemize and enumerate environments, and so on.
The obvious disadvantage of this approach is that you have to know LaTeX in order to use Beamer. The advantage is that if you know LaTeX, you can use your knowledge of LaTeX also when creating a presentation.
-------------------

I)---HTML (and Javascript) based:
S5:
S5 (Simple Standards-Based Slide Show System) is an XHTML-based file format for defining. S5 is not a presentation program, but fulfills the same purpose in combination with a standards-compliant web browser. With one file, you can run a complete slide show and have a printer-friendly version as well. The markup used for the slides is very simple, highly semantic, and completely accessible. Anyone with even a smidgen of familiarity with HTML or XHTML can look at the markup and figure out how to adapt it to their particular needs.
http://meyerweb.com/eric/tools/s5/
http://meyerweb.com/eric/tools/s5/structure-min.html

Each slide is enclosed in a classed element; IDs are dynamically assigned via JavaScript.

Interesting example with google maps: http://meyerweb.com/eric/tools/gmap/hydesim.html
The High-Yield Detonation Effects Simulator, an experiment in AJAX and Google Maps programming based on public data and showing the destructive zones of large explosions.


Django S5: http://github.com/myles/django-s5
Drupal S5: http://drupal.org/project/s5


import to S5:
One can use reStructuredText to generate S5 presentation using rst2s5.py : http://docutils.sourceforge.net/docs/user/slide-shows.html

DokuWiki (http://www.dokuwiki.org/): a plugin that converts Wiki markup to XHTML-compatible S5 presentations.

export from S5:
slippy (https://github.com/Seldaek/slippy) is S5 compatible project which has capability to export html slideshow into pdf.
-----------------------

Slidy and Slidy2:
Similar to S5, from W3C.
http://www.w3.org/Talks/Tools/Slidy2/Overview.html#(19)

Each presentation is a single XHTML file.
http://www.w3.org/Talks/Tools/


Slideous
A Lightweight HTML Based Presentation Tool, inspired by S5 and Html Slidy

http://goessner.net/articles/slideous/slideous.html


HTML5 Slides:
http://slides.html5rocks.com/#title-slide
See also the slide presentation at the beginning of this post.
A slide presentation by Google using HTML 5 & CSS 3 features (e.g. CSS transitions).


Landslide: https://github.com/adamzap/landslide
Generates HTML5 slides  from markdown/rst documents.

Swinger:
http://swinger.quirkey.com/#/
very simple: just write some markdown.
hosted.

html5-slideshow:
very simple
http://www.ravelrumba.com/blog/html5-slideshow/
http://www.ravelrumba.com/code/demos/html-slideshow/example/slideshow.html#7
https://github.com/robflaherty/html-slideshow


II)---no HTML:

Google docs presentations:
an example:
https://docs.google.com/present/view?id=dfwwcnt3_38c4wthfgc
You can edit this ppt (if you have a google docs account).


This embed code is just an iframe .
Test

  • the Menu (bottom right) (just copy the iframe code);
  • the button near of slide (bottom).
    It "opens a new window".
    selct the menu "Actions" (bottom).
     you can download as ppt, pdf or edit, print slides.

Rem: if you right click (mac: ctrl click) on this slide, nothing...

If i change its content (and just "save") then  the changes are "auto-updated".
-----------

Zoho Docs Show:
docs.zoho.com
https://show.zoho.com/public/zohoshow/show20

example of a presentation:
https://show.zoho.com/public/stef42530/Untitled1



If you right click (mac: ctrl click) on this slide, you get a menu. Try it!
(i choose the right clic option when i shared this slide).
-------------------
III)-Tools: slideshare
 http://www.slideshare.net/
alexa 252 (data@july 2011)
upload your presentations (PDF, office files, youTube...) and share:

SlideShare 101
--------------end

Friday, July 8, 2011

All about "How to post mathematics?" mathML, LaTeX, MathJax with Chrome/Firefox and Best online/offline rich text editors (webmail, word processor); Comparison of off-line on-line HTML/text editors and browsers.

outline:
1-----free and multi-platform HTML editors
2-----Rich text/html editors inside blogger, Gmail, Knol, wordpress.com, webmail...
3-----Web-based word processor
4---- Two commercial applications & free equation editors
5-----Browsers and MATHML viewers
6-----Free javascript library for math on web pages: JavaScript display engine for mathematics that works in all browsers.
 

7-----Some interesting links 


8-----Inserting Characters (unicode, Math Font Styles)



How to post mathematics or web applications with mathematica and matlab, see :
http://ex-ample.blogspot.com/2011/06/web20-services-mathematica-and-matlab.html

How to post mathematics in wikipedia or in MediaWiki? , see:
http://ex-ample.blogspot.com/2011/07/mediawiki-api.html
An "ex-ample" : the online  NIST Digital Library of Mathematical Functions {Abramowitz and Stegun’s (1964) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables}.
http://ex-ample.blogspot.com/2011/07/best-ex-ample-nist-digital-library-of.html

read this article (@1999, updated 2002) :
Approaches to WWW Mathematics Documents
http://hutchinson.belmont.ma.us/tth/webmath.html
------------------
preface:
ex-ample1 (mathML3): http://ex-ample.blogspot.com/2011/07/mathml3-sample.html
(this example comes from https://eyeasme.com/Joe/MathML/HTML5_MathML_browser_test.html
but this URL does not work with Chrome 14+STIX font+MathJax but works with firefox; MathML code without return must be included in HTML code of a post).

ex-ample2 (mathML2): http://www.w3.org/Math/testsuite/mml2-testsuite/TortureTests/Complexity/complex1.xml

ex-ample3: this blog (left sidebar and matML latex labels):
http://ex-ample.blogspot.com/2011/07/symbols-tex-1.html

Math ML(Mathematical Markup Language)  is an XML language designed to present complex equations:
http://en.wikipedia.org/wiki/MathML
http://www.w3.org/Math/
http://www.personal.psu.edu/ejp10/blogs/tlt/tutorials/mathml.html

Wikipedia uses LaTeX (and limited MathML).
 MS Office 2007 and OpenOffice.org (via OpenOffice.org Math: http://en.wikipedia.org/wiki/OpenOffice.org_Math), as well as mathematical software products such as Mathematica supports MathML.
Knol use LaTeX:
http://knol.google.com/k/stef42-ex-ample-blogger-com/mathematics-and-web-html5-latex-mathml/2fdyfc9mft4ir/1?hd=ns# 

MathML 3.0 was officially released as a W3C Recommendation (@Oct 2010). It is backward compatible with MathML 2.
MathML deals not only with the presentation but also the meaning of formula components (the latter part of MathML is known as “Content MathML”). Because the meaning of the equation is preserved separate from the presentation, how the content is communicated can be left up to the user.
If you work in science you probably know LaTeX. LaTeX is gorgeous; enabling scientific authoring in an unrivaled way. Nevertheless, LaTeX is somewhat outdated. It doesn't support the clear separation between content and style that modern standards imply. Editing complex equations can become a tedious job. An alternative might be the combination of DocBook with MathML.
DocBook is an XML language (http://en.wikipedia.org/wiki/DocBook). It's a semantic markup language for technical documentation (http://www.docbook.org/tdg/). It was originally intended for writing technical documents related to computer hardware and software but it can be used for any other sort of documentation.
As a semantic language, a DocBook document does not describe what their contents "look like," but rather the meaning of those contents. For example, rather than explaining how the abstract for an article might be visually formatted, DocBook simply says that a particular section is an abstract. It is up to an external processing tool or application to decide where on a page the abstract should go and what it should look like. And, indeed, to decide whether or not it should be included in the final output at all. It provides a vast number of semantic element tags. They are divided into three broad categories: structural, block-level, and inline. Because DocBook is an XML format, conforming to a well-defined schema, documents can be validated and processed using any tool or programming language which includes XML support.
The current version is DocBook, 5.0.DocBook 4.x documents are not compatible with DocBook 5, but they can be converted into DocBook 5 documents through the use of an XSLT stylesheet.
Source: http://sourceforge.net/projects/docbook/
A group of XSLT stylesheets for transforming DocBook into various viewable formats: http://en.wikipedia.org/wiki/DocBook_XSL

This post is focused on "how to publish mathematics" not on "document languages", beyond of the scope. And then we focused on these languages : 
  • "your screen image": browser rendering engine and javascript rendering engine (in this blog the javascript library MathJax), 
  • HTML, HTML5, CSS... (quality of the code source of the page)
  • MathML (quality of the code source of the page), 
  • laTeX (quality of the code source of the page).
------------------------------------------------------------------------------------
MathML is too verbose to edit using a text editor then we need a MathML editor.

Comparison of HTML editor (stand alone); 
http://en.wikipedia.org/wiki/List_of_HTML_editors
List of math editors:
http://www.w3.org/Math/Software/mathml_software_cat_editors.html

Comparison of open source and commercial WYSIWYG web-based editors (by replacing a textarea or by adding their own editable block): 
http://geniisoft.com/showcase.nsf/WebEditors). 



Some packages and Mathematics environments (also some corrections of bad rendering):
If your document requires only a few simple mathematical formulas,  LaTeX has most of the tools that you will need. If you are writing a scientific document that contains numerous complicated formulas, the amsmath package introduces several new commands that are more powerful and flexible than the ones provided by LaTeX. The mathtools package fixes some amsmath quirks and adds some useful settings, symbols, and environments to amsmath.


Friday, June 10, 2011

Example; exemple; ADrive.com: share directory, upload and store files, FTP,

Why Choose ADrive?
  •  free 50GB
  •  the ADrive web interface is very clear (but only in english; it takes 65MB)( if you have money for this service: ADrive Desktop for Windows, Mac & Linux)
  • max 2GB per-file size
  • unlimited bandwidth
  •  Upload & Store Files
  •  File Transfer Protocol (FTP) Access
  •  Access Files Anywhere
  •  Share Files
  •  Edit Documents Online
  •  Remote File Transfer
--------------------------------
Pourquoi choisir ADrive?

  • 50Go d'espace gratuitement
  • l'interface web est claire (voir la photo ci-dessous) mais avec une seule langue (englais)
  • 2Go est la taille max d'un fichier. Ce qui est très bien voir le comparatif.
  • bande passante illimité
  • téléchargement des fichiers
  • FTP
  • accès mondial
  • édition des documents en ligne directement



Upon successfully signing in (by just a valid email), 
you will be directed to the ADrive File Manager page:
Après avoir créer un compte
vous êtes dirigé directement vers la page de gestion des fichiers
qui est qu'en anglais mais c'est compréhensible:


The File Manager allows you to view your files, copy/move files to different directories, view your directories, create new directories, manage your public files, view your File History and a number of other tasks.  It also provides links to your Account Settings, Desktop Tools and Tutorials, and other file transfer tools including web upload and download. 

From the Transfer Remote File page you can enter the web address of a file and ADrive will transfer the file directly to your ADrive account.  Simply enter the address and then click Retrieve. 

To upload files, either click Add and select a file or drag and drop a selected file or directory into the box to add it to your upload list.  Click Upload to start the transfer. 

Edit in Zoho:  Uses the Zoho Editor to edit supported documents.  You can use this to edit word processing documents and spreadsheets online. You can open, edit, and save your documents instantly all from your ADrive account. You don’t need to save files to your computer, make the changes, and then re-upload your revised files to ADrive. 
------------
for backup reviews:
http://www.backupreview.info/

Monday, June 6, 2011

The Zoho Office Suite

la suite Zoho est un ensemble de programmes en ligne.
Elle est accessible soit avec un compte zoho (avec juste un email valide) ou soit avec un compte

  • google, 
  • google apps, 
  • yahoo ou
  • Facebook.

Puis il faut créer un compte zoho avec identifiant et mot de passe.
----------------------------
You need an account :
  • google, 
  • google apps, 
  • yahoo ou
  • Facebook
And you must create a zoho account, with another Id...

After these steps, you have this window: