Coder Social home page Coder Social logo

Bug or feature: variables/macros about geneweb HOT 5 OPEN

pit47623 avatar pit47623 commented on September 28, 2024
Bug or feature: variables/macros

from geneweb.

Comments (5)

michelmno avatar michelmno commented on September 28, 2024

I have same problem if macros used in notes of an individual.
A potential direction to continue investigation: those macros do work if present in a macros.txt accessed as m=SRC as per wiki page https://web.archive.org/web/20230926000036/https://geneweb.tuxfamily.org/wiki/macros#List_of_macros (I tested that successfully with last geneweb/master branch cid b779ee5)

from geneweb.

hgouraud avatar hgouraud commented on September 28, 2024

I am not at my desk, but I think I remember that all macros are available with m=SRC, but only partially within notes. I will check.

from geneweb.

hgouraud avatar hgouraud commented on September 28, 2024

I also think I put in the wiki doc a file that will demonstrate all macros if called with m= SRC. See the macros page on tuxfamily.

from geneweb.

hgouraud avatar hgouraud commented on September 28, 2024

Reading the code, I see that the string_with_macros function handles only s and v macros. I would have to dig deeper to see where the %i trick comes from!!
It might be worth trying to use SrcfileDisolay.macro instead (might require some recoding)!!

from geneweb.

rpo avatar rpo commented on September 28, 2024

I have never fully understood how and when most of those macros works and in which context to use it.

from geneweb.

Related Issues (20)

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.