20221017 morning
This commit is contained in:
parent
151a889a5a
commit
989b0c214e
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 16,
|
||||
"execution_count": 17,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"0"
|
||||
]
|
||||
},
|
||||
"execution_count": 16,
|
||||
"execution_count": 17,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
"\n",
|
||||
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
|
||||
"keywords_dict_table = [\n",
|
||||
" {\"tags\":[\"一\",\"二\"],\"usages\":[r\"0\\.9[\\d]\"],\"usages2\":[\"2023\"],\"usages_not\":[r\"0\\.[12345678]\"]}\n",
|
||||
" {\"tags\":[\"五\"]}\n",
|
||||
"]\n",
|
||||
"\"\"\"---关键字设置完毕---\"\"\"\n",
|
||||
"# 示例: keywords_dict_table = [\n",
|
||||
|
|
|
|||
|
|
@ -2,52 +2,48 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"1 填空题 2\n",
|
||||
"2 填空题 1\n",
|
||||
"3 填空题 4\n",
|
||||
"4 填空题 1\n",
|
||||
"5 填空题 8\n",
|
||||
"6 填空题 2\n",
|
||||
"7 填空题 1\n",
|
||||
"8 解答题 1\n",
|
||||
"9 解答题 1\n",
|
||||
"10 填空题 4\n",
|
||||
"11 解答题 1\n",
|
||||
"12 解答题 1\n",
|
||||
"1 解答题 1\n",
|
||||
"2 解答题 1\n",
|
||||
"3 解答题 1\n",
|
||||
"4 解答题 1\n",
|
||||
"5 解答题 1\n",
|
||||
"6 解答题 1\n",
|
||||
"7 解答题 1\n",
|
||||
"8 解答题 3\n",
|
||||
"9 解答题 2\n",
|
||||
"10 填空题 1\n",
|
||||
"11 解答题 4\n",
|
||||
"12 填空题 4\n",
|
||||
"13 解答题 1\n",
|
||||
"14 填空题 1\n",
|
||||
"15 选择题 1\n",
|
||||
"16 填空题 1\n",
|
||||
"17 选择题 1\n",
|
||||
"1 填空题 1\n",
|
||||
"16 解答题 2\n",
|
||||
"17 解答题 1\n",
|
||||
"1 解答题 4\n",
|
||||
"2 解答题 1\n",
|
||||
"3 填空题 1\n",
|
||||
"4 填空题 1\n",
|
||||
"5 填空题 1\n",
|
||||
"6 填空题 3\n",
|
||||
"3 解答题 1\n",
|
||||
"4 选择题 1\n",
|
||||
"5 解答题 2\n",
|
||||
"6 填空题 1\n",
|
||||
"7 填空题 1\n",
|
||||
"8 解答题 3\n",
|
||||
"9 选择题 1\n",
|
||||
"10 选择题 1\n",
|
||||
"11 解答题 1\n",
|
||||
"12 解答题 1\n",
|
||||
"13 解答题 2\n",
|
||||
"14 解答题 1\n",
|
||||
"15 填空题 1\n"
|
||||
"8 填空题 1\n",
|
||||
"9 解答题 3\n",
|
||||
"10 解答题 2\n",
|
||||
"11 填空题 3\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import os,re\n",
|
||||
"#修改文件名\n",
|
||||
"filename = r\"C:\\Users\\Wang Weiye\\Documents\\wwy sync\\23届\\第一轮复习讲义\\23_多面体及旋转体的概念与性质.tex\"\n",
|
||||
"filename = r\"C:\\Users\\Weiye\\Documents\\wwy sync\\23届\\第一轮复习讲义\\21_空间直线与平面的位置关系.tex\"\n",
|
||||
"# filename = r\"C:\\Users\\Wang Weiye\\Documents\\wwy sync\\23届\\上学期周末卷\\国庆卷.tex\"\n",
|
||||
"outputfile = \"临时文件/题目状态.txt\"\n",
|
||||
"\n",
|
||||
|
|
@ -90,7 +86,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -104,12 +100,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
"text": [
|
||||
"首个空闲id: 11988 , 直至 020000\n",
|
||||
"首个空闲id: 20227 , 直至 030000\n",
|
||||
"首个空闲id: 30153 , 直至 999999\n"
|
||||
"首个空闲id: 30154 , 直至 999999\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -59,12 +59,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,15 +2,15 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"首行题目数量: 20\n",
|
||||
"剩余题目数量: 20\n"
|
||||
"首行题目数量: 1236\n",
|
||||
"剩余题目数量: 1092\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
"\"\"\"---设置题号列表文件结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置要排除的题号所在的绝对路径---\"\"\"\n",
|
||||
"mainpath = r\"C:/Users/Wang Weiye/Documents/wwy sync/23届/\"\n",
|
||||
"mainpath = r\"C:/Users/Weiye/Documents/wwy sync/23届/\"\n",
|
||||
"\n",
|
||||
"used_path_list = [\n",
|
||||
"mainpath + \"第一轮复习讲义/\",\n",
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -98,12 +98,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -0,0 +1,121 @@
|
|||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 22,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"开始编译目标pdf文件: 临时文件/38_计数原理与排列组合.tex\n",
|
||||
"0\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import os,re,json,sys\n",
|
||||
"\n",
|
||||
"#范围定义在使用前需要替换\n",
|
||||
"\"\"\"使用前替换范围定义\"\"\"\n",
|
||||
"obj_range = \"K0810:K0817999\"\n",
|
||||
"\"\"\"范围定义到此结束\"\"\"\n",
|
||||
"#定义文件名\n",
|
||||
"\"\"\"规定文件名\"\"\"\n",
|
||||
"index = \"38\"\n",
|
||||
"title = \"计数原理与排列组合\"\n",
|
||||
"\"\"\"文件名到此结束\"\"\"\n",
|
||||
"\n",
|
||||
"filename = index+\"_\"+title\n",
|
||||
"outputfile = r\"临时文件/\"+filename+\".tex\"\n",
|
||||
"\n",
|
||||
"template_file = r\"模板文件/复习课目标模板.tex\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# 检查某一字符串是否在由,:的表达式给出的范围内\n",
|
||||
"def within_range(string,list):\n",
|
||||
" flag = False\n",
|
||||
" for item in list:\n",
|
||||
" if string == item.strip():\n",
|
||||
" flag = True\n",
|
||||
" break\n",
|
||||
" elif \":\" in item:\n",
|
||||
" start, end = item.split(\":\")\n",
|
||||
" if start <= string <= end:\n",
|
||||
" flag = True\n",
|
||||
" break\n",
|
||||
" return flag\n",
|
||||
"\n",
|
||||
"# 读取课时目标数据库\n",
|
||||
"with open(r\"../题库0.3/LessonObj.json\",\"r\",encoding = \"utf8\") as f:\n",
|
||||
" database = f.read()\n",
|
||||
"obj_dict = json.loads(database)\n",
|
||||
"\n",
|
||||
"# 根据范围生成若干用于检查的闭区间范围\n",
|
||||
"obj_range_list = obj_range.split(\",\")\n",
|
||||
"output_string = \"\"\n",
|
||||
"\n",
|
||||
"# 逐一选择目标, 并整合成表格的内容部分\n",
|
||||
"for obj_id in obj_dict:\n",
|
||||
" if within_range(obj_id,obj_range_list):\n",
|
||||
" output_string += obj_id + \" & \" + obj_dict[obj_id][\"content\"] + \" & \" + r\"\\\\ \\hline\" + \"\\n\"\n",
|
||||
"\n",
|
||||
"# 打开模板文件\n",
|
||||
"with open(template_file,\"r\",encoding=\"utf8\") as f:\n",
|
||||
" latex_raw = f.read()\n",
|
||||
"\n",
|
||||
"#识别操作系统\n",
|
||||
"if sys.platform != \"win32\":\n",
|
||||
" latex_raw = re.sub(r\"fontset[\\s]*=[\\s]*windows\",\"fontset = fandol\",latex_raw)\n",
|
||||
" latex_raw = re.sub(r\"\\\\setCJKmainfont\",r\"% \\\\setCJKmainfont\",latex_raw)\n",
|
||||
"\n",
|
||||
"#预处理\n",
|
||||
"exec_list = [(\"编号待替换\",index),(\"标题待替换\",title),(\"内容待替换\",output_string)]\n",
|
||||
"for command in exec_list:\n",
|
||||
" latex_raw = latex_raw.replace(command[0],command[1])\n",
|
||||
"\n",
|
||||
"#输出到临时文件夹\n",
|
||||
"with open(outputfile,\"w\",encoding = \"utf8\") as f:\n",
|
||||
" f.write(latex_raw)\n",
|
||||
"print(\"开始编译目标pdf文件: \", outputfile)\n",
|
||||
"os.system(\"xelatex -interaction=batchmode -output-directory=\" + \"临时文件\" + \" \"+ outputfile)\n",
|
||||
"print(os.system(\"xelatex -interaction=batchmode -output-directory=\" + \"临时文件\" + \" \"+ outputfile))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 2
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -10,7 +10,7 @@
|
|||
"\n",
|
||||
"#范围定义在使用前需要替换\n",
|
||||
"\"\"\"使用前替换范围定义\"\"\"\n",
|
||||
"obj_range = \"K0501001B:K0503999B\"\n",
|
||||
"obj_range = \"K0227000B:K0231999X\"\n",
|
||||
"\"\"\"范围定义到此结束\"\"\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -71,12 +71,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -0,0 +1,75 @@
|
|||
\documentclass[10pt,a4paper,twoside]{article}
|
||||
\usepackage[UTF8, fontset = none, heading = true]{ctex}
|
||||
\setCJKmainfont[BoldFont=黑体,ItalicFont=楷体]{华文中宋}
|
||||
\usepackage{amssymb,amsmath,amsfonts,amsthm,mathrsfs,dsfont,graphicx}
|
||||
\usepackage{ifthen,indentfirst,enumerate,color,lastpage}
|
||||
\usepackage{tikz}
|
||||
\usepackage{multicol}
|
||||
\usepackage{makecell}
|
||||
\usepackage{longtable}
|
||||
\usepackage[top=1in, bottom=1in,left=0.8in,right=0.8in]{geometry}
|
||||
\usepackage{fancyhdr}
|
||||
\fancyhf{}
|
||||
\fancyhead[LO]{学号\blank{50} \ 姓名\blank{80}}
|
||||
\chead{\notesindex.\notestitle}
|
||||
\rhead{--\ \thepage\ of \pageref{LastPage} \ --}
|
||||
\pagestyle{fancy}
|
||||
\ctexset{section={
|
||||
name={},
|
||||
number=\chinese{section},
|
||||
}}
|
||||
\CTEXsetup[format={\bfseries\raggedright}]{section}
|
||||
\usetikzlibrary{arrows,calc,intersections,patterns,decorations.pathreplacing,3d,angles,quotes,positioning}
|
||||
|
||||
\renewcommand{\baselinestretch}{1.5}
|
||||
\newtheorem{defi}{定义~}
|
||||
\newtheorem{eg}{例~}
|
||||
\newtheorem{ex}{~}
|
||||
\newtheorem{rem}{注~}
|
||||
\newtheorem{thm}{定理~}
|
||||
\newtheorem{coro}{推论~}
|
||||
\newtheorem{axiom}{公理~}
|
||||
\newtheorem{prop}{性质~}
|
||||
\newcommand{\blank}[1]{\underline{\hbox to #1pt{}}}
|
||||
\newcommand{\bracket}[1]{(\hbox to #1pt{})}
|
||||
\newcommand{\onech}[4]{\par\begin{tabular}{p{.9\textwidth}}
|
||||
A.~#1\\
|
||||
B.~#2\\
|
||||
C.~#3\\
|
||||
D.~#4
|
||||
\end{tabular}}
|
||||
\newcommand{\twoch}[4]{\par\begin{tabular}{p{.46\textwidth}p{.46\textwidth}}
|
||||
A.~#1& B.~#2\\
|
||||
C.~#3& D.~#4
|
||||
\end{tabular}}
|
||||
\newcommand{\vartwoch}[4]{\par\begin{tabular}{p{.46\textwidth}p{.46\textwidth}}
|
||||
(1)~#1& (2)~#2\\
|
||||
(3)~#3& (4)~#4
|
||||
\end{tabular}}
|
||||
\newcommand{\fourch}[4]{\par\begin{tabular}{p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}}
|
||||
A.~#1 &B.~#2& C.~#3& D.~#4
|
||||
\end{tabular}}
|
||||
\newcommand{\varfourch}[4]{\par\begin{tabular}{p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}p{.23\textwidth}}
|
||||
(1)~#1 &(2)~#2& (3)~#3& (4)~#4
|
||||
\end{tabular}}
|
||||
|
||||
|
||||
% 修改标题处
|
||||
\newcommand{\notesindex}{编号待替换}
|
||||
\newcommand{\notestitle}{标题待替换}
|
||||
|
||||
\begin{document}
|
||||
\begin{center}
|
||||
{\bf\large 第\zhnumber{\notesindex}讲 \ \notestitle}
|
||||
\end{center}
|
||||
\begin{center}
|
||||
\begin{longtable}{|l|p{.45\textwidth}||p{.35\textwidth}|}
|
||||
\hline
|
||||
目标编码 & 目标内容 & 日期/评价(0:未达成---5:完全达成)\\ \hline
|
||||
\endhead
|
||||
内容待替换
|
||||
\end{longtable}
|
||||
\end{center}
|
||||
|
||||
|
||||
\end{document}
|
||||
|
|
@ -2,15 +2,15 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import os,re,json,time\n",
|
||||
"\n",
|
||||
"\"\"\"---设置原题目id与新题目id---\"\"\"\n",
|
||||
"old_id = \"1868\"\n",
|
||||
"new_id = \"30153\"\n",
|
||||
"old_id = \"7018\"\n",
|
||||
"new_id = \"30157\"\n",
|
||||
"\"\"\"---设置完毕---\"\"\"\n",
|
||||
"\n",
|
||||
"old_id = old_id.zfill(6)\n",
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -64,12 +64,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -13,9 +13,11 @@
|
|||
"题块 1 处理完毕.\n",
|
||||
"正在处理题块 2 .\n",
|
||||
"题块 2 处理完毕.\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/23_多面体及旋转体的概念与性质_教师_20221014.tex\n",
|
||||
"正在处理题块 3 .\n",
|
||||
"题块 3 处理完毕.\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/线上测验01_ver2_教师_20221016.tex\n",
|
||||
"0\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/23_多面体及旋转体的概念与性质_学生_20221014.tex\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/线上测验01_ver2_学生_20221016.tex\n",
|
||||
"0\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -28,19 +30,19 @@
|
|||
"\"\"\"---设置模式结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置模板文件名---\"\"\"\n",
|
||||
"template_file = \"模板文件/第一轮复习讲义模板.tex\"\n",
|
||||
"# template_file = \"模板文件/测验周末卷模板.tex\"\n",
|
||||
"# template_file = \"模板文件/第一轮复习讲义模板.tex\"\n",
|
||||
"template_file = \"模板文件/测验周末卷模板.tex\"\n",
|
||||
"# template_file = \"模板文件/日常选题讲义模板.tex\"\n",
|
||||
"\"\"\"---设置模板文件名结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置其他预处理替换命令---\"\"\"\n",
|
||||
"#2023届第一轮讲义更换标题\n",
|
||||
"exec_list = [(\"标题数字待处理\",\"23\"),(\"标题文字待处理\",\"多面体及旋转体的概念与性质\")] \n",
|
||||
"enumi_mode = 0\n",
|
||||
"# exec_list = [(\"标题数字待处理\",\"23\"),(\"标题文字待处理\",\"多面体及旋转体的概念与性质\")] \n",
|
||||
"# enumi_mode = 0\n",
|
||||
"\n",
|
||||
"#2023届测验卷与周末卷\n",
|
||||
"# exec_list = [(\"标题替换\",\"测验04\")]\n",
|
||||
"# enumi_mode = 1\n",
|
||||
"exec_list = [(\"标题替换\",\"线上测验01\")]\n",
|
||||
"enumi_mode = 1\n",
|
||||
"\n",
|
||||
"#日常选题讲义\n",
|
||||
"# exec_list = [(\"标题文字待处理\",\"2022年国庆卷(易错题订正)\")] \n",
|
||||
|
|
@ -49,14 +51,15 @@
|
|||
"\"\"\"---其他预处理替换命令结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置目标文件名---\"\"\"\n",
|
||||
"destination_file = \"临时文件/23_多面体及旋转体的概念与性质\"\n",
|
||||
"destination_file = \"临时文件/线上测验01_ver2\"\n",
|
||||
"\"\"\"---设置目标文件名结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置题号数据---\"\"\"\n",
|
||||
"problems = [\n",
|
||||
"\"30116,30119,30120,10523,1695,30122,1700,207,10510,30125,9202,203,214,1712,3996,30126,3982\",\n",
|
||||
"\"30128,197,30137,1697,30124,30139,30142,9191,9227,7379,9200,1704,9716,10531,10529\"\n",
|
||||
"\"382,1997,2011,2081,7042,30157,3841,30155,30154,3702\",\n",
|
||||
"\"7065,2024\",\n",
|
||||
"\"1884,1915,30156\"\n",
|
||||
"]\n",
|
||||
"\"\"\"---设置题号数据结束---\"\"\"\n",
|
||||
"\n",
|
||||
|
|
@ -207,7 +210,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -221,12 +224,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"开始编译单元与课时目标信息pdf文件: 临时文件/课时目标及单元目标表_20221012.tex\n",
|
||||
"开始编译课时划分信息pdf文件: 临时文件/按课时分类目标及题目清单_20221012.tex\n"
|
||||
"开始编译单元与课时目标信息pdf文件: 临时文件/课时目标及单元目标表_20221014.tex\n",
|
||||
"开始编译课时划分信息pdf文件: 临时文件/按课时分类目标及题目清单_20221014.tex\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -172,7 +172,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -186,12 +186,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,16 +2,16 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"开始编译教师版本pdf文件: 临时文件/前两单元简单题_教师用_20221013.tex\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/复数向量_教师用_20221016.tex\n",
|
||||
"0\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/前两单元简单题_学生用_20221013.tex\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/复数向量_学生用_20221016.tex\n",
|
||||
"0\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -26,14 +26,14 @@
|
|||
"\"\"\"---设置题目列表---\"\"\"\n",
|
||||
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
|
||||
"problems = r\"\"\"\n",
|
||||
"a\n",
|
||||
"173,382,1884,1900,1908,1915,1997,2011,2022,2024,2081,2094,3335,3342,3350,3354,3531,3702,3841,4337,4754,7018,7042,7050,7065,7068\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\"\"\"---设置题目列表结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置文件名---\"\"\"\n",
|
||||
"#目录和文件的分隔务必用/\n",
|
||||
"filename = \"临时文件/前两单元简单题\"\n",
|
||||
"filename = \"临时文件/复数向量\"\n",
|
||||
"\"\"\"---设置文件名结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
|
@ -480,7 +480,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.7 ('base')",
|
||||
"display_name": "Python 3.8.8 ('base')",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -494,12 +494,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.8.8"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
|
||||
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
|
@ -51,6 +51,13 @@
|
|||
" f.write(contents)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
|
|
|||
|
|
@ -4202,7 +4202,7 @@
|
|||
"K0902002B": {
|
||||
"id": "K0902002B",
|
||||
"unit_obj": "D09002B",
|
||||
"content": "知道获取数据的基本途径, 包括统计报表和年鉴、社会调查、🧪试验设计、普查和抽样、互联网等."
|
||||
"content": "知道获取数据的基本途径, 包括统计报表和年鉴、社会调查、试验设计、普查和抽样、互联网等."
|
||||
},
|
||||
"K0902003B": {
|
||||
"id": "K0902003B",
|
||||
|
|
|
|||
|
|
@ -49700,7 +49700,7 @@
|
|||
},
|
||||
"001900": {
|
||||
"id": "001900",
|
||||
"content": "(1) 是否存在三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$, 使得$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=-1$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=-1$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=-1$?\\\\ \n(2) 是否存在三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$, 使得$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=1$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=1$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=1$?\\\\ \n(3)(选做) 是否存在三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$, 使得$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=-1$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=-2$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=-3$?",
|
||||
"content": "(1) 是否存在三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$, 使得$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=-1$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=-1$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=-1$?\\\\ \n(2) 是否存在三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$, 使得$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=1$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=1$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=1$?\\\\ \n(3) 是否存在三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$, 使得$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=-1$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=-2$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=-3$?",
|
||||
"objs": [
|
||||
"K0505004B",
|
||||
"K0505005B"
|
||||
|
|
@ -49721,7 +49721,9 @@
|
|||
"20220625\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [],
|
||||
"related": [
|
||||
"030156"
|
||||
],
|
||||
"remark": "",
|
||||
"space": "12ex"
|
||||
},
|
||||
|
|
@ -54847,7 +54849,9 @@
|
|||
"007321",
|
||||
"003546"
|
||||
],
|
||||
"related": [],
|
||||
"related": [
|
||||
"030155"
|
||||
],
|
||||
"remark": "",
|
||||
"space": "12ex"
|
||||
},
|
||||
|
|
@ -85250,7 +85254,9 @@
|
|||
"20220701\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [],
|
||||
"related": [
|
||||
"030154"
|
||||
],
|
||||
"remark": "",
|
||||
"space": "12ex"
|
||||
},
|
||||
|
|
@ -171678,7 +171684,9 @@
|
|||
"20220720\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [],
|
||||
"related": [
|
||||
"030157"
|
||||
],
|
||||
"remark": "",
|
||||
"space": "12ex"
|
||||
},
|
||||
|
|
@ -292237,5 +292245,104 @@
|
|||
],
|
||||
"remark": "",
|
||||
"space": ""
|
||||
},
|
||||
"030154": {
|
||||
"id": "030154",
|
||||
"content": "已知$|\\overrightarrow{a}|$=$\\sqrt 2$, $|\\overrightarrow{b}|=3$, $\\overrightarrow{a}$和$\\overrightarrow{b}$的夹角为$45^\\circ$, 求当向量$\\overrightarrow{a}+\\lambda \\overrightarrow{b}$与$\\lambda \\overrightarrow{a}+\\overrightarrow{b}$夹角为锐角时, $\\lambda$的取值范围为\\blank{50}.",
|
||||
"objs": [],
|
||||
"tags": [
|
||||
"第五单元"
|
||||
],
|
||||
"genre": "填空题",
|
||||
"ans": "",
|
||||
"solution": "",
|
||||
"duration": -1,
|
||||
"usages": [],
|
||||
"origin": "2022届高三第一轮复习讲义-20221016修改",
|
||||
"edit": [
|
||||
"20220701\t王伟叶",
|
||||
"20221016\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [
|
||||
"003335"
|
||||
],
|
||||
"remark": "",
|
||||
"space": ""
|
||||
},
|
||||
"030155": {
|
||||
"id": "030155",
|
||||
"content": "若关于$x$的实系数方程$2x^2+3ax+a^2-a=0$至少有一个模为$1$的根, 则实数$a$的值为\\blank{50}.",
|
||||
"objs": [],
|
||||
"tags": [
|
||||
"第五单元"
|
||||
],
|
||||
"genre": "填空题",
|
||||
"ans": "",
|
||||
"solution": "",
|
||||
"duration": -1,
|
||||
"usages": [],
|
||||
"origin": "2016届创新班作业\t3140-复系数一元二次方程-20221016修改",
|
||||
"edit": [
|
||||
"20220625\t王伟叶",
|
||||
"20221016\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [
|
||||
"002094"
|
||||
],
|
||||
"remark": "",
|
||||
"space": ""
|
||||
},
|
||||
"030156": {
|
||||
"id": "030156",
|
||||
"content": "已知三个平面向量$\\overrightarrow{a},\\overrightarrow{b},\\overrightarrow{c}$满足$\\overrightarrow{a}+\\overrightarrow{b}+\\overrightarrow{c}=\\overrightarrow{0}$, 且$\\overrightarrow{a}\\cdot\\overrightarrow{b}=p$, $\\overrightarrow{b}\\cdot\\overrightarrow{c}=q$, $\\overrightarrow{c}\\cdot \\overrightarrow{a}=r$. 在以下三组条件\\\\\n\\textcircled{1} $(p,q,r)=(-1,-1,-1)$, \\textcircled{2} $(p,q,r)=(1,1,1)$, \\textcircled{3} $(p,q,r)=(-1,-2,-3)$中, 可能成立的有哪些? 不可能成立的有哪些? 说明理由.",
|
||||
"objs": [
|
||||
"K0505004B",
|
||||
"K0505005B"
|
||||
],
|
||||
"tags": [
|
||||
"第五单元"
|
||||
],
|
||||
"genre": "解答题",
|
||||
"ans": "",
|
||||
"solution": "",
|
||||
"duration": -1,
|
||||
"usages": [],
|
||||
"origin": "2016届创新班作业\t3119-向量的数量积[2]-20221016修改",
|
||||
"edit": [
|
||||
"20220625\t王伟叶",
|
||||
"20221016\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [
|
||||
"001900"
|
||||
],
|
||||
"remark": "",
|
||||
"space": "12ex"
|
||||
},
|
||||
"030157": {
|
||||
"id": "030157",
|
||||
"content": "已知$z-2|z|=-7+4\\mathrm{i}$, 则复数$z=$\\blank{50}.",
|
||||
"objs": [],
|
||||
"tags": [
|
||||
"第五单元"
|
||||
],
|
||||
"genre": "填空题",
|
||||
"ans": "",
|
||||
"solution": "",
|
||||
"duration": -1,
|
||||
"usages": [],
|
||||
"origin": "代数精编第八章复数-20221016修改",
|
||||
"edit": [
|
||||
"20220720\t王伟叶",
|
||||
"20221016\t王伟叶"
|
||||
],
|
||||
"same": [],
|
||||
"related": [
|
||||
"007018"
|
||||
],
|
||||
"remark": "",
|
||||
"space": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue