Classes, Styles, Conflicts Didier Verna Classes, Styles, Conflicts Analogies Morphological Functional The Biological Realm of L A T EX GeneT EX Material Infection Methods Types Didier Verna Cures Vaccines Anti-viral Agents didier@lrde.epita.fr Curative Infections http://www.lrde.epita.fr/˜didier Conclusion TUG 2010 – June 29 1/19
The class / styles conflicts nightmare Classes, Classes Styles, Conflicts ▸ C ur V e , QCM Didier Verna Styles Analogies ▸ FiXme, F i NK , QCM, DoX, LstBlocks (soon) Morphological Functional Documents! GeneT EX Material Infection ▸ Paradoxical situation: “If it ain’t broke, then fix it” Methods Types Cures Vaccines Anti-viral Agents Curative Infections Conclusion 2/19
The birth of a baby document A miracle of nature Classes, Styles, Conflicts Didier Verna Analogies Morphological Functional GeneT EX Material Infection Methods Types Cures Vaccines Anti-viral Agents When it doesn’t work, you don’t really know why Curative Infections When it does work, you really don’t know why Conclusion 3/19
Table of contents Classes, Styles, Conflicts Analogies 1 Didier Verna Morphological Functional Analogies Morphological GeneT EX Material Functional GeneT EX Material Infection Infection Methods 2 Types Methods Cures Types Vaccines Anti-viral Agents Curative Infections Conclusion Cures 3 Vaccines Anti-viral Agents Curative Infections 4/19
Morphological Analogy A unicellular eukaryote L A T EX document Classes, Styles, Conflicts \documentclass{article} Didier Verna Analogies %% Preamble Morphological Functional Nuclear Envelope \begin{document} GeneT EX Material Infection %% Body Methods Types Cures Vaccines Anti-viral Agents Curative Infections Plasma Membrane \end{document} Conclusion 6/19
Functional Analogy Genetic vs. programmatic material Classes, Styles, Conflicts DNA mRNA Protein Didier Verna Analogies Morphological Functional GeneT EX Material Infection Methods Types Cures Typesetting \def\foo{FOO} Vaccines \foo Anti-viral Agents Curative Infections Conclusion 7/19
GeneT EX Material Classes, Original genome ⇐ ⇒ document class Styles, Conflicts Viruses ⇐ ⇒ styles Didier Verna ▸ Contribute some geneT EX material Analogies ▸ Need to infect a host Morphological ▸ Relatively small compared to their host Functional GeneT EX Material T EXLive 2009: Infection ● 2462 styles, 327 LoC (av.) Methods Types ● mamastyle : texshade (14470 LoC) Cures ● mimistyle : xq (24535 LoC) Vaccines Anti-viral Agents Curative Infections Conclusion 8/19
Infection Methods Classes, Exogenic Styles, Conflicts ▸ Majority of viral infections Didier Verna ▸ \usepackage in a document Analogies Endogenic Morphological ▸ 5 – 8% of our own genetic pool (retro-viruses) Functional GeneT EX Material ▸ \RequirePackage in a class Infection ▸ T EXLive 2009: 95% classes have 4 (av.) endogenic Methods Types infections Cures Endosymbiosis Vaccines Anti-viral Agents ▸ e.g. mitochondria ⇐ � former prokaryotes Curative Infections ▸ L Conclusion A T EX needs more! (DoX ⊄ Doc, key/value processing) Stylophages ▸ Style / style infection via \RequirePackage ● T EXLive 2009: 45% styles infected by 2 (av.) styles ▸ Virophage (Raoult 2008): infects the Mimivirus 10/19
Infection Types Classes, Prostyles Styles, Conflicts ▸ GeneT EX material incorporated into the host’s Didier Verna ▸ Wide range of effects ▸ e.g. F i NK ( \InputIfFileExists ), Hyperref Analogies Morphological ▸ \let\@ldfoo\foo\def\foo{...\@ldfoo ...} Functional GeneT EX Material \renewcommand etc. Infection Satellites Methods Types ▸ Delta virus (HDV) over HBV Cures ▸ DoX, Graphicx etc. Vaccines Anti-viral Agents Host-dependent Curative Infections ▸ Rely on the host instead of another virus Conclusion ▸ e.g. Beamer themes Cheaters ▸ Competition instead of cooperation ▸ e.g. Umbravirus steals coat protein from Luteovirus ▸ LstBlocks (steals from Verbatim) 11/19
Cures Classes, Handling viral infections Styles, Conflicts ▸ Prevention Didier Verna ▸ Vaccines ▸ Anti-viral agents Analogies Morphological Prevention in the L A T EX biotope Functional GeneT EX Material ▸ by documentation Infection ▸ FiXme: officially supports standard classes and KOMA Methods Types ▸ Hyperref’s README file Cures Vaccines There are too many problems with varioref. Anti-viral Agents Curative Infections Nobody has time to sort them out. Therefore Conclusion this package is now unsupported. 13/19
Adaptive Immune Systems I Classes, Adaptive Immunity Styles, Conflicts ▸ Acquisition of defenses against a pathogen Didier Verna ▸ Immunological memory : history of previously encountered infections Analogies Morphological ▸ Active immunological memory : long-term Functional ● Naturally acquired: mumps, measles etc. GeneT EX Material ● Artificially acquired: vaccines Infection Methods Adaptive immunity in the L A T EX biotope Types Cures ▸ Scenario Vaccines Anti-viral Agents 1 Class C + style S � ⇒ bug Curative Infections 2 Bug report Conclusion 3 New version of class C or style S 14/19
Adaptive Immune Systems II Classes, New version of C Styles, Conflicts ▸ Acquired immunity Didier Verna ▸ \@ifpackageloaded ▸ T EXLive 2009 Analogies Morphological ● 13% classes have an active immune system against 2 Functional GeneT EX Material (av.) styles Infection New version of S Methods Types ▸ viral tropism Cures ▸ \@ifclassloaded Vaccines ▸ FiXme: tropism of 8 classes Anti-viral Agents Curative Infections ▸ Note: no \@ifpackageloaded � ⇒ “isotropic style” Conclusion 15/19
Antiviral Agents Classes, In biology Styles, Conflicts ▸ Molecules targeted towards specific infections Didier Verna ▸ Organism not prepared in advance ▸ No immunological memory Analogies Morphological In L A T EX (anti-style agents) Functional GeneT EX Material ▸ Section 6 of the Hyperref manual! Infection Methods ▸ \makeatletter Types \ let \saved@bibitem\@bibitem Cures \makeatother Vaccines % % And then l a t e r : Anti-viral Agents Curative Infections \begin{verbatim} Conclusion \ begingroup \makeatletter \ let \@bibitem\saved@bibitem \nobibliography{database} \ endgroup 16/19
Curative Infections Classes, \@ifpackageloaded from styles Styles, Conflicts ▸ T EXLive 2009: 8% styles Didier Verna ▸ Minitoc: aware of 30 other packages ▸ LstBlocks: curative style Analogies Morphological Anti-viral viruses ? Functional GeneT EX Material ▸ Mice: natural protection against Friend Infection ▸ Gene Fv1 Methods Types ▸ 1992: endogenic retro-viral origin Cures Vaccines Anti-viral Agents Curative Infections Conclusion 17/19
Conclusion (?) Classes, Drawing bridges between unrelated domains Styles, Conflicts Behavioral patterns (Cf. Design Patterns) Didier Verna Probably only scratched the surface Analogies Morphological Beyond L A T EX: M4, Lisp . . . Functional GeneT EX Material ▸ Too much intercession � ⇒ things are out of control Infection Methods Types Cures Vaccines Anti-viral Agents Curative Infections Conclusion 18/19
Questions ? Please don’t ;-) Classes, The first oncogenic style ever: Styles, Conflicts ▸ Recently discovered in the ventilation system of the Sir Didier Verna Francis Drake Hotel ▸ First strain Analogies Morphological Functional \ProvidesPackage{oncogenic}[2010/06/28 v1.0 TUG Virus] GeneT EX Material \ expandafter \ let % Infection \ csname ver@oncogenic.sty\ endcsname \ relax Methods \RequirePackage{oncogenic} Types ▸ Second strain (after mutation) Cures Vaccines Anti-viral Agents \ProvidesPackage{oncogenic}[2010/06/29 v2.0 TUG Virus] Curative Infections \ def \@ifl@aded#1#2{\ expandafter \@secondoftwo} Conclusion \RequirePackage{oncogenic} 19/19
Recommend
More recommend