Comments (1)
taking 10m to help with triage, confirming this with MWE
: Comparison of programming languages. []{label="proglangs"}
| Language | Typing | Garbage Collected | Evaluation | Created |
|----------|:---------------:|:-----------------:|------------|---------|
| Haskell | static, strong | yes | non-strict | 1990 |
| Lua | dynamic, strong | yes | strict | 1993 |
| C | static, weak | no | strict | 1972 |
autoref: \autoref{proglangs}
ref: \ref{proglangs}
and building PDF with the docker command
yields
![Screenshot 2024-05-21 at 7 35 50 PM](https://private-user-images.githubusercontent.com/12961499/332635600-2fac46b6-df90-470c-80b2-939162df2319.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5ODQ4NjYsIm5iZiI6MTcyMTk4NDU2NiwicGF0aCI6Ii8xMjk2MTQ5OS8zMzI2MzU2MDAtMmZhYzQ2YjYtZGY5MC00NzBjLTgwYjItOTM5MTYyZGYyMzE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDA5MDI0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyN2ZlMGRkN2ZkZmRmYTNmYTViNzQ2NmI2YjViMWZkMmFiYzY4MzU0NzM1YzY4Yzk4YzRlNjZiYjQwOTJmNWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.a2BwI8f8C0i_vL6_wKHFCzClDOCxRv1JKg2yiZW7ogY)
but the latex version works
: Comparison of programming languages. \label{proglangs}
| Language | Typing | Garbage Collected | Evaluation | Created |
|----------|:---------------:|:-----------------:|------------|---------|
| Haskell | static, strong | yes | non-strict | 1990 |
| Lua | dynamic, strong | yes | strict | 1993 |
| C | static, weak | no | strict | 1972 |
autoref: \autoref{proglangs}
ref: \ref{proglangs}
![Screenshot 2024-05-21 at 7 37 17 PM](https://private-user-images.githubusercontent.com/12961499/332635863-6c66cc7b-71b2-4b89-8cba-576d64f68862.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5ODQ4NjYsIm5iZiI6MTcyMTk4NDU2NiwicGF0aCI6Ii8xMjk2MTQ5OS8zMzI2MzU4NjMtNmM2NmNjN2ItNzFiMi00Yjg5LThjYmEtNTc2ZDY0ZjY4ODYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDA5MDI0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRlMTcwMDNkZjQyMDkwYjU5MWFiMDU1NDU5YTM4NjlmMGQxMWRmNzY2NDIxYmUwN2M2ZTJiOWQ0ZjNlZjViZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yvEPBNqxxLSoRBDhgG2I6tcF4ZfjuHvxBkNHB-mVaII)
the intermediate LaTeX for the caption in the first case is
\caption{Comparison of programming languages. {}}\tabularnewline
and for the second case is
\caption{Comparison of programming languages.
\label{proglangs}}\tabularnewline
so i don't know exactly when the markdown gets latex'd but ya something not working.
I thought that it might have been that we didn't have bracketed_spans
enabled, but if i instead just put in an HTML span like <span label="proglangs"></span>
that also doesn't work.
If i look at the JATS output, the references are at least correctly created by autoref
and ref
commands, though proglangs
is not added as the table's id
property, which is what i see the latex style figure label doing.
<p>autoref: <xref alt="Table 1" rid="proglangs">Table 1</xref> ref:
<xref alt="1" rid="proglangs">1</xref></p>
so i think the problem maybe, might be that the lua code for handling references bails if the format is latex? but it also seems like the markdown span isn't being converted into the latex command in the initial pandoc translation stage before the lua filters are applied.
https://github.com/openjournals/inara/blob/b259a53005804d260208e8a30c9a09347169ea83/data/filters/resolve-references.lua#L2-L4
with the big caveat that i don't know how to read lua ;)
from joss.
Related Issues (20)
- Editor profile link sometimes broken HOT 1
- Track change does not update Managing EiC text
- Search bar overlaps top paper in list at intermediate horizontal scales
- Undefined Control Sequence \citeproctext HOT 3
- [proposal]: Use quarto/myst for paper submissions? HOT 6
- Archives for DOIs are set to the wrong values HOT 9
- More structured recommendations for review issues? HOT 2
- Contribution process for JOSS code and policies HOT 1
- Special issue/section for data access utilities or API wrappers HOT 1
- Have reviews openly listed on Reviewer page
- question on multi table HOT 4
- Pre-submission enquiry HOT 4
- Does Joss allow for updates to content and authors? HOT 2
- Misplaced item in documentation HOT 1
- `papers/by/AUTHOR` page doesn't work for names containing period characters HOT 1
- Better handling of invalid/expired scope query links
- managing EiC on review issue
- discourage backquotes in titles HOT 1
- dealing with link changes from documentation restructuring HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joss.