Sometimes I have to put text on a path

Wednesday, January 25, 2012

how to expand/increase the attachment limit of a webmail? The problem of the message limit of an email. Comparison of MByte of a WebService: Transmission of Large File Attachment to a Working Group; horde, squirrelmail, roundcube, zimbra. Latex in a webmail.

Windows Live Hotmail and Hotmail integration with Windows Live SkyDrive: 25MB (and 100MB/file with a free personal storage of 25 GB  SkyDrive).
On June 20, 2011, Microsoft overhauled the user interface for Windows Live SkyDrive, built using HTML5 technologies. Microsoft also doubled the file size limit from 50MB to 100MB per file, as well as adding new features such as caching and hardware acceleration, support for HTML5 videos, Quick views, cleaner arrangement of photos, infinite scrolling. This update also brings together the different entry points for SkyDrive, such as Windows Live Photos and Windows Live Office, into one single interface. Files and folders shared with a user, including those in Windows Live Groups are also accessible in the new interface. On December 3, 2011, Microsoft released a SkyDrive for iPhone/iPod Touch app, and a SkyDrive for Windows Phone app, which are available in the App Store and Windows Phone Marketplace respectively.
http://windowsteamblog.com/windows_live/b/windowslive/archive/2011/06/20/introducing-skydrive-for-the-modern-web-built-using-html5.aspx
Entire directories can be downloaded as a single .zip file with SkyDrive.
Hotmail integration with Windows Live SkyDrive: SkyDrive integrates with Windows Live Hotmail which allow users to:
  1.     Directly upload Office documents and photos within Hotmail, store them on Windows Live SkyDrive, and share them with other users
  2.     Directly save Office documents within Hotmail to Windows Live SkyDrive, and view or edit these documents directly within the web browser
  3.     Allow Hotmail users to edit Office documents within the web browser using Office Web Apps, and reply directly back to the sender with the edits made.
----
If you want to send and receive large file attachments, you have to select the same webmail service.

----not free :
http://luxsci.com  Trial account expire after 14 days: 200MB

----other web services:
http://www.mailbigfile.com/: 300MB (or 2000MB for 15€/yr).
MailBigFile is a web application that allows users to send large file attachments. It was developed by Dessol. Files available = 10days.

http://www.yousendit.com/compare-plans (storage 2GB; 50MB/File)

many services:

Easily send and receive content with the comfort of email without the hassle of inbox limits:
Share Folders
Wherever you go, there they are...cloud-based folders for you and your team, at work and on-the-go.
Simply sign it
Sign right from your smartphone, tablet, web or desktop.
Forget the fax
Sign the deals wherever you are, without the print and fax-it slowdown.
Fill it out
Preview documents and fill out forms with typed text inserts.

--------------------comments:

File delivery is not a file sharing service.
Webmail providers and webmail programs are not equivalent ;)

-----email attachment?
An email attachment is a computer file sent along with an email message. 
Email standards such as MIME don't specify any file size limits, but in practice email users will find that they can't send very large files.
 Over the Internet a message will often pass through several mail transfer agents to reach the recipient. Each of these has to store the message before forwarding it on, and may therefore need to impose size limits.
Email users can be puzzled by these limits because the MIME encoding adds up to 30% overhead– so that a 20MB document on disk exceeds a 25MB file attachment limit.

Setting Message Size Limits in Exchange 2010 and Exchange 2007:
http://exchangepedia.com/2007/09/exchange-server-2007-setting-message-size-limits.html

--History:
Originally Internet SMTP email was 7-bit ASCII text only.
You can put a latex source in your email directly because it's a 7-bit ASCII text
Attaching files was done by manually encoding 8-bit files using uuencode, BinHex... and pasting the resulting text into the body of the message. It was not easy but funny to undersant something in computer science ;)
The MIME standard introduced by RFC2045 in 1996 provided a framework to encapsulate a message and all its attachments in a single multipart message, and standardised on base64 encoding to convert binary into 7-bit ASCII.
Modern mail servers running Extended SMTP have the option of advertising full 8-bit support via the 8BITMIME extension.

The first email attachment was sent on 1992, 20 yrs ago!

---latex rendering
You can put a latex source in your email directly because it's a 7-bit ASCII text.
With Gmail, you can add a LaTeX rendering: http://alexeev.org/gmailtex.html
GmailTeX works in all modern browsers: Mozilla Firefox (version 3.6 and later), Google Chrome, Opera, Safari (version 5), and Microsoft Internet Explorer (version 9).
GmailTeX uses MathJax as its TeX typesetting engine.
For LaTeX in Gmail Chat, you can use the GmailChatTeX userscript. To view LateX on web pages where a web designer did not provide a server-side way of doing so (such as arXiv.org, front.math.ucdavis.edu), you can use display-latex2 userscript.

For the other webmail, there is this Greasemonkey script that detects and renders inline LaTeX as MathML. It works pretty well at what it does.

See also the posts of this blog : select category "latex".



------some free web-based webmail groupwares.
Horde : its Internet Messaging Program or IMP is an open source PHP-based webmail client for IMAP. IMP is a component of the Horde project. It is included with cPanel and Plesk installations as a webmail client. It often integrates email, calendar, address book, notes, tasks, filters and a newsreader with cPanel.
SquirrelMail is an Open Source project that provides both a web-based email application and an IMAP proxy server.
Roundcube is a web-based IMAP email client written in the PHP programming language. Roundcube's most prominent feature is the pervasive use of Ajax technology to present a more fluid and responsive user interface than that of traditional webmail clients.
Zimbra Collaboration Suite (ZCS) .

My personal experience: SquirrelMail is robust, Roundcube is clean, Horde Mail is professional.

-------some webmail (and webmail provider):
AOL Mail is a free web-based email (webmail) service provided by AOL. The service is sometimes referred to as AIM Mail where AIM stands for AOL Instant Messenger which is AOL's instant messaging service. It uses Dojo Toolkit, an open source modular JavaScript library (or more specifically JavaScript toolkit) designed to ease the rapid development of cross-platform, JavaScript/Ajax-based applications and web sites.
Windows Live Hotmail, or MS hotmail: Hotmail features unlimited storage, Ajax, and integration with Microsoft's instant messaging (Windows Live Messenger), calendar (Hotmail Calendar), file hosting service (SkyDrive) and contacts platform.... In October 2011, Microsoft unveiled a "re-invented Hotmail", and added lots of new features such as Instant Actions, scheduled Sweep, Categories and more, and this update began fully rolling out on November 9, 2011.This update also made SSL enabled by default on all accounts.
Yahoo! Mail was the second largest web-based email service with 310 million users as of dec 2011, and the most popular webmail service in the United States.The  Yahoo Mail (before 2011) was based on Ajax scripting acquired from Oddpost, (JavaScript and XML), along with new philosophical approaches to email, including the Oddpost design philosophy. The new version of Yahoo! Mail, codenamed "Minty", was first announced on 16 September 2010 on the Yahoo! Mail Blog. It included a new interface, enhanced performance, improved Facebook and Twitter integration, the ability to watch YouTube videos straight from your email, improved search, and more. Email attachment limit: 25 MB (up to 100 MB via the built-in 'Attach Large Files' app).

Gmail. Gmail is noted by web developers for its pioneering use of Ajax. The Gmail service currently provides 7.8 GB of free storage per account. Users can rent additional storage (shared between Picasa Web Albums, Google Docs and Gmail) from 20 GB (US$5/year) to 16 TB (US$4096/year).
On August 31, 2011, it was announced on the Official Gmail Blog that Offline Google Mail was launched as a Chrome web app at the Google Chrome Web Store. This HTML5-powered app is based on the Gmail web app on tablets. On April 11, 2011 Google engineer Sundar Pichai revealed that Google employees had been testing the app together with offline versions of Google Docs and Google Calendar for months.
The Gmail interface differs from other Webmail systems with its focus on search and its "conversation view" of email, grouping several replies onto a single page.  As a result of complaints from some users, Google made conversation view optional starting September 29, 2010.

----see also : http://en.wikipedia.org/wiki/Comparison_of_e-mail_clients
http://en.wikipedia.org/wiki/Comparison_of_webmail_providers

A post (only in french) for tex-latex or xetex and é à ï î ç...; un post en français pour les caractères avec accents

This post is in french because it's focused on the use of french special characters with tex-latex ou xetex.
------intro:
Les caractères accentués et liés (é, à, æ, Å, ø…) n'existent pas en langue anglaise. De fait, le standard informatique ASCII « de base » ne définit que 127 caractères non accentués, dits « caractères ASCII 7 bits ». La norme ASCII définit des caractères étendus, dits « caractères 8 bits », pour chaque pays, ce qui permet d'avoir les caractères éccentués et liés directement sur le clavier. Unicode augmente encore ces aspects. Mais hélas Tex et Latex sont apparus avant unicode... Tout document texte LaTeX peut donc être écrit en ASCII 7bits, ce qui garantit la plus forte interopérabilité.
On va donc limiter ce post à Tex-Latex.


XeTeX (http://fr.wikipedia.org/wiki/XeTeX) est un logiciel de mise en page dérivé de TeX qui utilise l'Unicode et les technologies modernes de polices de caractères telles que OpenType. Initialement développé pour Mac OS X, il est maintenant multiplate-forme. Les fichiers sources sont, par défaut, en utf-8. XeTeX fonctionne avec LaTeX et ConTeXt (macro packages). Sa partie LaTeX est xelatex. Il est utilisé avec le package fontspec, qui permet une interface configurable pour le choix des fonts et permet un choix très vaste de fonts.
XeTeX est incorporé dans les distributions TeX Live 2010, MacTeX 2010 et MiKTeX 2.8.
Unicode et la norme ISO/CEI 10646 attribuent à chaque caractère un nom officiel au sein d’un répertoire commun unifié entre toutes les langues et tous les usages. Dès que le répertoire commun est approuvé, les caractères sont groupés en blocs en fonction de leur usage et des écritures supportées, et reçoivent une identification numérique unique appelée point de code, identifiée généralement sous la forme U+xxxx (où xxxx est un nombre hexadécimal de 4 à 6 chiffres, entre U+0000 et U+10FFFF). La plage définie permet d'attribuer jusqu'à 1 114 112 points de code.

Il y a aussi MathML voir sur ce blog la catégorie "mathML".

 ------généralités LaTeX
Les commandes commencent par une contre-oblique \ suivie de 2 possibilités:
  • un nom composé uniquement de lettres non diacritiés.
    Une espace (en typographie, le mot « espace » est féminin…), un chiffre ou tout autre caractère clôture le nom,
    ex : x\mapsto2 x\mapsto2 ;
  • un seul caractère spécial (non-lettre), ex : \# \#
Remarque: depuis janvier 2003, les formules mathématiques sur Wikipédia peuvent être écrites avec latex: http://fr.wikipedia.org/wiki/Aide:Formules_TeX
où les formules s'écrivent entre .

------les caractères spéciaux (ascii non 7bits)
Les caractères suivant sont utilisés par LaTeX pour la compilation (ils ont une signification particulière pour la mise en forme du texte) et ne peuvent donc figurer tels quels dans le texte :
$ & % # { } _ \ ^ ~
Il faut les remplacer par d'autres. Il suffit de faire figurer une barre de fraction inversée « \ » devant,
\$ \& \% \# \{ \}
sauf pour les 3  caractères suivant (heureusement,  ils sont assez rarement utilisés en tant que tels):
« \ » qui s'écrit \ textbackslash,
« ~ » " \ textasciitilde,
« ^ » " \ textasciicircum.


Si l'on reste toujours sous le même environnement (même type d'ordinateur, même système d'exploitation, même pays), alors on peut utiliser les caractères accentués du clavier, quitte à utiliser l'extension inputenc en mettant :
\usepackage[latin1]{inputenc}
dans l'en-tête du fichier.
ou par exemple  \usepackage[frenchb]{babel} 
ou \usepackage[french]{babel}
Les deux sont absolument identiques mais frenchb indique clairement que l'on veut utiliser le français avec babel d'où le b. L'extension babel facilite l'adaptation de la typographie du document à sa langue comme calc permet d'accomplir des calculs simples. La liste des extensions est interminable ; heureusement, tous les paquetages sont réunis au sein du Comprehensive TeX Archive Network (CTAN).

Mais dans le cas général, si le texte doit être lu dans un autre environnement ou par quelqu'un d'un autre pays, il faut utiliser la frappe suivante avec les "commandes".
Pour mettre un accent aigü, il suffit de faire précéder la lettre de « \' », « \` » pour un accent grave, « \^ » pour un accent circonflexe, et « \" » pour un tréma. De manière générale, on a « \ + accent + lettre ».
Exemple :

é\'e
É\'E
è\`e
à\`a
È\`E
À\`A
ê\^e
â\^a
î\^\i 
ô\^o
û\^u
Ê\^E
Â\^A
Î\^I
Ô\^O
Û\^U
ë\"e



ï\"\i 


ü\"u
Ë\"E



Ï\"I


Ü\"U
NB : pour le « i » accentué, la barre de fraction entre l'accent et le i sert à enlever le point ; il est important de laisser un espace après le i, car certaines instruction commencent elles aussi par \i, comme \it (texte en italique) par exemple (cet espace sera ignoré lors de la compilation). Exemple :
ab\^\i me
pour écrire « abîme » Ajoutons la cédille, le « e dans l'a/o » et le symbole angström (unité de mesure des distances atomiques en physique) :

ç \c c
Ç \c C
æ \ae
Æ \AE
œ \oe
Π\OE
Å \AA
NB : pour la cédille, il est important de laisser un espace après le \c, car certaines instructions commencent elles aussi par \c, comme \chapter (marque le début d'un chapitre) par exemple (cet espace sera ignoré lors de la compilation). Exemple :
fa\c cade
pour écrire « façade » Voici quelques signes de ponctuation particuliers :
  • petit tiret - (signe moins) : « - » ;
  • tiret moyen – (de la largeur d'un « N ») pour les intervalles de nombres : « -- » ;
  • tiret long — (de la largeur d'un « M ») pour les incides (alternative aux parenthèses) : « --- » ;
  • guillemets français « et » : « << » et « >> » (deux signes inférieur et deux signes supérieur).
On peut aussi représenter les accent et caractères espagnols (tilde, points d'interrogation et d'exclamation inversés), norvégiens… Pour connaître les codes à taper, il faut chercher...
Enfin, il existe des caractères spéciaux pour la mise en page :
  • l'espace insécable « ~ », qui n'est pas coupée par un changement de ligne et en français précède notamment les « : ; ! ? » (ces signes sont également suivis d'une espace normale) et se trouve à l'intérieur des guillemets et des tirets d'incise (qui sont eux-même encadrés par des espaces normales) ;
    en typographie française, on écrit …~;, …~!, …~?, <<~…~>> et ---~…~--- ;
  • l'espace forcée « {} » (accolade d'ouverture-accolade de fermeture) ou bien « \  » (barre de fraction inversée-espace), qui est sécable ;
  • et l'espace fine « \, ».

Notes
  • 1 - ASCII : american standard code for instruction interchange retour
  • 2 - un caractère est une lettre, un chiffre, mais aussi un signe de ponctuation, une espace… retour
 Ref: http://deuns.chez.com/latex/carac.html

Monday, January 23, 2012

LyX; document processor; TeX-LaTeX; WYSIWYM and WYSIWYG; Free Software/Open Source license, Linux-Unix Windows Mac OS X; english & francais

LyX is a document processor that encourages an approach to writing based on the structure of your documents (WYSIWYM) and not simply their appearance (WYSIWYG). 
Lyx est un processeur documentaire qui encourage une écriture fondée sur la « structure » de vos documents (WYSIWYM) et pas simplement sur leur affichage (WYSIWYG).

http://www.lyx.org/Download
--------
LyX is a fully featured document processor. Here are some of the features, classified by category.

Math/science features (demo clip)

  • Mathematical formula editor which is easily best of breed. Fully harnesses the power of LaTeX.
  • Equations can be entered via point-and-click interface or via keyboard with LaTeX commands (optionally via auto-completion). Formulas are immediately visually rendered on screen.
  • Copy/paste to and from LaTeX source code.
  • Equation arrays, equation numbering, theorems, customizable math macros, matrices, algorithms, and much more.
  • Support of math macros
  • Basic support for various Computer Algebra Systems (CAS) - Maple, Maxima, Octave, Mathematica

Structured document creation

  • Advanced features for labels, references, index and bibliography (including advanced BibTeX support)
  • Standard word processor operations, like cut/paste, multiple open documents, undo/redo, spellchecking (uses aspell or hunspell in the background), thesaurus and revision tracking
  • Different textclasses allow you to type letters, articles, books, movie scripts, LinuxDoc, slides, presentations. Also included are some textclasses for scientific societies, such as AMS, APS, IEEE, or specific journals like Astronomy and Astrophysics.
  • Dedicated modules let you dynamically enhance the functionality of the textclass by adding features that are needed for specific tasks (such as endnotes, linguistic glosses, Noweb/Sweave or LilyPond support)
  • Numbered section headings, table of contents (with hypertext functionality), lists of figures/tables
  • The outliner mode allows for easy navigating in your document as well as for moving or nesting complete chapters and sections
  • Character styles provide access to fully semantic markup

Graphics/tables

  • Support for many graphic formats (including EPS, SVG, XFig, Dia and others)
  • WYSIWYG for cropping, rotation, scaling of images
  • Enhanced support for intelligently floating figures and tables
  • Support for subfigures, subtables and captions
  • Support for wrapped figures and tables
  • Interactive WYSIWYG tables
  • Shared (geometry) settings for multiple figures

Internationalization (more here)

  • Support for writing documents in many languages of the world
  • Bidi support for Right-to-Left languages such as Hebrew and Arabic
  • Support for many writing systems (including CJK)
  • Write multilingual documents consisting of diverse languages and scripts thanks to unicode compliance.
  • Menus, error messages, manuals and key bindings are available in many languages

Document formats

  • Access to all LaTeX functionality with capability to insert plain LaTeX code anywhere in a document.
  • Import and export to many formats (LaTeX, PDF, Postscript, DVI, ASCII, HTML, OpenDocument, RTF, MS Word, and others) thanks to configurable converters
  • Send a fax from within LyX
  • Source code viewer for instant LaTeX and DocBook view.
  • SGML-tools support (DocBook DTDs)
  • Literate programming support (noweb, Sweave)
  • Support for export of PDF bookmarks and header information

Usability/user interface

  • Graphical user interface that gives access to all functions via menus and mouse, as well as configurable key bindings
  • Extensive documentation, including a beginner's tutorial, available in many languages
  • Text completion support
  • Typesetting in background

Document management

  • Change tracking
  • Support for external version control systems (RCS, CVS, SVN)
  • Comparison of different versions of the document
  • Branches for having different versions of the same document
  • Yellow sticky notes

Additional

  • Available for Linux, Windows, and Mac
  • Quite fast and no memory hog at all.
There's a lot more not listed here. Check it out yourself!