GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BoundfoxStudios/lehrgrapht: LehrGrapht is a little math plotter as a word addin for teachers

BranchesTags
Open more actions menu

Latest commit

 

History

298 Commits
298 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.github
.github
 
 
.vscode
.vscode
 
 
projects
projects
 
 
resources
resources
 
 
tasks
tasks
 
 
.editorconfig
.editorconfig
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.postcssrc.json
.postcssrc.json
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
angular.json
angular.json
 
 
cliff.toml
cliff.toml
 
 
commitlint.config.mjs
commitlint.config.mjs
 
 
eslint.config.mjs
eslint.config.mjs
 
 
gulpfile.mjs
gulpfile.mjs
 
 
lefthook-local.yml
lefthook-local.yml
 
 
lefthook.yml
lefthook.yml
 
 
manifest.xml
manifest.xml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

LehrGrapht

Add-In Website CVE Check Version lehrgrapht.de License Sponsor

LehrGrapht is a simple math plotter Word add-in targeting teachers using the FunkFix macro, that is not available with macOS anymore.

Development - AddIn

Environment setup

There are two ways to develop the add-in:

  1. Develop without Word integration (e.g., to update how plots are rendered, etc.).
  2. Develop with Word integration.

Please read the following sections depending on your needs.

Develop the add-in without Word integration

If you're not developing on the Word integration, you can run the add-in in the web. There's nothing special you need to do, just run npm start and you're good to go!

Develop the add-in with Word integration

If you're developing on the Word integration, you need to run the add-in in Word. Word requires SSL to load the add-in.

Microsoft provides a way to generate a certificate using office-addin-dev-certs. Run npx office-addin-dev-certs install --machine --domains localhost to install the office add-in dev certificates.

Then, create a file .env.local (you can just copy .env and rename it) and change the following variables:

  • LEHRGRAPHT_SSL: Set to true to enable SSL.
  • LEHRGRAPHT_SSL_KEY: Set to the path of your SSL key file provided by office-addin-dev-certs.
  • LEHRGRAPHT_SSL_CERT: Set to the path of your SSL certificate file provided by office-addin-dev-certs.

Now, you run npm start to start the development server. Make sure, it binds to https on port 4200.

Finally, you can run npm run start:office. This will open Word and load the add-in.

When you're done, run npm run stop:office.

Shared Runtime & Ribbon Commands

Das Add-in nutzt Office's Shared Runtime (SharedRuntime 1.1). Taskpane und Ribbon-Button-Handler laufen im selben JavaScript-Runtime — Ribbon-Aktionen können daher direkt Angular-Services aufrufen.

Die Action toggleSolutionView wird in projects/addin/src/main.ts nach dem App-Bootstrap registriert. Beim Ribbon-Klick wird SolutionViewService.toggle() aufgerufen, was alle Plots im Dokument mit Spiegelung neu rendert.

Development - Website

You can start the development server for the website with npm run start:website.

There's an environment variable LEHRGRAPHT_WEBSITE_GITHUB_TOKEN. You don't need to provide a value for it. If it's set with the correct permissions it will grab a list of issues from GitHub and displays it as a roadmap.

Icon Generation

Use npm run generate-icons to regenerate the icons.

About

LehrGrapht is a little math plotter as a word addin for teachers

lehrgrapht.de

Resources

Readme
AGPL-3.0 license
Activity
Custom properties

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.