Giter Site home page Giter Site logo

mathematicatexutilities's People

Contributors

jkuczm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mathematicatexutilities's Issues

Add list of formatting rules not attached to specific symbols

Rules assigned via Format are always attached to specific symbols.

In some cases it would be more convenient to have "global" rules not attached to specific symbols, e.g. one rule for converting f1[x_], f2[x_], ... to \f{x}_1, \f{x}_2, ... instead of multiple rules, each assigned to specific f<i>.

It would be different than "BoxRules" option of ConvertTeXBoxesToTeX since this would operate at expression level and not at box level.

Implement this as option for ApplyTeXFormFormat?

Use default value of "BoxRules" in ExpressionToTeX

Since behavior of ConvertTeXExpressionToTeX is already changed, maybe change it further.

Join default value of "BoxRules" option of ConvertTeXBoxesToTeX with SystemConvertTeXFormDump$GreekWords` instead of replacing one with another, as is done in built in version.

Error when installing in Mathematica 13.0 for Mac OS X

Loved the package, have been using for years! I tried installing in my new computer and got the following error:

Import["https://raw.githubusercontent.com/jkuczm/\MathematicaTeXUtilities/master/BootstrapInstall.m"]

Installing TeXUtilities:

ProjectInstall::noprjpckg: The project has no package in the top-level directory with the name mathcing the name of the project specified in project's descriptor file (project.m)

$Failed

Version info

"Version" ->  "13.0.0 for Mac OS X ARM (64-bit) (December 3, 2021)", 
"ReleaseID" -> "13.0.0.0 (7522561, 202112031358)", 

Stack trace

{\!\(\*
TagBox[
RowBox[{"Message", "[", 
StyleBox[
RowBox[{"ProjectInstall", "::", "noprjpckg"}], "MessageName"], "]"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{"Print", "[", 
RowBox[{"ProjectInstall", "[", 
RowBox[{"URL", "[", 
TemplateBox[{
        "\"https://github.com/jkuczm/MathematicaTeXUtilities/releases/\
download/v1.0.1/TeXUtilities.zip\""},
"URLArgument"], "]"}], "]"}], "]"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{
RowBox[{"ProjectUninstall", "[", "\<\"TeXUtilities\"\>", "]"}], ";", 
RowBox[{"Print", "[", 
RowBox[{"ProjectInstall", "[", 
RowBox[{"URL", "[", 
TemplateBox[{
         "\"https://github.com/jkuczm/MathematicaTeXUtilities/\
releases/download/v1.0.1/TeXUtilities.zip\""},
"URLArgument"], "]"}], "]"}], "]"}], ";"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{"<<", \
"\<\"/private/var/folders/51/hzcl27nj5rj75b7nv1l485_40000gn/T/\
m00000358291/BootstrapInstall.m\"\>"}],
HoldForm]\), \!\(\*
TagBox[
RowBox[{"\<\"Get\"\>", "\[Rule]", 
RowBox[{"<<", \
"\<\"/private/var/folders/51/hzcl27nj5rj75b7nv1l485_40000gn/T/\
m00000358291/BootstrapInstall.m\"\>"}]}],
HoldForm]\)}

Does this work only for symbols or also for strings

For example

Format[OverVector[x__], TeXForm] := TeXCommand["vec", {x}];
TeXForm[\!\(\*OverscriptBox[\(x\), \(\[RightVector]\)]\)];

works perfectly.

However

TeXForm["\!\(\*OverscriptBox[\(x\), \(\[RightVector]\)]\)"];

Stops working, the only difference between the two, is that one is a string, and one isn't. TeXForm reverts back to normal behaviour

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.