Hi, We could do some cleaning of org-default-package-alist before Org 8.3.
* tolerance Why is "\\tolerance=1000" part of org-default-package-alist? Is this value good for all languages? If we keep it, it should be configurable. But people who explicitly wants this behavior can probably add it themselves. If it's a means to archive "high-quality" paragraphs, maybe microtype is probably the 'proper' fix... * Fixltx2e This packages is depreciated with TL2015 cf. LaTeX News 22. We can use \RequirePackage[current]{latexrelease} but there's no point in that.... AFAIK latexrelease only useful for backwards compatibility. * marvosym¹ This is used for ("EUR" "\\EUR{}" nil "€" "EUR" "EUR" "€") ("EURdig" "\\EURdig{}" nil "€" "EUR" "EUR" "€") ("EURhv" "\\EURhv{}" nil "€" "EUR" "EUR" "€") ("EURcr" "\\EURcr{}" nil "€" "EUR" "EUR" "€") ("EURtm" "\\EURtm{}" nil "€" "EUR" "EUR" "€") We could either call \\texteuro{} or use eurosym. IMO, if people wants something more sophisticated than \texteuro (which depends on the current font) can load marvosym or eurosym. * Wasysym² Wasysym is used for a couple of smileys. ("smiley" "\\smiley{}" nil "☺" ":-)" ":-)" "☺") ("blacksmile" "\\blacksmiley{}" nil "☻" ":-)" ":-)" "☻") ("sad" "\\frownie{}" nil "☹" ":-(" ":-(" "☹") I don't know why these smileys are blessed when '😱' and '😺' are not. Ideally, you'd just use unicode smileys, but this requires {xe,lua}tex. So for now we can could use \(\ddot\smile\) and \(\ddot\frown\) and shave off the extra dependency. Put perhaps it's better to just let people choose themselves which smiley command they will want to use in which case we could also just remove wasysym. Rasmus Footnotes: ¹ (defun rasmus-next-marvosym () "find marvosym symbols" (interactive) (let (case-fold-search) (search-forward-regexp (format "\\\\%s\\>" (regexp-opt (mapcar 'symbol-name '(Pickup Letter Mobilefone Telefon fax FAX Faxmachine Email Lightning EmailCT Beam Bearing LooseBearing FixedBearing LeftTorque RightTorque Lineload MVArrowDown OktoSteel HexaSteel SquareSteel RectSteel CircSteel SquarePipe RectPipe CircPipe LSteel RoundedLSteel TSteel RoundedTSteel TTsteel RoundedTTSteel FlatSteel Valve Industry Coffeecup LeftScissors CuttingLine RightScissors Football Bicycle Info ClockLogo CutRight CutLineine CutLeft Wheelchair Gentsroom Ladiesroom Checkedbox CrossedBox HollowBox PointingHand WritingHand MineSign Recycling PackingWaste WashCotton WashSynthetics WashWool HandWash NoWash Tumbler NoTumbler NoChemicalCleaning Bleech NoBleech CleaningA CleaningP CleaningPP CleaningF CleaningFF IroningI IroningII IroningIII NoIroning AtNinetyFive ShortNinetyFive AtSixty ShortSixty ShortFifty AtForty ShortForty SpecialForty ShortThirty EUR EURdig EURhv EURcr EURtm Ecommerce Shilling Denarius Pfund EyesDollar Florin EurDig EurHv EurCr EurTm EstimatedSign Deleatur Ecommerce Denarius EUR EURdig Stopsign CESign Estatically Explosionsafe Laserbeam Biohazard Radioactivity BSEFree RewindToIndex RewindToStart Rewind Forward ForwardToEnd ForwardToIndex MoveUp MoveDown ToTop ToBottom ComputerMouse SerialInterface Keyboard SerialPort ParallelPort Printer MVZero MVOne MVTwo MVThree MVFour MVFive MVSix MVSeven MVEight MVNine MVLeftBracket MVRightBracket MVComma MVPeriod MVMinus MVPlus MVDivision MVMultiplication Conclusion Equivalence barOver BarOver arrowOver ArrowOver StrikingThrough MultiplicationDot LessOrEqual LargerOrEqual AngleSign Corresponds Congruent NotCongruent Divides DividesNot Female Male Hermaphrodite Neutral FEMALE MALE HERMAPHRODITE FemaleFemale MaleMale FemaleMale Sun Moon Mercury Venus Mars Jupiter Saturn Uranus Neptune Pluto Earth Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio Sagittarius Capricorn Aquarius Pisces YinYang MVRightArrow MVAt BOLogo BOLogoL BALogoP Mundus Cross CeltCross Ankh Heart CircledA Bouquet Frowny Smiley PeaceDove Bat WomanFace ManFace)))) nil t))) ² (defun rasmus-next-wasy () "next wasysym symbol" (interactive) (let (case-fold-search) (search-forward-regexp (format "\\\\%s\\>" (regexp-opt (mapcar 'symbol-name '(male female currency phone recorder clock lightning pointer RIGHTarrow LEFTarrow UParrow DOWNarrow diameter invdiameter varangle wasylozenge kreuz smiley frownie blacksmiley sun checked bell ataribox cent permil brokenvert wasytherefore Bowtie agemO AC HF VHF photon gluon Square XBox CheckedBox hexagon varhexagon pentagon octagon hexstar varhexstar davidsstar eighthnote quarternote u2669 halfnote fullnote twonotes CIRCLE Leftcircle LEFTCIRCLE Rightcircle RIGHTCIRCLE LEFTcircle RIGHTcircle leftturn rightturn dh DH thorn Thorn openo inve vernal ascnode descnode fullmoon newmoon leftmoon rightmoon astrosun mercury venus earth mars jupiter saturn uranus neptune pluto aries taurus gemini cancer leo virgo libra scorpio sagittarius capricornus aquarius pisces conjunction opposition APLstar APLlog APLbox APLup)))) nil t))) -- Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken på knä!
>From da2a2b3fc5b182eb791f86abdd6ada3b62b0c9fe Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Tue, 7 Jul 2015 16:08:13 +0200 Subject: [PATCH 1/7] org.el: Remove default LaTeX tolerance * org.el (org-latex-default-packages-alist): Remove fixed tolerance. --- lisp/org.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 085b763..d6e8ada 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -4084,8 +4084,7 @@ header, or they will be appended." ("" "wasysym" t) ("" "amssymb" t) ("" "capt-of" nil) - ("" "hyperref" nil) - "\\tolerance=1000") + ("" "hyperref" nil)) "Alist of default packages to be inserted in the header. Change this only if one of the packages here causes an -- 2.4.5
>From c29c6a7357a737f5165d577e6cc609ed7eb0f7a1 Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Tue, 7 Jul 2015 16:09:08 +0200 Subject: [PATCH 2/7] org.el: Remove fixltx2e LaTeX dependency * org.el (org-latex-default-packages-alist): Remove fixltx2e. --- lisp/org.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index d6e8ada..db29e8d 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -4071,7 +4071,6 @@ header, or they will be appended." (defcustom org-latex-default-packages-alist '(("AUTO" "inputenc" t) ("T1" "fontenc" t) - ("" "fixltx2e" nil) ("" "graphicx" t) ("" "grffile" t) ("" "longtable" nil) @@ -4094,7 +4093,6 @@ The packages in this list are needed by one part or another of Org mode to function properly: - inputenc, fontenc: for basic font and character selection -- fixltx2e: Important patches of LaTeX itself - graphicx: for including images - grffile: allow periods and spaces in graphics file names - longtable: For multipage tables -- 2.4.5
>From e4f9dac2c2b117abf152e91d0498a8d61536d6d2 Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Tue, 7 Jul 2015 16:14:39 +0200 Subject: [PATCH 3/7] org.el: Remove marvosym LaTeX dependency * org.el (org-latex-default-packages-alist): Remove marvosym. * org-entities.el (org-entities): \EUR is now replaced with \texteuro. Remove EURdig, EURhv, EURcr, EURtm. --- lisp/org-entities.el | 6 +----- lisp/org.el | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lisp/org-entities.el b/lisp/org-entities.el index 732b989..4e94fa4 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -296,11 +296,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("pound" "\\pounds{}" nil "£" "pound" "£" "£") ("yen" "\\textyen{}" nil "¥" "yen" "¥" "¥") ("euro" "\\texteuro{}" nil "€" "EUR" "EUR" "€") - ("EUR" "\\EUR{}" nil "€" "EUR" "EUR" "€") - ("EURdig" "\\EURdig{}" nil "€" "EUR" "EUR" "€") - ("EURhv" "\\EURhv{}" nil "€" "EUR" "EUR" "€") - ("EURcr" "\\EURcr{}" nil "€" "EUR" "EUR" "€") - ("EURtm" "\\EURtm{}" nil "€" "EUR" "EUR" "€") + ("EUR" "\\texteuro{}" nil "€" "EUR" "EUR" "€") "** Property Marks" ("copy" "\\textcopyright{}" nil "©" "(c)" "©" "©") diff --git a/lisp/org.el b/lisp/org.el index db29e8d..508ace7 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -4079,7 +4079,6 @@ header, or they will be appended." ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) - ("" "marvosym" t) ("" "wasysym" t) ("" "amssymb" t) ("" "capt-of" nil) @@ -4100,7 +4099,7 @@ Org mode to function properly: - rotating: for sideways figures and tables - ulem: for underline and strike-through - amsmath: for subscript and superscript and math environments -- textcomp, marvosymb, wasysym, amssymb: for various symbols used +- textcomp, wasysym, amssymb: for various symbols used for interpreting the entities in `org-entities'. You can skip some of these packages if you don't use any of their symbols. - capt-of: for captions outside of floats -- 2.4.5
>From 2459224bbe5912082e382f4f015a42eca15c3e12 Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Tue, 7 Jul 2015 16:19:54 +0200 Subject: [PATCH 4/7] org.el: Remove wasysym LaTeX dependency --- lisp/org-entities.el | 6 +++--- lisp/org.el | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/org-entities.el b/lisp/org-entities.el index 4e94fa4..8813ac3 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -495,9 +495,9 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." "** Smilies" ("smile" "\\smile" t "⌣" ":-)" ":-)" "⌣") ("frown" "\\frown" t "⌢" ":-(" ":-(" "⌢") - ("smiley" "\\smiley{}" nil "☺" ":-)" ":-)" "☺") - ("blacksmile" "\\blacksmiley{}" nil "☻" ":-)" ":-)" "☻") - ("sad" "\\frownie{}" nil "☹" ":-(" ":-(" "☹") + ("smiley" "\\ddot\\smile" t "☺" ":-)" ":-)" "☺") + ("blacksmile" "\\ddot\\smile" t "☻" ":-)" ":-)" "☻") + ("sad" "\\ddot\\frown" t "☹" ":-(" ":-(" "☹") "** Suits" ("clubs" "\\clubsuit" t "♣" "[clubs]" "[clubs]" "♣") diff --git a/lisp/org.el b/lisp/org.el index 508ace7..f10ccf9 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -4079,7 +4079,6 @@ header, or they will be appended." ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) - ("" "wasysym" t) ("" "amssymb" t) ("" "capt-of" nil) ("" "hyperref" nil)) @@ -4099,7 +4098,7 @@ Org mode to function properly: - rotating: for sideways figures and tables - ulem: for underline and strike-through - amsmath: for subscript and superscript and math environments -- textcomp, wasysym, amssymb: for various symbols used +- textcomp, amssymb: for various symbols used for interpreting the entities in `org-entities'. You can skip some of these packages if you don't use any of their symbols. - capt-of: for captions outside of floats -- 2.4.5
>From 88f85d8230f9c6ce01dd23777e0588ced610bfe6 Mon Sep 17 00:00:00 2001 From: Rasmus <ras...@gmx.us> Date: Tue, 7 Jul 2015 16:26:02 +0200 Subject: [PATCH 5/7] Update ORG-NEWS with resepect to package removals --- etc/ORG-NEWS | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 4a4a9d8..c605670 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -429,8 +429,10 @@ when ~org-link-search-must-match-exact-headline~ is not nil. *** ~org-latex-hyperref-template~, ~org-latex-title-command~ formatting New formatting keys are supported. See the respective docstrings. Note, ~org-latex-hyperref-template~ has a new default value. -*** ~float.sty~ has been removed from ~org-latex-default-packages-alist~ -If you require this package add it to ~org-latex-packages-alist~. +*** ~float, wasysym, marvosym, fixltx2e~ are removed from ~org-latex-default-packages-alist~ +If you require any of these package add them to your preamble via +~org-latex-packages-alist~. Org also uses default LaTeX ~\tolerance~ +now. * Version 8.2 ** Incompatible changes -- 2.4.5