emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] ox-latex: default packages cleaning


From: Rasmus
Subject: [O] ox-latex: default packages cleaning
Date: Tue, 07 Jul 2015 16:53:35 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

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ä!

Attachment: 0001-org.el-Remove-default-LaTeX-tolerance.patch
Description: Text Data

Attachment: 0002-org.el-Remove-fixltx2e-LaTeX-dependency.patch
Description: Text Data

Attachment: 0003-org.el-Remove-marvosym-LaTeX-dependency.patch
Description: Text Data

Attachment: 0004-org.el-Remove-wasysym-LaTeX-dependency.patch
Description: Text Data

Attachment: 0005-Update-ORG-NEWS-with-resepect-to-package-removals.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]