Thank you much for your replies.  So if I understand correctly the changes 
in the HTML behavior, all tables are now center aligned by default instead 
of left aligned.  Also all cards are automatically inside a table 
environment, producing a general centered alignment for cards unless 
otherwise indicated (which was the previous default, so no change here).  
However, I don't understand why the card in EXAMPLE 2 below has become left 
aligned, whereas I would think it should be center aligned.

Again assuming that I understand this correctly, is there a way to return 
to the previous default of left aligned table environments without loosing 
the center alignment of the general cards?  If possible, this would be much 
easier than redesigning all the cards that contain the HTML table 
environment, and then loosing the learning information upon re-import.  
(I'm not a programmer.)

Here are a few examples that I found.

EXAMPLE 1:  SAME HTML BEHAVIOR FOR 1.2.2 AND 2.2.1
Both the question and answer for the card
    Compute 2<sup>5</sup>.    2<sup>5</sup> = 32
are center aligned.  This is good and correct.

EXAMPLE 2:  DIFFERENT HTML BEHAVIOR FOR 1.2.2 AND 2.2.1
The answer to the card
    Compute 2<sup>2</sup>, 2<sup>3</sup>, 2<sup>4</sup>, 2<sup>5</sup>.    
<table><tr><td>2<sup>2</sup> = 4</td></tr><tr><td>2<sup>3</sup> = 
8</td></tr><tr><td>2<sup>4</sup> = 16</td></tr><tr><td>2<sup>5</sup> = 
32</td></tr></table>
is now left aligned, but was once center aligned.  If I understood 
correctly, this should be center aligned.

EXAMPLE 3:  DIFFERENT HTML BEHAVIOR FOR 1.2.2 AND 2.2.1
The answer to the card
    What is the primary division of the bones in the axial skeleton of the 
adult human?    <table><tr><td><table><tr><td>axial skeleton 
(80)</td></tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skull and associated 
bones (22+7)</td></tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vertebral 
column (26)</td></tr><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; thorax 
(25)</td></tr></table></td><td><img 
src="flashcardpictures/human/anatomy/bones/axial2.png" width="261" 
height="375"></td></tr></table>
has the table inside the table now center aligned whereas it was once left 
aligned.  I would like to return the default left aligned to the table 
within the table without redesigning the card (and all the cards similarly 
designed).


Also, I've made the appropriate changes to the LaTeX preamble in the 
config.py file, and that seems to have solved almost all of the problems 
with the LaTeX, but a few issues remain.  The biggest issue is that 
sometimes code is simply ignored the first time around; but then if I 
compile another with the same code, it'll get it right the second time 
around.

EXAMPLE 4:  DIFFERENT LaTeX BEHAVIOR FOR 1.2.2 AND 2.2.1
The first time I compiled this card
    <latex>\small{\noindent Define the generalized Bernoulli 
numbers.}</latex>    <latex>\small{\noindent We define the generalized 
Bernoulli numbers $B_{n,\chi}$ by the \emph{exponential} generating 
function $$\sum_{a=1}^f \frac{\chi(a)te^{at}}{e^{ft}-1} = \sum_{n\ge0} 
B_{n,\chi}\frac{t^n}{n!},$$ where $\chi$ is a Dirichlet character of 
conductor $f$.}</latex>
It ignored the \emph{exponential}, producing the image
    5265f6ce9e670d4e9dd746072b6928d8.png

EXAMPLE 5:  DIFFERENT LaTeX BEHAVIOR FOR 1.2.2 AND 2.2.1
Then I compiled this card
    <latex>\small{\noindent Define the generalized Bernoulli 
polynomials.}</latex>    <latex>\small{\noindent We define the generalized 
Bernoulli polynomials $B_{n,\chi}(X)$ by the \emph{exponential} generating 
function $$\sum_{a=1}^f \frac{\chi(a)te^{(a+X)t}}{e^{ft}-1} = \sum_{n\ge0} 
B_{n,\chi}(X)\frac{t^n}{n!},$$ where $\chi$ is a Dirichlet character of 
conductor $f$.}</latex>
and it didn't ignore the \emph{exponential}, producing the image
    575e51b2114b792917227a85b6696bf2.png
which is correct.

So then I deleted
    5265f6ce9e670d4e9dd746072b6928d8.png
and recompiled EXAMPLE 4, which reproduced the image
    5265f6ce9e670d4e9dd746072b6928d8.png
but this time with the \emph{exponential} included, which is correct.

I'm not sure what to do with this.

I really appreciate the effort that everybody has put in, thank you.

Cheers,
Shawn Elledge

attached

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/b52b6afd-941c-4169-87e3-10768b0dd8fb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


<<attachment: 5265f6ce9e670d4e9dd746072b6928d8.png>>

<<attachment: 5265f6ce9e670d4e9dd746072b6928d8 (2).png>>

<<attachment: 575e51b2114b792917227a85b6696bf2.png>>

Reply via email to