Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
23efbf74
Commit
23efbf74
authored
Aug 02, 2013
by
Christina Roberts
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #557 from edx/christina/html-latex
Fix missing source_code in LaTeX HTML.
parents
0cf42edc
d63813b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
7 deletions
+23
-7
cms/djangoapps/contentstore/features/html-editor.feature
+5
-0
cms/djangoapps/contentstore/features/html-editor.py
+11
-0
common/lib/xmodule/xmodule/templates/html/latex_html.yaml
+7
-7
No files found.
cms/djangoapps/contentstore/features/html-editor.feature
View file @
23efbf74
...
...
@@ -11,3 +11,8 @@ Feature: HTML Editor
And
I edit and select Settings
Then
I can modify the display name
And
my display name change is persisted on save
Scenario
:
Edit High Level source is available for LaTeX html
Given
I have created an E-text Written in LaTeX
When
I edit and select Settings
Then
Edit High Level Source is visible
cms/djangoapps/contentstore/features/html-editor.py
View file @
23efbf74
...
...
@@ -15,3 +15,14 @@ def i_created_blank_html_page(step):
@step
(
'I see only the HTML display name setting$'
)
def
i_see_only_the_html_display_name
(
step
):
world
.
verify_all_setting_entries
([[
'Display Name'
,
"Text"
,
False
]])
@step
(
'I have created an E-text Written in LaTeX$'
)
def
i_created_blank_html_page
(
step
):
world
.
create_component_instance
(
step
,
'.large-html-icon'
,
'html'
,
'.xmodule_HtmlModule'
,
'latex_html.yaml'
)
common/lib/xmodule/xmodule/templates/html/latex_html.yaml
View file @
23efbf74
---
metadata
:
display_name
:
E-text Written in LaTeX
source_code
:
|
\subsection{Example of E-text in LaTeX}
source_code
:
|
\subsection{Example of E-text in LaTeX}
It is very convenient to write complex equations in LaTeX.
It is very convenient to write complex equations in LaTeX.
\begin{equation}
x = \frac{-b\pm\sqrt{b^2-4*a*c}}{2a}
\end{equation}
\begin{equation}
x = \frac{-b\pm\sqrt{b^2-4*a*c}}{2a}
\end{equation}
Seize the moment.
Seize the moment.
data
:
|
<html>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment