-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc browser -- doesn't parse "notebook input notation" #224
Comments
This ticket might actually be two questions. First, why does the doc browser not parse notebook input formatting?Parsing "notebook input format" by the doc browser can be implemented very easily; but should it? In the Programming guide: 5. Writing Optimized Compiled Code: A simple loop example: Sum of Squares, the example assumes the reader is not using an interactive tutorial, thus, the explicit explanation of notebook input notation would be confusing because the { and } braces would never actually be visible to the user; also, there would be an evaluable input cell with the content "INPUT TEXT" and corresponding output cell with "OUTPUT TEXT" which would return a Syntax Error upon an actual evaluation. Possible solutions are:
Second, why are some code block examples not converted into cells?Code example blocks ( ) that don't begin with "sage:" are not parsed into cells because sometimes these examples really should not be cells (e.g. ref/module-sage.combinat.combinat.html; the parts that start "INPUT:")
This could be fixed by refining the dochtmlprocessor rules for what should be input. Replying to @williamstein:
|
comment:4
Could we do the following: a verbatim environment with both E.g., where below the {{ should be thought of as {{{:
|
comment:5
I think this is intentional. |
comment:6
I think this is intentional as well. I'm closing this as invalid. |
sagemath#238) * added scripts to merge * changed 'scripts' warning font colour to yellow for more visibility * improved and simplified warning message
…dependencies build/pkgs/sagemath_categories/dependencies: Add memory_allocator
Because the doc parser doesn't know about "notebook input format",
ironically.
Component: notebook
Issue created by migration from https://trac.sagemath.org/ticket/224
The text was updated successfully, but these errors were encountered: