@@ -520,6 +520,43 @@ def __init__(self, parent):
520520
521521 bSizerNavigation .Add (bSizerNavigationZoom , 1 , wx .EXPAND , 5 )
522522
523+ bSizerCopyMathAs = wx .BoxSizer (wx .HORIZONTAL )
524+
525+ self .m_staticTextCopyMathAs = wx .StaticText (
526+ self .m_panelNavigation ,
527+ wx .ID_ANY ,
528+ # Translators: label for pull down to specify how math will be copied to the clipboard
529+ _ ("Copy math as:" ),
530+ wx .DefaultPosition ,
531+ wx .DefaultSize ,
532+ 0 ,
533+ )
534+ self .m_staticTextCopyMathAs .Wrap (- 1 )
535+
536+ bSizerCopyMathAs .Add (self .m_staticTextCopyMathAs , 0 , wx .ALL , 5 )
537+
538+ # Translators: options for copy math as.
539+ m_choiceCopyMathAsChoices = [
540+ # Translators: options for Copy expression to clipboard as -- "MathML"
541+ _ ("MathML" ),
542+ # Translators: options for Copy expression to clipboard as -- "LaTeX"
543+ _ ("LaTeX" ),
544+ # Translators: options for Copy expression to clipboard as -- "ASCIIMath"
545+ _ ("ASCIIMath" ),
546+ ]
547+ self .m_choiceCopyMathAs = wx .Choice (
548+ self .m_panelNavigation ,
549+ wx .ID_ANY ,
550+ wx .DefaultPosition ,
551+ wx .DefaultSize ,
552+ m_choiceCopyMathAsChoices ,
553+ 0 ,
554+ )
555+ self .m_choiceCopyMathAs .SetSelection (0 )
556+ bSizerCopyMathAs .Add (self .m_choiceCopyMathAs , 0 , wx .ALL , 5 )
557+
558+ bSizerNavigation .Add (bSizerCopyMathAs , 1 , wx .EXPAND , 5 )
559+
523560 self .m_panelNavigation .SetSizer (bSizerNavigation )
524561 self .m_panelNavigation .Layout ()
525562 bSizerNavigation .Fit (self .m_panelNavigation )
0 commit comments