File tree Expand file tree Collapse file tree 4 files changed +30
-4
lines changed Expand file tree Collapse file tree 4 files changed +30
-4
lines changed Original file line number Diff line number Diff line change @@ -258,4 +258,14 @@ def test11():
258258 print("Test 11 passed")
259259
260260test11()
261+
262+ def test12():
263+ __cdbkernel__ = create_scope()
264+ sub:=3 q;
265+ ex:=A^{@(sub)};
266+ tst:= A^{3*q} - @(ex);
267+ assert(tst==0)
268+ print("Test 12 passed")
269+
270+ test12()
261271
Original file line number Diff line number Diff line change @@ -294,6 +294,10 @@ add_custom_command(
294294 ARGS the_cadabra_book.tex
295295 COMMAND pdflatex
296296 ARGS the_cadabra_book.tex
297+ COMMAND cp
298+ ARGS the_cadabra_book.pdf ${CMAKE_SOURCE_DIR} /web2/cadabra2/source
297299 WORKING_DIRECTORY ${BOOKOUTDIR}
298300 COMMENT "Creating the_cadabra_book.pdf" )
299301add_custom_target (book ALL echo -n DEPENDS ${BOOKOUTDIR} /the_cadabra_book.pdf)
302+
303+
Original file line number Diff line number Diff line change @@ -19,13 +19,19 @@ <h2>Forum</h2>
1919< h2 > Reference guide</ h2 >
2020< p >
2121 This reference guide is the place to go for a detailed specification
22- of how Cadabra works. If you prefer to learn by example, you are
23- better off with the < a href ="tutorials.html "> tutorials</ a > . Also
24- don't forget to have a look at Leo Brewin's
22+ of how Cadabra works. You can browse it online or download the lot
23+ as a single PDF file by clicking on the book cover. If you prefer to
24+ learn by example, you are better off with
25+ the < a href ="tutorials.html "> tutorials</ a > . Also don't forget to
26+ have a look at Leo Brewin's
2527 excellent < a href ="papers.html#brewin "> introductory papers on
2628 Cadabra</ a > .
2729
28- This guide is a translation of the one for 1.x, and still work-in-progress.
30+ This guide is a translation of the one for 1.x, and still
31+ work-in-progress.
32+ < div class ="splash_image book_cover ">
33+ < a href ="/the_cadabra_book.pdf "> < img src ="/static/images/the_cadabra_book.png " alt ="[cadabra book cover] "/> </ a >
34+ </ div >
2935 < ol class ="table_of_contents ">
3036 < li > The input format
3137 < ol >
Original file line number Diff line number Diff line change @@ -265,6 +265,12 @@ div.icon_background:hover svg path {
265265 fill : white;
266266}
267267
268+ /* Book */
269+
270+ div .book_cover {
271+ width : 33% ;
272+ border : 1px solid # 777 ;
273+ }
268274
269275/* Notebooks */
270276
You can’t perform that action at this time.
0 commit comments