Comments (6)
from pg.
I think it makes sense to change the default behavior, and see if anyone even wants BJUSTBOLD.
from pg.
As I understand it, <strong>
and <em>
are rather semantic, while <b>
and <i>
are about formatting. As an author I would like to be able to decide whether I want to convey semantic information or instructions about formatting. Therefore I would favor the following alternative:
Alternately, we could add $BSTRONG and $ESTRONG and recommend that problem authors make changes on their own.
In the original proposal (make $BBOLD
render as <strong>
instead of <b>
) something like the following would become necessary to be able to distinguish the two:
If HTML strong does become the default interpretation of $BBOLD we could add a $BJUSTBOLD or the like for when plain bold (
<B>
) is the "right thing" in HTML output.
I would prefer to write $BBOLD
when I mean "bold" instead of $BJUSTBOLD
.
Although it is not 100% true, much author use of bold will be to emphasize visually with an implicit "semantic" meaning
It would probably not be too hard to replace $BBOLD
automatically by $BSTRONG
in the OPL and later revert the (probably few) instances where only "formatting" is meant. However this may render it incompatible with older versions of pg.
Is there any meta information on which version of pg is required to render a pg problem? This would help to deal with such transitions in the future.
from pg.
from pg.
Have you thought about how strong and boldface will be differentiated when producing
tex output? Or would you make them equivalent in that case. I kind of agree with John Jones: make a reasonable choice and then see if there are important corner cases we haven't thought of. It is pretty easy to redefine $BBOLD within a problem if there is a special case.
from pg.
I made #426 to implement the change to using <Strong>
instead of <B>
.
Have you thought about how strong and boldface will be differentiated when producing
tex output? Or would you make them equivalent in that case. I kind of agree with John Jones: make a reasonable choice and then see if there are important corner cases we haven't thought of. It is pretty easy to redefine $BBOLD within a problem if there is a special case.
LaTeX generated PDF output is very "inaccessible". The document fails to have computer readable document structure ("tags") as well as many other issues. Work is being done to make TeX more accessibility friendly - but it is a long term project. For now, the TeX output can just remain the same.
See:
- https://tug.org/twg/accessibility/
- http://web.science.mq.edu.au/~ross/TaggedPDF/
- http://web.science.mq.edu.au/~ross/TaggedPDF/PDF-standards-v2.pdf
from pg.
Related Issues (20)
- Bug when a matrix Math Object is reused as an answer HOT 10
- PGML.pl has lines that should have been removed. HOT 1
- checkboxlist within a RadioMultiAnswer HOT 4
- Using upToConstant with complex numbers HOT 4
- keyboard issue with GraphTool HOT 8
- inconsistency in multiple choice macros HOT 4
- run-perltidy deletes .bak files
- Error answers now are escaped when they shouldn't be. HOT 1
- Cropping from pgfplots is not always working for final SVG output HOT 13
- variables declared with `my` lead to errors HOT 1
- student answers get spaces normalized
- iframeResizer, feedback popover, and mqeditor HOT 16
- Updating AnswerFormatHelp.pl HOT 5
- Viewing all correct answers at the same time HOT 4
- PTX "image" tag getting changed to "img" HOT 5
- error with brace and x HOT 9
- PG editor not decoding as expecting HOT 1
- macros/graph/PGnauGraphics.pl doesn't use unique name, which can break tests. HOT 1
- securtiy issues with braces HOT 2
- MathQuill toolbar placement in a relatively positioned parent - bug when in an RTL course. HOT 2
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 pg.