Date   

number of section per chapter

Anshu Paudyal <apaudyal@...>
 

Is the maximum number of section per chapter 6? 
I am trying to add section 1.7, but it will only add as a page not section?

Thank you


Re: Python Integration #jupyter

Jason Moore
 

Great! We are going to demo the functionality in a webinar the week of March 2nd and will have you on the list as a tester!


Re: Python Integration #jupyter

James Bergeron
 

Thanks Jason, if I may be of help to your group in testing, please let me know.
Regards,
James


Re: Python Integration #jupyter

Pamini Thangarajah
 

Thanks, Jason.

--
***********************************************************************
Pamini Thangarajah, PhD
Professor in Mathematics
Department of Mathematics and Computing
Mount Royal University
4825 Mount Royal Gate SW
Calgary, Alberta  T3E 6K6 
P: 403.440.6477
***********************************************************************


Re: Python Integration #jupyter

Jason K. Moore
 

James,

Note that the integration with Libretexts pages is not yet supported. We setup a demo to get the DoE grant and I've asked for that to be disabled numerous times, as we are not supporting it. It is still live it seems and confusing people.

But, we are very close to launching the officially supported page integration. It will likely be ready in one more month (at least that is our goal). We are developing a proper plugin for the editor. Here are the issues we are tackling now for the new plugin:


Our broader page integration issues are also tracked here:


We will post to this forum once it is live and ready for use.

If you are having trouble with jupyter.libretexts.org, we can help with that, as it is officially supported.

Jason


Jason K. Moore, PhD
Faculty, Mechanical and Aerospace Engineering Department
University of California, Davis
faculty.engineering.ucdavis.edu/moore
jkm@...
530-752-4805



On Tue, Feb 11, 2020 at 5:11 AM James Bergeron <jberg475@...> wrote:
No answer. 
Later I tried inserting some different, non input related code and the error related to not being able to import Sympy returned. Perhaps the two issues are related. 
I've been working successfully outside of the libretext environment with jupyter in the last few days, while waiting for ideas.  
You can pass on my contact info if the Jupyter people want it. 
Thanks in advance, 
James



On Mon., Feb. 10, 2020, 10:36 p.m. Delmar Larsen via Groups.Io <dlarsen=libretexts.org@groups.io> wrote:

Dear James:

Did you get an answer to your question? I can follow up with the jupyter people if not.

Delmar

On 2/4/2020 8:21 PM, James Bergeron wrote:
I follow the construction guide steps for inserting a jupyter notebooks template into a libretext page.  
It yields a blank DekiScript section with the following code:
<pre ('data-jupyter')="true">'
%%python3
 
'</pre>

So far so good I think.  However, when I enter very simple code within the pre tags as follows:
print("foo")
name = input("Woo?")
print(name)

foo gets printed, what I will assume is normally (60-90 second delay for response).
Woo gets printed, but immediately spits out the following:
foo
Woo?
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
EOFError: EOF when reading a line
---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
<ipython-input-1-6d09ad8b778b> in <module>
----> 1 get_ipython().run_cell_magic('python3', '', 'print("foo")\nname = input("Woo?")\nprint(name)\n')
 
/srv/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
   2350             with self.builtin_trap:
   2351                 args = (magic_arg_s, cell)
-> 2352                 result = fn(*args, **kwargs)
   2353             return result
   2354 
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
    140             else:
    141                 line = script
--> 142             return self.shebang(line, cell)
    143 
    144         # write a basic docstring:
 
</srv/conda/lib/python3.7/site-packages/decorator.py:decorator-gen-110> in shebang(self, line, cell)
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
    185     # but it's overkill for just that one bit of state.
    186     def magic_deco(arg):
--> 187         call = lambda f, *a, **k: f(*a, **k)
    188 
    189         if callable(arg):
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
    243             sys.stderr.flush()
    244         if args.raise_error and p.returncode!=0:
--> 245             raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
    246 
    247     def _run_script(self, p, cell, to_close):
 
CalledProcessError: Command 'b'print("foo")\nname = input("Woo?")\nprint(name)\n'' returned non-zero exit status 1.

I know that python can be used to read input (LibreText - engineering bookshelf, python course, input section).
My suspicion is there is a config setting for display somewhere that needs to be set, but where and in which system (DekiScript/LibreText)?

Anyone know how to fix this most basic of issues?
-- 
Delmar Larsen, Ph.D.
LibreText, Founder & Executive Director
https://LibreTexts.org
The Future is Open

Weekly Libretexts Office Hours Zoom meetings (open to all): 
  * Tuesdays (https://zoom.us/j/380504419) at 9:00am (PDT)
  * Thursdays (https://zoom.us/j/662384088) at 9:00am (PDT)


Re: Python Integration #jupyter

James Bergeron
 

No answer. 
Later I tried inserting some different, non input related code and the error related to not being able to import Sympy returned. Perhaps the two issues are related. 
I've been working successfully outside of the libretext environment with jupyter in the last few days, while waiting for ideas.  
You can pass on my contact info if the Jupyter people want it. 
Thanks in advance, 
James



On Mon., Feb. 10, 2020, 10:36 p.m. Delmar Larsen via Groups.Io <dlarsen=libretexts.org@groups.io> wrote:

Dear James:

Did you get an answer to your question? I can follow up with the jupyter people if not.

Delmar

On 2/4/2020 8:21 PM, James Bergeron wrote:
I follow the construction guide steps for inserting a jupyter notebooks template into a libretext page.  
It yields a blank DekiScript section with the following code:
<pre ('data-jupyter')="true">'
%%python3
 
'</pre>

So far so good I think.  However, when I enter very simple code within the pre tags as follows:
print("foo")
name = input("Woo?")
print(name)

foo gets printed, what I will assume is normally (60-90 second delay for response).
Woo gets printed, but immediately spits out the following:
foo
Woo?
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
EOFError: EOF when reading a line
---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
<ipython-input-1-6d09ad8b778b> in <module>
----> 1 get_ipython().run_cell_magic('python3', '', 'print("foo")\nname = input("Woo?")\nprint(name)\n')
 
/srv/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
   2350             with self.builtin_trap:
   2351                 args = (magic_arg_s, cell)
-> 2352                 result = fn(*args, **kwargs)
   2353             return result
   2354 
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
    140             else:
    141                 line = script
--> 142             return self.shebang(line, cell)
    143 
    144         # write a basic docstring:
 
</srv/conda/lib/python3.7/site-packages/decorator.py:decorator-gen-110> in shebang(self, line, cell)
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
    185     # but it's overkill for just that one bit of state.
    186     def magic_deco(arg):
--> 187         call = lambda f, *a, **k: f(*a, **k)
    188 
    189         if callable(arg):
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
    243             sys.stderr.flush()
    244         if args.raise_error and p.returncode!=0:
--> 245             raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
    246 
    247     def _run_script(self, p, cell, to_close):
 
CalledProcessError: Command 'b'print("foo")\nname = input("Woo?")\nprint(name)\n'' returned non-zero exit status 1.

I know that python can be used to read input (LibreText - engineering bookshelf, python course, input section).
My suspicion is there is a config setting for display somewhere that needs to be set, but where and in which system (DekiScript/LibreText)?

Anyone know how to fix this most basic of issues?
-- 
Delmar Larsen, Ph.D.
LibreText, Founder & Executive Director
https://LibreTexts.org
The Future is Open

Weekly Libretexts Office Hours Zoom meetings (open to all): 
  * Tuesdays (https://zoom.us/j/380504419) at 9:00am (PDT)
  * Thursdays (https://zoom.us/j/662384088) at 9:00am (PDT)


Re: Python Integration #jupyter

Delmar Larsen <dlarsen@...>
 

Dear James:

Did you get an answer to your question? I can follow up with the jupyter people if not.

Delmar

On 2/4/2020 8:21 PM, James Bergeron wrote:
I follow the construction guide steps for inserting a jupyter notebooks template into a libretext page.  
It yields a blank DekiScript section with the following code:
<pre ('data-jupyter')="true">'
%%python3
 
'</pre>

So far so good I think.  However, when I enter very simple code within the pre tags as follows:
print("foo")
name = input("Woo?")
print(name)

foo gets printed, what I will assume is normally (60-90 second delay for response).
Woo gets printed, but immediately spits out the following:
foo
Woo?
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
EOFError: EOF when reading a line
---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
<ipython-input-1-6d09ad8b778b> in <module>
----> 1 get_ipython().run_cell_magic('python3', '', 'print("foo")\nname = input("Woo?")\nprint(name)\n')
 
/srv/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
   2350             with self.builtin_trap:
   2351                 args = (magic_arg_s, cell)
-> 2352                 result = fn(*args, **kwargs)
   2353             return result
   2354 
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
    140             else:
    141                 line = script
--> 142             return self.shebang(line, cell)
    143 
    144         # write a basic docstring:
 
</srv/conda/lib/python3.7/site-packages/decorator.py:decorator-gen-110> in shebang(self, line, cell)
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
    185     # but it's overkill for just that one bit of state.
    186     def magic_deco(arg):
--> 187         call = lambda f, *a, **k: f(*a, **k)
    188 
    189         if callable(arg):
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
    243             sys.stderr.flush()
    244         if args.raise_error and p.returncode!=0:
--> 245             raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
    246 
    247     def _run_script(self, p, cell, to_close):
 
CalledProcessError: Command 'b'print("foo")\nname = input("Woo?")\nprint(name)\n'' returned non-zero exit status 1.

I know that python can be used to read input (LibreText - engineering bookshelf, python course, input section).
My suspicion is there is a config setting for display somewhere that needs to be set, but where and in which system (DekiScript/LibreText)?

Anyone know how to fix this most basic of issues?
-- 
Delmar Larsen, Ph.D.
LibreText, Founder & Executive Director
https://LibreTexts.org
The Future is Open

Weekly Libretexts Office Hours Zoom meetings (open to all): 
  * Tuesdays (https://zoom.us/j/380504419) at 9:00am (PDT)
  * Thursdays (https://zoom.us/j/662384088) at 9:00am (PDT)


Python Integration #jupyter

James Bergeron
 

I follow the construction guide steps for inserting a jupyter notebooks template into a libretext page.  
It yields a blank DekiScript section with the following code:
<pre ('data-jupyter')="true">'
%%python3
 
'</pre>

So far so good I think.  However, when I enter very simple code within the pre tags as follows:
print("foo")
name = input("Woo?")
print(name)

foo gets printed, what I will assume is normally (60-90 second delay for response).
Woo gets printed, but immediately spits out the following:
foo
Woo?
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
EOFError: EOF when reading a line
---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
<ipython-input-1-6d09ad8b778b> in <module>
----> 1 get_ipython().run_cell_magic('python3', '', 'print("foo")\nname = input("Woo?")\nprint(name)\n')
 
/srv/conda/lib/python3.7/site-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
   2350             with self.builtin_trap:
   2351                 args = (magic_arg_s, cell)
-> 2352                 result = fn(*args, **kwargs)
   2353             return result
   2354 
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in named_script_magic(line, cell)
    140             else:
    141                 line = script
--> 142             return self.shebang(line, cell)
    143 
    144         # write a basic docstring:
 
</srv/conda/lib/python3.7/site-packages/decorator.py:decorator-gen-110> in shebang(self, line, cell)
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magic.py in <lambda>(f, *a, **k)
    185     # but it's overkill for just that one bit of state.
    186     def magic_deco(arg):
--> 187         call = lambda f, *a, **k: f(*a, **k)
    188 
    189         if callable(arg):
 
/srv/conda/lib/python3.7/site-packages/IPython/core/magics/script.py in shebang(self, line, cell)
    243             sys.stderr.flush()
    244         if args.raise_error and p.returncode!=0:
--> 245             raise CalledProcessError(p.returncode, cell, output=out, stderr=err)
    246 
    247     def _run_script(self, p, cell, to_close):
 
CalledProcessError: Command 'b'print("foo")\nname = input("Woo?")\nprint(name)\n'' returned non-zero exit status 1.

I know that python can be used to read input (LibreText - engineering bookshelf, python course, input section).
My suspicion is there is a config setting for display somewhere that needs to be set, but where and in which system (DekiScript/LibreText)?

Anyone know how to fix this most basic of issues?


Re: seems like a glitch

Delmar Larsen <dlarsen@...>
 

Something to do with your <h2> usage for the Learning objectives inside a <div>

I changed it to the standard boxtitle <p> and it all works.

Delmar

On 1/20/2020 10:56 AM, Robert Belford wrote:

It seems like if I click the edit pencil next to a header title, it does not take me to edit that seciton, but the one above it, and I only have the problem on this page,
 https://chem.libretexts.org/Courses/Intercollegiate_Courses/Internet_of_Science_Things/1%3A_IOST_Modules/1.1%3A_Preparing_your_Computer_for_Class

(If you click the pencil next to "Preparing your Windows PC computer for class", it allows you to edit the learning objectives.

All my other pages work fine, but not this one, and it is across the board (try to edit any section, and it takes you to the one in front of it).

Cheers,

Bob

-- 
Delmar Larsen, Ph.D.
LibreText, Founder & Executive Director
https://LibreTexts.org
The Future is Open

Weekly Libretexts Office Hours Zoom meetings (open to all): 
  * Tuesdays (https://zoom.us/j/380504419) at 9:00am (PDT)
  * Thursdays (https://zoom.us/j/662384088) at 9:00am (PDT)


seems like a glitch

Robert Belford
 

It seems like if I click the edit pencil next to a header title, it does not take me to edit that seciton, but the one above it, and I only have the problem on this page,
 https://chem.libretexts.org/Courses/Intercollegiate_Courses/Internet_of_Science_Things/1%3A_IOST_Modules/1.1%3A_Preparing_your_Computer_for_Class

(If you click the pencil next to "Preparing your Windows PC computer for class", it allows you to edit the learning objectives.

All my other pages work fine, but not this one, and it is across the board (try to edit any section, and it takes you to the one in front of it).

Cheers,

Bob


Re: Using LibreTexts in your class? Please help us by responding to simple survey

Dorte Madsen
 

I should clarify, this is for anyone that uses LibreTexts in their class, not just for people funded by the grant.

Thank you for your response, John. 


Re: Using LibreTexts in your class? Please help us by responding to simple survey

John Moore
 

Dear Dorte,

Sorry, but I don’t have anything to report. Strictly speaking, I am not part of the project because the grant proposal I was on was not funded. Actually, I plan to continue attending as many of the Thursday conferences as I can and working on the Advisory Board. I just don’t have any students using LibreTexts.

John

 

John W. Moore
W.T. Lippincott Professor

Department of Chemistry
University of Wisconsin-Madison
1101 University Avenue
Madison, WI 53706-1396
Phone: 608-262-5154; Fax: 608-265-8094
Email: jwmoore@...
http://www.chem.wisc.edu/users/jwmoore

facebookigtwitter

 

From: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> On Behalf Of Dorte Madsen via Groups.Io
Sent: Monday, January 13, 2020 1:38 PM
To: main@Libretexts-ConstructionForum.groups.io
Subject: [Special] [Libretexts-ConstructionForum] Using LibreTexts in your class? Please help us by responding to simple survey

 

Dear LibreTexts users,
We are collecting some data on usage for our End of the Year Report for the Department of Eduction Grant. For this we need some data on how many students are using LibreTexts and the savings caused by this. Therefore, if you are using LibreTexts in your class currently or if you have used it since Fall 2018 we'd appreciate if you could fill out this short survey to help us out. 

https://docs.google.com/forms/d/12vfiNLmH6taIoinotLPjJc0xl-idn9OpnDCvlCGkOFk/edit#responses

If you have already responded to any of the requests Delmar or I sent out previously you do not need to also fill this out. 

Thank you!
Dorte


Using LibreTexts in your class? Please help us by responding to simple survey

Dorte Madsen
 

Dear LibreTexts users,
We are collecting some data on usage for our End of the Year Report for the Department of Eduction Grant. For this we need some data on how many students are using LibreTexts and the savings caused by this. Therefore, if you are using LibreTexts in your class currently or if you have used it since Fall 2018 we'd appreciate if you could fill out this short survey to help us out. 

https://docs.google.com/forms/d/12vfiNLmH6taIoinotLPjJc0xl-idn9OpnDCvlCGkOFk/edit#responses

If you have already responded to any of the requests Delmar or I sent out previously you do not need to also fill this out. 

Thank you!
Dorte


Re: Edit Content in Chapter Descriptions

Larry Green
 

Thanks,
That worked.


Status of some resourcs...

pbmac
 

A while back I had submitted some URLs for inclusion in LibreTexts....I have not received any update in a while and was hoping to use a couple of those books in the Spring semester.

1)  CS201: Elementary Data Structures  - https://learn.saylor.org/course/view.php?id=66
3)  BUS303: Strategic Information Technology - https://learn.saylor.org/course/view.php?id=83
4)  BUS206: Management Information Systems - https://learn.saylor.org/course/view.php?id=41

Thanks,
Pat McClanahan


Re: Edit Content in Chapter Descriptions

Delmar Larsen <dlarsen@...>
 

Look under page settings.

On 12/19/2019 10:32 AM, Larry Green wrote:
I found a typo in the chapter 11.2 description of the OpenStax stats book:
https://stats.libretexts.org/Bookshelves/Introductory_Statistics/Book%3A_Introductory_Statistics_(OpenStax)/11%3A_The_Chi-Square_Distribution
It is missing the "T" in the first letter, but I can't figure out how to edit the chapter descriptions.  I will need to fix it in my remixed version too and possibly others too, so I would rather learn how to fix it myself than have someone fix it for me.
Thanks,
Larry
-- 
Delmar Larsen, Ph.D.
LibreText, Founder & Executive Director
https://LibreTexts.org
The Future is Open

Weekly Libretexts Office Hours Zoom meetings (open to all): 
  * Tuesdays (https://zoom.us/j/380504419) at 9:00am (PDT)
  * Thursdays (https://zoom.us/j/662384088) at 9:00am (PDT)


Edit Content in Chapter Descriptions

Larry Green
 

I found a typo in the chapter 11.2 description of the OpenStax stats book:
https://stats.libretexts.org/Bookshelves/Introductory_Statistics/Book%3A_Introductory_Statistics_(OpenStax)/11%3A_The_Chi-Square_Distribution
It is missing the "T" in the first letter, but I can't figure out how to edit the chapter descriptions.  I will need to fix it in my remixed version too and possibly others too, so I would rather learn how to fix it myself than have someone fix it for me.
Thanks,
Larry


Re: #remix #remix

mindy.carr@...
 

Yes, Lessons makes more sense for smaller groups. That's what I'll do. Thank you.


Re: #remix #remix

Delmar Larsen <dlarsen@...>
 

I would do Chapter -> Units and Sections -> Lessons.


Re: Auto number's still not working... :(

mindy.carr@...
 
Edited

When you turn on Autonumber and you shift sections around, I doesn't work?
>>Autonumber's on and then I do the remix and It doesn't work. It worked fine with my other remixes until yesterday. Only today's remixes (Math C and Math 1) are not working properly.

So I tried turning off Autonumber and then back on. I also tried going into Autonumber Option and changing the chapter number starting from to 0. I cleared cache and tried as well. Thank you Delmar.

521 - 540 of 792